refactor: ♻️ Remove extension_type in favour of using the type field on entities

This commit is contained in:
Jesse Wierzbinski 2024-08-24 14:29:54 +02:00
parent 228ef3c98d
commit 596b42474f
No known key found for this signature in database
9 changed files with 20 additions and 25 deletions

View file

@ -18,7 +18,7 @@ When a user shares a note, the note's original author **must** receive the entit
<Row>
<Col>
<Properties>
<Property name="extension_type" type="string" required={true}>
<Property name="type" type="string" required={true}>
Must be `pub.versia:share/Share`.
</Property>
<Property name="author" type="URI" required={true} typeLink="/types#uri">
@ -35,8 +35,7 @@ When a user shares a note, the note's original author **must** receive the entit
```jsonc {{ 'title': 'Example Share' }}
{
"id": "3e7e4750-afd4-4d99-a256-02f0710a0520",
"type": "Extension",
"extension_type": "pub.versia:share/Share",
"type": "pub.versia:share/Share",
"created_at": "2021-01-01T00:00:00.000Z",
"author": "https://example.com/users/6e0204a2-746c-4972-8602-c4f37fc63bbe",
"uri": "https://example.com/shares/3e7e4750-afd4-4d99-a256-02f0710a0520",