mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
merge all nips 51* into nip 51.
This commit is contained in:
parent
5a6a758042
commit
92d087bbc3
31
51.md
31
51.md
|
@ -12,14 +12,6 @@ If a list type should only be defined once per user (like the 'Mute' list), the
|
||||||
|
|
||||||
Otherwise the list type's events should follow the specification for [NIP-33 - Parameterized Replaceable Events](33.md), where the list name will be used as the 'd' parameter. These lists may be referred to as 'parameterized replaceable lists'.
|
Otherwise the list type's events should follow the specification for [NIP-33 - Parameterized Replaceable Events](33.md), where the list name will be used as the 'd' parameter. These lists may be referred to as 'parameterized replaceable lists'.
|
||||||
|
|
||||||
## List Event Kinds
|
|
||||||
|
|
||||||
| kind | list type | NIP |
|
|
||||||
|------|-----------------------------|---------------|
|
|
||||||
| 10000| Mute | [51a](51a.md) |
|
|
||||||
| 10001| Pin | [51b](51b.md) |
|
|
||||||
| 30000| Categorized People | [51c](51c.md) |
|
|
||||||
| 30001| Categorized Bookmarks | [51d](51d.md) |
|
|
||||||
## Replaceable List Event Example
|
## Replaceable List Event Example
|
||||||
|
|
||||||
Lets say a user wants to create a 'Mute' list and has keys:
|
Lets say a user wants to create a 'Mute' list and has keys:
|
||||||
|
@ -94,4 +86,27 @@ Then the user would create a 'Categorized People' list event like below:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## List Event Kinds
|
||||||
|
|
||||||
|
| kind | list type |
|
||||||
|
| ------ | ----------------------- |
|
||||||
|
| 10000 | Mute |
|
||||||
|
| 10001 | Pin |
|
||||||
|
| 30000 | Categorized People |
|
||||||
|
| 30001 | Categorized Bookmarks |
|
||||||
|
|
||||||
|
### Mute List
|
||||||
|
|
||||||
|
An event with kind `10000` is defined as a replaceable list event (see [NIP-51 - Lists](51.md) for listing content a user wants to mute. Any standarized tag can be included in a Mute List.
|
||||||
|
|
||||||
|
### Pin List
|
||||||
|
|
||||||
|
An event with kind `10001` is defined as a replaceable list event (see [NIP-51 - Lists](51.md) for listing content a user wants to pin. Any standarized tag can be included in a Pin List.
|
||||||
|
|
||||||
|
### Categorized People List
|
||||||
|
|
||||||
|
An event with kind `30000` is defined as a parameterized replaceable list event (see [NIP-51 - Lists](51.md)) for categorizing people. The 'd' parameter for this event holds the category name of the list. The tags included in these lists MUST follow the format of kind 3 events as defined in [NIP-02 - Contact List and Petnames](02.md).
|
||||||
|
|
||||||
|
### Categorized Bookmarks List
|
||||||
|
|
||||||
|
An event with kind `30001` is defined as a parameterized replaceable list event (see [NIP-51 - Lists](51.md)) for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. Any standarized tag can be included in a Categorized Bookmarks List.
|
||||||
|
|
9
51a.md
9
51a.md
|
@ -1,9 +0,0 @@
|
||||||
NIP-51a
|
|
||||||
======
|
|
||||||
|
|
||||||
Mute List
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema`
|
|
||||||
|
|
||||||
An event with kind `10000` is defined as a replaceable list event (see [NIP-51 - Lists](51.md) for listing content a user wants to mute. Any standarized tag can be included in a Mute List.
|
|
9
51b.md
9
51b.md
|
@ -1,9 +0,0 @@
|
||||||
NIP-51b
|
|
||||||
======
|
|
||||||
|
|
||||||
Pin List
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema`
|
|
||||||
|
|
||||||
An event with kind `10001` is defined as a replaceable list event (see [NIP-51 - Lists](51.md) for listing content a user wants to pin. Any standarized tag can be included in a Pin List.
|
|
9
51c.md
9
51c.md
|
@ -1,9 +0,0 @@
|
||||||
NIP-51c
|
|
||||||
======
|
|
||||||
|
|
||||||
Categorized People List
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema`
|
|
||||||
|
|
||||||
An event with kind `30000` is defined as a parameterized replaceable list event (see [NIP-51 - Lists](51.md)) for categorizing people. The 'd' parameter for this event holds the category name of the list. The tags included in these lists MUST follow the format of kind 3 events as defined in [NIP-02 - Contact List and Petnames](02.md).
|
|
9
51d.md
9
51d.md
|
@ -1,9 +0,0 @@
|
||||||
NIP-51d
|
|
||||||
======
|
|
||||||
|
|
||||||
Categorized Bookmarks List
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
`draft` `optional` `author:fiatjaf` `author:arcbtc` `author:monlovesmango` `author:eskema`
|
|
||||||
|
|
||||||
An event with kind `30001` is defined as a parameterized replaceable list event (see [NIP-51 - Lists](51.md)) for categorizing bookmarks. The 'd' parameter for this event holds the category name of the list. Any standarized tag can be included in a Categorized Bookmarks List.
|
|
Loading…
Reference in New Issue
Block a user