Interface PluginVersionConfigPayload

interface PluginVersionConfigPayload {
    claimCreatorRedirect?: {
        toolUri?: string;
        tutorialUri?: string;
    };
    duplicatesAllowed: boolean;
    finalized: boolean;
    privateParamsSchema?: (JsonBodyInputSchema | CustomTypeInputSchema)[];
    publicParamsSchema?: (JsonBodyInputSchema | CustomTypeInputSchema)[];
    receiveStatusWebhook: boolean;
    requiresUserInputs: boolean;
    reuseForNonIndexed: boolean;
    stateFunctionPreset: PluginPresetType;
    userInputRedirect?: {
        baseUri: string;
    };
    userInputsSchema?: (JsonBodyInputSchema | CustomTypeInputSchema)[];
    verificationCall?: {
        hardcodedInputs: JsonBodyInputWithValue[];
        method:
            | "POST"
            | "GET"
            | "PUT"
            | "DELETE";
        passAddress?: boolean;
        passDiscord?: boolean;
        passEmail?: boolean;
        passGithub?: boolean;
        passGoogle?: boolean;
        passStrava?: boolean;
        passTwitch?: boolean;
        passTwitter?: boolean;
        postProcessingJs: string;
        uri: string;
    };
}

Properties

claimCreatorRedirect?: {
    toolUri?: string;
    tutorialUri?: string;
}
duplicatesAllowed: boolean

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

finalized: boolean

Finalized

privateParamsSchema?: (JsonBodyInputSchema | CustomTypeInputSchema)[]
publicParamsSchema?: (JsonBodyInputSchema | CustomTypeInputSchema)[]
receiveStatusWebhook: boolean

Whether the plugin should receive status webhooks

requiresUserInputs: boolean

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

reuseForNonIndexed: boolean

Reuse for non-indexed?

stateFunctionPreset: PluginPresetType

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

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

The verification URL