upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-11-23 17:42:32 -0300
committerfiatjaf <fiatjaf@gmail.com>2024-02-23 20:52:12 -0300
commit363212b375e7f2c7692e5f46452e9feae7b4a322 (patch)
tree5ae0c3179e20cea2bd2ca172001b4c4ea0d74c0b
parent7e7ddea0554e8c3208a73f82ab9ef2e1bcc42ee1 (diff)
add kinds to README.
-rw-r--r--29.md18
-rw-r--r--README.md6
2 files changed, 15 insertions, 9 deletions
diff --git a/29.md b/29.md
index 398b329..6c36377 100644
--- a/29.md
+++ b/29.md
@@ -99,15 +99,15 @@ Clients can send these events to a relay in order to accomplish a moderation act
99 99
100Each moderation action uses a different kind and requires different arguments, which are given as tags. These are defined in the following table: 100Each moderation action uses a different kind and requires different arguments, which are given as tags. These are defined in the following table:
101 101
102| kind | name | tags | 102| kind | name | tags |
103| --- | --- | --- | 103| --- | --- | --- |
104| 9000 | `add-user` | `p` (pubkey hex) | 104| 9000 | `add-user` | `p` (pubkey hex) |
105| 9001 | `remove-user` | `p` (pubkey hex) | 105| 9001 | `remove-user` | `p` (pubkey hex) |
106| 9002 | `edit-metadata` | `name`, `about`, `picture` (string) | 106| 9002 | `edit-metadata` | `name`, `about`, `picture` (string) |
107| 9003 | `add-permission` | `p` (pubkey), `permission` (name) | 107| 9003 | `add-permission` | `p` (pubkey), `permission` (name) |
108| 9004 | `remove-permission` | `p` (pubkey), `permission` (name) | 108| 9004 | `remove-permission` | `p` (pubkey), `permission` (name) |
109| 9005 | `delete-event` | `e` (id hex) | 109| 9005 | `delete-event` | `e` (id hex) |
110| 9006 | `edit-group-status` | `public`, `open`, `private`, `closed` | 110| 9006 | `edit-group-status` | `public` or `private`, `open` or `closed` |
111 111
112- *group metadata* (`kind:39000`) (optional) 112- *group metadata* (`kind:39000`) (optional)
113 113
diff --git a/README.md b/README.md
index b9ca8aa..fbb2897 100644
--- a/README.md
+++ b/README.md
@@ -45,6 +45,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
45- [NIP-26: Delegated Event Signing](26.md) 45- [NIP-26: Delegated Event Signing](26.md)
46- [NIP-27: Text Note References](27.md) 46- [NIP-27: Text Note References](27.md)
47- [NIP-28: Public Chat](28.md) 47- [NIP-28: Public Chat](28.md)
48- [NIP-29: Relay-based Groups](29.md)
48- [NIP-30: Custom Emoji](30.md) 49- [NIP-30: Custom Emoji](30.md)
49- [NIP-31: Dealing with Unknown Events](31.md) 50- [NIP-31: Dealing with Unknown Events](31.md)
50- [NIP-32: Labeling](32.md) 51- [NIP-32: Labeling](32.md)
@@ -92,6 +93,9 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
92| `6` | Repost | [18](18.md) | 93| `6` | Repost | [18](18.md) |
93| `7` | Reaction | [25](25.md) | 94| `7` | Reaction | [25](25.md) |
94| `8` | Badge Award | [58](58.md) | 95| `8` | Badge Award | [58](58.md) |
96| `9` | Group Chat Message | [29](29.md) |
97| `11` | Group Thread | [29](29.md) |
98| `12` | Group Thread Reply | [29](29.md) |
95| `13` | Seal | [59](59.md) | 99| `13` | Seal | [59](59.md) |
96| `16` | Generic Repost | [18](18.md) | 100| `16` | Generic Repost | [18](18.md) |
97| `40` | Channel Creation | [28](28.md) | 101| `40` | Channel Creation | [28](28.md) |
@@ -112,6 +116,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
112| `5000`-`5999` | Job Request | [90](90.md) | 116| `5000`-`5999` | Job Request | [90](90.md) |
113| `6000`-`6999` | Job Result | [90](90.md) | 117| `6000`-`6999` | Job Result | [90](90.md) |
114| `7000` | Job Feedback | [90](90.md) | 118| `7000` | Job Feedback | [90](90.md) |
119| `9000`-`9030` | Group Control Events | [29](29.md) |
115| `9041` | Zap Goal | [75](75.md) | 120| `9041` | Zap Goal | [75](75.md) |
116| `9734` | Zap Request | [57](57.md) | 121| `9734` | Zap Request | [57](57.md) |
117| `9735` | Zap | [57](57.md) | 122| `9735` | Zap | [57](57.md) |
@@ -161,6 +166,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
161| `31925` | Calendar Event RSVP | [52](52.md) | 166| `31925` | Calendar Event RSVP | [52](52.md) |
162| `31989` | Handler recommendation | [89](89.md) | 167| `31989` | Handler recommendation | [89](89.md) |
163| `31990` | Handler information | [89](89.md) | 168| `31990` | Handler information | [89](89.md) |
169| `39000-9` | Group metadata events | [29](29.md) |
164| `34550` | Community Definition | [72](72.md) | 170| `34550` | Community Definition | [72](72.md) |
165 171
166[nostrocket]: https://github.com/nostrocket/NIPS/blob/main/Problems.md 172[nostrocket]: https://github.com/nostrocket/NIPS/blob/main/Problems.md