tauri.namespace.lock 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "version": 1,
  3. "namespaces": [
  4. {
  5. "id": "main",
  6. "description": "Main window namespace",
  7. "members": [
  8. "main"
  9. ],
  10. "capabilities": [
  11. "allow-all-api-commands",
  12. "allow-ping"
  13. ]
  14. }
  15. ],
  16. "plugins": {
  17. "__app__": {
  18. "default_capability": null,
  19. "capabilities": [
  20. {
  21. "id": "allow-all-api-commands",
  22. "component": null,
  23. "description": "Allows all application defined commands",
  24. "features": [
  25. "log_operation",
  26. "perform_request"
  27. ],
  28. "scope": {
  29. "allowed": [],
  30. "blocked": []
  31. }
  32. }
  33. ],
  34. "features": [],
  35. "scope_type": []
  36. },
  37. "sample": {
  38. "plugin": "sample",
  39. "default_capability": {
  40. "id": "default",
  41. "component": null,
  42. "description": "Default empty capability set",
  43. "features": [],
  44. "scope": {
  45. "allowed": [],
  46. "blocked": []
  47. }
  48. },
  49. "capabilities": [
  50. {
  51. "id": "allow-ping",
  52. "component": null,
  53. "description": "Allows the ping command",
  54. "features": [
  55. "ping"
  56. ],
  57. "scope": {
  58. "allowed": [],
  59. "blocked": []
  60. }
  61. }
  62. ],
  63. "features": [
  64. "ping"
  65. ],
  66. "scope_type": [
  67. "String"
  68. ]
  69. }
  70. },
  71. "resolution": [
  72. {
  73. "member": "main",
  74. "commands": [
  75. "log_operation",
  76. "perform_request",
  77. "plugin:sample|ping"
  78. ]
  79. }
  80. ]
  81. }