From 0043a07ec130c8cd9d8d5a15678d724665906ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 4 Jul 2026 23:29:46 +0400 Subject: [PATCH] =?UTF-8?q?feat:=20sch=C3=A9ma=20pour=20les=20commentaires?= =?UTF-8?q?=20f=C3=A9d=C3=A9r=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../content-types/commentaire/schema.json | 25 +++++++++++++++++++ .../parole/content-types/parole/schema.json | 3 +++ 2 files changed, 28 insertions(+) diff --git a/src/api/commentaire/content-types/commentaire/schema.json b/src/api/commentaire/content-types/commentaire/schema.json index 4ffe8bc..c3887bb 100644 --- a/src/api/commentaire/content-types/commentaire/schema.json +++ b/src/api/commentaire/content-types/commentaire/schema.json @@ -29,6 +29,31 @@ "type": "relation", "relation": "oneToOne", "target": "api::parole.parole" + }, + "origine": { + "type": "enumeration", + "enum": ["local", "activitypub"], + "default": "local", + "required": true + }, + "auteurNom": { + "type": "string" + }, + "auteurHandle": { + "type": "string" + }, + "auteurAvatarUrl": { + "type": "string" + }, + "auteurProfilUrl": { + "type": "string" + }, + "remoteId": { + "type": "string", + "unique": true + }, + "remoteUrl": { + "type": "string" } } } diff --git a/src/api/parole/content-types/parole/schema.json b/src/api/parole/content-types/parole/schema.json index 0f6c54e..6083ba1 100644 --- a/src/api/parole/content-types/parole/schema.json +++ b/src/api/parole/content-types/parole/schema.json @@ -158,6 +158,9 @@ "type": "component", "component": "kit.lyen", "repeatable": true + }, + "bokanteStatusId": { + "type": "string" } } }