StorageFile
The JSON document stored per target set (session token, cached result and nag state).
On this page
The JSON document stored per target set (session token, cached result and nag state).
import type { StorageFile } from "@sponsorkit/sdk";
interface StorageFile { … }Interface, exported from @sponsorkit/sdk, @sponsorkit/sdk/node, @sponsorkit/sdk/server.
Properties#
v#
v: 1sessionToken#
sessionToken?: string | nullcache#
cache?: { result: ContributionResult; storedAt: string } | nullType: ContributionResult
nags#
nags?: Record<string, NagState>Type: NagState