Skip to content

Commit

Permalink
feat(flow/vorab/result): required stepId
Browse files Browse the repository at this point in the history
  • Loading branch information
chohner committed Jan 10, 2025
1 parent af2c49b commit cec604f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
}
},
"type": "string",
"required": false
"required": true
},
"backButtonLabel": {
"pluginOptions": {
Expand Down
3 changes: 2 additions & 1 deletion src/api/result-page/content-types/result-page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@
}
},
"type": "string",
"unique": false
"unique": false,
"required": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"localized": false
}
},
"type": "string"
"type": "string",
"required": true
}
}
}
3 changes: 3 additions & 0 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ export interface ApiFormFlowPageFormFlowPage
}>;
publishedAt: Schema.Attribute.DateTime;
stepId: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
Expand Down Expand Up @@ -955,6 +956,7 @@ export interface ApiResultPageResultPage extends Struct.CollectionTypeSchema {
Schema.Attribute.DefaultTo<'error'>;
publishedAt: Schema.Attribute.DateTime;
stepId: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
Expand Down Expand Up @@ -1092,6 +1094,7 @@ export interface ApiVorabCheckPageVorabCheckPage
}>;
publishedAt: Schema.Attribute.DateTime;
stepId: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
Expand Down

0 comments on commit cec604f

Please sign in to comment.