unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
47 lines (46 loc) • 1.55 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const upsertContextFieldSchema: {
readonly $id: "#/components/schemas/upsertContextFieldSchema";
readonly type: "object";
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 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: {};
};
};
};
};
export declare type UpsertContextFieldSchema = FromSchema<typeof upsertContextFieldSchema>;