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,18 @@
1
+ {
2
+ "version": 1,
3
+ "identifier": "default",
4
+ "description": "Default permissions for nostrnative",
5
+ "permissions": [
6
+ "nostrnative:allow-blossom-mirror",
7
+ "nostrnative:allow-blossom-upload",
8
+ "nostrnative:allow-blossom-upload-content",
9
+ "nostrnative:allow-blossom-get-blob",
10
+ "nostrnative:allow-blossom-delete",
11
+ "nostrnative:allow-blossom-list",
12
+ "nostrnative:allow-get-nostr-event-counts",
13
+ "nostrnative:allow-get-nostr-relay-events",
14
+ "nostrnative:allow-discover-routstr-providers",
15
+ "nostrnative:allow-compare-routstr-prices",
16
+ "nostrnative:allow-fetch-routstr-models"
17
+ ]
18
+ }
@@ -1,3 +1,5 @@
1
+ # Automatically generated - DO NOT EDIT!
2
+
1
3
  [default]
2
4
  description = "Default permissions for tauri-plugin-nostrnative plugin. Enables all commands by default."
3
5
  permissions = [
@@ -27,6 +29,8 @@ permissions = [
27
29
  "allow-blossom-upload",
28
30
  "allow-blossom-upload-content",
29
31
  "allow-blossom-get-blob",
32
+ "allow-blossom-delete",
33
+ "allow-blossom-list",
30
34
  "allow-derive-pns-keys",
31
35
  "allow-create-discovery-event",
32
36
  "allow-decrypt-discovery-event",
@@ -34,5 +38,35 @@ permissions = [
34
38
  "allow-decrypt-pns-event",
35
39
  "allow-fetch-pns-events",
36
40
  "allow-delete-chat-messages",
37
- "allow-fetch-discovery-events"
41
+ "allow-fetch-discovery-events",
42
+ "allow-discover-routstr-providers",
43
+ "allow-compare-routstr-prices",
44
+ "allow-fetch-routstr-models",
45
+ "allow-create-note",
46
+ "allow-update-note",
47
+ "allow-delete-note",
48
+ "allow-fetch-notes",
49
+ "allow-create-notebook",
50
+ "allow-fetch-notebooks",
51
+ "allow-add-note-to-notebook",
52
+ "allow-remove-note-from-notebook",
53
+ "allow-delete-notebook",
54
+ "allow-fetch-nfp-observations",
55
+ "allow-publish-nfp-observation",
56
+ "allow-update-nfp-observation",
57
+ "allow-fetch-nfp-cycles",
58
+ "allow-publish-nfp-cycle",
59
+ "allow-update-nfp-cycle",
60
+ "allow-fetch-nfp-settings",
61
+ "allow-publish-nfp-settings",
62
+ "allow-update-nfp-settings",
63
+ "allow-delete-nfp-data",
64
+ "allow-publish-virtual-fs",
65
+ "allow-fetch-virtual-fs",
66
+ "allow-delete-virtual-fs",
67
+ "allow-start-nostr-relay",
68
+ "allow-stop-nostr-relay",
69
+ "allow-get-nostr-relay-status",
70
+ "allow-get-nostr-event-counts",
71
+ "allow-get-nostr-relay-events"
38
72
  ]
@@ -294,6 +294,48 @@
294
294
  "PermissionKind": {
295
295
  "type": "string",
296
296
  "oneOf": [
297
+ {
298
+ "description": "Allows deleting blobs",
299
+ "type": "string",
300
+ "const": "allow-blossom-delete",
301
+ "markdownDescription": "Allows deleting blobs"
302
+ },
303
+ {
304
+ "description": "Allows listing blobs",
305
+ "type": "string",
306
+ "const": "allow-blossom-list",
307
+ "markdownDescription": "Allows listing blobs"
308
+ },
309
+ {
310
+ "description": "Allows uploading blobs",
311
+ "type": "string",
312
+ "const": "allow-blossom-upload",
313
+ "markdownDescription": "Allows uploading blobs"
314
+ },
315
+ {
316
+ "description": "Enables the add_note_to_notebook command without any pre-configured scope.",
317
+ "type": "string",
318
+ "const": "allow-add-note-to-notebook",
319
+ "markdownDescription": "Enables the add_note_to_notebook command without any pre-configured scope."
320
+ },
321
+ {
322
+ "description": "Denies the add_note_to_notebook command without any pre-configured scope.",
323
+ "type": "string",
324
+ "const": "deny-add-note-to-notebook",
325
+ "markdownDescription": "Denies the add_note_to_notebook command without any pre-configured scope."
326
+ },
327
+ {
328
+ "description": "Enables the blossom_delete command without any pre-configured scope.",
329
+ "type": "string",
330
+ "const": "allow-blossom-delete",
331
+ "markdownDescription": "Enables the blossom_delete command without any pre-configured scope."
332
+ },
333
+ {
334
+ "description": "Denies the blossom_delete command without any pre-configured scope.",
335
+ "type": "string",
336
+ "const": "deny-blossom-delete",
337
+ "markdownDescription": "Denies the blossom_delete command without any pre-configured scope."
338
+ },
297
339
  {
298
340
  "description": "Enables the blossom_get_blob command without any pre-configured scope.",
299
341
  "type": "string",
@@ -306,6 +348,18 @@
306
348
  "const": "deny-blossom-get-blob",
307
349
  "markdownDescription": "Denies the blossom_get_blob command without any pre-configured scope."
308
350
  },
351
+ {
352
+ "description": "Enables the blossom_list command without any pre-configured scope.",
353
+ "type": "string",
354
+ "const": "allow-blossom-list",
355
+ "markdownDescription": "Enables the blossom_list command without any pre-configured scope."
356
+ },
357
+ {
358
+ "description": "Denies the blossom_list command without any pre-configured scope.",
359
+ "type": "string",
360
+ "const": "deny-blossom-list",
361
+ "markdownDescription": "Denies the blossom_list command without any pre-configured scope."
362
+ },
309
363
  {
310
364
  "description": "Enables the blossom_mirror command without any pre-configured scope.",
311
365
  "type": "string",
@@ -342,6 +396,12 @@
342
396
  "const": "deny-blossom-upload-content",
343
397
  "markdownDescription": "Denies the blossom_upload_content command without any pre-configured scope."
344
398
  },
399
+ {
400
+ "description": "Enables the compare_routstr_prices command.",
401
+ "type": "string",
402
+ "const": "allow-compare-routstr-prices",
403
+ "markdownDescription": "Enables the compare_routstr_prices command."
404
+ },
345
405
  {
346
406
  "description": "Enables the create_discovery_event command without any pre-configured scope.",
347
407
  "type": "string",
@@ -354,6 +414,30 @@
354
414
  "const": "deny-create-discovery-event",
355
415
  "markdownDescription": "Denies the create_discovery_event command without any pre-configured scope."
356
416
  },
417
+ {
418
+ "description": "Enables the create_note command without any pre-configured scope.",
419
+ "type": "string",
420
+ "const": "allow-create-note",
421
+ "markdownDescription": "Enables the create_note command without any pre-configured scope."
422
+ },
423
+ {
424
+ "description": "Denies the create_note command without any pre-configured scope.",
425
+ "type": "string",
426
+ "const": "deny-create-note",
427
+ "markdownDescription": "Denies the create_note command without any pre-configured scope."
428
+ },
429
+ {
430
+ "description": "Enables the create_notebook command without any pre-configured scope.",
431
+ "type": "string",
432
+ "const": "allow-create-notebook",
433
+ "markdownDescription": "Enables the create_notebook command without any pre-configured scope."
434
+ },
435
+ {
436
+ "description": "Denies the create_notebook command without any pre-configured scope.",
437
+ "type": "string",
438
+ "const": "deny-create-notebook",
439
+ "markdownDescription": "Denies the create_notebook command without any pre-configured scope."
440
+ },
357
441
  {
358
442
  "description": "Enables the decrypt_discovery_event command without any pre-configured scope.",
359
443
  "type": "string",
@@ -414,6 +498,54 @@
414
498
  "const": "deny-delete-chat-messages",
415
499
  "markdownDescription": "Denies the delete_chat_messages command without any pre-configured scope."
416
500
  },
501
+ {
502
+ "description": "Enables the delete_nfp_data command.",
503
+ "type": "string",
504
+ "const": "allow-delete-nfp-data",
505
+ "markdownDescription": "Enables the delete_nfp_data command."
506
+ },
507
+ {
508
+ "description": "Denies the delete_nfp_data command.",
509
+ "type": "string",
510
+ "const": "deny-delete-nfp-data",
511
+ "markdownDescription": "Denies the delete_nfp_data command."
512
+ },
513
+ {
514
+ "description": "Enables the delete_note command without any pre-configured scope.",
515
+ "type": "string",
516
+ "const": "allow-delete-note",
517
+ "markdownDescription": "Enables the delete_note command without any pre-configured scope."
518
+ },
519
+ {
520
+ "description": "Denies the delete_note command without any pre-configured scope.",
521
+ "type": "string",
522
+ "const": "deny-delete-note",
523
+ "markdownDescription": "Denies the delete_note command without any pre-configured scope."
524
+ },
525
+ {
526
+ "description": "Enables the delete_notebook command without any pre-configured scope.",
527
+ "type": "string",
528
+ "const": "allow-delete-notebook",
529
+ "markdownDescription": "Enables the delete_notebook command without any pre-configured scope."
530
+ },
531
+ {
532
+ "description": "Denies the delete_notebook command without any pre-configured scope.",
533
+ "type": "string",
534
+ "const": "deny-delete-notebook",
535
+ "markdownDescription": "Denies the delete_notebook command without any pre-configured scope."
536
+ },
537
+ {
538
+ "description": "Enables the delete_virtual_fs command without any pre-configured scope.",
539
+ "type": "string",
540
+ "const": "allow-delete-virtual-fs",
541
+ "markdownDescription": "Enables the delete_virtual_fs command without any pre-configured scope."
542
+ },
543
+ {
544
+ "description": "Denies the delete_virtual_fs command without any pre-configured scope.",
545
+ "type": "string",
546
+ "const": "deny-delete-virtual-fs",
547
+ "markdownDescription": "Denies the delete_virtual_fs command without any pre-configured scope."
548
+ },
417
549
  {
418
550
  "description": "Enables the derive_pns_keys command without any pre-configured scope.",
419
551
  "type": "string",
@@ -426,6 +558,12 @@
426
558
  "const": "deny-derive-pns-keys",
427
559
  "markdownDescription": "Denies the derive_pns_keys command without any pre-configured scope."
428
560
  },
561
+ {
562
+ "description": "Enables the discover_routstr_providers command.",
563
+ "type": "string",
564
+ "const": "allow-discover-routstr-providers",
565
+ "markdownDescription": "Enables the discover_routstr_providers command."
566
+ },
429
567
  {
430
568
  "description": "Enables the fetch_bookmarks command without any pre-configured scope.",
431
569
  "type": "string",
@@ -438,6 +576,18 @@
438
576
  "const": "deny-fetch-bookmarks",
439
577
  "markdownDescription": "Denies the fetch_bookmarks command without any pre-configured scope."
440
578
  },
579
+ {
580
+ "description": "Enables the fetch_calendar_contact_lists command without any pre-configured scope.",
581
+ "type": "string",
582
+ "const": "allow-fetch-calendar-contact-lists",
583
+ "markdownDescription": "Enables the fetch_calendar_contact_lists command without any pre-configured scope."
584
+ },
585
+ {
586
+ "description": "Denies the fetch_calendar_contact_lists command without any pre-configured scope.",
587
+ "type": "string",
588
+ "const": "deny-fetch-calendar-contact-lists",
589
+ "markdownDescription": "Denies the fetch_calendar_contact_lists command without any pre-configured scope."
590
+ },
441
591
  {
442
592
  "description": "Enables the fetch_calendar_events command without any pre-configured scope.",
443
593
  "type": "string",
@@ -498,6 +648,66 @@
498
648
  "const": "deny-fetch-event-details",
499
649
  "markdownDescription": "Denies the fetch_event_details command without any pre-configured scope."
500
650
  },
651
+ {
652
+ "description": "Enables the fetch_nfp_cycles command.",
653
+ "type": "string",
654
+ "const": "allow-fetch-nfp-cycles",
655
+ "markdownDescription": "Enables the fetch_nfp_cycles command."
656
+ },
657
+ {
658
+ "description": "Denies the fetch_nfp_cycles command.",
659
+ "type": "string",
660
+ "const": "deny-fetch-nfp-cycles",
661
+ "markdownDescription": "Denies the fetch_nfp_cycles command."
662
+ },
663
+ {
664
+ "description": "Enables the fetch_nfp_observations command.",
665
+ "type": "string",
666
+ "const": "allow-fetch-nfp-observations",
667
+ "markdownDescription": "Enables the fetch_nfp_observations command."
668
+ },
669
+ {
670
+ "description": "Denies the fetch_nfp_observations command.",
671
+ "type": "string",
672
+ "const": "deny-fetch-nfp-observations",
673
+ "markdownDescription": "Denies the fetch_nfp_observations command."
674
+ },
675
+ {
676
+ "description": "Enables the fetch_nfp_settings command.",
677
+ "type": "string",
678
+ "const": "allow-fetch-nfp-settings",
679
+ "markdownDescription": "Enables the fetch_nfp_settings command."
680
+ },
681
+ {
682
+ "description": "Denies the fetch_nfp_settings command.",
683
+ "type": "string",
684
+ "const": "deny-fetch-nfp-settings",
685
+ "markdownDescription": "Denies the fetch_nfp_settings command."
686
+ },
687
+ {
688
+ "description": "Enables the fetch_notebooks command without any pre-configured scope.",
689
+ "type": "string",
690
+ "const": "allow-fetch-notebooks",
691
+ "markdownDescription": "Enables the fetch_notebooks command without any pre-configured scope."
692
+ },
693
+ {
694
+ "description": "Denies the fetch_notebooks command without any pre-configured scope.",
695
+ "type": "string",
696
+ "const": "deny-fetch-notebooks",
697
+ "markdownDescription": "Denies the fetch_notebooks command without any pre-configured scope."
698
+ },
699
+ {
700
+ "description": "Enables the fetch_notes command without any pre-configured scope.",
701
+ "type": "string",
702
+ "const": "allow-fetch-notes",
703
+ "markdownDescription": "Enables the fetch_notes command without any pre-configured scope."
704
+ },
705
+ {
706
+ "description": "Denies the fetch_notes command without any pre-configured scope.",
707
+ "type": "string",
708
+ "const": "deny-fetch-notes",
709
+ "markdownDescription": "Denies the fetch_notes command without any pre-configured scope."
710
+ },
501
711
  {
502
712
  "description": "Enables the fetch_pns_events command without any pre-configured scope.",
503
713
  "type": "string",
@@ -534,6 +744,12 @@
534
744
  "const": "deny-fetch-received-rsvps",
535
745
  "markdownDescription": "Denies the fetch_received_rsvps command without any pre-configured scope."
536
746
  },
747
+ {
748
+ "description": "Enables the fetch_routstr_models command.",
749
+ "type": "string",
750
+ "const": "allow-fetch-routstr-models",
751
+ "markdownDescription": "Enables the fetch_routstr_models command."
752
+ },
537
753
  {
538
754
  "description": "Enables the fetch_rsvps command without any pre-configured scope.",
539
755
  "type": "string",
@@ -558,6 +774,18 @@
558
774
  "const": "deny-fetch-user-rsvps",
559
775
  "markdownDescription": "Denies the fetch_user_rsvps command without any pre-configured scope."
560
776
  },
777
+ {
778
+ "description": "Enables the fetch_virtual_fs command without any pre-configured scope.",
779
+ "type": "string",
780
+ "const": "allow-fetch-virtual-fs",
781
+ "markdownDescription": "Enables the fetch_virtual_fs command without any pre-configured scope."
782
+ },
783
+ {
784
+ "description": "Denies the fetch_virtual_fs command without any pre-configured scope.",
785
+ "type": "string",
786
+ "const": "deny-fetch-virtual-fs",
787
+ "markdownDescription": "Denies the fetch_virtual_fs command without any pre-configured scope."
788
+ },
561
789
  {
562
790
  "description": "Enables the generate_new_nsec command without any pre-configured scope.",
563
791
  "type": "string",
@@ -570,6 +798,48 @@
570
798
  "const": "deny-generate-new-nsec",
571
799
  "markdownDescription": "Denies the generate_new_nsec command without any pre-configured scope."
572
800
  },
801
+ {
802
+ "description": "Enables the get_nostr_event_counts command",
803
+ "type": "string",
804
+ "const": "allow-get-nostr-event-counts",
805
+ "markdownDescription": "Enables the get_nostr_event_counts command"
806
+ },
807
+ {
808
+ "description": "Enables the get_nostr_relay_events command.",
809
+ "type": "string",
810
+ "const": "allow-get-nostr-relay-events",
811
+ "markdownDescription": "Enables the get_nostr_relay_events command."
812
+ },
813
+ {
814
+ "description": "Enables the get_nostr_relay_status command",
815
+ "type": "string",
816
+ "const": "allow-get-nostr-relay-status",
817
+ "markdownDescription": "Enables the get_nostr_relay_status command"
818
+ },
819
+ {
820
+ "description": "Enables the hex_to_npub command without any pre-configured scope.",
821
+ "type": "string",
822
+ "const": "allow-hex-to-npub",
823
+ "markdownDescription": "Enables the hex_to_npub command without any pre-configured scope."
824
+ },
825
+ {
826
+ "description": "Denies the hex_to_npub command without any pre-configured scope.",
827
+ "type": "string",
828
+ "const": "deny-hex-to-npub",
829
+ "markdownDescription": "Denies the hex_to_npub command without any pre-configured scope."
830
+ },
831
+ {
832
+ "description": "Enables the npub_to_hex command without any pre-configured scope.",
833
+ "type": "string",
834
+ "const": "allow-npub-to-hex",
835
+ "markdownDescription": "Enables the npub_to_hex command without any pre-configured scope."
836
+ },
837
+ {
838
+ "description": "Denies the npub_to_hex command without any pre-configured scope.",
839
+ "type": "string",
840
+ "const": "deny-npub-to-hex",
841
+ "markdownDescription": "Denies the npub_to_hex command without any pre-configured scope."
842
+ },
573
843
  {
574
844
  "description": "Enables the parse_pubkey command without any pre-configured scope.",
575
845
  "type": "string",
@@ -606,6 +876,18 @@
606
876
  "const": "deny-publish-calendar",
607
877
  "markdownDescription": "Denies the publish_calendar command without any pre-configured scope."
608
878
  },
879
+ {
880
+ "description": "Enables the publish_calendar_contact_list command without any pre-configured scope.",
881
+ "type": "string",
882
+ "const": "allow-publish-calendar-contact-list",
883
+ "markdownDescription": "Enables the publish_calendar_contact_list command without any pre-configured scope."
884
+ },
885
+ {
886
+ "description": "Denies the publish_calendar_contact_list command without any pre-configured scope.",
887
+ "type": "string",
888
+ "const": "deny-publish-calendar-contact-list",
889
+ "markdownDescription": "Denies the publish_calendar_contact_list command without any pre-configured scope."
890
+ },
609
891
  {
610
892
  "description": "Enables the publish_calendar_event command without any pre-configured scope.",
611
893
  "type": "string",
@@ -630,6 +912,42 @@
630
912
  "const": "deny-publish-chat-message",
631
913
  "markdownDescription": "Denies the publish_chat_message command without any pre-configured scope."
632
914
  },
915
+ {
916
+ "description": "Enables the publish_nfp_cycle command.",
917
+ "type": "string",
918
+ "const": "allow-publish-nfp-cycle",
919
+ "markdownDescription": "Enables the publish_nfp_cycle command."
920
+ },
921
+ {
922
+ "description": "Denies the publish_nfp_cycle command.",
923
+ "type": "string",
924
+ "const": "deny-publish-nfp-cycle",
925
+ "markdownDescription": "Denies the publish_nfp_cycle command."
926
+ },
927
+ {
928
+ "description": "Enables the publish_nfp_observation command.",
929
+ "type": "string",
930
+ "const": "allow-publish-nfp-observation",
931
+ "markdownDescription": "Enables the publish_nfp_observation command."
932
+ },
933
+ {
934
+ "description": "Denies the publish_nfp_observation command.",
935
+ "type": "string",
936
+ "const": "deny-publish-nfp-observation",
937
+ "markdownDescription": "Denies the publish_nfp_observation command."
938
+ },
939
+ {
940
+ "description": "Enables the publish_nfp_settings command.",
941
+ "type": "string",
942
+ "const": "allow-publish-nfp-settings",
943
+ "markdownDescription": "Enables the publish_nfp_settings command."
944
+ },
945
+ {
946
+ "description": "Denies the publish_nfp_settings command.",
947
+ "type": "string",
948
+ "const": "deny-publish-nfp-settings",
949
+ "markdownDescription": "Denies the publish_nfp_settings command."
950
+ },
633
951
  {
634
952
  "description": "Enables the publish_rsvp command without any pre-configured scope.",
635
953
  "type": "string",
@@ -642,6 +960,18 @@
642
960
  "const": "deny-publish-rsvp",
643
961
  "markdownDescription": "Denies the publish_rsvp command without any pre-configured scope."
644
962
  },
963
+ {
964
+ "description": "Enables the publish_virtual_fs command without any pre-configured scope.",
965
+ "type": "string",
966
+ "const": "allow-publish-virtual-fs",
967
+ "markdownDescription": "Enables the publish_virtual_fs command without any pre-configured scope."
968
+ },
969
+ {
970
+ "description": "Denies the publish_virtual_fs command without any pre-configured scope.",
971
+ "type": "string",
972
+ "const": "deny-publish-virtual-fs",
973
+ "markdownDescription": "Denies the publish_virtual_fs command without any pre-configured scope."
974
+ },
645
975
  {
646
976
  "description": "Enables the remove_bookmark command without any pre-configured scope.",
647
977
  "type": "string",
@@ -654,6 +984,18 @@
654
984
  "const": "deny-remove-bookmark",
655
985
  "markdownDescription": "Denies the remove_bookmark command without any pre-configured scope."
656
986
  },
987
+ {
988
+ "description": "Enables the remove_note_from_notebook command without any pre-configured scope.",
989
+ "type": "string",
990
+ "const": "allow-remove-note-from-notebook",
991
+ "markdownDescription": "Enables the remove_note_from_notebook command without any pre-configured scope."
992
+ },
993
+ {
994
+ "description": "Denies the remove_note_from_notebook command without any pre-configured scope.",
995
+ "type": "string",
996
+ "const": "deny-remove-note-from-notebook",
997
+ "markdownDescription": "Denies the remove_note_from_notebook command without any pre-configured scope."
998
+ },
657
999
  {
658
1000
  "description": "Enables the save_bookmark command without any pre-configured scope.",
659
1001
  "type": "string",
@@ -678,6 +1020,18 @@
678
1020
  "const": "deny-send-direct-message",
679
1021
  "markdownDescription": "Denies the send_direct_message command without any pre-configured scope."
680
1022
  },
1023
+ {
1024
+ "description": "Enables the start_nostr_relay command",
1025
+ "type": "string",
1026
+ "const": "allow-start-nostr-relay",
1027
+ "markdownDescription": "Enables the start_nostr_relay command"
1028
+ },
1029
+ {
1030
+ "description": "Enables the stop_nostr_relay command",
1031
+ "type": "string",
1032
+ "const": "allow-stop-nostr-relay",
1033
+ "markdownDescription": "Enables the stop_nostr_relay command"
1034
+ },
681
1035
  {
682
1036
  "description": "Enables the update_contact_list command without any pre-configured scope.",
683
1037
  "type": "string",
@@ -690,6 +1044,54 @@
690
1044
  "const": "deny-update-contact-list",
691
1045
  "markdownDescription": "Denies the update_contact_list command without any pre-configured scope."
692
1046
  },
1047
+ {
1048
+ "description": "Enables the update_nfp_cycle command.",
1049
+ "type": "string",
1050
+ "const": "allow-update-nfp-cycle",
1051
+ "markdownDescription": "Enables the update_nfp_cycle command."
1052
+ },
1053
+ {
1054
+ "description": "Denies the update_nfp_cycle command.",
1055
+ "type": "string",
1056
+ "const": "deny-update-nfp-cycle",
1057
+ "markdownDescription": "Denies the update_nfp_cycle command."
1058
+ },
1059
+ {
1060
+ "description": "Enables the update_nfp_observation command.",
1061
+ "type": "string",
1062
+ "const": "allow-update-nfp-observation",
1063
+ "markdownDescription": "Enables the update_nfp_observation command."
1064
+ },
1065
+ {
1066
+ "description": "Denies the update_nfp_observation command.",
1067
+ "type": "string",
1068
+ "const": "deny-update-nfp-observation",
1069
+ "markdownDescription": "Denies the update_nfp_observation command."
1070
+ },
1071
+ {
1072
+ "description": "Enables the update_nfp_settings command.",
1073
+ "type": "string",
1074
+ "const": "allow-update-nfp-settings",
1075
+ "markdownDescription": "Enables the update_nfp_settings command."
1076
+ },
1077
+ {
1078
+ "description": "Denies the update_nfp_settings command.",
1079
+ "type": "string",
1080
+ "const": "deny-update-nfp-settings",
1081
+ "markdownDescription": "Denies the update_nfp_settings command."
1082
+ },
1083
+ {
1084
+ "description": "Enables the update_note command without any pre-configured scope.",
1085
+ "type": "string",
1086
+ "const": "allow-update-note",
1087
+ "markdownDescription": "Enables the update_note command without any pre-configured scope."
1088
+ },
1089
+ {
1090
+ "description": "Denies the update_note command without any pre-configured scope.",
1091
+ "type": "string",
1092
+ "const": "deny-update-note",
1093
+ "markdownDescription": "Denies the update_note command without any pre-configured scope."
1094
+ },
693
1095
  {
694
1096
  "description": "Enables the verify_nsec command without any pre-configured scope.",
695
1097
  "type": "string",
@@ -703,10 +1105,10 @@
703
1105
  "markdownDescription": "Denies the verify_nsec command without any pre-configured scope."
704
1106
  },
705
1107
  {
706
- "description": "Default permissions for tauri-plugin-nostrnative plugin. Enables all commands by default.\n#### This default permission set includes:\n\n- `allow-generate-new-nsec`\n- `allow-parse-pubkey`\n- `allow-verify-nsec`\n- `allow-fetch-calendar-events`\n- `allow-publish-batch-calendar-events`\n- `allow-publish-calendar-event`\n- `allow-delete-calendar-event`\n- `allow-fetch-calendars`\n- `allow-publish-calendar`\n- `allow-delete-calendar`\n- `allow-fetch-profiles`\n- `allow-fetch-contact-list`\n- `allow-update-contact-list`\n- `allow-fetch-rsvps`\n- `allow-fetch-user-rsvps`\n- `allow-fetch-received-rsvps`\n- `allow-publish-rsvp`\n- `allow-send-direct-message`\n- `allow-fetch-bookmarks`\n- `allow-fetch-event-details`\n- `allow-save-bookmark`\n- `allow-remove-bookmark`\n- `allow-blossom-mirror`\n- `allow-blossom-upload`\n- `allow-blossom-upload-content`\n- `allow-blossom-get-blob`\n- `allow-derive-pns-keys`\n- `allow-create-discovery-event`\n- `allow-decrypt-discovery-event`\n- `allow-publish-chat-message`\n- `allow-decrypt-pns-event`\n- `allow-fetch-pns-events`\n- `allow-delete-chat-messages`\n- `allow-fetch-discovery-events`",
1108
+ "description": "Default permissions for tauri-plugin-nostrnative plugin. Enables all commands by default.\n#### This default permission set includes:\n\n- `allow-generate-new-nsec`\n- `allow-parse-pubkey`\n- `allow-verify-nsec`\n- `allow-fetch-calendar-events`\n- `allow-publish-batch-calendar-events`\n- `allow-publish-calendar-event`\n- `allow-delete-calendar-event`\n- `allow-fetch-calendars`\n- `allow-publish-calendar`\n- `allow-delete-calendar`\n- `allow-fetch-profiles`\n- `allow-fetch-contact-list`\n- `allow-update-contact-list`\n- `allow-fetch-rsvps`\n- `allow-fetch-user-rsvps`\n- `allow-fetch-received-rsvps`\n- `allow-publish-rsvp`\n- `allow-send-direct-message`\n- `allow-fetch-bookmarks`\n- `allow-fetch-event-details`\n- `allow-save-bookmark`\n- `allow-remove-bookmark`\n- `allow-blossom-mirror`\n- `allow-blossom-upload`\n- `allow-blossom-upload-content`\n- `allow-blossom-get-blob`\n- `allow-blossom-delete`\n- `allow-blossom-list`\n- `allow-derive-pns-keys`\n- `allow-create-discovery-event`\n- `allow-decrypt-discovery-event`\n- `allow-publish-chat-message`\n- `allow-decrypt-pns-event`\n- `allow-fetch-pns-events`\n- `allow-delete-chat-messages`\n- `allow-fetch-discovery-events`\n- `allow-discover-routstr-providers`\n- `allow-compare-routstr-prices`\n- `allow-fetch-routstr-models`\n- `allow-create-note`\n- `allow-update-note`\n- `allow-delete-note`\n- `allow-fetch-notes`\n- `allow-create-notebook`\n- `allow-fetch-notebooks`\n- `allow-add-note-to-notebook`\n- `allow-remove-note-from-notebook`\n- `allow-delete-notebook`\n- `allow-fetch-nfp-observations`\n- `allow-publish-nfp-observation`\n- `allow-update-nfp-observation`\n- `allow-fetch-nfp-cycles`\n- `allow-publish-nfp-cycle`\n- `allow-update-nfp-cycle`\n- `allow-fetch-nfp-settings`\n- `allow-publish-nfp-settings`\n- `allow-update-nfp-settings`\n- `allow-delete-nfp-data`\n- `allow-publish-virtual-fs`\n- `allow-fetch-virtual-fs`\n- `allow-delete-virtual-fs`\n- `allow-start-nostr-relay`\n- `allow-stop-nostr-relay`\n- `allow-get-nostr-relay-status`\n- `allow-get-nostr-event-counts`\n- `allow-get-nostr-relay-events`",
707
1109
  "type": "string",
708
1110
  "const": "default",
709
- "markdownDescription": "Default permissions for tauri-plugin-nostrnative plugin. Enables all commands by default.\n#### This default permission set includes:\n\n- `allow-generate-new-nsec`\n- `allow-parse-pubkey`\n- `allow-verify-nsec`\n- `allow-fetch-calendar-events`\n- `allow-publish-batch-calendar-events`\n- `allow-publish-calendar-event`\n- `allow-delete-calendar-event`\n- `allow-fetch-calendars`\n- `allow-publish-calendar`\n- `allow-delete-calendar`\n- `allow-fetch-profiles`\n- `allow-fetch-contact-list`\n- `allow-update-contact-list`\n- `allow-fetch-rsvps`\n- `allow-fetch-user-rsvps`\n- `allow-fetch-received-rsvps`\n- `allow-publish-rsvp`\n- `allow-send-direct-message`\n- `allow-fetch-bookmarks`\n- `allow-fetch-event-details`\n- `allow-save-bookmark`\n- `allow-remove-bookmark`\n- `allow-blossom-mirror`\n- `allow-blossom-upload`\n- `allow-blossom-upload-content`\n- `allow-blossom-get-blob`\n- `allow-derive-pns-keys`\n- `allow-create-discovery-event`\n- `allow-decrypt-discovery-event`\n- `allow-publish-chat-message`\n- `allow-decrypt-pns-event`\n- `allow-fetch-pns-events`\n- `allow-delete-chat-messages`\n- `allow-fetch-discovery-events`"
1111
+ "markdownDescription": "Default permissions for tauri-plugin-nostrnative plugin. Enables all commands by default.\n#### This default permission set includes:\n\n- `allow-generate-new-nsec`\n- `allow-parse-pubkey`\n- `allow-verify-nsec`\n- `allow-fetch-calendar-events`\n- `allow-publish-batch-calendar-events`\n- `allow-publish-calendar-event`\n- `allow-delete-calendar-event`\n- `allow-fetch-calendars`\n- `allow-publish-calendar`\n- `allow-delete-calendar`\n- `allow-fetch-profiles`\n- `allow-fetch-contact-list`\n- `allow-update-contact-list`\n- `allow-fetch-rsvps`\n- `allow-fetch-user-rsvps`\n- `allow-fetch-received-rsvps`\n- `allow-publish-rsvp`\n- `allow-send-direct-message`\n- `allow-fetch-bookmarks`\n- `allow-fetch-event-details`\n- `allow-save-bookmark`\n- `allow-remove-bookmark`\n- `allow-blossom-mirror`\n- `allow-blossom-upload`\n- `allow-blossom-upload-content`\n- `allow-blossom-get-blob`\n- `allow-blossom-delete`\n- `allow-blossom-list`\n- `allow-derive-pns-keys`\n- `allow-create-discovery-event`\n- `allow-decrypt-discovery-event`\n- `allow-publish-chat-message`\n- `allow-decrypt-pns-event`\n- `allow-fetch-pns-events`\n- `allow-delete-chat-messages`\n- `allow-fetch-discovery-events`\n- `allow-discover-routstr-providers`\n- `allow-compare-routstr-prices`\n- `allow-fetch-routstr-models`\n- `allow-create-note`\n- `allow-update-note`\n- `allow-delete-note`\n- `allow-fetch-notes`\n- `allow-create-notebook`\n- `allow-fetch-notebooks`\n- `allow-add-note-to-notebook`\n- `allow-remove-note-from-notebook`\n- `allow-delete-notebook`\n- `allow-fetch-nfp-observations`\n- `allow-publish-nfp-observation`\n- `allow-update-nfp-observation`\n- `allow-fetch-nfp-cycles`\n- `allow-publish-nfp-cycle`\n- `allow-update-nfp-cycle`\n- `allow-fetch-nfp-settings`\n- `allow-publish-nfp-settings`\n- `allow-update-nfp-settings`\n- `allow-delete-nfp-data`\n- `allow-publish-virtual-fs`\n- `allow-fetch-virtual-fs`\n- `allow-delete-virtual-fs`\n- `allow-start-nostr-relay`\n- `allow-stop-nostr-relay`\n- `allow-get-nostr-relay-status`\n- `allow-get-nostr-event-counts`\n- `allow-get-nostr-relay-events`"
710
1112
  }
711
1113
  ]
712
1114
  }