@astrale-domains/shell 0.1.0-beta.4

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 (426) hide show
  1. package/README.md +66 -0
  2. package/dist/functions/application/index.d.ts +3 -0
  3. package/dist/functions/application/index.d.ts.map +1 -0
  4. package/dist/functions/application/index.js +3 -0
  5. package/dist/functions/application/index.js.map +1 -0
  6. package/dist/functions/application/install.d.ts +4 -0
  7. package/dist/functions/application/install.d.ts.map +1 -0
  8. package/dist/functions/application/install.js +11 -0
  9. package/dist/functions/application/install.js.map +1 -0
  10. package/dist/functions/application/uninstall.d.ts +5 -0
  11. package/dist/functions/application/uninstall.d.ts.map +1 -0
  12. package/dist/functions/application/uninstall.js +11 -0
  13. package/dist/functions/application/uninstall.js.map +1 -0
  14. package/dist/functions/execution/index.d.ts +15 -0
  15. package/dist/functions/execution/index.d.ts.map +1 -0
  16. package/dist/functions/execution/index.js +2 -0
  17. package/dist/functions/execution/index.js.map +1 -0
  18. package/dist/functions/group/assign-user.d.ts +5 -0
  19. package/dist/functions/group/assign-user.d.ts.map +1 -0
  20. package/dist/functions/group/assign-user.js +11 -0
  21. package/dist/functions/group/assign-user.js.map +1 -0
  22. package/dist/functions/group/index.d.ts +3 -0
  23. package/dist/functions/group/index.d.ts.map +1 -0
  24. package/dist/functions/group/index.js +3 -0
  25. package/dist/functions/group/index.js.map +1 -0
  26. package/dist/functions/group/unassign-user.d.ts +5 -0
  27. package/dist/functions/group/unassign-user.d.ts.map +1 -0
  28. package/dist/functions/group/unassign-user.js +11 -0
  29. package/dist/functions/group/unassign-user.js.map +1 -0
  30. package/dist/functions/index.d.ts +6 -0
  31. package/dist/functions/index.d.ts.map +1 -0
  32. package/dist/functions/index.js +6 -0
  33. package/dist/functions/index.js.map +1 -0
  34. package/dist/functions/space/add-user.d.ts +5 -0
  35. package/dist/functions/space/add-user.d.ts.map +1 -0
  36. package/dist/functions/space/add-user.js +11 -0
  37. package/dist/functions/space/add-user.js.map +1 -0
  38. package/dist/functions/space/index.d.ts +4 -0
  39. package/dist/functions/space/index.d.ts.map +1 -0
  40. package/dist/functions/space/index.js +4 -0
  41. package/dist/functions/space/index.js.map +1 -0
  42. package/dist/functions/space/remove-user.d.ts +5 -0
  43. package/dist/functions/space/remove-user.d.ts.map +1 -0
  44. package/dist/functions/space/remove-user.js +11 -0
  45. package/dist/functions/space/remove-user.js.map +1 -0
  46. package/dist/functions/space/set-default.d.ts +6 -0
  47. package/dist/functions/space/set-default.d.ts.map +1 -0
  48. package/dist/functions/space/set-default.js +11 -0
  49. package/dist/functions/space/set-default.js.map +1 -0
  50. package/dist/functions/user/administrator.d.ts +4 -0
  51. package/dist/functions/user/administrator.d.ts.map +1 -0
  52. package/dist/functions/user/administrator.js +39 -0
  53. package/dist/functions/user/administrator.js.map +1 -0
  54. package/dist/functions/user/ensure.d.ts +18 -0
  55. package/dist/functions/user/ensure.d.ts.map +1 -0
  56. package/dist/functions/user/ensure.js +49 -0
  57. package/dist/functions/user/ensure.js.map +1 -0
  58. package/dist/functions/user/index.d.ts +3 -0
  59. package/dist/functions/user/index.d.ts.map +1 -0
  60. package/dist/functions/user/index.js +3 -0
  61. package/dist/functions/user/index.js.map +1 -0
  62. package/dist/index.d.ts +4 -0
  63. package/dist/index.d.ts.map +1 -0
  64. package/dist/index.js +4 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/mutations/application/association.d.ts +14 -0
  67. package/dist/mutations/application/association.d.ts.map +1 -0
  68. package/dist/mutations/application/association.js +46 -0
  69. package/dist/mutations/application/association.js.map +1 -0
  70. package/dist/mutations/application/errors.d.ts +5 -0
  71. package/dist/mutations/application/errors.d.ts.map +1 -0
  72. package/dist/mutations/application/errors.js +2 -0
  73. package/dist/mutations/application/errors.js.map +1 -0
  74. package/dist/mutations/application/index.d.ts +4 -0
  75. package/dist/mutations/application/index.d.ts.map +1 -0
  76. package/dist/mutations/application/index.js +3 -0
  77. package/dist/mutations/application/index.js.map +1 -0
  78. package/dist/mutations/application/removal.d.ts +6 -0
  79. package/dist/mutations/application/removal.d.ts.map +1 -0
  80. package/dist/mutations/application/removal.js +17 -0
  81. package/dist/mutations/application/removal.js.map +1 -0
  82. package/dist/mutations/group/errors.d.ts +5 -0
  83. package/dist/mutations/group/errors.d.ts.map +1 -0
  84. package/dist/mutations/group/errors.js +2 -0
  85. package/dist/mutations/group/errors.js.map +1 -0
  86. package/dist/mutations/group/index.d.ts +3 -0
  87. package/dist/mutations/group/index.d.ts.map +1 -0
  88. package/dist/mutations/group/index.js +2 -0
  89. package/dist/mutations/group/index.js.map +1 -0
  90. package/dist/mutations/group/membership.d.ts +26 -0
  91. package/dist/mutations/group/membership.d.ts.map +1 -0
  92. package/dist/mutations/group/membership.js +71 -0
  93. package/dist/mutations/group/membership.js.map +1 -0
  94. package/dist/mutations/index.d.ts +4 -0
  95. package/dist/mutations/index.d.ts.map +1 -0
  96. package/dist/mutations/index.js +4 -0
  97. package/dist/mutations/index.js.map +1 -0
  98. package/dist/mutations/space/access.d.ts +30 -0
  99. package/dist/mutations/space/access.d.ts.map +1 -0
  100. package/dist/mutations/space/access.js +54 -0
  101. package/dist/mutations/space/access.js.map +1 -0
  102. package/dist/mutations/space/default.d.ts +26 -0
  103. package/dist/mutations/space/default.d.ts.map +1 -0
  104. package/dist/mutations/space/default.js +46 -0
  105. package/dist/mutations/space/default.js.map +1 -0
  106. package/dist/mutations/space/errors.d.ts +5 -0
  107. package/dist/mutations/space/errors.d.ts.map +1 -0
  108. package/dist/mutations/space/errors.js +2 -0
  109. package/dist/mutations/space/errors.js.map +1 -0
  110. package/dist/mutations/space/index.d.ts +4 -0
  111. package/dist/mutations/space/index.d.ts.map +1 -0
  112. package/dist/mutations/space/index.js +3 -0
  113. package/dist/mutations/space/index.js.map +1 -0
  114. package/dist/mutations/user/index.d.ts +1 -0
  115. package/dist/mutations/user/index.d.ts.map +1 -0
  116. package/dist/mutations/user/index.js +2 -0
  117. package/dist/mutations/user/index.js.map +1 -0
  118. package/dist/public.d.ts +5 -0
  119. package/dist/public.d.ts.map +1 -0
  120. package/dist/public.js +154 -0
  121. package/dist/public.js.map +1 -0
  122. package/dist/queries/application/association.d.ts +18 -0
  123. package/dist/queries/application/association.d.ts.map +1 -0
  124. package/dist/queries/application/association.js +82 -0
  125. package/dist/queries/application/association.js.map +1 -0
  126. package/dist/queries/application/identity.d.ts +4 -0
  127. package/dist/queries/application/identity.d.ts.map +1 -0
  128. package/dist/queries/application/identity.js +41 -0
  129. package/dist/queries/application/identity.js.map +1 -0
  130. package/dist/queries/application/index.d.ts +3 -0
  131. package/dist/queries/application/index.d.ts.map +1 -0
  132. package/dist/queries/application/index.js +3 -0
  133. package/dist/queries/application/index.js.map +1 -0
  134. package/dist/queries/group/identity.d.ts +3 -0
  135. package/dist/queries/group/identity.d.ts.map +1 -0
  136. package/dist/queries/group/identity.js +29 -0
  137. package/dist/queries/group/identity.js.map +1 -0
  138. package/dist/queries/group/index.d.ts +3 -0
  139. package/dist/queries/group/index.d.ts.map +1 -0
  140. package/dist/queries/group/index.js +3 -0
  141. package/dist/queries/group/index.js.map +1 -0
  142. package/dist/queries/group/membership.d.ts +17 -0
  143. package/dist/queries/group/membership.d.ts.map +1 -0
  144. package/dist/queries/group/membership.js +47 -0
  145. package/dist/queries/group/membership.js.map +1 -0
  146. package/dist/queries/index.d.ts +4 -0
  147. package/dist/queries/index.d.ts.map +1 -0
  148. package/dist/queries/index.js +4 -0
  149. package/dist/queries/index.js.map +1 -0
  150. package/dist/queries/space/access.d.ts +24 -0
  151. package/dist/queries/space/access.d.ts.map +1 -0
  152. package/dist/queries/space/access.js +93 -0
  153. package/dist/queries/space/access.js.map +1 -0
  154. package/dist/queries/space/default.d.ts +10 -0
  155. package/dist/queries/space/default.d.ts.map +1 -0
  156. package/dist/queries/space/default.js +25 -0
  157. package/dist/queries/space/default.js.map +1 -0
  158. package/dist/queries/space/index.d.ts +3 -0
  159. package/dist/queries/space/index.d.ts.map +1 -0
  160. package/dist/queries/space/index.js +3 -0
  161. package/dist/queries/space/index.js.map +1 -0
  162. package/dist/rules/application/association.d.ts +13 -0
  163. package/dist/rules/application/association.d.ts.map +1 -0
  164. package/dist/rules/application/association.js +10 -0
  165. package/dist/rules/application/association.js.map +1 -0
  166. package/dist/rules/application/index.d.ts +4 -0
  167. package/dist/rules/application/index.d.ts.map +1 -0
  168. package/dist/rules/application/index.js +4 -0
  169. package/dist/rules/application/index.js.map +1 -0
  170. package/dist/rules/application/removal.d.ts +11 -0
  171. package/dist/rules/application/removal.d.ts.map +1 -0
  172. package/dist/rules/application/removal.js +6 -0
  173. package/dist/rules/application/removal.js.map +1 -0
  174. package/dist/rules/application/result.d.ts +8 -0
  175. package/dist/rules/application/result.d.ts.map +1 -0
  176. package/dist/rules/application/result.js +17 -0
  177. package/dist/rules/application/result.js.map +1 -0
  178. package/dist/rules/group/index.d.ts +2 -0
  179. package/dist/rules/group/index.d.ts.map +1 -0
  180. package/dist/rules/group/index.js +2 -0
  181. package/dist/rules/group/index.js.map +1 -0
  182. package/dist/rules/group/membership.d.ts +5 -0
  183. package/dist/rules/group/membership.d.ts.map +1 -0
  184. package/dist/rules/group/membership.js +12 -0
  185. package/dist/rules/group/membership.js.map +1 -0
  186. package/dist/rules/index.d.ts +5 -0
  187. package/dist/rules/index.d.ts.map +1 -0
  188. package/dist/rules/index.js +5 -0
  189. package/dist/rules/index.js.map +1 -0
  190. package/dist/rules/space/access.d.ts +8 -0
  191. package/dist/rules/space/access.d.ts.map +1 -0
  192. package/dist/rules/space/access.js +18 -0
  193. package/dist/rules/space/access.js.map +1 -0
  194. package/dist/rules/space/default.d.ts +4 -0
  195. package/dist/rules/space/default.d.ts.map +1 -0
  196. package/dist/rules/space/default.js +7 -0
  197. package/dist/rules/space/default.js.map +1 -0
  198. package/dist/rules/space/index.d.ts +3 -0
  199. package/dist/rules/space/index.d.ts.map +1 -0
  200. package/dist/rules/space/index.js +3 -0
  201. package/dist/rules/space/index.js.map +1 -0
  202. package/dist/rules/user/ensure.d.ts +21 -0
  203. package/dist/rules/user/ensure.d.ts.map +1 -0
  204. package/dist/rules/user/ensure.js +61 -0
  205. package/dist/rules/user/ensure.js.map +1 -0
  206. package/dist/rules/user/grant.d.ts +13 -0
  207. package/dist/rules/user/grant.d.ts.map +1 -0
  208. package/dist/rules/user/grant.js +12 -0
  209. package/dist/rules/user/grant.js.map +1 -0
  210. package/dist/rules/user/index.d.ts +3 -0
  211. package/dist/rules/user/index.d.ts.map +1 -0
  212. package/dist/rules/user/index.js +3 -0
  213. package/dist/rules/user/index.js.map +1 -0
  214. package/dist/schema/application/class.d.ts +152 -0
  215. package/dist/schema/application/class.d.ts.map +1 -0
  216. package/dist/schema/application/class.js +10 -0
  217. package/dist/schema/application/class.js.map +1 -0
  218. package/dist/schema/application/core.d.ts +159 -0
  219. package/dist/schema/application/core.d.ts.map +1 -0
  220. package/dist/schema/application/core.js +13 -0
  221. package/dist/schema/application/core.js.map +1 -0
  222. package/dist/schema/application/index.d.ts +7 -0
  223. package/dist/schema/application/index.d.ts.map +1 -0
  224. package/dist/schema/application/index.js +7 -0
  225. package/dist/schema/application/index.js.map +1 -0
  226. package/dist/schema/application/methods.d.ts +171 -0
  227. package/dist/schema/application/methods.d.ts.map +1 -0
  228. package/dist/schema/application/methods.js +48 -0
  229. package/dist/schema/application/methods.js.map +1 -0
  230. package/dist/schema/application/policies.d.ts +3 -0
  231. package/dist/schema/application/policies.d.ts.map +1 -0
  232. package/dist/schema/application/policies.js +11 -0
  233. package/dist/schema/application/policies.js.map +1 -0
  234. package/dist/schema/application/relationships.d.ts +795 -0
  235. package/dist/schema/application/relationships.d.ts.map +1 -0
  236. package/dist/schema/application/relationships.js +20 -0
  237. package/dist/schema/application/relationships.js.map +1 -0
  238. package/dist/schema/application/view.d.ts +155 -0
  239. package/dist/schema/application/view.d.ts.map +1 -0
  240. package/dist/schema/application/view.js +7 -0
  241. package/dist/schema/application/view.js.map +1 -0
  242. package/dist/schema/domain/index.d.ts +9363 -0
  243. package/dist/schema/domain/index.d.ts.map +1 -0
  244. package/dist/schema/domain/index.js +56 -0
  245. package/dist/schema/domain/index.js.map +1 -0
  246. package/dist/schema/group/class.d.ts +59 -0
  247. package/dist/schema/group/class.d.ts.map +1 -0
  248. package/dist/schema/group/class.js +11 -0
  249. package/dist/schema/group/class.js.map +1 -0
  250. package/dist/schema/group/core.d.ts +495 -0
  251. package/dist/schema/group/core.d.ts.map +1 -0
  252. package/dist/schema/group/core.js +20 -0
  253. package/dist/schema/group/core.js.map +1 -0
  254. package/dist/schema/group/index.d.ts +7 -0
  255. package/dist/schema/group/index.d.ts.map +1 -0
  256. package/dist/schema/group/index.js +7 -0
  257. package/dist/schema/group/index.js.map +1 -0
  258. package/dist/schema/group/methods.d.ts +48 -0
  259. package/dist/schema/group/methods.d.ts.map +1 -0
  260. package/dist/schema/group/methods.js +21 -0
  261. package/dist/schema/group/methods.js.map +1 -0
  262. package/dist/schema/group/policies.d.ts +3 -0
  263. package/dist/schema/group/policies.d.ts.map +1 -0
  264. package/dist/schema/group/policies.js +7 -0
  265. package/dist/schema/group/policies.js.map +1 -0
  266. package/dist/schema/group/relationships.d.ts +293 -0
  267. package/dist/schema/group/relationships.d.ts.map +1 -0
  268. package/dist/schema/group/relationships.js +20 -0
  269. package/dist/schema/group/relationships.js.map +1 -0
  270. package/dist/schema/group/view.d.ts +62 -0
  271. package/dist/schema/group/view.d.ts.map +1 -0
  272. package/dist/schema/group/view.js +7 -0
  273. package/dist/schema/group/view.js.map +1 -0
  274. package/dist/schema/home/index.d.ts +2 -0
  275. package/dist/schema/home/index.d.ts.map +1 -0
  276. package/dist/schema/home/index.js +2 -0
  277. package/dist/schema/home/index.js.map +1 -0
  278. package/dist/schema/home/view.d.ts +4 -0
  279. package/dist/schema/home/view.d.ts.map +1 -0
  280. package/dist/schema/home/view.js +5 -0
  281. package/dist/schema/home/view.js.map +1 -0
  282. package/dist/schema/index.d.ts +7 -0
  283. package/dist/schema/index.d.ts.map +1 -0
  284. package/dist/schema/index.js +7 -0
  285. package/dist/schema/index.js.map +1 -0
  286. package/dist/schema/space/class.d.ts +74 -0
  287. package/dist/schema/space/class.d.ts.map +1 -0
  288. package/dist/schema/space/class.js +15 -0
  289. package/dist/schema/space/class.js.map +1 -0
  290. package/dist/schema/space/core.d.ts +995 -0
  291. package/dist/schema/space/core.d.ts.map +1 -0
  292. package/dist/schema/space/core.js +17 -0
  293. package/dist/schema/space/core.js.map +1 -0
  294. package/dist/schema/space/index.d.ts +7 -0
  295. package/dist/schema/space/index.d.ts.map +1 -0
  296. package/dist/schema/space/index.js +7 -0
  297. package/dist/schema/space/index.js.map +1 -0
  298. package/dist/schema/space/methods.d.ts +78 -0
  299. package/dist/schema/space/methods.d.ts.map +1 -0
  300. package/dist/schema/space/methods.js +31 -0
  301. package/dist/schema/space/methods.js.map +1 -0
  302. package/dist/schema/space/policies.d.ts +5 -0
  303. package/dist/schema/space/policies.d.ts.map +1 -0
  304. package/dist/schema/space/policies.js +15 -0
  305. package/dist/schema/space/policies.js.map +1 -0
  306. package/dist/schema/space/relationships.d.ts +1059 -0
  307. package/dist/schema/space/relationships.d.ts.map +1 -0
  308. package/dist/schema/space/relationships.js +25 -0
  309. package/dist/schema/space/relationships.js.map +1 -0
  310. package/dist/schema/space/view.d.ts +77 -0
  311. package/dist/schema/space/view.d.ts.map +1 -0
  312. package/dist/schema/space/view.js +7 -0
  313. package/dist/schema/space/view.js.map +1 -0
  314. package/dist/schema/user/administrator.d.ts +30 -0
  315. package/dist/schema/user/administrator.d.ts.map +1 -0
  316. package/dist/schema/user/administrator.js +19 -0
  317. package/dist/schema/user/administrator.js.map +1 -0
  318. package/dist/schema/user/class.d.ts +12 -0
  319. package/dist/schema/user/class.d.ts.map +1 -0
  320. package/dist/schema/user/class.js +7 -0
  321. package/dist/schema/user/class.js.map +1 -0
  322. package/dist/schema/user/ensure.d.ts +37 -0
  323. package/dist/schema/user/ensure.d.ts.map +1 -0
  324. package/dist/schema/user/ensure.js +28 -0
  325. package/dist/schema/user/ensure.js.map +1 -0
  326. package/dist/schema/user/index.d.ts +6 -0
  327. package/dist/schema/user/index.d.ts.map +1 -0
  328. package/dist/schema/user/index.js +6 -0
  329. package/dist/schema/user/index.js.map +1 -0
  330. package/dist/schema/user/interface.d.ts +10 -0
  331. package/dist/schema/user/interface.d.ts.map +1 -0
  332. package/dist/schema/user/interface.js +12 -0
  333. package/dist/schema/user/interface.js.map +1 -0
  334. package/dist/schema/user/view.d.ts +15 -0
  335. package/dist/schema/user/view.d.ts.map +1 -0
  336. package/dist/schema/user/view.js +7 -0
  337. package/dist/schema/user/view.js.map +1 -0
  338. package/dist/tests/cross-layer/public.test.d.ts +2 -0
  339. package/dist/tests/cross-layer/public.test.d.ts.map +1 -0
  340. package/dist/tests/cross-layer/public.test.js +70 -0
  341. package/dist/tests/cross-layer/public.test.js.map +1 -0
  342. package/dist/tests/cross-layer/workflows.test.d.ts +2 -0
  343. package/dist/tests/cross-layer/workflows.test.d.ts.map +1 -0
  344. package/dist/tests/cross-layer/workflows.test.js +290 -0
  345. package/dist/tests/cross-layer/workflows.test.js.map +1 -0
  346. package/dist/tests/index.d.ts +3 -0
  347. package/dist/tests/index.d.ts.map +1 -0
  348. package/dist/tests/index.js +3 -0
  349. package/dist/tests/index.js.map +1 -0
  350. package/dist/utils/graph-endpoint/index.d.ts +13 -0
  351. package/dist/utils/graph-endpoint/index.d.ts.map +1 -0
  352. package/dist/utils/graph-endpoint/index.js +6 -0
  353. package/dist/utils/graph-endpoint/index.js.map +1 -0
  354. package/dist/utils/index.d.ts +3 -0
  355. package/dist/utils/index.d.ts.map +1 -0
  356. package/dist/utils/index.js +3 -0
  357. package/dist/utils/index.js.map +1 -0
  358. package/dist/utils/query-page/index.d.ts +3 -0
  359. package/dist/utils/query-page/index.d.ts.map +1 -0
  360. package/dist/utils/query-page/index.js +2 -0
  361. package/dist/utils/query-page/index.js.map +1 -0
  362. package/dist/utils/query-page/nodes.d.ts +16 -0
  363. package/dist/utils/query-page/nodes.d.ts.map +1 -0
  364. package/dist/utils/query-page/nodes.js +22 -0
  365. package/dist/utils/query-page/nodes.js.map +1 -0
  366. package/dist/workflows/application/errors.d.ts +5 -0
  367. package/dist/workflows/application/errors.d.ts.map +1 -0
  368. package/dist/workflows/application/errors.js +25 -0
  369. package/dist/workflows/application/errors.js.map +1 -0
  370. package/dist/workflows/application/index.d.ts +3 -0
  371. package/dist/workflows/application/index.d.ts.map +1 -0
  372. package/dist/workflows/application/index.js +3 -0
  373. package/dist/workflows/application/index.js.map +1 -0
  374. package/dist/workflows/application/install.d.ts +3 -0
  375. package/dist/workflows/application/install.d.ts.map +1 -0
  376. package/dist/workflows/application/install.js +37 -0
  377. package/dist/workflows/application/install.js.map +1 -0
  378. package/dist/workflows/application/uninstall.d.ts +4 -0
  379. package/dist/workflows/application/uninstall.d.ts.map +1 -0
  380. package/dist/workflows/application/uninstall.js +25 -0
  381. package/dist/workflows/application/uninstall.js.map +1 -0
  382. package/dist/workflows/group/assign-user.d.ts +8 -0
  383. package/dist/workflows/group/assign-user.d.ts.map +1 -0
  384. package/dist/workflows/group/assign-user.js +32 -0
  385. package/dist/workflows/group/assign-user.js.map +1 -0
  386. package/dist/workflows/group/ensure-administrator.d.ts +4 -0
  387. package/dist/workflows/group/ensure-administrator.d.ts.map +1 -0
  388. package/dist/workflows/group/ensure-administrator.js +26 -0
  389. package/dist/workflows/group/ensure-administrator.js.map +1 -0
  390. package/dist/workflows/group/errors.d.ts +2 -0
  391. package/dist/workflows/group/errors.d.ts.map +1 -0
  392. package/dist/workflows/group/errors.js +7 -0
  393. package/dist/workflows/group/errors.js.map +1 -0
  394. package/dist/workflows/group/index.d.ts +4 -0
  395. package/dist/workflows/group/index.d.ts.map +1 -0
  396. package/dist/workflows/group/index.js +4 -0
  397. package/dist/workflows/group/index.js.map +1 -0
  398. package/dist/workflows/group/unassign-user.d.ts +8 -0
  399. package/dist/workflows/group/unassign-user.d.ts.map +1 -0
  400. package/dist/workflows/group/unassign-user.js +32 -0
  401. package/dist/workflows/group/unassign-user.js.map +1 -0
  402. package/dist/workflows/index.d.ts +4 -0
  403. package/dist/workflows/index.d.ts.map +1 -0
  404. package/dist/workflows/index.js +4 -0
  405. package/dist/workflows/index.js.map +1 -0
  406. package/dist/workflows/space/add-user.d.ts +8 -0
  407. package/dist/workflows/space/add-user.d.ts.map +1 -0
  408. package/dist/workflows/space/add-user.js +34 -0
  409. package/dist/workflows/space/add-user.js.map +1 -0
  410. package/dist/workflows/space/errors.d.ts +3 -0
  411. package/dist/workflows/space/errors.d.ts.map +1 -0
  412. package/dist/workflows/space/errors.js +10 -0
  413. package/dist/workflows/space/errors.js.map +1 -0
  414. package/dist/workflows/space/index.d.ts +4 -0
  415. package/dist/workflows/space/index.d.ts.map +1 -0
  416. package/dist/workflows/space/index.js +4 -0
  417. package/dist/workflows/space/index.js.map +1 -0
  418. package/dist/workflows/space/remove-user.d.ts +8 -0
  419. package/dist/workflows/space/remove-user.d.ts.map +1 -0
  420. package/dist/workflows/space/remove-user.js +62 -0
  421. package/dist/workflows/space/remove-user.js.map +1 -0
  422. package/dist/workflows/space/set-default.d.ts +9 -0
  423. package/dist/workflows/space/set-default.d.ts.map +1 -0
  424. package/dist/workflows/space/set-default.js +43 -0
  425. package/dist/workflows/space/set-default.js.map +1 -0
  426. package/package.json +80 -0
