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. "event": {
  20. "plugin": "event",
  21. "default_capability": null,
  22. "capabilities": [
  23. {
  24. "id": "allow-emit",
  25. "component": null,
  26. "description": "Allows the emit functionality",
  27. "features": [
  28. "emit"
  29. ],
  30. "scope": {
  31. "allowed": [],
  32. "blocked": []
  33. }
  34. },
  35. {
  36. "id": "allow-listen",
  37. "component": null,
  38. "description": "Allows the listen functionality",
  39. "features": [
  40. "listen"
  41. ],
  42. "scope": {
  43. "allowed": [],
  44. "blocked": []
  45. }
  46. }
  47. ],
  48. "features": [
  49. "emit",
  50. "listen"
  51. ],
  52. "scope_type": []
  53. },
  54. "__app__": {
  55. "default_capability": null,
  56. "capabilities": [
  57. {
  58. "id": "allow-all-api-commands",
  59. "component": null,
  60. "description": "Allows all application defined commands",
  61. "features": [
  62. "log_operation",
  63. "perform_request"
  64. ],
  65. "scope": {
  66. "allowed": [],
  67. "blocked": []
  68. }
  69. }
  70. ],
  71. "features": [],
  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. }