import { FromSchema } from 'json-schema-to-ts'; export const environmentSchema = { $id: '#/components/schemas/environmentSchema', type: 'object', additionalProperties: false, required: ['name', 'type', 'enabled'], properties: { name: { type: 'string', }, type: { type: 'string', }, enabled: { type: 'boolean', }, protected: { type: 'boolean', }, sortOrder: { type: 'number', }, }, components: {}, } as const; export type EnvironmentSchema = FromSchema;