1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/src/lib/openapi/spec/client-features-query-schema.ts

40 lines
896 B
TypeScript
Raw Normal View History

import { FromSchema } from 'json-schema-to-ts';
export const clientFeaturesQuerySchema = {
$id: '#/components/schemas/clientFeaturesQuerySchema',
type: 'object',
required: [],
additionalProperties: false,
properties: {
tag: {
type: 'array',
items: {
type: 'array',
items: {
type: 'string',
},
},
},
project: {
type: 'array',
items: {
type: 'string',
},
},
namePrefix: {
type: 'string',
},
environment: {
type: 'string',
},
inlineSegmentConstraints: {
type: 'boolean',
},
},
components: {},
} as const;
export type ClientFeaturesQuerySchema = FromSchema<
typeof clientFeaturesQuerySchema
>;