tauri-plugin-nostrnative 0.1.4 → 0.1.6

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 (49) hide show
  1. package/LICENSE +21 -674
  2. package/README.md +5 -0
  3. package/dist-js/index.cjs +331 -71
  4. package/dist-js/index.d.ts +185 -5
  5. package/dist-js/index.js +299 -72
  6. package/package.json +1 -1
  7. package/permissions/autogenerated/allow-blossom-delete.toml +4 -0
  8. package/permissions/autogenerated/allow-blossom-list.toml +4 -0
  9. package/permissions/autogenerated/allow-blossom-upload.toml +4 -0
  10. package/permissions/autogenerated/commands/add_note_to_notebook.toml +13 -0
  11. package/permissions/autogenerated/commands/blossom_delete.toml +13 -0
  12. package/permissions/autogenerated/commands/blossom_list.toml +13 -0
  13. package/permissions/autogenerated/commands/compare_routstr_prices.toml +8 -0
  14. package/permissions/autogenerated/commands/create_note.toml +13 -0
  15. package/permissions/autogenerated/commands/create_notebook.toml +13 -0
  16. package/permissions/autogenerated/commands/delete_nfp_data.toml +9 -0
  17. package/permissions/autogenerated/commands/delete_note.toml +13 -0
  18. package/permissions/autogenerated/commands/delete_notebook.toml +13 -0
  19. package/permissions/autogenerated/commands/delete_virtual_fs.toml +12 -0
  20. package/permissions/autogenerated/commands/discover_routstr_providers.toml +8 -0
  21. package/permissions/autogenerated/commands/fetch_calendar_contact_lists.toml +13 -0
  22. package/permissions/autogenerated/commands/fetch_nfp_cycles.toml +9 -0
  23. package/permissions/autogenerated/commands/fetch_nfp_observations.toml +13 -0
  24. package/permissions/autogenerated/commands/fetch_nfp_settings.toml +9 -0
  25. package/permissions/autogenerated/commands/fetch_notebooks.toml +13 -0
  26. package/permissions/autogenerated/commands/fetch_notes.toml +13 -0
  27. package/permissions/autogenerated/commands/fetch_routstr_models.toml +8 -0
  28. package/permissions/autogenerated/commands/fetch_virtual_fs.toml +13 -0
  29. package/permissions/autogenerated/commands/get_nostr_event_counts.toml +4 -0
  30. package/permissions/autogenerated/commands/get_nostr_relay_events.toml +4 -0
  31. package/permissions/autogenerated/commands/get_nostr_relay_status.toml +4 -0
  32. package/permissions/autogenerated/commands/hex_to_npub.toml +13 -0
  33. package/permissions/autogenerated/commands/npub_to_hex.toml +13 -0
  34. package/permissions/autogenerated/commands/publish_calendar_contact_list.toml +13 -0
  35. package/permissions/autogenerated/commands/publish_nfp_cycle.toml +9 -0
  36. package/permissions/autogenerated/commands/publish_nfp_observation.toml +9 -0
  37. package/permissions/autogenerated/commands/publish_nfp_settings.toml +9 -0
  38. package/permissions/autogenerated/commands/publish_virtual_fs.toml +13 -0
  39. package/permissions/autogenerated/commands/remove_note_from_notebook.toml +13 -0
  40. package/permissions/autogenerated/commands/start_nostr_relay.toml +4 -0
  41. package/permissions/autogenerated/commands/stop_nostr_relay.toml +4 -0
  42. package/permissions/autogenerated/commands/update_nfp_cycle.toml +13 -0
  43. package/permissions/autogenerated/commands/update_nfp_observation.toml +13 -0
  44. package/permissions/autogenerated/commands/update_nfp_settings.toml +13 -0
  45. package/permissions/autogenerated/commands/update_note.toml +13 -0
  46. package/permissions/autogenerated/reference.md +1034 -131
  47. package/permissions/default.json +18 -0
  48. package/permissions/default.toml +35 -1
  49. package/permissions/schemas/schema.json +404 -2
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-delete-note"
7
+ description = "Enables the delete_note command without any pre-configured scope."
8
+ commands.allow = ["delete_note"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-delete-note"
12
+ description = "Denies the delete_note command without any pre-configured scope."
13
+ commands.deny = ["delete_note"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-delete-notebook"
7
+ description = "Enables the delete_notebook command without any pre-configured scope."
8
+ commands.allow = ["delete_notebook"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-delete-notebook"
12
+ description = "Denies the delete_notebook command without any pre-configured scope."
13
+ commands.deny = ["delete_notebook"]
@@ -0,0 +1,12 @@
1
+ # This file is autogenerated by the tauri-plugin-nostrnative team.
2
+ # Do not edit this file manually.
3
+
4
+ [[permission]]
5
+ identifier = "allow-delete-virtual-fs"
6
+ description = "Enables the delete_virtual_fs command without any pre-configured scope."
7
+ commands.allow = ["delete_virtual_fs"]
8
+
9
+ [[permission]]
10
+ identifier = "deny-delete-virtual-fs"
11
+ description = "Denies the delete_virtual_fs command without any pre-configured scope."
12
+ commands.deny = ["delete_virtual_fs"]
@@ -0,0 +1,8 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-discover-routstr-providers"
7
+ description = "Enables the discover_routstr_providers command."
8
+ commands.allow = ["discover_routstr_providers"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-calendar-contact-lists"
7
+ description = "Enables the fetch_calendar_contact_lists command without any pre-configured scope."
8
+ commands.allow = ["fetch_calendar_contact_lists"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-calendar-contact-lists"
12
+ description = "Denies the fetch_calendar_contact_lists command without any pre-configured scope."
13
+ commands.deny = ["fetch_calendar_contact_lists"]
@@ -0,0 +1,9 @@
1
+ "$schema" = "../../schemas/schema.json"
2
+ [[permission]]
3
+ identifier = "allow-fetch-nfp-cycles"
4
+ description = "Enables the fetch_nfp_cycles command."
5
+ commands.allow = ["fetch_nfp_cycles"]
6
+ [[permission]]
7
+ identifier = "deny-fetch-nfp-cycles"
8
+ description = "Denies the fetch_nfp_cycles command."
9
+ commands.deny = ["fetch_nfp_cycles"]
@@ -0,0 +1,13 @@
1
+ # NFP permissions
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-nfp-observations"
7
+ description = "Enables the fetch_nfp_observations command."
8
+ commands.allow = ["fetch_nfp_observations"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-nfp-observations"
12
+ description = "Denies the fetch_nfp_observations command."
13
+ commands.deny = ["fetch_nfp_observations"]
@@ -0,0 +1,9 @@
1
+ "$schema" = "../../schemas/schema.json"
2
+ [[permission]]
3
+ identifier = "allow-fetch-nfp-settings"
4
+ description = "Enables the fetch_nfp_settings command."
5
+ commands.allow = ["fetch_nfp_settings"]
6
+ [[permission]]
7
+ identifier = "deny-fetch-nfp-settings"
8
+ description = "Denies the fetch_nfp_settings command."
9
+ commands.deny = ["fetch_nfp_settings"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-notebooks"
7
+ description = "Enables the fetch_notebooks command without any pre-configured scope."
8
+ commands.allow = ["fetch_notebooks"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-notebooks"
12
+ description = "Denies the fetch_notebooks command without any pre-configured scope."
13
+ commands.deny = ["fetch_notebooks"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-notes"
7
+ description = "Enables the fetch_notes command without any pre-configured scope."
8
+ commands.allow = ["fetch_notes"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-notes"
12
+ description = "Denies the fetch_notes command without any pre-configured scope."
13
+ commands.deny = ["fetch_notes"]
@@ -0,0 +1,8 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-routstr-models"
7
+ description = "Enables the fetch_routstr_models command."
8
+ commands.allow = ["fetch_routstr_models"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-fetch-virtual-fs"
7
+ description = "Enables the fetch_virtual_fs command without any pre-configured scope."
8
+ commands.allow = ["fetch_virtual_fs"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-fetch-virtual-fs"
12
+ description = "Denies the fetch_virtual_fs command without any pre-configured scope."
13
+ commands.deny = ["fetch_virtual_fs"]
@@ -0,0 +1,4 @@
1
+ [[permission]]
2
+ identifier = "allow-get-nostr-event-counts"
3
+ description = "Enables the get_nostr_event_counts command"
4
+ commands.allow = ["get_nostr_event_counts"]
@@ -0,0 +1,4 @@
1
+ [[permission]]
2
+ identifier = "allow-get-nostr-relay-events"
3
+ description = "Enables the get_nostr_relay_events command."
4
+ commands.allow = ["get_nostr_relay_events"]
@@ -0,0 +1,4 @@
1
+ [[permission]]
2
+ identifier = "allow-get-nostr-relay-status"
3
+ description = "Enables the get_nostr_relay_status command"
4
+ commands.allow = ["get_nostr_relay_status"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-hex-to-npub"
7
+ description = "Enables the hex_to_npub command without any pre-configured scope."
8
+ commands.allow = ["hex_to_npub"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-hex-to-npub"
12
+ description = "Denies the hex_to_npub command without any pre-configured scope."
13
+ commands.deny = ["hex_to_npub"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-npub-to-hex"
7
+ description = "Enables the npub_to_hex command without any pre-configured scope."
8
+ commands.allow = ["npub_to_hex"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-npub-to-hex"
12
+ description = "Denies the npub_to_hex command without any pre-configured scope."
13
+ commands.deny = ["npub_to_hex"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-calendar-contact-list"
7
+ description = "Enables the publish_calendar_contact_list command without any pre-configured scope."
8
+ commands.allow = ["publish_calendar_contact_list"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-calendar-contact-list"
12
+ description = "Denies the publish_calendar_contact_list command without any pre-configured scope."
13
+ commands.deny = ["publish_calendar_contact_list"]
@@ -0,0 +1,9 @@
1
+ "$schema" = "../../schemas/schema.json"
2
+ [[permission]]
3
+ identifier = "allow-publish-nfp-cycle"
4
+ description = "Enables the publish_nfp_cycle command."
5
+ commands.allow = ["publish_nfp_cycle"]
6
+ [[permission]]
7
+ identifier = "deny-publish-nfp-cycle"
8
+ description = "Denies the publish_nfp_cycle command."
9
+ commands.deny = ["publish_nfp_cycle"]
@@ -0,0 +1,9 @@
1
+ "$schema" = "../../schemas/schema.json"
2
+ [[permission]]
3
+ identifier = "allow-publish-nfp-observation"
4
+ description = "Enables the publish_nfp_observation command."
5
+ commands.allow = ["publish_nfp_observation"]
6
+ [[permission]]
7
+ identifier = "deny-publish-nfp-observation"
8
+ description = "Denies the publish_nfp_observation command."
9
+ commands.deny = ["publish_nfp_observation"]
@@ -0,0 +1,9 @@
1
+ "$schema" = "../../schemas/schema.json"
2
+ [[permission]]
3
+ identifier = "allow-publish-nfp-settings"
4
+ description = "Enables the publish_nfp_settings command."
5
+ commands.allow = ["publish_nfp_settings"]
6
+ [[permission]]
7
+ identifier = "deny-publish-nfp-settings"
8
+ description = "Denies the publish_nfp_settings command."
9
+ commands.deny = ["publish_nfp_settings"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-publish-virtual-fs"
7
+ description = "Enables the publish_virtual_fs command without any pre-configured scope."
8
+ commands.allow = ["publish_virtual_fs"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-publish-virtual-fs"
12
+ description = "Denies the publish_virtual_fs command without any pre-configured scope."
13
+ commands.deny = ["publish_virtual_fs"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-remove-note-from-notebook"
7
+ description = "Enables the remove_note_from_notebook command without any pre-configured scope."
8
+ commands.allow = ["remove_note_from_notebook"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-remove-note-from-notebook"
12
+ description = "Denies the remove_note_from_notebook command without any pre-configured scope."
13
+ commands.deny = ["remove_note_from_notebook"]
@@ -0,0 +1,4 @@
1
+ [[permission]]
2
+ identifier = "allow-start-nostr-relay"
3
+ description = "Enables the start_nostr_relay command"
4
+ commands.allow = ["start_nostr_relay"]
@@ -0,0 +1,4 @@
1
+ [[permission]]
2
+ identifier = "allow-stop-nostr-relay"
3
+ description = "Enables the stop_nostr_relay command"
4
+ commands.allow = ["stop_nostr_relay"]
@@ -0,0 +1,13 @@
1
+ # NFP permissions
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-update-nfp-cycle"
7
+ description = "Enables the update_nfp_cycle command."
8
+ commands.allow = ["update_nfp_cycle"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-update-nfp-cycle"
12
+ description = "Denies the update_nfp_cycle command."
13
+ commands.deny = ["update_nfp_cycle"]
@@ -0,0 +1,13 @@
1
+ # NFP permissions
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-update-nfp-observation"
7
+ description = "Enables the update_nfp_observation command."
8
+ commands.allow = ["update_nfp_observation"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-update-nfp-observation"
12
+ description = "Denies the update_nfp_observation command."
13
+ commands.deny = ["update_nfp_observation"]
@@ -0,0 +1,13 @@
1
+ # NFP permissions
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-update-nfp-settings"
7
+ description = "Enables the update_nfp_settings command."
8
+ commands.allow = ["update_nfp_settings"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-update-nfp-settings"
12
+ description = "Denies the update_nfp_settings command."
13
+ commands.deny = ["update_nfp_settings"]
@@ -0,0 +1,13 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
3
+ "$schema" = "../../schemas/schema.json"
4
+
5
+ [[permission]]
6
+ identifier = "allow-update-note"
7
+ description = "Enables the update_note command without any pre-configured scope."
8
+ commands.allow = ["update_note"]
9
+
10
+ [[permission]]
11
+ identifier = "deny-update-note"
12
+ description = "Denies the update_note command without any pre-configured scope."
13
+ commands.deny = ["update_note"]