unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
26 lines • 967 B
JavaScript
export const validateArchiveFeaturesSchema = {
$id: '#/components/schemas/validateArchiveFeaturesSchema',
type: 'object',
additionalProperties: false,
description: 'Validation details for features archive operation',
required: ['parentsWithChildFeatures', 'hasDeletedDependencies'],
properties: {
parentsWithChildFeatures: {
type: 'array',
items: {
type: 'string',
},
description: 'List of parent features that would orphan child features that are not part of the archive operation',
example: ['my-feature-4', 'my-feature-5', 'my-feature-6'],
},
hasDeletedDependencies: {
type: 'boolean',
description: 'Whether any dependencies will be deleted as part of archive',
example: true,
},
},
components: {
schemas: {},
},
};
//# sourceMappingURL=validate-archive-features-schema.js.map