mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
19 lines
426 B
TypeScript
19 lines
426 B
TypeScript
|
import { FromSchema } from 'json-schema-to-ts';
|
||
|
|
||
|
export const toggleMaintenanceSchema = {
|
||
|
$id: '#/components/schemas/toggleMaintenanceSchema',
|
||
|
type: 'object',
|
||
|
required: ['enabled'],
|
||
|
properties: {
|
||
|
enabled: {
|
||
|
type: 'boolean',
|
||
|
example: true,
|
||
|
},
|
||
|
},
|
||
|
components: {},
|
||
|
} as const;
|
||
|
|
||
|
export type ToggleMaintenanceSchema = FromSchema<
|
||
|
typeof toggleMaintenanceSchema
|
||
|
>;
|