Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
This commit is contained in:
Bogdan Nechyporenko
2023-10-16 15:30:11 +02:00
parent e694775034
commit 84e61831a9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -741,8 +741,8 @@ export function createRouter(options: RouterOptions): Promise<express.Router>;
export const createTemplateAction: <
TInputParams extends JsonObject = JsonObject,
TOutputParams extends JsonObject = JsonObject,
TInputSchema extends Schema | ZodType<any, ZodTypeDef, any> = {},
TOutputSchema extends Schema | ZodType<any, ZodTypeDef, any> = {},
TInputSchema extends ZodType<any, ZodTypeDef, any> | Schema = {},
TOutputSchema extends ZodType<any, ZodTypeDef, any> | Schema = {},
TActionInput extends JsonObject = TInputSchema extends ZodType<
any,
any,
+2 -2
View File
@@ -53,8 +53,8 @@ export type ActionContext<
export const createTemplateAction: <
TInputParams extends JsonObject = JsonObject,
TOutputParams extends JsonObject = JsonObject,
TInputSchema extends Schema | z.ZodType<any, z.ZodTypeDef, any> = {},
TOutputSchema extends Schema | z.ZodType<any, z.ZodTypeDef, any> = {},
TInputSchema extends z.ZodType<any, z.ZodTypeDef, any> | Schema = {},
TOutputSchema extends z.ZodType<any, z.ZodTypeDef, any> | Schema = {},
TActionInput extends JsonObject = TInputSchema extends z.ZodType<
any,
any,