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