ContributionResult
The plain JSON result of getFinancialContribution().
On this page
The plain JSON result of getFinancialContribution().
import type { ContributionResult } from "@sponsorkit/sdk";
interface ContributionResult { … }Interface, exported from @sponsorkit/sdk, @sponsorkit/sdk/node, @sponsorkit/sdk/server.
Properties#
signedIn#
signedIn: booleandisabled#
disabled: booleanmock#
mock: booleantargets#
targets: string[]Canonical target strings, e.g. ["github:octocat"].
supporter#
supporter: Supporter | nullType: Supporter
contributions#
contributions: Contribution[]Type: Contribution
fetchedAt#
fetchedAt: string | nullstale#
stale: booleanSome provider could not be reached; its data (if any) comes from the local cache.
fromCache#
fromCache: booleanThe whole result was served from the local cache.
unavailable#
unavailable?: Provider[]Providers the API could not query (API results only).
Type: Provider