unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
34 lines • 1.36 kB
TypeScript
import type { FromSchema } from 'json-schema-to-ts';
export declare const tagSchema: {
readonly $id: "#/components/schemas/tagSchema";
readonly type: "object";
readonly description: "Representation of a [tag](https://docs.getunleash.io/concepts/feature-flags#tags)";
readonly additionalProperties: false;
readonly required: readonly ["value", "type"];
readonly properties: {
readonly value: {
readonly type: "string";
readonly description: "The value of the tag.";
readonly minLength: 2;
readonly maxLength: 50;
readonly example: "a-tag-value";
};
readonly type: {
readonly type: "string";
readonly minLength: 2;
readonly maxLength: 50;
readonly description: "The [type](https://docs.getunleash.io/concepts/feature-flags#tags) of the tag";
readonly example: "simple";
};
readonly color: {
readonly type: "string";
readonly description: "The hexadecimal color code for the tag type.";
readonly example: "#FFFFFF";
readonly pattern: "^#[0-9A-Fa-f]{6}$";
readonly nullable: true;
};
};
readonly components: {};
};
export type TagSchema = FromSchema<typeof tagSchema>;
//# sourceMappingURL=tag-schema.d.ts.map