mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
26 lines
603 B
TypeScript
26 lines
603 B
TypeScript
|
import { FromSchema } from 'json-schema-to-ts';
|
||
|
|
||
|
export const exportQuerySchema = {
|
||
|
$id: '#/components/schemas/exportQuerySchema',
|
||
|
type: 'object',
|
||
|
additionalProperties: false,
|
||
|
required: ['features', 'environment'],
|
||
|
properties: {
|
||
|
features: {
|
||
|
type: 'array',
|
||
|
items: {
|
||
|
type: 'string',
|
||
|
minLength: 1,
|
||
|
},
|
||
|
},
|
||
|
environment: {
|
||
|
type: 'string',
|
||
|
},
|
||
|
},
|
||
|
components: {
|
||
|
schemas: {},
|
||
|
},
|
||
|
} as const;
|
||
|
|
||
|
export type ExportQuerySchema = FromSchema<typeof exportQuerySchema>;
|