UNPKG

unleash-server

Version:

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

44 lines 2.02 kB
import type { FromSchema } from 'json-schema-to-ts'; export declare const patchesSchema: { readonly $id: "#/components/schemas/patchesSchema"; readonly type: "array"; readonly description: "A list of patches"; 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 description: "A [JSON patch](https://www.rfc-editor.org/rfc/rfc6902) operation description"; readonly properties: { readonly path: { readonly type: "string"; readonly description: "The path to the property to operate on"; readonly example: "/type"; }; readonly op: { readonly type: "string"; readonly enum: readonly ["add", "remove", "replace", "copy", "move"]; readonly description: "The kind of operation to perform"; readonly example: "replace"; }; readonly from: { readonly type: "string"; readonly description: "The target to move or copy from, if performing one of those operations"; readonly example: "/type"; }; readonly value: { readonly description: "The value to add or replace, if performing one of those operations"; readonly example: "kill-switch"; }; }; readonly components: {}; }; }; }; }; export type PatchesSchema = FromSchema<typeof patchesSchema>; //# sourceMappingURL=patches-schema.d.ts.map