upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/nostr/events.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-22 17:22:25 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-22 20:21:26 +0000
commit5d3d96c7f0397a079384b7291ff21df76029b126 (patch)
tree9bb558649611409b8612899776a865dd8232f783 /src/nostr/events.rs
parent777509bb03f5233b3ef470329d23cec371baf53c (diff)
accept all UserGraspList for better discovery
Diffstat (limited to 'src/nostr/events.rs')
-rw-r--r--src/nostr/events.rs3
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
22pub const KIND_PR_UPDATE: u16 = 1619; 22pub const KIND_PR_UPDATE: u16 = 1619;
23 23
24/// User Grasp List (kind 10317) - user's personal list of GRASP repositories
25pub 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)]
26pub struct RepositoryAnnouncement { 29pub struct RepositoryAnnouncement {