mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
|
import { createSchemaObject, CreateSchemaType } from '../types';
|
||
|
import { strategySchemaDefinition } from './strategy-schema';
|
||
|
|
||
|
const schema = {
|
||
|
...strategySchemaDefinition,
|
||
|
required: [],
|
||
|
} as const;
|
||
|
|
||
|
export type UpdateStrategySchema = CreateSchemaType<typeof schema>;
|
||
|
|
||
|
export const updateStrategySchema = createSchemaObject(schema);
|