feat: schéma pour les commentaires fédérés

This commit is contained in:
2026-07-04 23:31:09 +04:00
parent 7e705d3976
commit 0043a07ec1
2 changed files with 28 additions and 0 deletions
@@ -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"
}
}
}
@@ -158,6 +158,9 @@
"type": "component",
"component": "kit.lyen",
"repeatable": true
},
"bokanteStatusId": {
"type": "string"
}
}
}