From b061d0845c84d3bc86f4684a292afaa88f8e4dc5 Mon Sep 17 00:00:00 2001 From: Asai Toshiya Date: Wed, 18 Dec 2024 00:54:22 +0900 Subject: [PATCH] nip29: update GroupAdminPermission. --- nip29.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nip29.ts b/nip29.ts index 3b9a1f3..06ce3ad 100644 --- a/nip29.ts +++ b/nip29.ts @@ -58,13 +58,21 @@ export type GroupAdmin = { * Represents the permissions that a NIP29 group admin can have. */ export enum GroupAdminPermission { + /** @deprecated use PutUser instead */ AddUser = 'add-user', EditMetadata = 'edit-metadata', DeleteEvent = 'delete-event', RemoveUser = 'remove-user', + /** @deprecated removed from NIP */ AddPermission = 'add-permission', + /** @deprecated removed from NIP */ RemovePermission = 'remove-permission', + /** @deprecated removed from NIP */ EditGroupStatus = 'edit-group-status', + PutUser = 'put-user', + CreateGroup = 'create-group', + DeleteGroup = 'delete-group', + CreateInvite = 'create-invite', } /**