Class PluginVersionConfig<T>

Type Parameters

Hierarchy (view full)

Implements

Constructors

Properties

claimCreatorRedirect?: {
    toolUri?: string;
    tutorialUri?: string;
}
createdAt: T

The time the version was created

duplicatesAllowed: boolean

Whether it makes sense for multiple of this plugin to be allowed

finalized: boolean

True if the version is finalized

lastUpdated: T

The time the version was last updated

privateParamsSchema: JsonBodyInputSchema[]
publicParamsSchema: JsonBodyInputSchema[]
receiveStatusWebhook: boolean

Whether the plugin should receive status webhooks

requiresSessions: boolean

This means that the plugin can be used w/o any session cookies or authentication.

requiresUserInputs: boolean

This is a flag for being compatible with auto-triggered claims, meaning no user interaction is needed.

reuseForNonIndexed: boolean

Reuse for nonindexed balances? Only applicable if is stateless, requires no user inputs, and requires no sessions.

stateFunctionPreset: PluginPresetType

Preset type for how the plugin state is to be maintained.

userInputRedirect?: {
    baseUri: string;
}
userInputsSchema: JsonBodyInputSchema[]
verificationCall?: {
    hardcodedInputs: JsonBodyInputWithValue[];
    method:
        | "POST"
        | "GET"
        | "PUT"
        | "DELETE";
    passAddress?: boolean;
    passDiscord?: boolean;
    passEmail?: boolean;
    passFarcaster?: boolean;
    passGithub?: boolean;
    passGoogle?: boolean;
    passReddit?: boolean;
    passSlack?: boolean;
    passStrava?: boolean;
    passTelegram?: boolean;
    passTwitch?: boolean;
    passTwitter?: boolean;
    postProcessingJs: string;
    uri: string;
}

The verification URL

version: T

Version of the plugin

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean