Skip to content

Commit

Permalink
refactor(meta): delete unused "meta"
Browse files Browse the repository at this point in the history
(content is now stored in pageMeta)

Co-Authored-By: Khallad Sharafeldin <[email protected]>
Co-Authored-By: Ingrid do Rio Schulze <[email protected]>
  • Loading branch information
3 people committed Jan 10, 2025
1 parent cec604f commit 884e677
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 72 deletions.
11 changes: 0 additions & 11 deletions src/api/form-flow-page/content-types/form-flow-page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@
}
}
},
"meta": {
"type": "component",
"repeatable": false,
"component": "page.meta-page-info",
"required": true,
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"preHeading": {
"pluginOptions": {
"i18n": {
Expand Down
11 changes: 0 additions & 11 deletions src/api/page/content-types/page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@
"component": "page.meta-page-info",
"required": true
},
"meta": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "page.meta-page-info",
"required": true
},
"content": {
"pluginOptions": {
"i18n": {
Expand Down
11 changes: 0 additions & 11 deletions src/api/result-page/content-types/result-page/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@
"component": "page.meta-page-info",
"required": true
},
"meta": {
"type": "component",
"repeatable": false,
"pluginOptions": {
"i18n": {
"localized": true
}
},
"component": "page.meta-page-info",
"required": true
},
"heading": {
"type": "component",
"repeatable": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@
}
}
},
"meta": {
"type": "component",
"repeatable": false,
"component": "page.meta-page-info",
"required": true,
"pluginOptions": {
"i18n": {
"localized": true
}
}
},
"nextButtonLabel": {
"pluginOptions": {
"i18n": {
Expand Down
28 changes: 0 additions & 28 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,13 +668,6 @@ export interface ApiFormFlowPageFormFlowPage
'oneToMany',
'api::form-flow-page.form-flow-page'
>;
meta: Schema.Attribute.Component<'page.meta-page-info', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
nextButtonLabel: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
Expand Down Expand Up @@ -830,13 +823,6 @@ export interface ApiPagePage extends Struct.CollectionTypeSchema {
Schema.Attribute.Private;
locale: Schema.Attribute.String;
localizations: Schema.Attribute.Relation<'oneToMany', 'api::page.page'>;
meta: Schema.Attribute.Component<'page.meta-page-info', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
pageMeta: Schema.Attribute.Component<'page.meta-page-info', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
Expand Down Expand Up @@ -920,13 +906,6 @@ export interface ApiResultPageResultPage extends Struct.CollectionTypeSchema {
'oneToMany',
'api::result-page.result-page'
>;
meta: Schema.Attribute.Component<'page.meta-page-info', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
nextLink: Schema.Attribute.Component<'basic.link', false> &
Schema.Attribute.SetPluginOptions<{
i18n: {
Expand Down Expand Up @@ -1059,13 +1038,6 @@ export interface ApiVorabCheckPageVorabCheckPage
'oneToMany',
'api::vorab-check-page.vorab-check-page'
>;
meta: Schema.Attribute.Component<'page.meta-page-info', false> &
Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
nextButtonLabel: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{
i18n: {
Expand Down

0 comments on commit 884e677

Please sign in to comment.