tauri-plugin-nostrnative 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +106 -0
  3. package/dist-js/index.cjs +288 -0
  4. package/dist-js/index.d.ts +105 -0
  5. package/dist-js/index.js +253 -0
  6. package/package.json +38 -0
  7. package/permissions/autogenerated/commands/blossom_get_blob.toml +13 -0
  8. package/permissions/autogenerated/commands/blossom_mirror.toml +13 -0
  9. package/permissions/autogenerated/commands/blossom_upload.toml +13 -0
  10. package/permissions/autogenerated/commands/blossom_upload_content.toml +13 -0
  11. package/permissions/autogenerated/commands/create_discovery_event.toml +13 -0
  12. package/permissions/autogenerated/commands/decrypt_discovery_event.toml +13 -0
  13. package/permissions/autogenerated/commands/decrypt_pns_event.toml +13 -0
  14. package/permissions/autogenerated/commands/delete_calendar.toml +13 -0
  15. package/permissions/autogenerated/commands/delete_calendar_event.toml +13 -0
  16. package/permissions/autogenerated/commands/delete_chat_messages.toml +13 -0
  17. package/permissions/autogenerated/commands/derive_pns_keys.toml +13 -0
  18. package/permissions/autogenerated/commands/fetch_bookmarks.toml +13 -0
  19. package/permissions/autogenerated/commands/fetch_calendar_events.toml +13 -0
  20. package/permissions/autogenerated/commands/fetch_calendars.toml +13 -0
  21. package/permissions/autogenerated/commands/fetch_contact_list.toml +13 -0
  22. package/permissions/autogenerated/commands/fetch_discovery_events.toml +13 -0
  23. package/permissions/autogenerated/commands/fetch_event_details.toml +13 -0
  24. package/permissions/autogenerated/commands/fetch_pns_events.toml +13 -0
  25. package/permissions/autogenerated/commands/fetch_profiles.toml +13 -0
  26. package/permissions/autogenerated/commands/fetch_received_rsvps.toml +13 -0
  27. package/permissions/autogenerated/commands/fetch_rsvps.toml +13 -0
  28. package/permissions/autogenerated/commands/fetch_user_rsvps.toml +13 -0
  29. package/permissions/autogenerated/commands/generate_new_nsec.toml +13 -0
  30. package/permissions/autogenerated/commands/parse_pubkey.toml +13 -0
  31. package/permissions/autogenerated/commands/publish_batch_calendar_events.toml +13 -0
  32. package/permissions/autogenerated/commands/publish_calendar.toml +13 -0
  33. package/permissions/autogenerated/commands/publish_calendar_event.toml +13 -0
  34. package/permissions/autogenerated/commands/publish_chat_message.toml +13 -0
  35. package/permissions/autogenerated/commands/publish_rsvp.toml +13 -0
  36. package/permissions/autogenerated/commands/remove_bookmark.toml +13 -0
  37. package/permissions/autogenerated/commands/save_bookmark.toml +13 -0
  38. package/permissions/autogenerated/commands/send_direct_message.toml +13 -0
  39. package/permissions/autogenerated/commands/update_contact_list.toml +13 -0
  40. package/permissions/autogenerated/commands/verify_nsec.toml +13 -0
  41. package/permissions/autogenerated/reference.md +934 -0
  42. package/permissions/default.toml +38 -0
  43. package/permissions/schemas/schema.json +714 -0
