Skip to content

Commit

Permalink
Revert "feat(flowPages): require stepId"
Browse files Browse the repository at this point in the history
This reverts commit 614c5c7.
  • Loading branch information
chohner committed Dec 17, 2024
1 parent 5a8d470 commit e41c4c9
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": true
"required": false
},
"backButtonLabel": {
"pluginOptions": {
Expand Down
10 changes: 7 additions & 3 deletions src/api/result-page/content-types/result-page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@
}
},
"type": "enumeration",
"enum": ["error", "success", "warning", "info"],
"enum": [
"error",
"success",
"warning",
"info"
],
"required": true,
"default": "error"
},
Expand Down Expand Up @@ -112,8 +117,7 @@
}
},
"type": "string",
"unique": false,
"required": true
"unique": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@
"localized": false
}
},
"type": "string",
"required": true
"type": "string"
}
}
}
3 changes: 0 additions & 3 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,6 @@ export interface ApiFormFlowPageFormFlowPage
}>;
publishedAt: Schema.Attribute.DateTime;
stepId: Schema.Attribute.String &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
Expand Down Expand Up @@ -935,7 +934,6 @@ 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 @@ -1066,7 +1064,6 @@ 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 e41c4c9

Please sign in to comment.