mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
22 lines
545 B
TypeScript
22 lines
545 B
TypeScript
|
import { FromSchema } from 'json-schema-to-ts';
|
||
|
|
||
|
export const featureStrategySegmentSchema = {
|
||
|
$id: '#/components/schemas/featureStrategySegmentSchema',
|
||
|
type: 'object',
|
||
|
additionalProperties: false,
|
||
|
required: ['segmentId', 'featureStrategyId'],
|
||
|
properties: {
|
||
|
segmentId: {
|
||
|
type: 'integer',
|
||
|
},
|
||
|
featureStrategyId: {
|
||
|
type: 'string',
|
||
|
},
|
||
|
},
|
||
|
components: {},
|
||
|
} as const;
|
||
|
|
||
|
export type FeatureStrategySegmentSchema = FromSchema<
|
||
|
typeof featureStrategySegmentSchema
|
||
|
>;
|