From cd4e01d9c6c49ec4afd74fec3d1c40744950f193 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Fri, 25 Aug 2023 18:36:31 +0100 Subject: [PATCH] chore: format file --- lib/accessPermissions.ts | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/lib/accessPermissions.ts b/lib/accessPermissions.ts index 1525d8e..6b92f73 100644 --- a/lib/accessPermissions.ts +++ b/lib/accessPermissions.ts @@ -16,7 +16,11 @@ type Permission = | "" | `/fetch${"" | "/by-id" | "/by-user"}` | `/update${"" | "/discoverability"}`}` - | `channels${"" | `/fetch${"" | "/by-id" | "/by-server" | "/dm" | "/invites"}` | `/create${"" | "/dm" | "/invites"}` | `/update${"" | "/invites"}`}` + | `channels${ + | "" + | `/fetch${"" | "/by-id" | "/by-server" | "/dm" | "/invites"}` + | `/create${"" | "/dm" | "/invites"}` + | `/update${"" | "/invites"}`}` | `messages${"" | `/fetch${"" | "/by-id" | "/by-user"}`}` | `reports${ | "" @@ -37,7 +41,13 @@ type Permission = | `servers${ | "" | `/fetch${"" | "/by-id"}` - | `/update${"" | "/flags" | "/discoverability" | "/owner" | "/add-member" | "/quarantine"}`}` + | `/update${ + | "" + | "/flags" + | "/discoverability" + | "/owner" + | "/add-member" + | "/quarantine"}`}` | `users${ | "" | `/fetch${ @@ -49,7 +59,13 @@ type Permission = | "/relations"}` | `/create${"" | "/alert" | "/strike"}` | `/update${"" | "/badges"}` - | `/action${"" | "/unsuspend" | "/suspend" | "/wipe" | "/ban" | "/wipe-profile"}`}` + | `/action${ + | "" + | "/unsuspend" + | "/suspend" + | "/wipe" + | "/ban" + | "/wipe-profile"}`}` | `safety_notes${ | "" | `/fetch${"" | `/${SafetyNotes["_id"]["type"]}`}`