From e0ac214fd10e5db699d4e6e2fb70306922bd3a43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Thu, 12 May 2022 13:58:33 +0400 Subject: [PATCH] Update awtis, teks, komante schemas --- src/api/awti/content-types/awti/schema.json | 7 +++++++ src/api/komant/content-types/komant/schema.json | 5 +++++ src/api/tek/content-types/tek/schema.json | 13 +++++++++++++ 3 files changed, 25 insertions(+) diff --git a/src/api/awti/content-types/awti/schema.json b/src/api/awti/content-types/awti/schema.json index cdc0b94..33ffdfb 100644 --- a/src/api/awti/content-types/awti/schema.json +++ b/src/api/awti/content-types/awti/schema.json @@ -45,6 +45,13 @@ "type": "relation", "relation": "oneToOne", "target": "plugin::users-permissions.user" + }, + "foto": { + "allowedTypes": [ + "images" + ], + "type": "media", + "multiple": false } } } diff --git a/src/api/komant/content-types/komant/schema.json b/src/api/komant/content-types/komant/schema.json index 856c881..fb4aecd 100644 --- a/src/api/komant/content-types/komant/schema.json +++ b/src/api/komant/content-types/komant/schema.json @@ -24,6 +24,11 @@ "type": "relation", "relation": "oneToOne", "target": "plugin::users-permissions.user" + }, + "tek": { + "type": "relation", + "relation": "oneToOne", + "target": "api::tek.tek" } } } diff --git a/src/api/tek/content-types/tek/schema.json b/src/api/tek/content-types/tek/schema.json index c1fa42d..5a596c7 100644 --- a/src/api/tek/content-types/tek/schema.json +++ b/src/api/tek/content-types/tek/schema.json @@ -53,6 +53,19 @@ "type": "relation", "relation": "oneToOne", "target": "plugin::users-permissions.user" + }, + "kouveti": { + "type": "media", + "multiple": false, + "required": false, + "allowedTypes": [ + "images" + ] + }, + "tradiksyon": { + "type": "component", + "repeatable": false, + "component": "trad.traductions" } } }