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

@ -87,9 +87,6 @@ Extensions can be found in two places: an [Entity](/entities#entity-definition)'
<Col>
<Properties>
<Property name="type" type="string" required={true}>
The entity type. **Must** be `Extension`. The extension type is defined in the `extension_type` property.
</Property>
<Property name="extension_type" type="string" required={true}>
The extension type. [Must follow naming conventions](#naming).
</Property>
<Property name="other">
@ -103,8 +100,7 @@ Extensions can be found in two places: an [Entity](/entities#entity-definition)'
```jsonc {{ title: "Example Custom Entity" }}
{
"type": "Extension",
"extension_type": "com.example:poll/Poll",
"type": "com.example:poll/Poll",
"id": "6f27bc77-58ee-4c9b-b804-8cc1c1182fa9",
"uri": "https://example.com/actions/6f27bc77-58ee-4c9b-b804-8cc1c1182fa9",
"author": "https://example.com/users/6e0204a2-746c-4972-8602-c4f37fc63bbe",