UNPKG

unleash-server

Version:

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

109 lines (108 loc) 3.78 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const uiConfigSchema: { readonly $id: "#/components/schemas/uiConfigSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["version", "unleashUrl", "baseUriPath", "versionInfo"]; readonly properties: { readonly slogan: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; readonly version: { readonly type: "string"; }; readonly environment: { readonly type: "string"; }; readonly unleashUrl: { readonly type: "string"; }; readonly baseUriPath: { readonly type: "string"; }; readonly disablePasswordAuth: { readonly type: "boolean"; }; readonly emailEnabled: { readonly type: "boolean"; }; readonly segmentValuesLimit: { readonly type: "number"; }; readonly strategySegmentsLimit: { readonly type: "number"; }; readonly frontendApiOrigins: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly flags: { readonly type: "object"; readonly additionalProperties: { readonly type: "boolean"; }; }; readonly links: { readonly type: "array"; readonly items: { readonly type: "object"; }; }; readonly authenticationType: { readonly type: "string"; readonly enum: readonly ["open-source", "demo", "enterprise", "hosted", "custom", "none"]; }; readonly versionInfo: { readonly $ref: "#/components/schemas/versionSchema"; }; }; readonly components: { readonly schemas: { readonly versionSchema: { readonly $id: "#/components/schemas/versionSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["current", "latest", "isLatest", "instanceId"]; readonly properties: { readonly current: { readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly oss: { readonly type: "string"; }; readonly enterprise: { readonly type: "string"; }; }; }; readonly latest: { readonly type: "object"; readonly additionalProperties: false; readonly properties: { readonly oss: { readonly type: "string"; }; readonly enterprise: { readonly type: "string"; }; }; }; readonly isLatest: { readonly type: "boolean"; }; readonly instanceId: { readonly type: "string"; }; }; readonly components: {}; }; }; }; }; export declare type UiConfigSchema = FromSchema<typeof uiConfigSchema>;