unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
60 lines (59 loc) • 2.21 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const environmentsSchema: {
readonly $id: "#/components/schemas/environmentsSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["version", "environments"];
readonly properties: {
readonly version: {
readonly type: "integer";
};
readonly environments: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/environmentSchema";
};
};
};
readonly components: {
readonly schemas: {
readonly environmentSchema: {
readonly $id: "#/components/schemas/environmentSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["name", "type", "enabled"];
readonly properties: {
readonly name: {
readonly type: "string";
};
readonly type: {
readonly type: "string";
};
readonly enabled: {
readonly type: "boolean";
};
readonly protected: {
readonly type: "boolean";
};
readonly sortOrder: {
readonly type: "number";
};
readonly projectCount: {
readonly type: "number";
readonly nullable: true;
};
readonly apiTokenCount: {
readonly type: "number";
readonly nullable: true;
};
readonly enabledToggleCount: {
readonly type: "number";
readonly nullable: true;
};
};
readonly components: {};
};
};
};
};
export declare type EnvironmentsSchema = FromSchema<typeof environmentsSchema>;