Skip to content

Commit 36aa69d

Browse files
committed
enum exclusive
1 parent a33dbc8 commit 36aa69d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cta-engine/src/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ export const AddOnBaseSchema = z.object({
5555
'other',
5656
])
5757
.optional(),
58-
exclusive: z.array(z.string()).optional(),
58+
exclusive: z
59+
.array(z.enum(['orm', 'auth', 'deploy', 'database', 'linter']))
60+
.optional(),
5961
color: z.string().optional(),
6062
priority: z.number().optional(),
6163
command: z

0 commit comments

Comments
 (0)