feat: 🔥 Remove Patches

This commit is contained in:
Jesse Wierzbinski 2024-08-11 03:41:02 +02:00
parent d3d837e58f
commit b4c4254797
No known key found for this signature in database
2 changed files with 0 additions and 32 deletions

View file

@ -1,31 +0,0 @@
export const metadata = {
title: 'Patches',
description: 'Definition of the Patch entity',
}
# Patches
Patches are entities that indicate a change to another entity. They are sent to instances as a kind of "reindex this entity" message. Patches are used to update entities that have already been distributed to other instances.
## Entity Definition
<Row>
<Col>
<Properties>
<Property name="patched" type="URI" required={true} typeLink="/types#uri">
URI of the entity that was patched. Must be an absolute URI on the same instance.
</Property>
</Properties>
</Col>
<Col sticky>
```jsonc {{ 'title': 'Example Patch (deletes attachments from the previous page\\'s Note)' }}
{
"id": "be96bb7a-4b8e-45f9-93aa-23633eb3cfdc",
"type": "Patch", // [!code focus]
"uri": "https://social.lysand.org/objects/be96bb7a-4b8e-45f9-93aa-23633eb3cfdc",
"created_at": "2024-06-19T01:07:44.139Z",
"patched": "https://social.lysand.org/notes/9a8928b6-2526-4979-aab1-ef2f88cd5700", // [!code focus]
}
```
</Col>
</Row>

View file

@ -273,7 +273,6 @@ export const navigation: NavGroup[] = [
links: [ links: [
{ title: "Users", href: "/entities/users" }, { title: "Users", href: "/entities/users" },
{ title: "Notes", href: "/entities/notes" }, { title: "Notes", href: "/entities/notes" },
{ title: "Patches", href: "/entities/patches" },
], ],
}, },
{ {