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" } } }