UNPKG

unleash-server

Version:

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

210 lines (209 loc) • 8.78 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const addonsSchema: { readonly $id: "#/components/schemas/addonsSchema"; readonly type: "object"; readonly required: readonly ["addons", "providers"]; readonly properties: { readonly addons: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/addonSchema"; }; }; readonly providers: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/addonTypeSchema"; }; }; }; readonly components: { readonly schemas: { readonly addonSchema: { readonly $id: "#/components/schemas/addonSchema"; readonly type: "object"; readonly required: readonly ["provider", "enabled", "parameters", "events"]; readonly properties: { readonly id: { readonly type: "number"; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; readonly nullable: true; }; readonly provider: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly enabled: { readonly type: "boolean"; }; readonly parameters: { readonly type: "object"; readonly additionalProperties: true; }; readonly events: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly projects: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly environments: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; readonly components: {}; }; readonly 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: {}; }; }; }; }; 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 AddonsSchema = FromSchema<typeof addonsSchema>;