Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
shadrach-tayo committed Dec 13, 2024
1 parent f2902ff commit e8f8c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desci-repo/src/validators/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ export const actionsSchema = z.array(
z.object({ type: z.literal<Action>('UnPin Component'), componentIndex: z.number() }),
z.object({ type: z.literal<Action>('Update CoverImage'), cid: z.string().optional() }),
z.object({ type: z.literal<Action>('Add Reference'), reference: referenceSchema }),
z.object({ type: z.literal<Action>('Add References'), references: z.array(referenceSchema) }),
z.object({ type: z.literal<Action>('Set References'), references: z.array(referenceSchema) }),
z.object({ type: z.literal<Action>('Add References'), reference: z.array(referenceSchema) }),
// z.object({ type: z.literal<Action>('Set References'), references: z.array(referenceSchema) }),
z.object({ type: z.literal<Action>('Delete Reference'), referenceId: z.string() }),
]),
);

0 comments on commit e8f8c4f

Please sign in to comment.