2022-06-08 08:01:14 +02:00
|
|
|
import { FromSchema } from 'json-schema-to-ts';
|
2022-05-04 15:16:18 +02:00
|
|
|
|
2022-06-08 08:01:14 +02:00
|
|
|
export const parametersSchema = {
|
|
|
|
$id: '#/components/schemas/parametersSchema',
|
2022-05-04 15:16:18 +02:00
|
|
|
type: 'object',
|
2023-07-07 14:31:03 +02:00
|
|
|
description: 'A list of parameters for a strategy',
|
2022-05-04 15:16:18 +02:00
|
|
|
additionalProperties: {
|
|
|
|
type: 'string',
|
|
|
|
},
|
2022-06-08 08:01:14 +02:00
|
|
|
components: {},
|
2022-05-04 15:16:18 +02:00
|
|
|
} as const;
|
|
|
|
|
2022-06-08 08:01:14 +02:00
|
|
|
export type ParametersSchema = FromSchema<typeof parametersSchema>;
|