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

    Interface iUpdatePluginPayload

    interface iUpdatePluginPayload {
        approvedUsers?: string[];
        inviteCode?: string;
        locale?: string;
        metadata?: {
            createdBy?: string;
            description: string;
            documentation?: string;
            image: string;
            name: string;
            parentApp?: string;
            sourceCode?: string;
            supportLink?: string;
        };
        pluginId: string;
        removeSelfFromApprovedUsers?: boolean;
        rotatePluginSecret?: boolean;
        toPublish?: boolean;
        versionCreate?: PluginVersionConfigPayload;
        versionUpdates?: {
            config: Partial<PluginVersionConfigPayload>;
            version: NumberType;
        }[];
    }
    Index

    Properties

    approvedUsers?: string[]

    The addresses that are allowed to use this plugin.

    inviteCode?: string

    Invite code for the plugin

    locale?: string

    Locale that is supported by the plugin. By default, we assume 'en' is supported if not specified.

    metadata?: {
        createdBy?: string;
        description: string;
        documentation?: string;
        image: string;
        name: string;
        parentApp?: string;
        sourceCode?: string;
        supportLink?: string;
    }

    Type Declaration

    • OptionalcreatedBy?: string

      Creator of the plugin

    • description: string

      Description of the plugin

    • Optionaldocumentation?: string

      Documentation for the plugin

    • image: string

      The image of the plugin

    • name: string

      The name of the plugin

    • OptionalparentApp?: string

      Parent app of the plugin. If blank, treated as its own app / entity.

    • OptionalsourceCode?: string

      Source code for the plugin

    • OptionalsupportLink?: string

      Support link for the plugin

    pluginId: string

    The unique plugin ID

    removeSelfFromApprovedUsers?: boolean

    Remove self from approved users?

    rotatePluginSecret?: boolean

    Rotate the plugin secret?

    toPublish?: boolean

    To publish in the directory. This will trigger the start of the review process.

    Create a new version

    versionUpdates?: {
        config: Partial<PluginVersionConfigPayload>;
        version: NumberType;
    }[]

    Update an existing version

    Type Declaration