bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface PluginVersionConfigPayload

    interface PluginVersionConfigPayload {
        claimCreatorRedirect?: {
            testerUri?: string;
            toolUri?: string;
            tutorialUri?: string;
        };
        customDetailsDisplay?: string;
        duplicatesAllowed: boolean;
        finalized: boolean;
        ignoreSimulations?: boolean;
        privateParamsSchema?: JsonBodyInputSchema[];
        publicParamsSchema?: JsonBodyInputSchema[];
        receiveStatusWebhook: boolean;
        requireSignIn?: boolean;
        requiresUserInputs: boolean;
        reuseForNonIndexed: boolean;
        skipProcessingWebhook?: boolean;
        stateFunctionPreset: PluginPresetType;
        userInputRedirect?: { baseUri?: string; tutorialUri?: string };
        userInputsSchema?: JsonBodyInputSchema[];
        verificationCall?: {
            hardcodedInputs: JsonBodyInputWithValue[];
            method: "POST" | "GET" | "PUT" | "DELETE";
            passAddress?: boolean;
            passBluesky?: boolean;
            passDiscord?: boolean;
            passEmail?: boolean;
            passFacebook?: boolean;
            passFarcaster?: boolean;
            passGithub?: boolean;
            passGoogle?: boolean;
            passMeetup?: boolean;
            passReddit?: boolean;
            passShopify?: boolean;
            passSlack?: boolean;
            passStrava?: boolean;
            passTelegram?: boolean;
            passTwitch?: boolean;
            passTwitter?: boolean;
            passYoutube?: boolean;
            postProcessingJs: string;
            uri: string;
        };
    }
    Index

    Properties

    claimCreatorRedirect?: {
        testerUri?: string;
        toolUri?: string;
        tutorialUri?: string;
    }

    The redirect URI for claim creators.

    Type Declaration

    • OptionaltesterUri?: string

      The tester URI for claim creators. Note: This is experimental and not fully supported yet.

    • OptionaltoolUri?: string

      The tool URI for claim creators. Note: This is experimental and not fully supported yet.

    • OptionaltutorialUri?: string

      The tutorial URI for claim creators.

    customDetailsDisplay?: string

    Custom details display for the plugin. Use {{publicParamKey}} to dynamically display the values of public parameters.

    duplicatesAllowed: boolean

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

    finalized: boolean

    Finalized

    ignoreSimulations?: boolean

    Ignore simulations?

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

    Whether the plugin should receive status webhooks

    requireSignIn?: boolean

    Require BitBadges sign-in to use the plugin?

    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?

    skipProcessingWebhook?: boolean

    Whether the plugin should skip processing webhooks. We will just auto-treat it as successful.

    stateFunctionPreset: PluginPresetType

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

    userInputRedirect?: { baseUri?: string; tutorialUri?: string }

    The redirect URI for user inputs.

    Type Declaration

    • OptionalbaseUri?: string

      The base URI for user inputs. Note: This is experimental and not fully supported yet.

    • OptionaltutorialUri?: string

      The tutorial URI for user inputs.

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

    The verification URL