Skip to content

Commit

Permalink
Merge pull request #4240 from Shopify/jk/allow-default_value-inui_ext…
Browse files Browse the repository at this point in the history
…ensions-settings

Add default_value to Settings FieldSchema
  • Loading branch information
Johnkinging authored Aug 1, 2024
2 parents afe9673 + a22946f commit a7af4dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/cli/models/extensions/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const FieldSchema = zod.object({
name: zod.string().optional(),
description: zod.string().optional(),
required: zod.boolean().optional(),
default_value: zod.any().optional(),
type: zod.string(),
validations: zod.array(zod.any()).optional(),
})
Expand Down

0 comments on commit a7af4dc

Please sign in to comment.