Skip to content

Commit

Permalink
fix(complete): require completeAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathandiep committed May 28, 2024
1 parent a5d3e77 commit 7f8c84c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/src/types/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,14 @@ export type CreateActionDetail = z.infer<typeof CreateActionDetailSchema>
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(),
Expand Down

0 comments on commit 7f8c84c

Please sign in to comment.