From b4c4254797738dc358cbd5039fd19ee41a130a6d Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sun, 11 Aug 2024 03:41:02 +0200 Subject: [PATCH] feat: :fire: Remove Patches --- app/entities/patches/page.mdx | 31 ------------------------------- components/Navigation.tsx | 1 - 2 files changed, 32 deletions(-) delete mode 100644 app/entities/patches/page.mdx diff --git a/app/entities/patches/page.mdx b/app/entities/patches/page.mdx deleted file mode 100644 index eb8fce0..0000000 --- a/app/entities/patches/page.mdx +++ /dev/null @@ -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 - - - - - - URI of the entity that was patched. Must be an absolute URI on the same instance. - - - - - ```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] - } - ``` - - \ No newline at end of file diff --git a/components/Navigation.tsx b/components/Navigation.tsx index 77146ed..8f1eebd 100644 --- a/components/Navigation.tsx +++ b/components/Navigation.tsx @@ -273,7 +273,6 @@ export const navigation: NavGroup[] = [ links: [ { title: "Users", href: "/entities/users" }, { title: "Notes", href: "/entities/notes" }, - { title: "Patches", href: "/entities/patches" }, ], }, {