Skip to content

Commit

Permalink
fix(db): change schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alonp99 committed Sep 19, 2024
1 parent 2374176 commit 6c5cf48
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export const CustomerSubscriptionSchema = z.object({ subscriptions: z.array(Subs
export type TCustomerSubscription = z.infer<typeof CustomerSubscriptionSchema>;

const CustomerConfigSchema = z.object({
ongoingWorkflowDefinitionId: z.string(),
isDemo: z.boolean().default(false),
hideCreateMerchantMonitoringButton: z.boolean().default(true),
ongoingWorkflowDefinitionId: z.string().optional(),
isDemo: z.boolean().default(false).optional(),
hideCreateMerchantMonitoringButton: z.boolean().default(true).optional(),
});

export type TCustomerConfig = z.infer<typeof CustomerConfigSchema>;

0 comments on commit 6c5cf48

Please sign in to comment.