diff --git a/apps/cms/types/generated/components.d.ts b/apps/cms/types/generated/components.d.ts index 4df8e31..dbc87ff 100644 --- a/apps/cms/types/generated/components.d.ts +++ b/apps/cms/types/generated/components.d.ts @@ -195,7 +195,7 @@ export interface PageLegacyMetric extends Struct.ComponentSchema { export interface PageLegacyStage extends Struct.ComponentSchema { collectionName: 'components_page_legacy_stages'; 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'; icon: 'landmark'; }; diff --git a/apps/cms/types/generated/contentTypes.d.ts b/apps/cms/types/generated/contentTypes.d.ts index aa1b12e..3de6f23 100644 --- a/apps/cms/types/generated/contentTypes.d.ts +++ b/apps/cms/types/generated/contentTypes.d.ts @@ -632,6 +632,23 @@ export interface ApiActivityActivity extends Struct.CollectionTypeSchema { >; publishedAt: Schema.Attribute.DateTime; 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> & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -645,6 +662,13 @@ export interface ApiActivityActivity extends Struct.CollectionTypeSchema { localized: true; }; }>; + submittedByAdminUserId: Schema.Attribute.Integer & + Schema.Attribute.Private & + Schema.Attribute.SetPluginOptions<{ + i18n: { + localized: false; + }; + }>; summary: Schema.Attribute.Text & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -1030,6 +1054,23 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema { 'oneToMany', '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> & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -1050,6 +1091,13 @@ export interface ApiEventEvent extends Struct.CollectionTypeSchema { localized: false; }; }>; + submittedByAdminUserId: Schema.Attribute.Integer & + Schema.Attribute.Private & + Schema.Attribute.SetPluginOptions<{ + i18n: { + localized: false; + }; + }>; timezone: Schema.Attribute.String & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -1357,7 +1405,7 @@ export interface ApiKnowledgeItemKnowledgeItem export interface ApiLegacyPageLegacyPage extends Struct.SingleTypeSchema { collectionName: 'legacy_pages'; 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'; pluralName: 'legacy-pages'; singularName: 'legacy-page'; @@ -1539,6 +1587,23 @@ export interface ApiNewsArticleNewsArticle extends Struct.CollectionTypeSchema { }>; publishedAt: Schema.Attribute.DateTime; 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> & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -1552,6 +1617,13 @@ export interface ApiNewsArticleNewsArticle extends Struct.CollectionTypeSchema { localized: true; }; }>; + submittedByAdminUserId: Schema.Attribute.Integer & + Schema.Attribute.Private & + Schema.Attribute.SetPluginOptions<{ + i18n: { + localized: false; + }; + }>; title: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.SetPluginOptions<{ @@ -1667,6 +1739,23 @@ export interface ApiOpportunityOpportunity extends Struct.CollectionTypeSchema { }> & Schema.Attribute.DefaultTo<'call-eoi'>; 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> & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -1680,6 +1769,13 @@ export interface ApiOpportunityOpportunity extends Struct.CollectionTypeSchema { localized: true; }; }>; + submittedByAdminUserId: Schema.Attribute.Integer & + Schema.Attribute.Private & + Schema.Attribute.SetPluginOptions<{ + i18n: { + localized: false; + }; + }>; summary: Schema.Attribute.Text & Schema.Attribute.SetPluginOptions<{ 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 { collectionName: 'partners'; info: { @@ -2017,6 +2158,23 @@ export interface ApiResourceResource extends Struct.CollectionTypeSchema { }; }> & 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> & Schema.Attribute.SetPluginOptions<{ i18n: { @@ -2030,6 +2188,13 @@ export interface ApiResourceResource extends Struct.CollectionTypeSchema { localized: true; }; }>; + submittedByAdminUserId: Schema.Attribute.Integer & + Schema.Attribute.Private & + Schema.Attribute.SetPluginOptions<{ + i18n: { + localized: false; + }; + }>; supersedes: Schema.Attribute.Relation<'oneToOne', 'api::resource.resource'>; thumbnail: Schema.Attribute.Media<'images'> & Schema.Attribute.SetPluginOptions<{ @@ -2838,6 +3003,7 @@ declare module '@strapi/strapi' { 'api::legacy-page.legacy-page': ApiLegacyPageLegacyPage; 'api::news-article.news-article': ApiNewsArticleNewsArticle; 'api::opportunity.opportunity': ApiOpportunityOpportunity; + 'api::partner-access.partner-access': ApiPartnerAccessPartnerAccess; 'api::partner.partner': ApiPartnerPartner; 'api::region.region': ApiRegionRegion; 'api::reminder-settings.reminder-settings': ApiReminderSettingsReminderSettings;