From fefe5b9a1f4101ff3308ca930e6cd8743a74df33 Mon Sep 17 00:00:00 2001 From: Zotov Ivan Yuryevich Date: Mon, 1 Jun 2026 22:05:37 +0300 Subject: [PATCH] chore: add privacy policy and term of use --- .../content-types/site-config/schema.json | 14 ++++++++++++++ types/generated/contentTypes.d.ts | 2 ++ 2 files changed, 16 insertions(+) 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'> &