1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-17 13:46:47 +02:00
unleash.unleash/src/lib/openapi/spec/application-overview-issues-schema.ts
Christopher Kolstad 53354224fc
chore: Bump biome and configure husky (#6589)
Upgrades biome to 1.6.1, and updates husky pre-commit hook.

Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00

25 lines
764 B
TypeScript

import type { FromSchema } from 'json-schema-to-ts';
export const applicationOverviewIssuesSchema = {
$id: '#/components/schemas/applicationOverviewIssuesSchema',
type: 'object',
description: 'This list of issues that might be wrong with the application',
additionalProperties: false,
required: ['missingStrategies'],
properties: {
missingStrategies: {
type: 'array',
items: {
type: 'string',
},
description: 'The list of strategies that are missing from Unleash',
example: ['feature1', 'feature2'],
},
},
components: {},
} as const;
export type ApplicationOverviewIssuesSchema = FromSchema<
typeof applicationOverviewIssuesSchema
>;