Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add backbutton label #313

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@
},
"type": "string",
"required": false
},
"backButtonLabel": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "string"
}
}
}
28 changes: 14 additions & 14 deletions types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,19 @@ export interface FormHelperErrors extends Schema.Component {
};
}

export interface FieldField extends Schema.Component {
collectionName: 'components_field_fields';
info: {
displayName: 'Field';
icon: '';
description: '';
};
attributes: {
name: Attribute.String & Attribute.Required;
value: Attribute.Text & Attribute.Required;
};
}

export interface FormElementsTimeInput extends Schema.Component {
collectionName: 'components_form_elements_time_inputs';
info: {
Expand Down Expand Up @@ -613,19 +626,6 @@ export interface FormElementsAutoSuggestInput extends Schema.Component {
};
}

export interface FieldField extends Schema.Component {
collectionName: 'components_field_fields';
info: {
displayName: 'Field';
icon: '';
description: '';
};
attributes: {
name: Attribute.String & Attribute.Required;
value: Attribute.Text & Attribute.Required;
};
}

export interface BasicParagraph extends Schema.Component {
collectionName: 'components_basic_paragraphs';
info: {
Expand Down Expand Up @@ -709,6 +709,7 @@ declare module '@strapi/types' {
'form-helper.tile': FormHelperTile;
'form-helper.select-option': FormHelperSelectOption;
'form-helper.errors': FormHelperErrors;
'field.field': FieldField;
'form-elements.time-input': FormElementsTimeInput;
'form-elements.tile-group': FormElementsTileGroup;
'form-elements.textarea': FormElementsTextarea;
Expand All @@ -721,7 +722,6 @@ declare module '@strapi/types' {
'form-elements.checkbox': FormElementsCheckbox;
'form-elements.button': FormElementsButton;
'form-elements.auto-suggest-input': FormElementsAutoSuggestInput;
'field.field': FieldField;
'basic.paragraph': BasicParagraph;
'basic.link': BasicLink;
'basic.heading': BasicHeading;
Expand Down
6 changes: 6 additions & 0 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,12 @@ export interface ApiFormFlowPageFormFlowPage extends Schema.CollectionType {
localized: false;
};
}>;
backButtonLabel: Attribute.String &
Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
Expand Down