unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
79 lines (78 loc) • 3.22 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const contextFieldsSchema: {
readonly $id: "#/components/schemas/contextFieldsSchema";
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/contextFieldSchema";
};
readonly components: {
readonly schemas: {
readonly contextFieldSchema: {
readonly $id: "#/components/schemas/contextFieldSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["name"];
readonly properties: {
readonly name: {
readonly type: "string";
};
readonly description: {
readonly type: "string";
};
readonly stickiness: {
readonly type: "boolean";
};
readonly sortOrder: {
readonly type: "number";
};
readonly createdAt: {
readonly type: "string";
readonly format: "date-time";
readonly nullable: true;
};
readonly legalValues: {
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/legalValueSchema";
};
};
};
readonly components: {
readonly schemas: {
readonly legalValueSchema: {
readonly $id: "#/components/schemas/legalValueSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["value"];
readonly properties: {
readonly value: {
readonly type: "string";
};
readonly description: {
readonly type: "string";
};
};
readonly components: {};
};
};
};
};
readonly legalValueSchema: {
readonly $id: "#/components/schemas/legalValueSchema";
readonly type: "object";
readonly additionalProperties: false;
readonly required: readonly ["value"];
readonly properties: {
readonly value: {
readonly type: "string";
};
readonly description: {
readonly type: "string";
};
};
readonly components: {};
};
};
};
};
export declare type ContextFieldsSchema = FromSchema<typeof contextFieldsSchema>;