mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
24 lines
525 B
TypeScript
24 lines
525 B
TypeScript
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
export const batchStaleSchema = {
|
|
$id: '#/components/schemas/batchStaleSchema',
|
|
type: 'object',
|
|
required: ['features', 'stale'],
|
|
properties: {
|
|
features: {
|
|
type: 'array',
|
|
items: {
|
|
type: 'string',
|
|
},
|
|
},
|
|
stale: {
|
|
type: 'boolean',
|
|
},
|
|
},
|
|
components: {
|
|
schemas: {},
|
|
},
|
|
} as const;
|
|
|
|
export type BatchStaleSchema = FromSchema<typeof batchStaleSchema>;
|