unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
22 lines • 727 B
JavaScript
export const safeguardTriggerConditionSchema = {
$id: '#/components/schemas/safeguardTriggerConditionSchema',
type: 'object',
required: ['operator', 'threshold'],
additionalProperties: false,
description: 'The condition that triggers the safeguard.',
properties: {
operator: {
type: 'string',
enum: ['>', '<'],
description: 'The comparison operator for the threshold check.',
example: '>',
},
threshold: {
type: 'number',
description: 'The threshold value to compare against.',
example: 100,
},
},
components: {},
};
//# sourceMappingURL=safeguard-trigger-condition-schema.js.map