UNPKG

unleash-server

Version:

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

46 lines (45 loc) 1.65 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const featureTypesSchema: { readonly $id: "#/components/schemas/featureTypesSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["version", "types"]; readonly properties: { readonly version: { readonly type: "integer"; }; readonly types: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/featureTypeSchema"; }; }; }; readonly components: { readonly schemas: { readonly featureTypeSchema: { readonly $id: "#/components/schemas/featureTypeSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "name", "description", "lifetimeDays"]; readonly properties: { readonly id: { readonly type: "string"; }; readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly lifetimeDays: { readonly type: "number"; readonly nullable: true; }; }; readonly components: {}; }; }; }; }; export declare type FeatureTypesSchema = FromSchema<typeof featureTypesSchema>;