UNPKG

unleash-server

Version:

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

110 lines (109 loc) 4.29 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const featureEventsSchema: { readonly $id: "#/components/schemas/featureEventsSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["events"]; readonly properties: { readonly version: { readonly type: "number"; }; readonly toggleName: { readonly type: "string"; }; readonly events: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/eventSchema"; }; }; }; readonly components: { readonly schemas: { readonly eventSchema: { readonly $id: "#/components/schemas/eventSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["id", "createdAt", "type", "createdBy"]; readonly properties: { readonly id: { readonly type: "integer"; readonly minimum: 1; }; readonly createdAt: { readonly type: "string"; readonly format: "date-time"; }; readonly type: { readonly type: "string"; }; readonly createdBy: { readonly type: "string"; }; readonly environment: { readonly type: "string"; readonly nullable: true; }; readonly project: { readonly type: "string"; readonly nullable: true; }; readonly featureName: { readonly type: "string"; readonly nullable: true; }; readonly data: { readonly type: "object"; readonly nullable: true; }; readonly preData: { readonly type: "object"; readonly nullable: true; }; readonly tags: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/tagSchema"; }; readonly nullable: true; }; }; readonly components: { readonly schemas: { readonly tagSchema: { readonly $id: "#/components/schemas/tagSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["value", "type"]; readonly properties: { readonly value: { readonly type: "string"; }; readonly type: { readonly type: "string"; }; }; readonly components: {}; }; }; }; }; readonly tagSchema: { readonly $id: "#/components/schemas/tagSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["value", "type"]; readonly properties: { readonly value: { readonly type: "string"; }; readonly type: { readonly type: "string"; }; }; readonly components: {}; }; }; }; }; export declare type FeatureEventsSchema = FromSchema<typeof featureEventsSchema>;