2023-03-14 09:48:29 +01:00
|
|
|
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
|
2023-03-15 07:37:06 +01:00
|
|
|
export const batchStaleSchema = {
|
|
|
|
$id: '#/components/schemas/batchStaleSchema',
|
2023-03-14 09:48:29 +01:00
|
|
|
type: 'object',
|
2023-03-15 07:37:06 +01:00
|
|
|
required: ['features', 'stale'],
|
2023-03-14 09:48:29 +01:00
|
|
|
properties: {
|
|
|
|
features: {
|
|
|
|
type: 'array',
|
|
|
|
items: {
|
|
|
|
type: 'string',
|
|
|
|
},
|
|
|
|
},
|
2023-03-15 07:37:06 +01:00
|
|
|
stale: {
|
|
|
|
type: 'boolean',
|
|
|
|
},
|
2023-03-14 09:48:29 +01:00
|
|
|
},
|
|
|
|
components: {
|
|
|
|
schemas: {},
|
|
|
|
},
|
|
|
|
} as const;
|
|
|
|
|
2023-03-15 07:37:06 +01:00
|
|
|
export type BatchStaleSchema = FromSchema<typeof batchStaleSchema>;
|