mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
20 lines
463 B
TypeScript
20 lines
463 B
TypeScript
|
import { createSchemaObject, CreateSchemaType } from '../types';
|
||
|
|
||
|
const schema = {
|
||
|
type: 'object',
|
||
|
required: ['name', 'replaceGroupId'],
|
||
|
properties: {
|
||
|
name: {
|
||
|
type: 'string',
|
||
|
},
|
||
|
replaceGroupId: {
|
||
|
type: 'boolean',
|
||
|
},
|
||
|
},
|
||
|
'components/schemas': {},
|
||
|
} as const;
|
||
|
|
||
|
export type CloneFeatureSchema = CreateSchemaType<typeof schema>;
|
||
|
|
||
|
export const cloneFeatureSchema = createSchemaObject(schema);
|