@@ -0,0 +1,253 @@
1
+ import { invoke } from '@tauri-apps/api/core';
2
+
3
+ // Keys
4
+ async function generateNewNsec() {
5
+ return await invoke('plugin:nostrnative|generate_new_nsec');
6
+ }
7
+ async function parsePubkey(pubkey) {
8
+ return await invoke('plugin:nostrnative|parse_pubkey', { pubkey });
9
+ }
10
+ async function verifyNsec(nsec) {
11
+ return await invoke('plugin:nostrnative|verify_nsec', { nsec });
12
+ }
13
+ // Calendar
14
+ async function fetchCalendarEvents(pubkey, relays, options) {
15
+ return await invoke('plugin:nostrnative|fetch_calendar_events', {
16
+ pubkey,
17
+ nsec: options?.nsec,
18
+ relays,
19
+ rangeStart: options?.rangeStart,
20
+ rangeEnd: options?.rangeEnd,
21
+ authors: options?.authors,
22
+ clientNsec: options?.clientNsec
23
+ });
24
+ }
25
+ async function publishBatchCalendarEvents(nsec, relays, events, clientNsec) {
26
+ return await invoke('plugin:nostrnative|publish_batch_calendar_events', {
27
+ nsec,
28
+ relays,
29
+ events,
30
+ clientNsec
31
+ });
32
+ }
33
+ async function publishCalendarEvent(nsec, relays, eventData, clientNsec) {
34
+ return await invoke('plugin:nostrnative|publish_calendar_event', {
35
+ nsec,
36
+ relays,
37
+ eventData,
38
+ clientNsec
39
+ });
40
+ }
41
+ async function deleteCalendarEvent(nsec, relays, eventIds, clientNsec) {
42
+ return await invoke('plugin:nostrnative|delete_calendar_event', {
43
+ nsec,
44
+ relays,
45
+ eventIds,
46
+ clientNsec
47
+ });
48
+ }
49
+ async function fetchCalendars(pubkey, relays) {
50
+ return await invoke('plugin:nostrnative|fetch_calendars', {
51
+ pubkey,
52
+ relays
53
+ });
54
+ }
55
+ async function publishCalendar(nsec, relays, calendar, clientNsec) {
56
+ return await invoke('plugin:nostrnative|publish_calendar', {
57
+ nsec,
58
+ relays,
59
+ calendar,
60
+ clientNsec
61
+ });
62
+ }
63
+ async function deleteCalendar(nsec, relays, identifier, clientNsec) {
64
+ return await invoke('plugin:nostrnative|delete_calendar', {
65
+ nsec,
66
+ relays,
67
+ identifier,
68
+ clientNsec
69
+ });
70
+ }
71
+ // RSVP
72
+ async function fetchRsvps(eventCoordinate, relays) {
73
+ return await invoke('plugin:nostrnative|fetch_rsvps', {
74
+ eventCoordinate,
75
+ relays
76
+ });
77
+ }
78
+ async function fetchUserRsvps(pubkey, relays) {
79
+ return await invoke('plugin:nostrnative|fetch_user_rsvps', {
80
+ pubkey,
81
+ relays
82
+ });
83
+ }
84
+ async function fetchReceivedRsvps(pubkey, relays) {
85
+ return await invoke('plugin:nostrnative|fetch_received_rsvps', {
86
+ pubkey,
87
+ relays
88
+ });
89
+ }
90
+ async function publishRsvp(nsec, relays, eventCoordinate, status, eventAuthor, clientNsec) {
91
+ return await invoke('plugin:nostrnative|publish_rsvp', {
92
+ nsec,
93
+ relays,
94
+ eventCoordinate,
95
+ status,
96
+ eventAuthor,
97
+ clientNsec
98
+ });
99
+ }
100
+ // Profile
101
+ async function fetchProfiles(pubkeys, relays) {
102
+ return await invoke('plugin:nostrnative|fetch_profiles', { pubkeys, relays });
103
+ }
104
+ async function fetchContactList(pubkey, relays) {
105
+ return await invoke('plugin:nostrnative|fetch_contact_list', {
106
+ pubkey,
107
+ relays
108
+ });
109
+ }
110
+ async function updateContactList(nsec, relays, contacts, clientNsec) {
111
+ return await invoke('plugin:nostrnative|update_contact_list', {
112
+ nsec,
113
+ relays,
114
+ contacts,
115
+ clientNsec
116
+ });
117
+ }
118
+ // Messages
119
+ async function sendDirectMessage(nsec, receiverPubkey, message, relays, clientNsec) {
120
+ return await invoke('plugin:nostrnative|send_direct_message', {
121
+ nsec,
122
+ receiverPubkey,
123
+ message,
124
+ relays,
125
+ clientNsec
126
+ });
127
+ }
128
+ // Bookmarks
129
+ async function fetchBookmarks(pubkey, relays, nsec, clientNsec) {
130
+ return await invoke('plugin:nostrnative|fetch_bookmarks', {
131
+ pubkey,
132
+ nsec,
133
+ relays,
134
+ clientNsec
135
+ });
136
+ }
137
+ async function fetchEventDetails(identifiers, relays) {
138
+ return await invoke('plugin:nostrnative|fetch_event_details', {
139
+ identifiers,
140
+ relays
141
+ });
142
+ }
143
+ async function saveBookmark(nsec, relays, eventId, source, clientNsec) {
144
+ return await invoke('plugin:nostrnative|save_bookmark', {
145
+ nsec,
146
+ relays,
147
+ eventId,
148
+ source,
149
+ clientNsec
150
+ });
151
+ }
152
+ async function removeBookmark(nsec, relays, eventId, source, clientNsec) {
153
+ return await invoke('plugin:nostrnative|remove_bookmark', {
154
+ nsec,
155
+ relays,
156
+ eventId,
157
+ source,
158
+ clientNsec
159
+ });
160
+ }
161
+ // Blossom
162
+ async function blossomMirror(serverUrl, nsec, url, clientNsec) {
163
+ return await invoke('plugin:nostrnative|blossom_mirror', {
164
+ serverUrl,
165
+ nsec,
166
+ url,
167
+ clientNsec
168
+ });
169
+ }
170
+ async function blossomUpload(serverUrl, nsec, filePath, clientNsec) {
171
+ return await invoke('plugin:nostrnative|blossom_upload', {
172
+ serverUrl,
173
+ nsec,
174
+ filePath,
175
+ clientNsec
176
+ });
177
+ }
178
+ async function blossomUploadContent(serverUrl, nsec, content, filename, mediaType, clientNsec) {
179
+ return await invoke('plugin:nostrnative|blossom_upload_content', {
180
+ serverUrl,
181
+ nsec,
182
+ content,
183
+ filename,
184
+ mediaType,
185
+ clientNsec
186
+ });
187
+ }
188
+ async function blossomGetBlob(serverUrl, hash) {
189
+ return await invoke('plugin:nostrnative|blossom_get_blob', {
190
+ serverUrl,
191
+ hash
192
+ });
193
+ }
194
+ // Chat
195
+ async function derivePnsKeys(deviceKeyHex) {
196
+ return await invoke('plugin:nostrnative|derive_pns_keys', {
197
+ deviceKeyHex
198
+ });
199
+ }
200
+ async function createDiscoveryEvent(nsec, deviceKeyToStore, relays, clientNsec) {
201
+ return await invoke('plugin:nostrnative|create_discovery_event', {
202
+ nsec,
203
+ deviceKeyToStore,
204
+ relays,
205
+ clientNsec
206
+ });
207
+ }
208
+ async function decryptDiscoveryEvent(nsec, content, clientNsec) {
209
+ return await invoke('plugin:nostrnative|decrypt_discovery_event', {
210
+ nsec,
211
+ content,
212
+ clientNsec
213
+ });
214
+ }
215
+ async function publishChatMessage(pnsNsec, mainPubkey, msg, relays, clientNsec) {
216
+ return await invoke('plugin:nostrnative|publish_chat_message', {
217
+ pnsNsec,
218
+ mainPubkey,
219
+ msg,
220
+ relays,
221
+ clientNsec
222
+ });
223
+ }
224
+ async function decryptPnsEvent(pnsNsec, content, clientNsec) {
225
+ return await invoke('plugin:nostrnative|decrypt_pns_event', {
226
+ pnsNsec,
227
+ content,
228
+ clientNsec
229
+ });
230
+ }
231
+ async function fetchPnsEvents(pnsPubkey, relays, eventId) {
232
+ return await invoke('plugin:nostrnative|fetch_pns_events', {
233
+ pnsPubkey,
234
+ relays,
235
+ eventId
236
+ });
237
+ }
238
+ async function deleteChatMessages(pnsNsec, relays, eventIds, clientNsec) {
239
+ return await invoke('plugin:nostrnative|delete_chat_messages', {
240
+ pnsNsec,
241
+ relays,
242
+ eventIds,
243
+ clientNsec
244
+ });
245
+ }
246
+ async function fetchDiscoveryEvents(pubkey, relays) {
247
+ return await invoke('plugin:nostrnative|fetch_discovery_events', {
248
+ pubkey,
249
+ relays
250
+ });
251
+ }
252
+
253
+ export { blossomGetBlob, blossomMirror, blossomUpload, blossomUploadContent, createDiscoveryEvent, decryptDiscoveryEvent, decryptPnsEvent, deleteCalendar, deleteCalendarEvent, deleteChatMessages, derivePnsKeys, fetchBookmarks, fetchCalendarEvents, fetchCalendars, fetchContactList, fetchDiscoveryEvents, fetchEventDetails, fetchPnsEvents, fetchProfiles, fetchReceivedRsvps, fetchRsvps, fetchUserRsvps, generateNewNsec, parsePubkey, publishBatchCalendarEvents, publishCalendar, publishCalendarEvent, publishChatMessage, publishRsvp, removeBookmark, saveBookmark, sendDirectMessage, updateContactList, verifyNsec };
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "tauri-plugin-nostrnative",
3
+ "version": "0.1.2",
4
+ "description": "Nostr native capabilities for Tauri.",
5
+ "type": "module",
6
+ "types": "./dist-js/index.d.ts",
7
+ "main": "./dist-js/index.cjs",
8
+ "module": "./dist-js/index.js",
9
+ "exports": {
10
+ "types": "./dist-js/index.d.ts",
11
+ "import": "./dist-js/index.js",
12
+ "require": "./dist-js/index.cjs"
13
+ },
14
+ "scripts": {
15
+ "build": "rollup -c",
16
+ "prepublishOnly": "npm run build"
17
+ },
18
+ "files": [
19
+ "dist-js",
20
+ "permissions",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "license": "MIT",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/nostrnative/nostrnative.git"
28
+ },
29
+ "dependencies": {
30
+ "@tauri-apps/api": "^2.0.0"
31
+ },
32
+ "devDependencies": {
33
+ "@rollup/plugin-typescript": "^11.0.0",
34
+ "rollup": "^4.0.0",
35
+ "tslib": "^2.8.1",
36
+ "typescript": "^5.0.0"
37
+ }
38
+ }
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-blossom-get-blob"
7
+ description = "Enables the blossom_get_blob command without any pre-configured scope."
8
+ commands.allow = ["blossom_get_blob"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-blossom-get-blob"
12
+ description = "Denies the blossom_get_blob command without any pre-configured scope."
13
+ commands.deny = ["blossom_get_blob"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-blossom-mirror"
7
+ description = "Enables the blossom_mirror command without any pre-configured scope."
8
+ commands.allow = ["blossom_mirror"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-blossom-mirror"
12
+ description = "Denies the blossom_mirror command without any pre-configured scope."
13
+ commands.deny = ["blossom_mirror"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-blossom-upload"
7
+ description = "Enables the blossom_upload command without any pre-configured scope."
8
+ commands.allow = ["blossom_upload"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-blossom-upload"
12
+ description = "Denies the blossom_upload command without any pre-configured scope."
13
+ commands.deny = ["blossom_upload"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-blossom-upload-content"
7
+ description = "Enables the blossom_upload_content command without any pre-configured scope."
8
+ commands.allow = ["blossom_upload_content"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-blossom-upload-content"
12
+ description = "Denies the blossom_upload_content command without any pre-configured scope."
13
+ commands.deny = ["blossom_upload_content"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-create-discovery-event"
7
+ description = "Enables the create_discovery_event command without any pre-configured scope."
8
+ commands.allow = ["create_discovery_event"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-create-discovery-event"
12
+ description = "Denies the create_discovery_event command without any pre-configured scope."
13
+ commands.deny = ["create_discovery_event"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-decrypt-discovery-event"
7
+ description = "Enables the decrypt_discovery_event command without any pre-configured scope."
8
+ commands.allow = ["decrypt_discovery_event"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-decrypt-discovery-event"
12
+ description = "Denies the decrypt_discovery_event command without any pre-configured scope."
13
+ commands.deny = ["decrypt_discovery_event"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-decrypt-pns-event"
7
+ description = "Enables the decrypt_pns_event command without any pre-configured scope."
8
+ commands.allow = ["decrypt_pns_event"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-decrypt-pns-event"
12
+ description = "Denies the decrypt_pns_event command without any pre-configured scope."
13
+ commands.deny = ["decrypt_pns_event"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-delete-calendar"
7
+ description = "Enables the delete_calendar command without any pre-configured scope."
8
+ commands.allow = ["delete_calendar"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-delete-calendar"
12
+ description = "Denies the delete_calendar command without any pre-configured scope."
13
+ commands.deny = ["delete_calendar"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-delete-calendar-event"
7
+ description = "Enables the delete_calendar_event command without any pre-configured scope."
8
+ commands.allow = ["delete_calendar_event"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-delete-calendar-event"
12
+ description = "Denies the delete_calendar_event command without any pre-configured scope."
13
+ commands.deny = ["delete_calendar_event"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-delete-chat-messages"
7
+ description = "Enables the delete_chat_messages command without any pre-configured scope."
8
+ commands.allow = ["delete_chat_messages"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-delete-chat-messages"
12
+ description = "Denies the delete_chat_messages command without any pre-configured scope."
13
+ commands.deny = ["delete_chat_messages"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-derive-pns-keys"
7
+ description = "Enables the derive_pns_keys command without any pre-configured scope."
8
+ commands.allow = ["derive_pns_keys"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-derive-pns-keys"
12
+ description = "Denies the derive_pns_keys command without any pre-configured scope."
13
+ commands.deny = ["derive_pns_keys"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-bookmarks"
7
+ description = "Enables the fetch_bookmarks command without any pre-configured scope."
8
+ commands.allow = ["fetch_bookmarks"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-bookmarks"
12
+ description = "Denies the fetch_bookmarks command without any pre-configured scope."
13
+ commands.deny = ["fetch_bookmarks"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-calendar-events"
7
+ description = "Enables the fetch_calendar_events command without any pre-configured scope."
8
+ commands.allow = ["fetch_calendar_events"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-calendar-events"
12
+ description = "Denies the fetch_calendar_events command without any pre-configured scope."
13
+ commands.deny = ["fetch_calendar_events"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-calendars"
7
+ description = "Enables the fetch_calendars command without any pre-configured scope."
8
+ commands.allow = ["fetch_calendars"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-calendars"
12
+ description = "Denies the fetch_calendars command without any pre-configured scope."
13
+ commands.deny = ["fetch_calendars"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-contact-list"
7
+ description = "Enables the fetch_contact_list command without any pre-configured scope."
8
+ commands.allow = ["fetch_contact_list"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-contact-list"
12
+ description = "Denies the fetch_contact_list command without any pre-configured scope."
13
+ commands.deny = ["fetch_contact_list"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-discovery-events"
7
+ description = "Enables the fetch_discovery_events command without any pre-configured scope."
8
+ commands.allow = ["fetch_discovery_events"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-discovery-events"
12
+ description = "Denies the fetch_discovery_events command without any pre-configured scope."
13
+ commands.deny = ["fetch_discovery_events"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-event-details"
7
+ description = "Enables the fetch_event_details command without any pre-configured scope."
8
+ commands.allow = ["fetch_event_details"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-event-details"
12
+ description = "Denies the fetch_event_details command without any pre-configured scope."
13
+ commands.deny = ["fetch_event_details"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-pns-events"
7
+ description = "Enables the fetch_pns_events command without any pre-configured scope."
8
+ commands.allow = ["fetch_pns_events"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-pns-events"
12
+ description = "Denies the fetch_pns_events command without any pre-configured scope."
13
+ commands.deny = ["fetch_pns_events"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-profiles"
7
+ description = "Enables the fetch_profiles command without any pre-configured scope."
8
+ commands.allow = ["fetch_profiles"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-profiles"
12
+ description = "Denies the fetch_profiles command without any pre-configured scope."
13
+ commands.deny = ["fetch_profiles"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-received-rsvps"
7
+ description = "Enables the fetch_received_rsvps command without any pre-configured scope."
8
+ commands.allow = ["fetch_received_rsvps"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-received-rsvps"
12
+ description = "Denies the fetch_received_rsvps command without any pre-configured scope."
13
+ commands.deny = ["fetch_received_rsvps"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-rsvps"
7
+ description = "Enables the fetch_rsvps command without any pre-configured scope."
8
+ commands.allow = ["fetch_rsvps"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-rsvps"
12
+ description = "Denies the fetch_rsvps command without any pre-configured scope."
13
+ commands.deny = ["fetch_rsvps"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-user-rsvps"
7
+ description = "Enables the fetch_user_rsvps command without any pre-configured scope."
8
+ commands.allow = ["fetch_user_rsvps"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-user-rsvps"
12
+ description = "Denies the fetch_user_rsvps command without any pre-configured scope."
13
+ commands.deny = ["fetch_user_rsvps"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-generate-new-nsec"
7
+ description = "Enables the generate_new_nsec command without any pre-configured scope."
8
+ commands.allow = ["generate_new_nsec"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-generate-new-nsec"
12
+ description = "Denies the generate_new_nsec command without any pre-configured scope."
13
+ commands.deny = ["generate_new_nsec"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-parse-pubkey"
7
+ description = "Enables the parse_pubkey command without any pre-configured scope."
8
+ commands.allow = ["parse_pubkey"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-parse-pubkey"
12
+ description = "Denies the parse_pubkey command without any pre-configured scope."
13
+ commands.deny = ["parse_pubkey"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-batch-calendar-events"
7
+ description = "Enables the publish_batch_calendar_events command without any pre-configured scope."
8
+ commands.allow = ["publish_batch_calendar_events"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-batch-calendar-events"
12
+ description = "Denies the publish_batch_calendar_events command without any pre-configured scope."
13
+ commands.deny = ["publish_batch_calendar_events"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-calendar"
7
+ description = "Enables the publish_calendar command without any pre-configured scope."
8
+ commands.allow = ["publish_calendar"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-calendar"
12
+ description = "Denies the publish_calendar command without any pre-configured scope."
13
+ commands.deny = ["publish_calendar"]