UNPKG

unleash-server

Version:

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

71 lines (70 loc) 2.21 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const 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: {}; }; }; }; }; export declare type EventSchema = FromSchema<typeof eventSchema>;