diff options
Diffstat (limited to 'src/nostr/events.rs')
| -rw-r--r-- | src/nostr/events.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nostr/events.rs b/src/nostr/events.rs index 97688b1..6a62ccd 100644 --- a/src/nostr/events.rs +++ b/src/nostr/events.rs | |||
| @@ -15,6 +15,12 @@ pub const KIND_REPOSITORY_ANNOUNCEMENT: u16 = 30617; | |||
| 15 | /// NIP-34 Repository State Announcement (kind 30618) | 15 | /// NIP-34 Repository State Announcement (kind 30618) |
| 16 | pub const KIND_REPOSITORY_STATE: u16 = 30618; | 16 | pub const KIND_REPOSITORY_STATE: u16 = 30618; |
| 17 | 17 | ||
| 18 | /// NIP-34 Pull Request (kind 1618) - has `c` tag for commit | ||
| 19 | pub const KIND_PR: u16 = 1618; | ||
| 20 | |||
| 21 | /// NIP-34 Pull Request Update (kind 1619) - has `c` tag for commit | ||
| 22 | pub const KIND_PR_UPDATE: u16 = 1619; | ||
| 23 | |||
| 18 | /// Repository announcement details extracted from NIP-34 event | 24 | /// Repository announcement details extracted from NIP-34 event |
| 19 | #[derive(Debug, Clone)] | 25 | #[derive(Debug, Clone)] |
| 20 | pub struct RepositoryAnnouncement { | 26 | pub struct RepositoryAnnouncement { |