UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

92 lines (91 loc) 3.24 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const addonTypeSchema: { readonly $id: "#/components/schemas/addonTypeSchema"; readonly type: "object"; readonly required: readonly ["name", "displayName", "documentationUrl", "description"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly displayName: { readonly type: "string"; }; readonly documentationUrl: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly tagTypes: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/tagTypeSchema"; }; }; readonly parameters: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/addonParameterSchema"; }; }; readonly events: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; readonly components: { readonly schemas: { readonly tagTypeSchema: { readonly $id: "#/components/schemas/tagTypeSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["name"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly icon: { readonly type: "string"; readonly nullable: true; }; }; readonly components: {}; }; readonly addonParameterSchema: { readonly $id: "#/components/schemas/addonParameterSchema"; readonly type: "object"; readonly required: readonly ["name", "displayName", "type", "required", "sensitive"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly displayName: { readonly type: "string"; }; readonly type: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly placeholder: { readonly type: "string"; }; readonly required: { readonly type: "boolean"; }; readonly sensitive: { readonly type: "boolean"; }; }; readonly components: {}; }; }; }; }; export declare type AddonTypeSchema = FromSchema<typeof addonTypeSchema>;