unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
33 lines (32 loc) • 1.18 kB
TypeScript
import { FromSchema } from 'json-schema-to-ts';
export declare const patchesSchema: {
readonly $id: "#/components/schemas/patchesSchema";
readonly type: "array";
readonly items: {
readonly $ref: "#/components/schemas/patchSchema";
};
readonly components: {
readonly schemas: {
readonly patchSchema: {
readonly $id: "#/components/schemas/patchSchema";
readonly type: "object";
readonly required: readonly ["path", "op"];
readonly properties: {
readonly path: {
readonly type: "string";
};
readonly op: {
readonly type: "string";
readonly enum: readonly ["add", "remove", "replace", "copy", "move"];
};
readonly from: {
readonly type: "string";
};
readonly value: {};
};
readonly components: {};
};
};
};
};
export declare type PatchesSchema = FromSchema<typeof patchesSchema>;