From 7f8c84cd9d9db7c8bf3901df87de0902df13e8d5 Mon Sep 17 00:00:00 2001 From: Jonathan Diep Date: Tue, 28 May 2024 14:53:39 -0700 Subject: [PATCH] fix(complete): require `completeAfter` --- packages/utils/src/types/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/utils/src/types/actions.ts b/packages/utils/src/types/actions.ts index f9d11fe45..601667d61 100644 --- a/packages/utils/src/types/actions.ts +++ b/packages/utils/src/types/actions.ts @@ -298,14 +298,14 @@ export type CreateActionDetail = z.infer COMPLETE */ export type CompleteActionParams = { - completeAfter?: number + completeAfter: number chainId?: string boostId?: string actionType?: string } export const CompleteActionDetailSchema = z.object({ - completeAfter: z.number().optional(), + completeAfter: z.number(), chainId: z.string().optional(), boostId: z.string().optional(), actionType: z.string().optional(),