1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/openapi/spec/archive-features-schema.ts
Jaanus Sellin 1746a951c2
feat: bulk archive features (#3286)
Bulk archiving features logic.
2023-03-14 10:48:29 +02:00

21 lines
479 B
TypeScript

import { FromSchema } from 'json-schema-to-ts';
export const archiveFeaturesSchema = {
$id: '#/components/schemas/archiveFeaturesSchema',
type: 'object',
required: ['features'],
properties: {
features: {
type: 'array',
items: {
type: 'string',
},
},
},
components: {
schemas: {},
},
} as const;
export type ArchiveFeaturesSchema = FromSchema<typeof archiveFeaturesSchema>;