Skip to content

Commit

Permalink
Remove default on list preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
Exidex committed Mar 12, 2024
1 parent e0a4d5c commit 57d0f7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ const preferences = z.discriminatedUnion("type", [
z.strictObject({
type: z.literal("list_of_strings"),
name: z.string(),
default: z.optional(z.array(z.string())),
// default: z.optional(z.array(z.string())),
description: z.string(),
}),
z.strictObject({
type: z.literal("list_of_numbers"),
name: z.string(),
default: z.optional(z.array(z.number())),
// default: z.optional(z.array(z.number())),
description: z.string(),
}),
z.strictObject({
type: z.literal("list_of_enums"),
name: z.string(),
default: z.optional(z.array(z.string())),
// default: z.optional(z.array(z.string())),
description: z.string(),
enum_values: z.array(z.strictObject({
label: z.string(),
Expand Down

0 comments on commit 57d0f7b

Please sign in to comment.