Commit 348b5ee
committed
Implement backend API migration for public and only-me modes
- Update API endpoints to match new unified backend structure
- Add relay owner management API endpoints for only-me mode
- Implement nip19 encoding/decoding for proper NPUB format handling
- Update types to support new mode structure and permissions
- Replace old read/write NPUB management with unified user system
- Add proper validation and error handling for mode transitions1 parent 605d358 commit 348b5ee
14 files changed
Lines changed: 1000 additions & 991 deletions
File tree
- src
- api
- components
- allowed-users
- components
- ModeSelector
- NPubManagement
- PermissionsConfig
- RelayOwnerConfig
- TierEditor
- TiersConfig
- layouts
- relay-dashboard/paid-subscribers
- hooks
- store/slices
- types
Large diffs are not rendered by default.
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
0 commit comments