mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
21 lines
479 B
TypeScript
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>;
|