Skip to content

Commit

Permalink
feat(nips): add NIP-65
Browse files Browse the repository at this point in the history
  • Loading branch information
hasundue committed Apr 22, 2024
1 parent 400f65e commit 03a2afa
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions nips/65/protocol.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import "@lophus/core/protocol";
import "../protocol.ts";

declare module "../protocol.ts" {
interface NipRecord {
65: {
Tag: "r";
EventKind: 10002;
};
}
}

declare module "@lophus/core/protocol" {
interface EventKindRecord {
10002: {
Content: "";
Tags: Tag<"r">[];
};
}
interface TagRecord {
"r": [RelayUrl, ...("read" | "write")[]];
}
}

0 comments on commit 03a2afa

Please sign in to comment.