mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
39 lines
878 B
TypeScript
39 lines
878 B
TypeScript
|
import { FromSchema } from 'json-schema-to-ts';
|
||
|
|
||
|
export const clientFeaturesQuerySchema = {
|
||
|
$id: '#/components/schemas/clientFeaturesQuerySchema',
|
||
|
type: 'object',
|
||
|
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
|
||
|
>;
|