Skip to content

Commit

Permalink
Merge pull request #341 from digitalservicebund/feat/add-new-possible…
Browse files Browse the repository at this point in the history
…-color-to-result-page

feat/add-new-possible-color-to-result-page: add default to pageType enum
  • Loading branch information
judithmh authored Nov 4, 2024
2 parents 28227ab + 9ed0fd6 commit 65986ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
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 @@ -80,7 +80,8 @@
"enum": [
"error",
"success",
"warning"
"warning",
"info"
],
"required": true,
"default": "error"
Expand Down
28 changes: 14 additions & 14 deletions types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,19 +360,6 @@ 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 @@ -623,6 +610,19 @@ 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 @@ -706,7 +706,6 @@ 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 @@ -719,6 +718,7 @@ 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
2 changes: 1 addition & 1 deletion types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ export interface ApiResultPageResultPage extends Schema.CollectionType {
localized: true;
};
}>;
pageType: Attribute.Enumeration<['error', 'success', 'warning']> &
pageType: Attribute.Enumeration<['error', 'success', 'warning', 'info']> &
Attribute.Required &
Attribute.SetPluginOptions<{
i18n: {
Expand Down

0 comments on commit 65986ef

Please sign in to comment.