unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
24 lines • 1.05 kB
TypeScript
import type { FromSchema } from 'json-schema-to-ts';
export declare const safeguardTriggerConditionSchema: {
readonly $id: "#/components/schemas/safeguardTriggerConditionSchema";
readonly type: "object";
readonly required: readonly ["operator", "threshold"];
readonly additionalProperties: false;
readonly description: "The condition that triggers the safeguard.";
readonly properties: {
readonly operator: {
readonly type: "string";
readonly enum: readonly [">", "<"];
readonly description: "The comparison operator for the threshold check.";
readonly example: ">";
};
readonly threshold: {
readonly type: "number";
readonly description: "The threshold value to compare against.";
readonly example: 100;
};
};
readonly components: {};
};
export type SafeguardTriggerConditionSchema = FromSchema<typeof safeguardTriggerConditionSchema>;
//# sourceMappingURL=safeguard-trigger-condition-schema.d.ts.map