@@ -0,0 +1,795 @@
1
+ export declare const installed_in: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
2
+ readonly as: "application";
3
+ readonly accepts: readonly [() => import("@astrale-os/sdk/schema").NodeClass<{
4
+ readonly description: "A property-free Space association for one installed Domain.";
5
+ readonly methods: {
6
+ install: import("@astrale-os/sdk/schema").Function<{
7
+ readonly description: "Convergently associate one installed Domain with one Space.";
8
+ readonly static: true;
9
+ readonly input: import("zod").ZodObject<{
10
+ domain: import("@astrale-os/sdk/schema").Path<readonly [{
11
+ origin: string;
12
+ kind: 'class';
13
+ name: string;
14
+ }]>;
15
+ space: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeClass<{
16
+ readonly description: "A named Shell collaboration boundary.";
17
+ readonly implements: readonly [{
18
+ origin: "kernel.astrale.ai";
19
+ kind: 'interface';
20
+ name: string;
21
+ }, {
22
+ origin: "kernel.astrale.ai";
23
+ kind: 'interface';
24
+ name: string;
25
+ }];
26
+ readonly methods: {
27
+ addUser: import("@astrale-os/sdk/schema").Function<{
28
+ readonly description: "Set one User direct member or admin access.";
29
+ readonly input: import("zod").ZodObject<{
30
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
31
+ readonly description: "A human-facing Shell principal.";
32
+ readonly extends: readonly [{
33
+ origin: "kernel.astrale.ai";
34
+ kind: 'interface';
35
+ name: "Identity";
36
+ }];
37
+ }>]>;
38
+ access: import("zod").ZodEnum<{
39
+ admin: "admin";
40
+ member: "member";
41
+ }>;
42
+ }, import("zod/v4/core").$strict>;
43
+ readonly output: {
44
+ type: 'object';
45
+ properties: {};
46
+ additionalProperties: boolean;
47
+ };
48
+ readonly auth: "authorized";
49
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
50
+ }>;
51
+ removeUser: import("@astrale-os/sdk/schema").Function<{
52
+ readonly description: "Remove one User direct access.";
53
+ readonly input: import("zod").ZodObject<{
54
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
55
+ readonly description: "A human-facing Shell principal.";
56
+ readonly extends: readonly [{
57
+ origin: "kernel.astrale.ai";
58
+ kind: 'interface';
59
+ name: "Identity";
60
+ }];
61
+ }>]>;
62
+ }, import("zod/v4/core").$strict>;
63
+ readonly output: {
64
+ type: 'object';
65
+ properties: {};
66
+ additionalProperties: boolean;
67
+ };
68
+ readonly auth: "authorized";
69
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
70
+ }>;
71
+ setDefault: import("@astrale-os/sdk/schema").Function<{
72
+ readonly description: "Set this accessible Space as the granted User fallback.";
73
+ readonly input: {
74
+ type: 'object';
75
+ properties: {};
76
+ additionalProperties: boolean;
77
+ };
78
+ readonly output: {
79
+ type: 'object';
80
+ properties: {};
81
+ additionalProperties: boolean;
82
+ };
83
+ readonly auth: "authorized";
84
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
85
+ }>;
86
+ };
87
+ }>]>;
88
+ }, import("zod/v4/core").$strict>;
89
+ readonly output: {
90
+ readonly type: "object";
91
+ readonly properties: {
92
+ readonly application: {
93
+ readonly type: "object";
94
+ readonly properties: {
95
+ readonly id: {
96
+ readonly type: "string";
97
+ };
98
+ readonly path: {
99
+ type: 'string';
100
+ pattern: string;
101
+ };
102
+ readonly class: {
103
+ readonly const: "Application";
104
+ };
105
+ };
106
+ readonly required: readonly ["id", "path", "class"];
107
+ readonly additionalProperties: false;
108
+ };
109
+ readonly domain: {
110
+ type: 'string';
111
+ pattern: string;
112
+ };
113
+ readonly space: {
114
+ readonly type: "object";
115
+ readonly properties: {
116
+ readonly id: {
117
+ readonly type: "string";
118
+ };
119
+ readonly path: {
120
+ type: 'string';
121
+ pattern: string;
122
+ };
123
+ readonly class: {
124
+ readonly const: "Space";
125
+ };
126
+ };
127
+ readonly required: readonly ["id", "path", "class"];
128
+ readonly additionalProperties: false;
129
+ };
130
+ };
131
+ readonly required: readonly ["application", "domain", "space"];
132
+ readonly additionalProperties: false;
133
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").InstallApplicationResult>;
134
+ readonly auth: "authorized";
135
+ readonly policy: ({ check, input }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
136
+ }>;
137
+ uninstall: import("@astrale-os/sdk/schema").Function<{
138
+ readonly description: "Remove this Application association without uninstalling its Domain.";
139
+ readonly input: {
140
+ type: 'object';
141
+ properties: {};
142
+ additionalProperties: boolean;
143
+ };
144
+ readonly output: {
145
+ type: 'object';
146
+ properties: {};
147
+ additionalProperties: boolean;
148
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").UninstallApplicationResult>;
149
+ readonly auth: "authorized";
150
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
151
+ }>;
152
+ };
153
+ }>];
154
+ readonly outgoing: "1";
155
+ }, {
156
+ readonly as: "space";
157
+ readonly accepts: readonly [import("@astrale-os/sdk/schema").NodeClass<{
158
+ readonly description: "A named Shell collaboration boundary.";
159
+ readonly implements: readonly [{
160
+ origin: "kernel.astrale.ai";
161
+ kind: 'interface';
162
+ name: string;
163
+ }, {
164
+ origin: "kernel.astrale.ai";
165
+ kind: 'interface';
166
+ name: string;
167
+ }];
168
+ readonly methods: {
169
+ addUser: import("@astrale-os/sdk/schema").Function<{
170
+ readonly description: "Set one User direct member or admin access.";
171
+ readonly input: import("zod").ZodObject<{
172
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
173
+ readonly description: "A human-facing Shell principal.";
174
+ readonly extends: readonly [{
175
+ origin: "kernel.astrale.ai";
176
+ kind: 'interface';
177
+ name: "Identity";
178
+ }];
179
+ }>]>;
180
+ access: import("zod").ZodEnum<{
181
+ admin: "admin";
182
+ member: "member";
183
+ }>;
184
+ }, import("zod/v4/core").$strict>;
185
+ readonly output: {
186
+ type: 'object';
187
+ properties: {};
188
+ additionalProperties: boolean;
189
+ };
190
+ readonly auth: "authorized";
191
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
192
+ }>;
193
+ removeUser: import("@astrale-os/sdk/schema").Function<{
194
+ readonly description: "Remove one User direct access.";
195
+ readonly input: import("zod").ZodObject<{
196
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
197
+ readonly description: "A human-facing Shell principal.";
198
+ readonly extends: readonly [{
199
+ origin: "kernel.astrale.ai";
200
+ kind: 'interface';
201
+ name: "Identity";
202
+ }];
203
+ }>]>;
204
+ }, import("zod/v4/core").$strict>;
205
+ readonly output: {
206
+ type: 'object';
207
+ properties: {};
208
+ additionalProperties: boolean;
209
+ };
210
+ readonly auth: "authorized";
211
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
212
+ }>;
213
+ setDefault: import("@astrale-os/sdk/schema").Function<{
214
+ readonly description: "Set this accessible Space as the granted User fallback.";
215
+ readonly input: {
216
+ type: 'object';
217
+ properties: {};
218
+ additionalProperties: boolean;
219
+ };
220
+ readonly output: {
221
+ type: 'object';
222
+ properties: {};
223
+ additionalProperties: boolean;
224
+ };
225
+ readonly auth: "authorized";
226
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
227
+ }>;
228
+ };
229
+ }>];
230
+ readonly incoming: "0..*";
231
+ }, Omit<{
232
+ readonly source: {
233
+ readonly as: "application";
234
+ readonly accepts: readonly [() => import("@astrale-os/sdk/schema").NodeClass<{
235
+ readonly description: "A property-free Space association for one installed Domain.";
236
+ readonly methods: {
237
+ install: import("@astrale-os/sdk/schema").Function<{
238
+ readonly description: "Convergently associate one installed Domain with one Space.";
239
+ readonly static: true;
240
+ readonly input: import("zod").ZodObject<{
241
+ domain: import("@astrale-os/sdk/schema").Path<readonly [{
242
+ origin: string;
243
+ kind: 'class';
244
+ name: string;
245
+ }]>;
246
+ space: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeClass<{
247
+ readonly description: "A named Shell collaboration boundary.";
248
+ readonly implements: readonly [{
249
+ origin: "kernel.astrale.ai";
250
+ kind: 'interface';
251
+ name: string;
252
+ }, {
253
+ origin: "kernel.astrale.ai";
254
+ kind: 'interface';
255
+ name: string;
256
+ }];
257
+ readonly methods: {
258
+ addUser: import("@astrale-os/sdk/schema").Function<{
259
+ readonly description: "Set one User direct member or admin access.";
260
+ readonly input: import("zod").ZodObject<{
261
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
262
+ readonly description: "A human-facing Shell principal.";
263
+ readonly extends: readonly [{
264
+ origin: "kernel.astrale.ai";
265
+ kind: 'interface';
266
+ name: "Identity";
267
+ }];
268
+ }>]>;
269
+ access: import("zod").ZodEnum<{
270
+ admin: "admin";
271
+ member: "member";
272
+ }>;
273
+ }, import("zod/v4/core").$strict>;
274
+ readonly output: {
275
+ type: 'object';
276
+ properties: {};
277
+ additionalProperties: boolean;
278
+ };
279
+ readonly auth: "authorized";
280
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
281
+ }>;
282
+ removeUser: import("@astrale-os/sdk/schema").Function<{
283
+ readonly description: "Remove one User direct access.";
284
+ readonly input: import("zod").ZodObject<{
285
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
286
+ readonly description: "A human-facing Shell principal.";
287
+ readonly extends: readonly [{
288
+ origin: "kernel.astrale.ai";
289
+ kind: 'interface';
290
+ name: "Identity";
291
+ }];
292
+ }>]>;
293
+ }, import("zod/v4/core").$strict>;
294
+ readonly output: {
295
+ type: 'object';
296
+ properties: {};
297
+ additionalProperties: boolean;
298
+ };
299
+ readonly auth: "authorized";
300
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
301
+ }>;
302
+ setDefault: import("@astrale-os/sdk/schema").Function<{
303
+ readonly description: "Set this accessible Space as the granted User fallback.";
304
+ readonly input: {
305
+ type: 'object';
306
+ properties: {};
307
+ additionalProperties: boolean;
308
+ };
309
+ readonly output: {
310
+ type: 'object';
311
+ properties: {};
312
+ additionalProperties: boolean;
313
+ };
314
+ readonly auth: "authorized";
315
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
316
+ }>;
317
+ };
318
+ }>]>;
319
+ }, import("zod/v4/core").$strict>;
320
+ readonly output: {
321
+ readonly type: "object";
322
+ readonly properties: {
323
+ readonly application: {
324
+ readonly type: "object";
325
+ readonly properties: {
326
+ readonly id: {
327
+ readonly type: "string";
328
+ };
329
+ readonly path: {
330
+ type: 'string';
331
+ pattern: string;
332
+ };
333
+ readonly class: {
334
+ readonly const: "Application";
335
+ };
336
+ };
337
+ readonly required: readonly ["id", "path", "class"];
338
+ readonly additionalProperties: false;
339
+ };
340
+ readonly domain: {
341
+ type: 'string';
342
+ pattern: string;
343
+ };
344
+ readonly space: {
345
+ readonly type: "object";
346
+ readonly properties: {
347
+ readonly id: {
348
+ readonly type: "string";
349
+ };
350
+ readonly path: {
351
+ type: 'string';
352
+ pattern: string;
353
+ };
354
+ readonly class: {
355
+ readonly const: "Space";
356
+ };
357
+ };
358
+ readonly required: readonly ["id", "path", "class"];
359
+ readonly additionalProperties: false;
360
+ };
361
+ };
362
+ readonly required: readonly ["application", "domain", "space"];
363
+ readonly additionalProperties: false;
364
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").InstallApplicationResult>;
365
+ readonly auth: "authorized";
366
+ readonly policy: ({ check, input }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
367
+ }>;
368
+ uninstall: import("@astrale-os/sdk/schema").Function<{
369
+ readonly description: "Remove this Application association without uninstalling its Domain.";
370
+ readonly input: {
371
+ type: 'object';
372
+ properties: {};
373
+ additionalProperties: boolean;
374
+ };
375
+ readonly output: {
376
+ type: 'object';
377
+ properties: {};
378
+ additionalProperties: boolean;
379
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").UninstallApplicationResult>;
380
+ readonly auth: "authorized";
381
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
382
+ }>;
383
+ };
384
+ }>];
385
+ readonly outgoing: "1";
386
+ };
387
+ readonly target: {
388
+ readonly as: "space";
389
+ readonly accepts: readonly [import("@astrale-os/sdk/schema").NodeClass<{
390
+ readonly description: "A named Shell collaboration boundary.";
391
+ readonly implements: readonly [{
392
+ origin: "kernel.astrale.ai";
393
+ kind: 'interface';
394
+ name: string;
395
+ }, {
396
+ origin: "kernel.astrale.ai";
397
+ kind: 'interface';
398
+ name: string;
399
+ }];
400
+ readonly methods: {
401
+ addUser: import("@astrale-os/sdk/schema").Function<{
402
+ readonly description: "Set one User direct member or admin access.";
403
+ readonly input: import("zod").ZodObject<{
404
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
405
+ readonly description: "A human-facing Shell principal.";
406
+ readonly extends: readonly [{
407
+ origin: "kernel.astrale.ai";
408
+ kind: 'interface';
409
+ name: "Identity";
410
+ }];
411
+ }>]>;
412
+ access: import("zod").ZodEnum<{
413
+ admin: "admin";
414
+ member: "member";
415
+ }>;
416
+ }, import("zod/v4/core").$strict>;
417
+ readonly output: {
418
+ type: 'object';
419
+ properties: {};
420
+ additionalProperties: boolean;
421
+ };
422
+ readonly auth: "authorized";
423
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
424
+ }>;
425
+ removeUser: import("@astrale-os/sdk/schema").Function<{
426
+ readonly description: "Remove one User direct access.";
427
+ readonly input: import("zod").ZodObject<{
428
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
429
+ readonly description: "A human-facing Shell principal.";
430
+ readonly extends: readonly [{
431
+ origin: "kernel.astrale.ai";
432
+ kind: 'interface';
433
+ name: "Identity";
434
+ }];
435
+ }>]>;
436
+ }, import("zod/v4/core").$strict>;
437
+ readonly output: {
438
+ type: 'object';
439
+ properties: {};
440
+ additionalProperties: boolean;
441
+ };
442
+ readonly auth: "authorized";
443
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
444
+ }>;
445
+ setDefault: import("@astrale-os/sdk/schema").Function<{
446
+ readonly description: "Set this accessible Space as the granted User fallback.";
447
+ readonly input: {
448
+ type: 'object';
449
+ properties: {};
450
+ additionalProperties: boolean;
451
+ };
452
+ readonly output: {
453
+ type: 'object';
454
+ properties: {};
455
+ additionalProperties: boolean;
456
+ };
457
+ readonly auth: "authorized";
458
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
459
+ }>;
460
+ };
461
+ }>];
462
+ readonly incoming: "0..*";
463
+ };
464
+ readonly description: "The one Space containing an Application.";
465
+ }, "source" | "target">>;
466
+ export declare const application_of: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
467
+ readonly as: "application";
468
+ readonly accepts: readonly [() => import("@astrale-os/sdk/schema").NodeClass<{
469
+ readonly description: "A property-free Space association for one installed Domain.";
470
+ readonly methods: {
471
+ install: import("@astrale-os/sdk/schema").Function<{
472
+ readonly description: "Convergently associate one installed Domain with one Space.";
473
+ readonly static: true;
474
+ readonly input: import("zod").ZodObject<{
475
+ domain: import("@astrale-os/sdk/schema").Path<readonly [{
476
+ origin: string;
477
+ kind: 'class';
478
+ name: string;
479
+ }]>;
480
+ space: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeClass<{
481
+ readonly description: "A named Shell collaboration boundary.";
482
+ readonly implements: readonly [{
483
+ origin: "kernel.astrale.ai";
484
+ kind: 'interface';
485
+ name: string;
486
+ }, {
487
+ origin: "kernel.astrale.ai";
488
+ kind: 'interface';
489
+ name: string;
490
+ }];
491
+ readonly methods: {
492
+ addUser: import("@astrale-os/sdk/schema").Function<{
493
+ readonly description: "Set one User direct member or admin access.";
494
+ readonly input: import("zod").ZodObject<{
495
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
496
+ readonly description: "A human-facing Shell principal.";
497
+ readonly extends: readonly [{
498
+ origin: "kernel.astrale.ai";
499
+ kind: 'interface';
500
+ name: "Identity";
501
+ }];
502
+ }>]>;
503
+ access: import("zod").ZodEnum<{
504
+ admin: "admin";
505
+ member: "member";
506
+ }>;
507
+ }, import("zod/v4/core").$strict>;
508
+ readonly output: {
509
+ type: 'object';
510
+ properties: {};
511
+ additionalProperties: boolean;
512
+ };
513
+ readonly auth: "authorized";
514
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
515
+ }>;
516
+ removeUser: import("@astrale-os/sdk/schema").Function<{
517
+ readonly description: "Remove one User direct access.";
518
+ readonly input: import("zod").ZodObject<{
519
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
520
+ readonly description: "A human-facing Shell principal.";
521
+ readonly extends: readonly [{
522
+ origin: "kernel.astrale.ai";
523
+ kind: 'interface';
524
+ name: "Identity";
525
+ }];
526
+ }>]>;
527
+ }, import("zod/v4/core").$strict>;
528
+ readonly output: {
529
+ type: 'object';
530
+ properties: {};
531
+ additionalProperties: boolean;
532
+ };
533
+ readonly auth: "authorized";
534
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
535
+ }>;
536
+ setDefault: import("@astrale-os/sdk/schema").Function<{
537
+ readonly description: "Set this accessible Space as the granted User fallback.";
538
+ readonly input: {
539
+ type: 'object';
540
+ properties: {};
541
+ additionalProperties: boolean;
542
+ };
543
+ readonly output: {
544
+ type: 'object';
545
+ properties: {};
546
+ additionalProperties: boolean;
547
+ };
548
+ readonly auth: "authorized";
549
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
550
+ }>;
551
+ };
552
+ }>]>;
553
+ }, import("zod/v4/core").$strict>;
554
+ readonly output: {
555
+ readonly type: "object";
556
+ readonly properties: {
557
+ readonly application: {
558
+ readonly type: "object";
559
+ readonly properties: {
560
+ readonly id: {
561
+ readonly type: "string";
562
+ };
563
+ readonly path: {
564
+ type: 'string';
565
+ pattern: string;
566
+ };
567
+ readonly class: {
568
+ readonly const: "Application";
569
+ };
570
+ };
571
+ readonly required: readonly ["id", "path", "class"];
572
+ readonly additionalProperties: false;
573
+ };
574
+ readonly domain: {
575
+ type: 'string';
576
+ pattern: string;
577
+ };
578
+ readonly space: {
579
+ readonly type: "object";
580
+ readonly properties: {
581
+ readonly id: {
582
+ readonly type: "string";
583
+ };
584
+ readonly path: {
585
+ type: 'string';
586
+ pattern: string;
587
+ };
588
+ readonly class: {
589
+ readonly const: "Space";
590
+ };
591
+ };
592
+ readonly required: readonly ["id", "path", "class"];
593
+ readonly additionalProperties: false;
594
+ };
595
+ };
596
+ readonly required: readonly ["application", "domain", "space"];
597
+ readonly additionalProperties: false;
598
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").InstallApplicationResult>;
599
+ readonly auth: "authorized";
600
+ readonly policy: ({ check, input }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
601
+ }>;
602
+ uninstall: import("@astrale-os/sdk/schema").Function<{
603
+ readonly description: "Remove this Application association without uninstalling its Domain.";
604
+ readonly input: {
605
+ type: 'object';
606
+ properties: {};
607
+ additionalProperties: boolean;
608
+ };
609
+ readonly output: {
610
+ type: 'object';
611
+ properties: {};
612
+ additionalProperties: boolean;
613
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").UninstallApplicationResult>;
614
+ readonly auth: "authorized";
615
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
616
+ }>;
617
+ };
618
+ }>];
619
+ readonly outgoing: "1";
620
+ }, {
621
+ readonly as: "domain";
622
+ readonly accepts: readonly [{
623
+ origin: "kernel.astrale.ai";
624
+ kind: 'class';
625
+ name: "Domain";
626
+ }];
627
+ readonly incoming: "0..*";
628
+ }, Omit<{
629
+ readonly source: {
630
+ readonly as: "application";
631
+ readonly accepts: readonly [() => import("@astrale-os/sdk/schema").NodeClass<{
632
+ readonly description: "A property-free Space association for one installed Domain.";
633
+ readonly methods: {
634
+ install: import("@astrale-os/sdk/schema").Function<{
635
+ readonly description: "Convergently associate one installed Domain with one Space.";
636
+ readonly static: true;
637
+ readonly input: import("zod").ZodObject<{
638
+ domain: import("@astrale-os/sdk/schema").Path<readonly [{
639
+ origin: string;
640
+ kind: 'class';
641
+ name: string;
642
+ }]>;
643
+ space: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeClass<{
644
+ readonly description: "A named Shell collaboration boundary.";
645
+ readonly implements: readonly [{
646
+ origin: "kernel.astrale.ai";
647
+ kind: 'interface';
648
+ name: string;
649
+ }, {
650
+ origin: "kernel.astrale.ai";
651
+ kind: 'interface';
652
+ name: string;
653
+ }];
654
+ readonly methods: {
655
+ addUser: import("@astrale-os/sdk/schema").Function<{
656
+ readonly description: "Set one User direct member or admin access.";
657
+ readonly input: import("zod").ZodObject<{
658
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
659
+ readonly description: "A human-facing Shell principal.";
660
+ readonly extends: readonly [{
661
+ origin: "kernel.astrale.ai";
662
+ kind: 'interface';
663
+ name: "Identity";
664
+ }];
665
+ }>]>;
666
+ access: import("zod").ZodEnum<{
667
+ admin: "admin";
668
+ member: "member";
669
+ }>;
670
+ }, import("zod/v4/core").$strict>;
671
+ readonly output: {
672
+ type: 'object';
673
+ properties: {};
674
+ additionalProperties: boolean;
675
+ };
676
+ readonly auth: "authorized";
677
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
678
+ }>;
679
+ removeUser: import("@astrale-os/sdk/schema").Function<{
680
+ readonly description: "Remove one User direct access.";
681
+ readonly input: import("zod").ZodObject<{
682
+ user: import("@astrale-os/sdk/schema").Path<readonly [import("@astrale-os/sdk/schema").NodeInterface<{
683
+ readonly description: "A human-facing Shell principal.";
684
+ readonly extends: readonly [{
685
+ origin: "kernel.astrale.ai";
686
+ kind: 'interface';
687
+ name: "Identity";
688
+ }];
689
+ }>]>;
690
+ }, import("zod/v4/core").$strict>;
691
+ readonly output: {
692
+ type: 'object';
693
+ properties: {};
694
+ additionalProperties: boolean;
695
+ };
696
+ readonly auth: "authorized";
697
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
698
+ }>;
699
+ setDefault: import("@astrale-os/sdk/schema").Function<{
700
+ readonly description: "Set this accessible Space as the granted User fallback.";
701
+ readonly input: {
702
+ type: 'object';
703
+ properties: {};
704
+ additionalProperties: boolean;
705
+ };
706
+ readonly output: {
707
+ type: 'object';
708
+ properties: {};
709
+ additionalProperties: boolean;
710
+ };
711
+ readonly auth: "authorized";
712
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
713
+ }>;
714
+ };
715
+ }>]>;
716
+ }, import("zod/v4/core").$strict>;
717
+ readonly output: {
718
+ readonly type: "object";
719
+ readonly properties: {
720
+ readonly application: {
721
+ readonly type: "object";
722
+ readonly properties: {
723
+ readonly id: {
724
+ readonly type: "string";
725
+ };
726
+ readonly path: {
727
+ type: 'string';
728
+ pattern: string;
729
+ };
730
+ readonly class: {
731
+ readonly const: "Application";
732
+ };
733
+ };
734
+ readonly required: readonly ["id", "path", "class"];
735
+ readonly additionalProperties: false;
736
+ };
737
+ readonly domain: {
738
+ type: 'string';
739
+ pattern: string;
740
+ };
741
+ readonly space: {
742
+ readonly type: "object";
743
+ readonly properties: {
744
+ readonly id: {
745
+ readonly type: "string";
746
+ };
747
+ readonly path: {
748
+ type: 'string';
749
+ pattern: string;
750
+ };
751
+ readonly class: {
752
+ readonly const: "Space";
753
+ };
754
+ };
755
+ readonly required: readonly ["id", "path", "class"];
756
+ readonly additionalProperties: false;
757
+ };
758
+ };
759
+ readonly required: readonly ["application", "domain", "space"];
760
+ readonly additionalProperties: false;
761
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").InstallApplicationResult>;
762
+ readonly auth: "authorized";
763
+ readonly policy: ({ check, input }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
764
+ }>;
765
+ uninstall: import("@astrale-os/sdk/schema").Function<{
766
+ readonly description: "Remove this Application association without uninstalling its Domain.";
767
+ readonly input: {
768
+ type: 'object';
769
+ properties: {};
770
+ additionalProperties: boolean;
771
+ };
772
+ readonly output: {
773
+ type: 'object';
774
+ properties: {};
775
+ additionalProperties: boolean;
776
+ } & import("@astrale-os/sdk/schema").TypedValueSchema<import("./methods.js").UninstallApplicationResult>;
777
+ readonly auth: "authorized";
778
+ readonly policy: ({ check, self }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
779
+ }>;
780
+ };
781
+ }>];
782
+ readonly outgoing: "1";
783
+ };
784
+ readonly target: {
785
+ readonly as: "domain";
786
+ readonly accepts: readonly [{
787
+ origin: "kernel.astrale.ai";
788
+ kind: 'class';
789
+ name: "Domain";
790
+ }];
791
+ readonly incoming: "0..*";
792
+ };
793
+ readonly description: "The installed Domain represented by an Application.";
794
+ }, "source" | "target">>;
795
+ //# sourceMappingURL=relationships.d.ts.map