Skip to content

Commit

Permalink
feat(flowPages): require stepId
Browse files Browse the repository at this point in the history
  • Loading branch information
chohner committed Dec 17, 2024
1 parent 37ef37c commit 614c5c7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
}
},
"type": "string",
"required": false
"required": true
},
"backButtonLabel": {
"pluginOptions": {
Expand Down
10 changes: 3 additions & 7 deletions src/api/result-page/content-types/result-page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@
}
},
"type": "enumeration",
"enum": [
"error",
"success",
"warning",
"info"
],
"enum": ["error", "success", "warning", "info"],
"required": true,
"default": "error"
},
Expand Down Expand Up @@ -117,7 +112,8 @@
}
},
"type": "string",
"unique": false
"unique": false,
"required": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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 @@ -725,6 +725,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 @@ -934,6 +935,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 @@ -1064,6 +1066,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 614c5c7

Please sign in to comment.