diff --git a/src/api/site-config/content-types/site-config/schema.json b/src/api/site-config/content-types/site-config/schema.json index 2f3469c..ebb92a8 100644 --- a/src/api/site-config/content-types/site-config/schema.json +++ b/src/api/site-config/content-types/site-config/schema.json @@ -22,6 +22,20 @@ "type": "component", "component": "shared.contact", "repeatable": true + }, + "privacyPolicy": { + "type": "media", + "multiple": false, + "allowedTypes": [ + "files" + ] + }, + "termsOfUse": { + "type": "media", + "multiple": false, + "allowedTypes": [ + "files" + ] } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index 628f302..bec0c02 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -535,7 +535,9 @@ export interface ApiSiteConfigSiteConfig extends Struct.SingleTypeSchema { 'api::site-config.site-config' > & Schema.Attribute.Private; + privacyPolicy: Schema.Attribute.Media<'files'>; publishedAt: Schema.Attribute.DateTime; + termsOfUse: Schema.Attribute.Media<'files'>; title: Schema.Attribute.String & Schema.Attribute.Required; updatedAt: Schema.Attribute.DateTime; updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &