unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
80 lines • 1.93 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.uiConfigSchema = void 0;
const version_schema_1 = require("./version-schema");
exports.uiConfigSchema = {
$id: '#/components/schemas/uiConfigSchema',
type: 'object',
additionalProperties: false,
required: ['version', 'unleashUrl', 'baseUriPath', 'versionInfo'],
properties: {
slogan: {
type: 'string',
},
name: {
type: 'string',
},
version: {
type: 'string',
},
environment: {
type: 'string',
},
unleashUrl: {
type: 'string',
},
baseUriPath: {
type: 'string',
},
disablePasswordAuth: {
type: 'boolean',
},
emailEnabled: {
type: 'boolean',
},
segmentValuesLimit: {
type: 'number',
},
strategySegmentsLimit: {
type: 'number',
},
frontendApiOrigins: {
type: 'array',
items: {
type: 'string',
},
},
flags: {
type: 'object',
additionalProperties: {
type: 'boolean',
},
},
links: {
type: 'array',
items: {
type: 'object',
},
},
authenticationType: {
type: 'string',
enum: [
'open-source',
'demo',
'enterprise',
'hosted',
'custom',
'none',
],
},
versionInfo: {
$ref: '#/components/schemas/versionSchema',
},
},
components: {
schemas: {
versionSchema: version_schema_1.versionSchema,
},
},
};
//# sourceMappingURL=ui-config-schema.js.map