chore(cms): update generated schema types

This commit is contained in:
2026-10-07 11:36:55 +02:00
parent 2b3ffcf19e
commit 2d06447811
2 changed files with 168 additions and 2 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ export interface PageLegacyMetric extends Struct.ComponentSchema {
export interface PageLegacyStage extends Struct.ComponentSchema { export interface PageLegacyStage extends Struct.ComponentSchema {
collectionName: 'components_page_legacy_stages'; collectionName: 'components_page_legacy_stages';
info: { info: {
description: 'One SHARP programme phase with copy, figures, areas of work, and its own image gallery.'; description: 'One SHARP programme phase with its copy, figures, areas of work, and image gallery. The website displays up to five selected images.';
displayName: 'Legacy Phase'; displayName: 'Legacy Phase';
icon: 'landmark'; icon: 'landmark';
}; };
+167 -1
View File
@@ -632,6 +632,23 @@ export interface ApiActivityActivity extends Struct.CollectionTypeSchema {
>; >;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
regions: Schema.Attribute.Relation<'oneToMany', 'api::region.region'>; regions: Schema.Attribute.Relation<'oneToMany', 'api::region.region'>;
reviewFeedback: Schema.Attribute.Text &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
reviewStatus: Schema.Attribute.Enumeration<
['pending', 'approved', 'changes-requested', 'rejected']
> &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}> &
Schema.Attribute.DefaultTo<'pending'>;
seo: Schema.Attribute.Component<'shared.seo', false> & seo: Schema.Attribute.Component<'shared.seo', false> &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -645,6 +662,13 @@ export interface ApiActivityActivity extends Struct.CollectionTypeSchema {
localized: true; localized: true;
}; };
}>; }>;
submittedByAdminUserId: Schema.Attribute.Integer &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
summary: Schema.Attribute.Text & summary: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -1030,6 +1054,23 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
'oneToMany', 'oneToMany',
'api::resource.resource' 'api::resource.resource'
>; >;
reviewFeedback: Schema.Attribute.Text &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
reviewStatus: Schema.Attribute.Enumeration<
['pending', 'approved', 'changes-requested', 'rejected']
> &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}> &
Schema.Attribute.DefaultTo<'pending'>;
seo: Schema.Attribute.Component<'shared.seo', false> & seo: Schema.Attribute.Component<'shared.seo', false> &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -1050,6 +1091,13 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema {
localized: false; localized: false;
}; };
}>; }>;
submittedByAdminUserId: Schema.Attribute.Integer &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
timezone: Schema.Attribute.String & timezone: Schema.Attribute.String &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -1357,7 +1405,7 @@ export interface ApiKnowledgeItemKnowledgeItem
export interface ApiLegacyPageLegacyPage extends Struct.SingleTypeSchema { export interface ApiLegacyPageLegacyPage extends Struct.SingleTypeSchema {
collectionName: 'legacy_pages'; collectionName: 'legacy_pages';
info: { info: {
description: 'SHARP I and SHARP II legacy content, hero media, and phase galleries.'; description: 'SHARP I and SHARP II programme history, achievements, metrics, and featured images.';
displayName: 'Legacy Page'; displayName: 'Legacy Page';
pluralName: 'legacy-pages'; pluralName: 'legacy-pages';
singularName: 'legacy-page'; singularName: 'legacy-page';
@@ -1539,6 +1587,23 @@ export interface ApiNewsArticleNewsArticle extends Struct.CollectionTypeSchema {
}>; }>;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
regions: Schema.Attribute.Relation<'oneToMany', 'api::region.region'>; regions: Schema.Attribute.Relation<'oneToMany', 'api::region.region'>;
reviewFeedback: Schema.Attribute.Text &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
reviewStatus: Schema.Attribute.Enumeration<
['pending', 'approved', 'changes-requested', 'rejected']
> &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}> &
Schema.Attribute.DefaultTo<'pending'>;
seo: Schema.Attribute.Component<'shared.seo', false> & seo: Schema.Attribute.Component<'shared.seo', false> &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -1552,6 +1617,13 @@ export interface ApiNewsArticleNewsArticle extends Struct.CollectionTypeSchema {
localized: true; localized: true;
}; };
}>; }>;
submittedByAdminUserId: Schema.Attribute.Integer &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
title: Schema.Attribute.String & title: Schema.Attribute.String &
Schema.Attribute.Required & Schema.Attribute.Required &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
@@ -1667,6 +1739,23 @@ export interface ApiOpportunityOpportunity extends Struct.CollectionTypeSchema {
}> & }> &
Schema.Attribute.DefaultTo<'call-eoi'>; Schema.Attribute.DefaultTo<'call-eoi'>;
publishedAt: Schema.Attribute.DateTime; publishedAt: Schema.Attribute.DateTime;
reviewFeedback: Schema.Attribute.Text &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
reviewStatus: Schema.Attribute.Enumeration<
['pending', 'approved', 'changes-requested', 'rejected']
> &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}> &
Schema.Attribute.DefaultTo<'pending'>;
seo: Schema.Attribute.Component<'shared.seo', false> & seo: Schema.Attribute.Component<'shared.seo', false> &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -1680,6 +1769,13 @@ export interface ApiOpportunityOpportunity extends Struct.CollectionTypeSchema {
localized: true; localized: true;
}; };
}>; }>;
submittedByAdminUserId: Schema.Attribute.Integer &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
summary: Schema.Attribute.Text & summary: Schema.Attribute.Text &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -1706,6 +1802,51 @@ export interface ApiOpportunityOpportunity extends Struct.CollectionTypeSchema {
}; };
} }
export interface ApiPartnerAccessPartnerAccess
extends Struct.CollectionTypeSchema {
collectionName: 'partner_accesses';
info: {
description: 'Links one Strapi admin user to the partner organisation they can submit content for.';
displayName: 'Partner Access';
pluralName: 'partner-accesses';
singularName: 'partner-access';
};
options: {
draftAndPublish: false;
};
pluginOptions: {
i18n: {
localized: false;
};
};
attributes: {
adminUserId: Schema.Attribute.Integer &
Schema.Attribute.Required &
Schema.Attribute.Unique &
Schema.Attribute.SetMinMax<
{
min: 1;
},
number
>;
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<
'oneToMany',
'api::partner-access.partner-access'
> &
Schema.Attribute.Private;
partner: Schema.Attribute.Relation<'manyToOne', 'api::partner.partner'> &
Schema.Attribute.Required;
publishedAt: Schema.Attribute.DateTime;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
};
}
export interface ApiPartnerPartner extends Struct.CollectionTypeSchema { export interface ApiPartnerPartner extends Struct.CollectionTypeSchema {
collectionName: 'partners'; collectionName: 'partners';
info: { info: {
@@ -2017,6 +2158,23 @@ export interface ApiResourceResource extends Struct.CollectionTypeSchema {
}; };
}> & }> &
Schema.Attribute.DefaultTo<'project-report'>; Schema.Attribute.DefaultTo<'project-report'>;
reviewFeedback: Schema.Attribute.Text &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
reviewStatus: Schema.Attribute.Enumeration<
['pending', 'approved', 'changes-requested', 'rejected']
> &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}> &
Schema.Attribute.DefaultTo<'pending'>;
seo: Schema.Attribute.Component<'shared.seo', false> & seo: Schema.Attribute.Component<'shared.seo', false> &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
i18n: { i18n: {
@@ -2030,6 +2188,13 @@ export interface ApiResourceResource extends Struct.CollectionTypeSchema {
localized: true; localized: true;
}; };
}>; }>;
submittedByAdminUserId: Schema.Attribute.Integer &
Schema.Attribute.Private &
Schema.Attribute.SetPluginOptions<{
i18n: {
localized: false;
};
}>;
supersedes: Schema.Attribute.Relation<'oneToOne', 'api::resource.resource'>; supersedes: Schema.Attribute.Relation<'oneToOne', 'api::resource.resource'>;
thumbnail: Schema.Attribute.Media<'images'> & thumbnail: Schema.Attribute.Media<'images'> &
Schema.Attribute.SetPluginOptions<{ Schema.Attribute.SetPluginOptions<{
@@ -2838,6 +3003,7 @@ declare module '@strapi/strapi' {
'api::legacy-page.legacy-page': ApiLegacyPageLegacyPage; 'api::legacy-page.legacy-page': ApiLegacyPageLegacyPage;
'api::news-article.news-article': ApiNewsArticleNewsArticle; 'api::news-article.news-article': ApiNewsArticleNewsArticle;
'api::opportunity.opportunity': ApiOpportunityOpportunity; 'api::opportunity.opportunity': ApiOpportunityOpportunity;
'api::partner-access.partner-access': ApiPartnerAccessPartnerAccess;
'api::partner.partner': ApiPartnerPartner; 'api::partner.partner': ApiPartnerPartner;
'api::region.region': ApiRegionRegion; 'api::region.region': ApiRegionRegion;
'api::reminder-settings.reminder-settings': ApiReminderSettingsReminderSettings; 'api::reminder-settings.reminder-settings': ApiReminderSettingsReminderSettings;