diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-22 17:22:25 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-22 20:21:26 +0000 |
| commit | 5d3d96c7f0397a079384b7291ff21df76029b126 (patch) | |
| tree | 9bb558649611409b8612899776a865dd8232f783 /src/nostr/events.rs | |
| parent | 777509bb03f5233b3ef470329d23cec371baf53c (diff) | |
accept all UserGraspList for better discovery
Diffstat (limited to 'src/nostr/events.rs')
| -rw-r--r-- | src/nostr/events.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nostr/events.rs b/src/nostr/events.rs index 050bfdd..1fcb75e 100644 --- a/src/nostr/events.rs +++ b/src/nostr/events.rs | |||
| @@ -21,6 +21,9 @@ pub const KIND_PR: u16 = 1618; | |||
| 21 | /// NIP-34 Pull Request Update (kind 1619) - has `c` tag for commit | 21 | /// NIP-34 Pull Request Update (kind 1619) - has `c` tag for commit |
| 22 | pub const KIND_PR_UPDATE: u16 = 1619; | 22 | pub const KIND_PR_UPDATE: u16 = 1619; |
| 23 | 23 | ||
| 24 | /// User Grasp List (kind 10317) - user's personal list of GRASP repositories | ||
| 25 | pub const KIND_USER_GRASP_LIST: u16 = 10317; | ||
| 26 | |||
| 24 | /// Repository announcement details extracted from NIP-34 event | 27 | /// Repository announcement details extracted from NIP-34 event |
| 25 | #[derive(Debug, Clone)] | 28 | #[derive(Debug, Clone)] |
| 26 | pub struct RepositoryAnnouncement { | 29 | pub struct RepositoryAnnouncement { |