feat: add NIP-88 poll support

This commit is contained in:
Bhavishy
2026-04-03 00:54:04 +05:30
parent 63b1cd125e
commit 5ba920adec
18 changed files with 743 additions and 2 deletions
+2
View File
@@ -17,6 +17,7 @@ const staticTitles = new Map<string, string>([
["/spaces/[relay]/classifieds", "Classifieds"],
["/spaces/[relay]/calendar", "Calendar"],
["/spaces/[relay]/goals", "Goals"],
["/spaces/[relay]/polls", "Polls"],
["/chat", "Messages"],
["/join", "Join Space"],
["/people", "Find People"],
@@ -35,6 +36,7 @@ const eventRoutes = new Set([
"/spaces/[relay]/goals/[id]",
"/spaces/[relay]/calendar/[address]",
"/spaces/[relay]/classifieds/[address]",
"/spaces/[relay]/polls/[id]",
])
type RouteParams = Record<string, string | undefined>