2022-06-08 08:01:14 +02:00
|
|
|
import { FromSchema } from 'json-schema-to-ts';
|
2022-04-25 14:17:59 +02:00
|
|
|
|
2022-06-08 08:01:14 +02:00
|
|
|
export const overrideSchema = {
|
|
|
|
$id: '#/components/schemas/overrideSchema',
|
2022-04-25 14:17:59 +02:00
|
|
|
type: 'object',
|
2022-04-29 08:09:27 +02:00
|
|
|
additionalProperties: false,
|
2022-04-25 14:17:59 +02:00
|
|
|
required: ['contextName', 'values'],
|
|
|
|
properties: {
|
|
|
|
contextName: {
|
|
|
|
type: 'string',
|
|
|
|
},
|
|
|
|
values: {
|
|
|
|
type: 'array',
|
|
|
|
items: {
|
|
|
|
type: 'string',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-06-08 08:01:14 +02:00
|
|
|
components: {},
|
2022-04-25 14:17:59 +02:00
|
|
|
} as const;
|
|
|
|
|
2022-06-08 08:01:14 +02:00
|
|
|
export type OverrideSchema = FromSchema<typeof overrideSchema>;
|