tauri.namespace.lock 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. "allow-emit",
  14. "allow-listen"
  15. ]
  16. }
  17. ],
  18. "plugins": {
  19. "__app__": {
  20. "default_capability": null,
  21. "capabilities": [
  22. {
  23. "id": "allow-all-api-commands",
  24. "component": null,
  25. "description": "Allows all application defined commands",
  26. "features": [
  27. "log_operation",
  28. "perform_request"
  29. ],
  30. "scope": {
  31. "allowed": [],
  32. "blocked": []
  33. }
  34. }
  35. ],
  36. "features": [],
  37. "scope_type": []
  38. },
  39. "event": {
  40. "plugin": "event",
  41. "default_capability": null,
  42. "capabilities": [
  43. {
  44. "id": "allow-emit",
  45. "component": null,
  46. "description": "Allows the emit functionality",
  47. "features": [
  48. "emit"
  49. ],
  50. "scope": {
  51. "allowed": [],
  52. "blocked": []
  53. }
  54. },
  55. {
  56. "id": "allow-listen",
  57. "component": null,
  58. "description": "Allows the listen functionality",
  59. "features": [
  60. "listen"
  61. ],
  62. "scope": {
  63. "allowed": [],
  64. "blocked": []
  65. }
  66. }
  67. ],
  68. "features": [
  69. "emit",
  70. "listen"
  71. ],
  72. "scope_type": []
  73. },
  74. "path": {
  75. "plugin": "path",
  76. "default_capability": null,
  77. "capabilities": [],
  78. "features": [],
  79. "scope_type": []
  80. },
  81. "sample": {
  82. "plugin": "sample",
  83. "default_capability": {
  84. "id": "default",
  85. "component": null,
  86. "description": "Default empty capability set",
  87. "features": [],
  88. "scope": {
  89. "allowed": [],
  90. "blocked": []
  91. }
  92. },
  93. "capabilities": [
  94. {
  95. "id": "allow-ping",
  96. "component": null,
  97. "description": "Allows the ping command",
  98. "features": [
  99. "ping"
  100. ],
  101. "scope": {
  102. "allowed": [],
  103. "blocked": []
  104. }
  105. }
  106. ],
  107. "features": [
  108. "ping"
  109. ],
  110. "scope_type": [
  111. "String"
  112. ]
  113. }
  114. },
  115. "resolution": [
  116. {
  117. "member": "main",
  118. "commands": [
  119. "log_operation",
  120. "perform_request",
  121. "plugin:sample|ping",
  122. "plugin:event|emit",
  123. "plugin:event|listen"
  124. ]
  125. }
  126. ]
  127. }