@astrale-os/kernel-core 0.9.0-beta.9 → 1.0.0-beta.2

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 (378) hide show
  1. package/dist/auth/authority/accept.js +4 -0
  2. package/dist/auth/authority/admission/admission.d.ts +4 -1
  3. package/dist/auth/authority/admission/admission.js +46 -147
  4. package/dist/auth/authority/admission/index.d.ts +1 -1
  5. package/dist/auth/authority/admission/index.js +1 -1
  6. package/dist/auth/authority/admission/references.d.ts +13 -0
  7. package/dist/auth/authority/admission/references.js +38 -0
  8. package/dist/auth/authority/admission/term.d.ts +6 -0
  9. package/dist/auth/authority/admission/term.js +60 -0
  10. package/dist/auth/authority/admission/wire.d.ts +8 -0
  11. package/dist/auth/authority/admission/wire.js +33 -0
  12. package/dist/auth/authority/canonical.d.ts +2 -0
  13. package/dist/auth/authority/canonical.js +15 -0
  14. package/dist/auth/authority/index.d.ts +9 -2
  15. package/dist/auth/authority/index.js +6 -1
  16. package/dist/auth/authority/language/index.d.ts +3 -1
  17. package/dist/auth/authority/language/index.js +1 -0
  18. package/dist/auth/authority/language/predicate.d.ts +31 -16
  19. package/dist/auth/authority/language/predicate.js +1 -1
  20. package/dist/auth/authority/language/program.d.ts +21 -0
  21. package/dist/auth/authority/language/program.js +2 -0
  22. package/dist/auth/authority/normalization/index.d.ts +1 -1
  23. package/dist/auth/authority/normalization/index.js +1 -1
  24. package/dist/auth/authority/normalization/normalize.d.ts +2 -0
  25. package/dist/auth/authority/normalization/normalize.js +38 -16
  26. package/dist/auth/authority/ownership.optimization.d.ts +8 -0
  27. package/dist/auth/authority/ownership.optimization.js +83 -0
  28. package/dist/auth/authority/prepare-binder-body.d.ts +4 -0
  29. package/dist/auth/authority/prepare-binder-body.js +31 -0
  30. package/dist/auth/authority/program.d.ts +28 -0
  31. package/dist/auth/authority/program.js +191 -0
  32. package/dist/auth/authority/semantics/class-authority.d.ts +8 -0
  33. package/dist/auth/authority/semantics/class-authority.js +26 -0
  34. package/dist/auth/authority/semantics/composition.d.ts +39 -0
  35. package/dist/auth/authority/semantics/composition.js +112 -0
  36. package/dist/auth/authority/semantics/failure.d.ts +21 -0
  37. package/dist/auth/authority/semantics/failure.js +10 -0
  38. package/dist/auth/authority/semantics/index.d.ts +11 -0
  39. package/dist/auth/authority/semantics/index.js +5 -0
  40. package/dist/auth/authority/semantics/interpret.d.ts +41 -0
  41. package/dist/auth/authority/semantics/interpret.js +388 -0
  42. package/dist/auth/authority/semantics/snapshot.d.ts +40 -0
  43. package/dist/auth/authority/semantics/terms.d.ts +20 -0
  44. package/dist/auth/authority/semantics/terms.js +96 -0
  45. package/dist/auth/authority/semantics/vocabulary.d.ts +19 -0
  46. package/dist/auth/context/context.d.ts +4 -3
  47. package/dist/auth/expression/authoring/builder.d.ts +2 -11
  48. package/dist/auth/expression/authoring/builder.js +1 -45
  49. package/dist/auth/expression/authoring/index.d.ts +1 -1
  50. package/dist/auth/expression/authoring/index.js +1 -1
  51. package/dist/auth/expression/index.d.ts +1 -2
  52. package/dist/auth/expression/index.js +1 -2
  53. package/dist/auth/expression/language/identity-expression.d.ts +2 -22
  54. package/dist/auth/grant/index.d.ts +1 -1
  55. package/dist/auth/grant/index.js +1 -1
  56. package/dist/auth/grant/resolved/admission.d.ts +4 -3
  57. package/dist/auth/grant/resolved/admission.js +23 -13
  58. package/dist/auth/grant/resolved/grant.d.ts +1 -1
  59. package/dist/auth/grant/resolved/index.d.ts +1 -1
  60. package/dist/auth/grant/resolved/index.js +1 -1
  61. package/dist/auth/grant/unresolved/admission.d.ts +4 -1
  62. package/dist/auth/grant/unresolved/admission.js +27 -67
  63. package/dist/auth/grant/unresolved/limits.d.ts +2 -4
  64. package/dist/auth/grant/unresolved/limits.js +1 -5
  65. package/dist/auth/identity/admission.js +11 -3
  66. package/dist/auth/identity/identity.d.ts +15 -3
  67. package/dist/auth/identity/index.d.ts +1 -1
  68. package/dist/auth/index.d.ts +4 -4
  69. package/dist/auth/index.js +1 -1
  70. package/dist/auth/jwk/index.d.ts +1 -1
  71. package/dist/auth/jwk/index.js +1 -1
  72. package/dist/auth/jwk/thumbprint.d.ts +2 -0
  73. package/dist/auth/jwk/thumbprint.js +12 -6
  74. package/dist/auth/register/fingerprint/fingerprint.d.ts +25 -0
  75. package/dist/auth/register/fingerprint/fingerprint.js +31 -0
  76. package/dist/auth/register/fingerprint/index.d.ts +2 -0
  77. package/dist/auth/register/index.d.ts +5 -0
  78. package/dist/auth/register/request/admission.d.ts +3 -0
  79. package/dist/auth/register/request/admission.js +103 -0
  80. package/dist/auth/register/request/index.d.ts +3 -0
  81. package/dist/auth/register/request/limits.d.ts +6 -0
  82. package/dist/auth/register/request/limits.js +6 -0
  83. package/dist/auth/register/request/request.d.ts +19 -0
  84. package/dist/auth/{provision → register}/request/self-issuer.d.ts +1 -1
  85. package/dist/auth/{provision → register}/request/self-issuer.js +1 -1
  86. package/dist/auth/register/result/index.d.ts +1 -0
  87. package/dist/auth/register/result/result.d.ts +10 -0
  88. package/dist/auth/register/result/result.js +1 -0
  89. package/dist/callable/contract/body.d.ts +10 -0
  90. package/dist/callable/contract/body.js +7 -0
  91. package/dist/callable/contract/index.d.ts +2 -1
  92. package/dist/callable/contract/index.js +1 -1
  93. package/dist/callable/contract/output.d.ts +18 -2
  94. package/dist/callable/index.d.ts +3 -2
  95. package/dist/callable/index.js +2 -1
  96. package/dist/callable/invocation/call.d.ts +16 -2
  97. package/dist/callable/invocation/call.js +41 -1
  98. package/dist/callable/invocation/index.d.ts +1 -1
  99. package/dist/callable/invocation/index.js +1 -1
  100. package/dist/callable/invocation/result.d.ts +2 -2
  101. package/dist/dns-label.d.ts +1 -2
  102. package/dist/dns-label.js +2 -3
  103. package/dist/graph/graph/graph.d.ts +1 -5
  104. package/dist/graph/graph/graph.js +3 -27
  105. package/dist/graph/graph/index.d.ts +2 -4
  106. package/dist/graph/graph/index.js +2 -3
  107. package/dist/graph/graph/model/codec.js +4 -4
  108. package/dist/graph/graph/model/index.d.ts +1 -1
  109. package/dist/graph/graph/model/index.js +1 -1
  110. package/dist/graph/graph/model/model.d.ts +7 -7
  111. package/dist/graph/graph/model/model.js +6 -6
  112. package/dist/graph/graph/model/wire.d.ts +58 -78
  113. package/dist/graph/graph/model/wire.js +18 -19
  114. package/dist/graph/mutate/authoring/builder.d.ts +2 -2
  115. package/dist/graph/mutate/authoring/builder.js +2 -2
  116. package/dist/graph/mutate/authoring/create.js +13 -5
  117. package/dist/graph/mutate/index.d.ts +1 -1
  118. package/dist/graph/mutate/language/codec.js +3 -3
  119. package/dist/graph/mutate/language/model.d.ts +4 -4
  120. package/dist/graph/mutate/language/wire.d.ts +226 -215
  121. package/dist/graph/mutate/language/wire.js +42 -47
  122. package/dist/graph/mutate/result/index.d.ts +4 -3
  123. package/dist/graph/mutate/result/index.js +8 -6
  124. package/dist/graph/mutate/result/wire.d.ts +4 -4
  125. package/dist/graph/mutate/result/wire.js +7 -4
  126. package/dist/graph/node/identity/id.d.ts +0 -4
  127. package/dist/graph/node/identity/id.js +0 -5
  128. package/dist/graph/node/identity/order.js +20 -0
  129. package/dist/graph/path/authoring/path.d.ts +8 -5
  130. package/dist/graph/path/authoring/path.js +21 -3
  131. package/dist/graph/path/language/model.d.ts +8 -3
  132. package/dist/graph/path/language/syntax.js +23 -8
  133. package/dist/graph/query/authoring/builder.js +37 -5
  134. package/dist/graph/query/authoring/model.d.ts +20 -1
  135. package/dist/graph/query/index.d.ts +4 -2
  136. package/dist/graph/query/index.js +1 -0
  137. package/dist/graph/query/language/codec.js +18 -3
  138. package/dist/graph/query/language/fingerprint.js +8 -0
  139. package/dist/graph/query/language/model.d.ts +22 -4
  140. package/dist/graph/query/language/wire.d.ts +124 -114
  141. package/dist/graph/query/language/wire.js +54 -47
  142. package/dist/graph/query/order/index.d.ts +53 -0
  143. package/dist/graph/query/order/index.js +79 -0
  144. package/dist/graph/query/reference/evaluate.d.ts +1 -0
  145. package/dist/graph/query/reference/evaluate.js +39 -52
  146. package/dist/graph/query/result/index.js +1 -1
  147. package/dist/graph/query/result/wire.d.ts +93 -94
  148. package/dist/graph/query/result/wire.js +20 -20
  149. package/dist/graph/reconcile/condition/model.d.ts +2 -2
  150. package/dist/graph/reconcile/condition/references.d.ts +0 -1
  151. package/dist/graph/reconcile/condition/references.js +4 -4
  152. package/dist/graph/reconcile/correspondence.d.ts +9 -8
  153. package/dist/graph/reconcile/evidence.d.ts +2 -2
  154. package/dist/graph/reconcile/mutation/assess.d.ts +2 -1
  155. package/dist/graph/reconcile/observation.d.ts +4 -3
  156. package/dist/graph/reconcile/planning/canonical.d.ts +6 -0
  157. package/dist/graph/reconcile/planning/canonical.js +28 -0
  158. package/dist/graph/reconcile/planning/context.d.ts +3 -3
  159. package/dist/graph/reconcile/planning/model.d.ts +8 -4
  160. package/dist/graph/reconcile/planning/plan.js +2 -1
  161. package/dist/schema/authority/authority-relation.js +3 -0
  162. package/dist/schema/authority/claims.d.ts +24 -25
  163. package/dist/schema/authority/claims.js +8 -8
  164. package/dist/schema/authority/governed-by.d.ts +16 -91
  165. package/dist/schema/authority/governed-by.js +1 -1
  166. package/dist/schema/authority/operation-node.d.ts +27 -13
  167. package/dist/schema/authority/operations.d.ts +8 -168
  168. package/dist/schema/authority/policy.d.ts +27 -15
  169. package/dist/schema/authority/vocabulary.d.ts +3 -0
  170. package/dist/schema/authority/vocabulary.js +25 -0
  171. package/dist/schema/callables/entrypoint.d.ts +32 -0
  172. package/dist/schema/callables/entrypoint.js +12 -0
  173. package/dist/schema/callables/execution.d.ts +269 -0
  174. package/dist/schema/callables/execution.js +32 -0
  175. package/dist/schema/callables/function.d.ts +3400 -55
  176. package/dist/schema/callables/function.js +4 -3
  177. package/dist/schema/callables/index.d.ts +2 -1
  178. package/dist/schema/callables/index.js +2 -1
  179. package/dist/schema/callables/method-of.d.ts +18 -143
  180. package/dist/schema/callables/method-of.js +2 -2
  181. package/dist/schema/callables/view.d.ts +83 -51
  182. package/dist/schema/definitions/class.d.ts +45 -33
  183. package/dist/schema/definitions/extends.d.ts +16 -110
  184. package/dist/schema/definitions/instance-of.d.ts +17 -69
  185. package/dist/schema/domain/domain.d.ts +3343 -148
  186. package/dist/schema/domain/domain.js +6 -3
  187. package/dist/schema/domain/of-domain.d.ts +18 -192
  188. package/dist/schema/domain/of-domain.js +1 -1
  189. package/dist/schema/identity/composition.d.ts +5 -0
  190. package/dist/schema/identity/composition.js +5 -0
  191. package/dist/schema/identity/identity.d.ts +225 -122
  192. package/dist/schema/identity/identity.js +3 -4
  193. package/dist/schema/index.d.ts +1 -0
  194. package/dist/schema/index.js +1 -0
  195. package/dist/schema/installation/operation-id.d.ts +1 -2
  196. package/dist/schema/installation/operation-id.js +2 -4
  197. package/dist/schema/introspection/index.d.ts +1 -1
  198. package/dist/schema/introspection/language.d.ts +12 -28
  199. package/dist/schema/kernel/projection/callables.js +2 -3
  200. package/dist/schema/kernel/projection/core.d.ts +7 -0
  201. package/dist/schema/kernel/projection/core.js +51 -0
  202. package/dist/schema/kernel/projection/definitions.d.ts +13 -0
  203. package/dist/schema/kernel/projection/definitions.js +71 -0
  204. package/dist/schema/kernel/projection/index.d.ts +3 -3
  205. package/dist/schema/kernel/projection/index.js +2 -2
  206. package/dist/schema/kernel/projection/methods.d.ts +5 -0
  207. package/dist/schema/kernel/projection/methods.js +41 -0
  208. package/dist/schema/kernel/projection/part.d.ts +34 -0
  209. package/dist/schema/kernel/projection/part.js +42 -0
  210. package/dist/schema/kernel/projection/paths.d.ts +6 -0
  211. package/dist/schema/kernel/projection/{keys.js → paths.js} +12 -14
  212. package/dist/schema/kernel/projection/project.d.ts +4 -2
  213. package/dist/schema/kernel/projection/project.js +33 -258
  214. package/dist/schema/kernel/projection/properties.d.ts +11 -0
  215. package/dist/schema/kernel/projection/properties.js +36 -0
  216. package/dist/schema/kernel/projection/relations.d.ts +7 -0
  217. package/dist/schema/kernel/projection/relations.js +61 -0
  218. package/dist/schema/kernel/projection/types.d.ts +28 -2
  219. package/dist/schema/kernel/schema.d.ts +8737 -5086
  220. package/dist/schema/kernel/schema.js +12 -8
  221. package/dist/schema/kernel/syscalls/contracts/admit.d.ts +15 -12
  222. package/dist/schema/kernel/syscalls/contracts/admit.js +16 -9
  223. package/dist/schema/kernel/syscalls/contracts/blob.d.ts +31 -0
  224. package/dist/schema/kernel/syscalls/contracts/blob.js +24 -0
  225. package/dist/schema/kernel/syscalls/contracts/can.d.ts +19 -8
  226. package/dist/schema/kernel/syscalls/contracts/can.js +12 -4
  227. package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +6 -7
  228. package/dist/schema/kernel/syscalls/contracts/delegate.js +5 -5
  229. package/dist/schema/kernel/syscalls/contracts/execution.d.ts +60 -0
  230. package/dist/schema/kernel/syscalls/contracts/execution.js +46 -0
  231. package/dist/schema/kernel/syscalls/contracts/expected.d.ts +5 -0
  232. package/dist/schema/kernel/syscalls/contracts/expected.js +9 -0
  233. package/dist/schema/kernel/syscalls/contracts/identity.d.ts +18 -19
  234. package/dist/schema/kernel/syscalls/contracts/identity.js +6 -7
  235. package/dist/schema/kernel/syscalls/contracts/impersonate.d.ts +6 -0
  236. package/dist/schema/kernel/syscalls/contracts/impersonate.js +4 -0
  237. package/dist/schema/kernel/syscalls/contracts/index.d.ts +6 -3
  238. package/dist/schema/kernel/syscalls/contracts/index.js +6 -3
  239. package/dist/schema/kernel/syscalls/contracts/install.d.ts +149 -217
  240. package/dist/schema/kernel/syscalls/contracts/install.js +22 -26
  241. package/dist/schema/kernel/syscalls/contracts/installation.d.ts +65 -351
  242. package/dist/schema/kernel/syscalls/contracts/installation.js +29 -67
  243. package/dist/schema/kernel/syscalls/contracts/introspect.d.ts +11 -15
  244. package/dist/schema/kernel/syscalls/contracts/introspect.js +8 -15
  245. package/dist/schema/kernel/syscalls/contracts/journal.d.ts +26 -27
  246. package/dist/schema/kernel/syscalls/contracts/journal.js +15 -15
  247. package/dist/schema/kernel/syscalls/contracts/mint.d.ts +5 -7
  248. package/dist/schema/kernel/syscalls/contracts/mint.js +4 -5
  249. package/dist/schema/kernel/syscalls/contracts/mutate.d.ts +243 -224
  250. package/dist/schema/kernel/syscalls/contracts/mutate.js +7 -1
  251. package/dist/schema/kernel/syscalls/contracts/query.d.ts +232 -222
  252. package/dist/schema/kernel/syscalls/contracts/query.js +10 -15
  253. package/dist/schema/kernel/syscalls/contracts/register.d.ts +20 -0
  254. package/dist/schema/kernel/syscalls/contracts/register.js +24 -0
  255. package/dist/schema/kernel/syscalls/contracts/uninstall.d.ts +54 -148
  256. package/dist/schema/kernel/syscalls/contracts/uninstall.js +6 -5
  257. package/dist/schema/kernel/syscalls/contracts/view-host-requirements.d.ts +17 -0
  258. package/dist/schema/kernel/syscalls/contracts/view-host-requirements.js +40 -0
  259. package/dist/schema/kernel/syscalls/contracts/view-resolve.d.ts +27 -28
  260. package/dist/schema/kernel/syscalls/contracts/view-resolve.js +16 -24
  261. package/dist/schema/kernel/syscalls/contracts/whoami.d.ts +19 -20
  262. package/dist/schema/kernel/syscalls/contracts/whoami.js +2 -2
  263. package/dist/schema/kernel/syscalls/contracts/whois.d.ts +22 -23
  264. package/dist/schema/kernel/syscalls/contracts/whois.js +3 -3
  265. package/dist/schema/kernel/syscalls/declarations/admit.d.ts +18 -18
  266. package/dist/schema/kernel/syscalls/declarations/admit.js +3 -3
  267. package/dist/schema/kernel/syscalls/declarations/can.d.ts +19 -14
  268. package/dist/schema/kernel/syscalls/declarations/can.js +4 -4
  269. package/dist/schema/kernel/syscalls/declarations/delegate.d.ts +9 -12
  270. package/dist/schema/kernel/syscalls/declarations/delegate.js +4 -4
  271. package/dist/schema/kernel/syscalls/declarations/download.d.ts +12 -0
  272. package/dist/schema/kernel/syscalls/declarations/download.js +10 -0
  273. package/dist/schema/kernel/syscalls/declarations/execution.d.ts +105 -0
  274. package/dist/schema/kernel/syscalls/declarations/execution.js +52 -0
  275. package/dist/schema/kernel/syscalls/declarations/impersonate.d.ts +9 -0
  276. package/dist/schema/kernel/syscalls/declarations/impersonate.js +12 -0
  277. package/dist/schema/kernel/syscalls/declarations/index.d.ts +870 -1323
  278. package/dist/schema/kernel/syscalls/declarations/index.js +18 -2
  279. package/dist/schema/kernel/syscalls/declarations/install.d.ts +29 -172
  280. package/dist/schema/kernel/syscalls/declarations/install.js +7 -5
  281. package/dist/schema/kernel/syscalls/declarations/introspect.d.ts +8 -19
  282. package/dist/schema/kernel/syscalls/declarations/introspect.js +3 -4
  283. package/dist/schema/kernel/syscalls/declarations/journal.d.ts +29 -31
  284. package/dist/schema/kernel/syscalls/declarations/journal.js +4 -2
  285. package/dist/schema/kernel/syscalls/declarations/mint.d.ts +8 -13
  286. package/dist/schema/kernel/syscalls/declarations/mint.js +5 -5
  287. package/dist/schema/kernel/syscalls/declarations/mutate.d.ts +239 -256
  288. package/dist/schema/kernel/syscalls/declarations/mutate.js +4 -2
  289. package/dist/schema/kernel/syscalls/declarations/query.d.ts +235 -260
  290. package/dist/schema/kernel/syscalls/declarations/query.js +4 -2
  291. package/dist/schema/kernel/syscalls/declarations/register.d.ts +23 -0
  292. package/dist/schema/kernel/syscalls/declarations/register.js +10 -0
  293. package/dist/schema/kernel/syscalls/declarations/uninstall.d.ts +49 -153
  294. package/dist/schema/kernel/syscalls/declarations/uninstall.js +4 -2
  295. package/dist/schema/kernel/syscalls/declarations/upload.d.ts +15 -0
  296. package/dist/schema/kernel/syscalls/declarations/upload.js +10 -0
  297. package/dist/schema/kernel/syscalls/declarations/use-policy.d.ts +4 -0
  298. package/dist/schema/kernel/syscalls/declarations/use-policy.js +9 -0
  299. package/dist/schema/kernel/syscalls/declarations/view-resolve.d.ts +30 -37
  300. package/dist/schema/kernel/syscalls/declarations/view-resolve.js +5 -3
  301. package/dist/schema/kernel/syscalls/declarations/whoami.d.ts +22 -26
  302. package/dist/schema/kernel/syscalls/declarations/whoami.js +3 -3
  303. package/dist/schema/kernel/syscalls/declarations/whois.d.ts +25 -29
  304. package/dist/schema/kernel/syscalls/declarations/whois.js +5 -3
  305. package/dist/schema/kernel/syscalls/descriptors/execution.d.ts +153 -0
  306. package/dist/schema/kernel/syscalls/descriptors/execution.js +11 -0
  307. package/dist/schema/kernel/syscalls/descriptors/function.d.ts +8 -2
  308. package/dist/schema/kernel/syscalls/descriptors/functions.d.ts +3 -1
  309. package/dist/schema/kernel/syscalls/descriptors/functions.js +3 -1
  310. package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +47 -13
  311. package/dist/schema/kernel/syscalls/descriptors/identity.js +2 -1
  312. package/dist/schema/kernel/syscalls/descriptors/index.d.ts +2 -1
  313. package/dist/schema/kernel/syscalls/descriptors/index.js +2 -1
  314. package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.d.ts +5 -2
  315. package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.js +8 -38
  316. package/dist/schema/kernel/syscalls/descriptors/view.d.ts +11 -9
  317. package/dist/schema/kernel/syscalls/index.d.ts +2 -2
  318. package/dist/schema/kernel/syscalls/index.js +2 -2
  319. package/dist/schema/kernel/syscalls/references/execution.d.ts +55 -0
  320. package/dist/schema/kernel/syscalls/references/execution.js +13 -0
  321. package/dist/schema/kernel/syscalls/references/functions.d.ts +12 -2
  322. package/dist/schema/kernel/syscalls/references/functions.js +3 -1
  323. package/dist/schema/kernel/syscalls/references/identity.d.ts +9 -0
  324. package/dist/schema/kernel/syscalls/references/identity.js +1 -0
  325. package/dist/schema/kernel/syscalls/references/index.d.ts +2 -1
  326. package/dist/schema/kernel/syscalls/references/index.js +2 -1
  327. package/dist/schema/meta/created-by.d.ts +32 -0
  328. package/dist/schema/meta/created-by.js +17 -0
  329. package/dist/schema/meta/descriptable.d.ts +13 -11
  330. package/dist/schema/meta/edge.d.ts +5 -9
  331. package/dist/schema/meta/iconable.d.ts +13 -11
  332. package/dist/schema/meta/index.d.ts +1 -0
  333. package/dist/schema/meta/index.js +1 -0
  334. package/dist/schema/meta/named.d.ts +13 -9
  335. package/dist/schema/meta/node.d.ts +9 -1
  336. package/dist/schema/meta/remotable.d.ts +15 -22
  337. package/dist/schema/meta/statused.d.ts +13 -7
  338. package/dist/schema/meta/timestamped.d.ts +14 -12
  339. package/package.json +9 -7
  340. package/dist/auth/expression/normalization/canonicalize.d.ts +0 -7
  341. package/dist/auth/expression/normalization/canonicalize.js +0 -102
  342. package/dist/auth/expression/normalization/index.d.ts +0 -2
  343. package/dist/auth/expression/normalization/index.js +0 -2
  344. package/dist/auth/expression/normalization/raise-denials.d.ts +0 -3
  345. package/dist/auth/expression/normalization/raise-denials.js +0 -59
  346. package/dist/auth/provision/fingerprint/fingerprint.d.ts +0 -9
  347. package/dist/auth/provision/fingerprint/fingerprint.js +0 -33
  348. package/dist/auth/provision/fingerprint/index.d.ts +0 -2
  349. package/dist/auth/provision/index.d.ts +0 -5
  350. package/dist/auth/provision/request/admission.d.ts +0 -3
  351. package/dist/auth/provision/request/admission.js +0 -125
  352. package/dist/auth/provision/request/index.d.ts +0 -3
  353. package/dist/auth/provision/request/request.d.ts +0 -29
  354. package/dist/auth/provision/result/index.d.ts +0 -1
  355. package/dist/auth/provision/result/result.d.ts +0 -12
  356. package/dist/graph/graph/navigation/error.d.ts +0 -12
  357. package/dist/graph/graph/navigation/error.js +0 -20
  358. package/dist/graph/graph/navigation/index.d.ts +0 -2
  359. package/dist/graph/graph/navigation/index.js +0 -1
  360. package/dist/graph/graph/navigation/model.d.ts +0 -15
  361. package/dist/schema/callables/view-for.d.ts +0 -296
  362. package/dist/schema/callables/view-for.js +0 -12
  363. package/dist/schema/kernel/projection/keys.d.ts +0 -3
  364. package/dist/schema/kernel/projection/path.d.ts +0 -2
  365. package/dist/schema/kernel/projection/path.js +0 -140
  366. package/dist/schema/kernel/syscalls/contracts/provision.d.ts +0 -292
  367. package/dist/schema/kernel/syscalls/contracts/provision.js +0 -19
  368. package/dist/schema/kernel/syscalls/declarations/define.d.ts +0 -5
  369. package/dist/schema/kernel/syscalls/declarations/define.js +0 -7
  370. package/dist/schema/kernel/syscalls/declarations/provision.d.ts +0 -296
  371. package/dist/schema/kernel/syscalls/declarations/provision.js +0 -8
  372. /package/dist/auth/{provision/request/request.js → authority/semantics/snapshot.js} +0 -0
  373. /package/dist/auth/{provision/result/index.js → authority/semantics/vocabulary.js} +0 -0
  374. /package/dist/auth/{provision → register}/fingerprint/index.js +0 -0
  375. /package/dist/auth/{provision → register}/index.js +0 -0
  376. /package/dist/auth/{provision → register}/request/index.js +0 -0
  377. /package/dist/auth/{provision/result/result.js → register/request/request.js} +0 -0
  378. /package/dist/{graph/graph/navigation/model.js → auth/register/result/index.js} +0 -0
@@ -1,161 +1,3356 @@
1
1
  import { type builder } from '@astrale-os/kernel-dsl/v1';
2
2
  export declare const Domain: builder.NodeClass<{
3
+ readonly depth: 2;
3
4
  readonly abstract: false;
4
- readonly description: "A stable Domain principal and the active projection of one canonical DomainSchema revision.";
5
- readonly extends: readonly [builder.NodeClass<{
5
+ readonly extends: readonly [builder.ClassReferenceProjection<"node", {
6
6
  readonly abstract: true;
7
- readonly description: "A principal that can be authenticated and can originate persistent authority facts.";
8
- readonly extends: readonly [builder.NodeClass<{
9
- readonly abstract: true;
10
- readonly description: "The abstract universal kernel Node Class extended by every Kernel Node Class.";
11
- }>];
7
+ readonly depth: 1;
12
8
  readonly properties: {
13
- readonly frozen: builder.Property<{
14
- readonly type: "boolean";
15
- }, {
16
- readonly required: false;
17
- readonly visibility: "private";
18
- }>;
19
- readonly iss: {
20
- readonly type: "string";
21
- readonly minLength: 1;
22
- };
23
- readonly requiredClaims: builder.Property<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
24
- claim: import("zod").ZodString;
25
- op: import("zod").ZodLiteral<"contains">;
26
- value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
27
- }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
28
- claim: import("zod").ZodString;
29
- op: import("zod").ZodLiteral<"eq">;
30
- value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
31
- }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
32
- claim: import("zod").ZodString;
33
- op: import("zod").ZodLiteral<"exists">;
34
- }, import("zod/v4/core").$strict>], "op">>, {
35
- readonly required: false;
36
- readonly visibility: "private";
37
- }>;
38
- readonly sub: {
39
- readonly type: "string";
40
- readonly minLength: 1;
41
- };
9
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
10
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
11
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
12
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
13
+ claim: string;
14
+ op: "contains";
15
+ value: unknown;
16
+ } | {
17
+ claim: string;
18
+ op: "eq";
19
+ value: unknown;
20
+ } | {
21
+ claim: string;
22
+ op: "exists";
23
+ })[], ({
24
+ claim: string;
25
+ op: "contains";
26
+ value: unknown;
27
+ } | {
28
+ claim: string;
29
+ op: "eq";
30
+ value: unknown;
31
+ } | {
32
+ claim: string;
33
+ op: "exists";
34
+ })[], false, "requiredClaims", "self", never>;
42
35
  };
43
36
  readonly methods: Readonly<{
44
- delegate: builder.Method<{
45
- readonly description: "Issue one strictly attenuated credential from this authenticated Identity.";
46
- readonly auth: "authenticated";
47
- readonly input: import("zod").ZodObject<{
48
- audience: import("zod").ZodString;
49
- ttlSeconds: import("zod").ZodNumber;
50
- attenuation: import("zod").ZodUnknown;
51
- }, import("zod/v4/core").$strict>;
52
- readonly output: import("zod").ZodString;
53
- readonly inheritance: "default";
54
- }>;
55
- can: builder.Method<{
56
- readonly description: "Determine whether the current authenticated Identity satisfies one installed Policy for one object.";
57
- readonly auth: "authenticated";
58
- readonly input: import("zod").ZodObject<{
59
- policy: import("zod").ZodString;
60
- object: import("zod").ZodString;
61
- }, import("zod/v4/core").$strict>;
62
- readonly output: import("zod").ZodObject<{
63
- allowed: import("zod").ZodBoolean;
64
- }, import("zod/v4/core").$strict>;
65
- readonly static: true;
66
- readonly inheritance: "default";
67
- }>;
68
- whoami: builder.Method<{
69
- readonly description: "Return the Identity authenticated for this invocation.";
70
- readonly auth: "authenticated";
71
- readonly input: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
72
- readonly output: import("zod").ZodObject<{
73
- id: import("zod").ZodString;
74
- issuer: import("zod").ZodString;
75
- subject: import("zod").ZodString;
76
- frozen: import("zod").ZodBoolean;
77
- requiredClaims: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
78
- claim: import("zod").ZodString;
79
- op: import("zod").ZodLiteral<"contains">;
80
- value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
81
- }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
82
- claim: import("zod").ZodString;
83
- op: import("zod").ZodLiteral<"eq">;
84
- value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
85
- }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
86
- claim: import("zod").ZodString;
87
- op: import("zod").ZodLiteral<"exists">;
88
- }, import("zod/v4/core").$strict>], "op">>;
89
- }, import("zod/v4/core").$strict>;
90
- readonly static: true;
91
- readonly inheritance: "default";
92
- }>;
93
- whois: builder.Method<{
94
- readonly description: "Resolve one issuer-and-subject Identity.";
95
- readonly auth: "authorized";
96
- readonly input: import("zod").ZodObject<{
97
- issuer: import("zod").ZodString;
98
- subject: import("zod").ZodString;
99
- }, import("zod/v4/core").$strict>;
100
- readonly output: import("zod").ZodNullable<import("zod").ZodObject<{
101
- id: import("zod").ZodString;
102
- issuer: import("zod").ZodString;
103
- subject: import("zod").ZodString;
104
- frozen: import("zod").ZodBoolean;
105
- requiredClaims: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
106
- claim: import("zod").ZodString;
107
- op: import("zod").ZodLiteral<"contains">;
108
- value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
109
- }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
110
- claim: import("zod").ZodString;
111
- op: import("zod").ZodLiteral<"eq">;
112
- value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
113
- }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
114
- claim: import("zod").ZodString;
115
- op: import("zod").ZodLiteral<"exists">;
116
- }, import("zod/v4/core").$strict>], "op">>;
117
- }, import("zod/v4/core").$strict>>;
118
- readonly static: true;
119
- readonly inheritance: "default";
120
- }>;
121
- mint: builder.Method<{
122
- readonly description: "Resolve and sign one authorized Grant credential.";
123
- readonly auth: "authorized";
124
- readonly input: import("zod").ZodObject<{
125
- audience: import("zod").ZodOptional<import("zod").ZodString>;
126
- ttlSeconds: import("zod").ZodNumber;
127
- grant: import("zod").ZodOptional<import("zod").ZodUnknown>;
128
- }, import("zod/v4/core").$strict>;
129
- readonly output: import("zod").ZodString;
130
- readonly static: true;
131
- readonly inheritance: "default";
132
- }>;
37
+ delegate: builder.Method<builder.CallableProjection<{
38
+ principal: string;
39
+ audience: string;
40
+ ttlSeconds: number;
41
+ }, {
42
+ readonly mode: 'value';
43
+ readonly value: string;
44
+ }, "authenticated", true, false, undefined>>;
45
+ can: builder.Method<builder.CallableProjection<{
46
+ policy: string;
47
+ object: string;
48
+ } | {
49
+ checks: {
50
+ policy: string;
51
+ object: string;
52
+ }[];
53
+ }, {
54
+ readonly mode: 'value';
55
+ readonly value: {
56
+ allowed: boolean;
57
+ } | {
58
+ decisions: {
59
+ allowed: boolean;
60
+ }[];
61
+ };
62
+ }, "authenticated", true, false, undefined>>;
63
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
64
+ readonly mode: 'value';
65
+ readonly value: {
66
+ id: string;
67
+ iss: string;
68
+ sub: string;
69
+ frozen: boolean;
70
+ requiredClaims: ({
71
+ claim: string;
72
+ op: "contains";
73
+ value: unknown;
74
+ } | {
75
+ claim: string;
76
+ op: "eq";
77
+ value: unknown;
78
+ } | {
79
+ claim: string;
80
+ op: "exists";
81
+ })[];
82
+ };
83
+ }, "authenticated", true, false, undefined>>;
84
+ whois: builder.Method<builder.CallableProjection<{
85
+ iss: string;
86
+ sub: string;
87
+ }, {
88
+ readonly mode: 'value';
89
+ readonly value: {
90
+ id: string;
91
+ iss: string;
92
+ sub: string;
93
+ frozen: boolean;
94
+ requiredClaims: ({
95
+ claim: string;
96
+ op: "contains";
97
+ value: unknown;
98
+ } | {
99
+ claim: string;
100
+ op: "eq";
101
+ value: unknown;
102
+ } | {
103
+ claim: string;
104
+ op: "exists";
105
+ })[];
106
+ } | null;
107
+ }, "authorized", true, false, undefined>>;
108
+ mint: builder.Method<builder.CallableProjection<{
109
+ audience?: string | undefined;
110
+ ttlSeconds: number;
111
+ }, {
112
+ readonly mode: 'value';
113
+ readonly value: string;
114
+ }, "authenticated", true, false, undefined>>;
115
+ impersonate: builder.Method<builder.CallableProjection<{
116
+ audience?: string | undefined;
117
+ ttlSeconds: number;
118
+ identity: string;
119
+ }, {
120
+ readonly mode: 'value';
121
+ readonly value: string;
122
+ }, "authorized", true, false, undefined>>;
133
123
  }>;
134
- }>];
135
- readonly properties: {
136
- readonly origin: {
137
- readonly type: "string";
138
- readonly pattern: "[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+";
139
- };
140
- readonly dependencyContext: builder.Property<{
141
- readonly type: "array";
142
- readonly items: {
143
- readonly type: "object";
144
- };
145
- }, {
146
- readonly visibility: "private";
147
- readonly required: false;
124
+ }, builder.AuthoredPropertyProjection<({
125
+ claim: string;
126
+ op: "contains";
127
+ value: unknown;
128
+ } | {
129
+ claim: string;
130
+ op: "eq";
131
+ value: unknown;
132
+ } | {
133
+ claim: string;
134
+ op: "exists";
135
+ })[], ({
136
+ claim: string;
137
+ op: "contains";
138
+ value: unknown;
139
+ } | {
140
+ claim: string;
141
+ op: "eq";
142
+ value: unknown;
143
+ } | {
144
+ claim: string;
145
+ op: "exists";
146
+ })[], false, "requiredClaims", builder.ClassOwnerProjection<"node", {
147
+ readonly abstract: true;
148
+ readonly depth: 1;
149
+ readonly properties: {
150
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
151
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
152
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
153
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
154
+ claim: string;
155
+ op: "contains";
156
+ value: unknown;
157
+ } | {
158
+ claim: string;
159
+ op: "eq";
160
+ value: unknown;
161
+ } | {
162
+ claim: string;
163
+ op: "exists";
164
+ })[], ({
165
+ claim: string;
166
+ op: "contains";
167
+ value: unknown;
168
+ } | {
169
+ claim: string;
170
+ op: "eq";
171
+ value: unknown;
172
+ } | {
173
+ claim: string;
174
+ op: "exists";
175
+ })[], false, "requiredClaims", "self", never>;
176
+ };
177
+ readonly methods: Readonly<{
178
+ delegate: builder.Method<builder.CallableProjection<{
179
+ principal: string;
180
+ audience: string;
181
+ ttlSeconds: number;
182
+ }, {
183
+ readonly mode: 'value';
184
+ readonly value: string;
185
+ }, "authenticated", true, false, undefined>>;
186
+ can: builder.Method<builder.CallableProjection<{
187
+ policy: string;
188
+ object: string;
189
+ } | {
190
+ checks: {
191
+ policy: string;
192
+ object: string;
193
+ }[];
194
+ }, {
195
+ readonly mode: 'value';
196
+ readonly value: {
197
+ allowed: boolean;
198
+ } | {
199
+ decisions: {
200
+ allowed: boolean;
201
+ }[];
202
+ };
203
+ }, "authenticated", true, false, undefined>>;
204
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
205
+ readonly mode: 'value';
206
+ readonly value: {
207
+ id: string;
208
+ iss: string;
209
+ sub: string;
210
+ frozen: boolean;
211
+ requiredClaims: ({
212
+ claim: string;
213
+ op: "contains";
214
+ value: unknown;
215
+ } | {
216
+ claim: string;
217
+ op: "eq";
218
+ value: unknown;
219
+ } | {
220
+ claim: string;
221
+ op: "exists";
222
+ })[];
223
+ };
224
+ }, "authenticated", true, false, undefined>>;
225
+ whois: builder.Method<builder.CallableProjection<{
226
+ iss: string;
227
+ sub: string;
228
+ }, {
229
+ readonly mode: 'value';
230
+ readonly value: {
231
+ id: string;
232
+ iss: string;
233
+ sub: string;
234
+ frozen: boolean;
235
+ requiredClaims: ({
236
+ claim: string;
237
+ op: "contains";
238
+ value: unknown;
239
+ } | {
240
+ claim: string;
241
+ op: "eq";
242
+ value: unknown;
243
+ } | {
244
+ claim: string;
245
+ op: "exists";
246
+ })[];
247
+ } | null;
248
+ }, "authorized", true, false, undefined>>;
249
+ mint: builder.Method<builder.CallableProjection<{
250
+ audience?: string | undefined;
251
+ ttlSeconds: number;
252
+ }, {
253
+ readonly mode: 'value';
254
+ readonly value: string;
255
+ }, "authenticated", true, false, undefined>>;
256
+ impersonate: builder.Method<builder.CallableProjection<{
257
+ audience?: string | undefined;
258
+ ttlSeconds: number;
259
+ identity: string;
260
+ }, {
261
+ readonly mode: 'value';
262
+ readonly value: string;
263
+ }, "authorized", true, false, undefined>>;
264
+ }>;
265
+ }, builder.AuthoredPropertyProjection<({
266
+ claim: string;
267
+ op: "contains";
268
+ value: unknown;
269
+ } | {
270
+ claim: string;
271
+ op: "eq";
272
+ value: unknown;
273
+ } | {
274
+ claim: string;
275
+ op: "exists";
276
+ })[], ({
277
+ claim: string;
278
+ op: "contains";
279
+ value: unknown;
280
+ } | {
281
+ claim: string;
282
+ op: "eq";
283
+ value: unknown;
284
+ } | {
285
+ claim: string;
286
+ op: "exists";
287
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
288
+ readonly mode: 'value';
289
+ readonly value: {
290
+ id: string;
291
+ iss: string;
292
+ sub: string;
293
+ frozen: boolean;
294
+ requiredClaims: ({
295
+ claim: string;
296
+ op: "contains";
297
+ value: unknown;
298
+ } | {
299
+ claim: string;
300
+ op: "eq";
301
+ value: unknown;
302
+ } | {
303
+ claim: string;
304
+ op: "exists";
305
+ })[];
306
+ };
307
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
308
+ principal: string;
309
+ audience: string;
310
+ ttlSeconds: number;
311
+ }, {
312
+ readonly mode: 'value';
313
+ readonly value: string;
314
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
315
+ audience?: string | undefined;
316
+ ttlSeconds: number;
317
+ identity: string;
318
+ }, {
319
+ readonly mode: 'value';
320
+ readonly value: string;
321
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
322
+ audience?: string | undefined;
323
+ ttlSeconds: number;
324
+ }, {
325
+ readonly mode: 'value';
326
+ readonly value: string;
327
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
328
+ iss: string;
329
+ sub: string;
330
+ }, {
331
+ readonly mode: 'value';
332
+ readonly value: {
333
+ id: string;
334
+ iss: string;
335
+ sub: string;
336
+ frozen: boolean;
337
+ requiredClaims: ({
338
+ claim: string;
339
+ op: "contains";
340
+ value: unknown;
341
+ } | {
342
+ claim: string;
343
+ op: "eq";
344
+ value: unknown;
345
+ } | {
346
+ claim: string;
347
+ op: "exists";
348
+ })[];
349
+ } | null;
350
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
351
+ policy: string;
352
+ object: string;
353
+ } | {
354
+ checks: {
355
+ policy: string;
356
+ object: string;
357
+ }[];
358
+ }, {
359
+ readonly mode: 'value';
360
+ readonly value: {
361
+ allowed: boolean;
362
+ } | {
363
+ decisions: {
364
+ allowed: boolean;
365
+ }[];
366
+ };
367
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
368
+ readonly abstract: true;
369
+ readonly depth: 1;
370
+ readonly properties: {
371
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
372
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
373
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
374
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
375
+ claim: string;
376
+ op: "contains";
377
+ value: unknown;
378
+ } | {
379
+ claim: string;
380
+ op: "eq";
381
+ value: unknown;
382
+ } | {
383
+ claim: string;
384
+ op: "exists";
385
+ })[], ({
386
+ claim: string;
387
+ op: "contains";
388
+ value: unknown;
389
+ } | {
390
+ claim: string;
391
+ op: "eq";
392
+ value: unknown;
393
+ } | {
394
+ claim: string;
395
+ op: "exists";
396
+ })[], false, "requiredClaims", "self", never>;
397
+ };
398
+ readonly methods: Readonly<{
399
+ delegate: builder.Method<builder.CallableProjection<{
400
+ principal: string;
401
+ audience: string;
402
+ ttlSeconds: number;
403
+ }, {
404
+ readonly mode: 'value';
405
+ readonly value: string;
406
+ }, "authenticated", true, false, undefined>>;
407
+ can: builder.Method<builder.CallableProjection<{
408
+ policy: string;
409
+ object: string;
410
+ } | {
411
+ checks: {
412
+ policy: string;
413
+ object: string;
414
+ }[];
415
+ }, {
416
+ readonly mode: 'value';
417
+ readonly value: {
418
+ allowed: boolean;
419
+ } | {
420
+ decisions: {
421
+ allowed: boolean;
422
+ }[];
423
+ };
424
+ }, "authenticated", true, false, undefined>>;
425
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
426
+ readonly mode: 'value';
427
+ readonly value: {
428
+ id: string;
429
+ iss: string;
430
+ sub: string;
431
+ frozen: boolean;
432
+ requiredClaims: ({
433
+ claim: string;
434
+ op: "contains";
435
+ value: unknown;
436
+ } | {
437
+ claim: string;
438
+ op: "eq";
439
+ value: unknown;
440
+ } | {
441
+ claim: string;
442
+ op: "exists";
443
+ })[];
444
+ };
445
+ }, "authenticated", true, false, undefined>>;
446
+ whois: builder.Method<builder.CallableProjection<{
447
+ iss: string;
448
+ sub: string;
449
+ }, {
450
+ readonly mode: 'value';
451
+ readonly value: {
452
+ id: string;
453
+ iss: string;
454
+ sub: string;
455
+ frozen: boolean;
456
+ requiredClaims: ({
457
+ claim: string;
458
+ op: "contains";
459
+ value: unknown;
460
+ } | {
461
+ claim: string;
462
+ op: "eq";
463
+ value: unknown;
464
+ } | {
465
+ claim: string;
466
+ op: "exists";
467
+ })[];
468
+ } | null;
469
+ }, "authorized", true, false, undefined>>;
470
+ mint: builder.Method<builder.CallableProjection<{
471
+ audience?: string | undefined;
472
+ ttlSeconds: number;
473
+ }, {
474
+ readonly mode: 'value';
475
+ readonly value: string;
476
+ }, "authenticated", true, false, undefined>>;
477
+ impersonate: builder.Method<builder.CallableProjection<{
478
+ audience?: string | undefined;
479
+ ttlSeconds: number;
480
+ identity: string;
481
+ }, {
482
+ readonly mode: 'value';
483
+ readonly value: string;
484
+ }, "authorized", true, false, undefined>>;
485
+ }>;
486
+ }, builder.AuthoredPropertyProjection<({
487
+ claim: string;
488
+ op: "contains";
489
+ value: unknown;
490
+ } | {
491
+ claim: string;
492
+ op: "eq";
493
+ value: unknown;
494
+ } | {
495
+ claim: string;
496
+ op: "exists";
497
+ })[], ({
498
+ claim: string;
499
+ op: "contains";
500
+ value: unknown;
501
+ } | {
502
+ claim: string;
503
+ op: "eq";
504
+ value: unknown;
505
+ } | {
506
+ claim: string;
507
+ op: "exists";
508
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
509
+ readonly mode: 'value';
510
+ readonly value: {
511
+ id: string;
512
+ iss: string;
513
+ sub: string;
514
+ frozen: boolean;
515
+ requiredClaims: ({
516
+ claim: string;
517
+ op: "contains";
518
+ value: unknown;
519
+ } | {
520
+ claim: string;
521
+ op: "eq";
522
+ value: unknown;
523
+ } | {
524
+ claim: string;
525
+ op: "exists";
526
+ })[];
527
+ };
528
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
529
+ principal: string;
530
+ audience: string;
531
+ ttlSeconds: number;
532
+ }, {
533
+ readonly mode: 'value';
534
+ readonly value: string;
535
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
536
+ audience?: string | undefined;
537
+ ttlSeconds: number;
538
+ identity: string;
539
+ }, {
540
+ readonly mode: 'value';
541
+ readonly value: string;
542
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
543
+ audience?: string | undefined;
544
+ ttlSeconds: number;
545
+ }, {
546
+ readonly mode: 'value';
547
+ readonly value: string;
548
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
549
+ iss: string;
550
+ sub: string;
551
+ }, {
552
+ readonly mode: 'value';
553
+ readonly value: {
554
+ id: string;
555
+ iss: string;
556
+ sub: string;
557
+ frozen: boolean;
558
+ requiredClaims: ({
559
+ claim: string;
560
+ op: "contains";
561
+ value: unknown;
562
+ } | {
563
+ claim: string;
564
+ op: "eq";
565
+ value: unknown;
566
+ } | {
567
+ claim: string;
568
+ op: "exists";
569
+ })[];
570
+ } | null;
571
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
572
+ policy: string;
573
+ object: string;
574
+ } | {
575
+ checks: {
576
+ policy: string;
577
+ object: string;
578
+ }[];
579
+ }, {
580
+ readonly mode: 'value';
581
+ readonly value: {
582
+ allowed: boolean;
583
+ } | {
584
+ decisions: {
585
+ allowed: boolean;
586
+ }[];
587
+ };
588
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
589
+ readonly abstract: true;
590
+ readonly depth: 1;
591
+ readonly properties: {
592
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
593
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
594
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
595
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
596
+ claim: string;
597
+ op: "contains";
598
+ value: unknown;
599
+ } | {
600
+ claim: string;
601
+ op: "eq";
602
+ value: unknown;
603
+ } | {
604
+ claim: string;
605
+ op: "exists";
606
+ })[], ({
607
+ claim: string;
608
+ op: "contains";
609
+ value: unknown;
610
+ } | {
611
+ claim: string;
612
+ op: "eq";
613
+ value: unknown;
614
+ } | {
615
+ claim: string;
616
+ op: "exists";
617
+ })[], false, "requiredClaims", "self", never>;
618
+ };
619
+ readonly methods: Readonly<{
620
+ delegate: builder.Method<builder.CallableProjection<{
621
+ principal: string;
622
+ audience: string;
623
+ ttlSeconds: number;
624
+ }, {
625
+ readonly mode: 'value';
626
+ readonly value: string;
627
+ }, "authenticated", true, false, undefined>>;
628
+ can: builder.Method<builder.CallableProjection<{
629
+ policy: string;
630
+ object: string;
631
+ } | {
632
+ checks: {
633
+ policy: string;
634
+ object: string;
635
+ }[];
636
+ }, {
637
+ readonly mode: 'value';
638
+ readonly value: {
639
+ allowed: boolean;
640
+ } | {
641
+ decisions: {
642
+ allowed: boolean;
643
+ }[];
644
+ };
645
+ }, "authenticated", true, false, undefined>>;
646
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
647
+ readonly mode: 'value';
648
+ readonly value: {
649
+ id: string;
650
+ iss: string;
651
+ sub: string;
652
+ frozen: boolean;
653
+ requiredClaims: ({
654
+ claim: string;
655
+ op: "contains";
656
+ value: unknown;
657
+ } | {
658
+ claim: string;
659
+ op: "eq";
660
+ value: unknown;
661
+ } | {
662
+ claim: string;
663
+ op: "exists";
664
+ })[];
665
+ };
666
+ }, "authenticated", true, false, undefined>>;
667
+ whois: builder.Method<builder.CallableProjection<{
668
+ iss: string;
669
+ sub: string;
670
+ }, {
671
+ readonly mode: 'value';
672
+ readonly value: {
673
+ id: string;
674
+ iss: string;
675
+ sub: string;
676
+ frozen: boolean;
677
+ requiredClaims: ({
678
+ claim: string;
679
+ op: "contains";
680
+ value: unknown;
681
+ } | {
682
+ claim: string;
683
+ op: "eq";
684
+ value: unknown;
685
+ } | {
686
+ claim: string;
687
+ op: "exists";
688
+ })[];
689
+ } | null;
690
+ }, "authorized", true, false, undefined>>;
691
+ mint: builder.Method<builder.CallableProjection<{
692
+ audience?: string | undefined;
693
+ ttlSeconds: number;
694
+ }, {
695
+ readonly mode: 'value';
696
+ readonly value: string;
697
+ }, "authenticated", true, false, undefined>>;
698
+ impersonate: builder.Method<builder.CallableProjection<{
699
+ audience?: string | undefined;
700
+ ttlSeconds: number;
701
+ identity: string;
702
+ }, {
703
+ readonly mode: 'value';
704
+ readonly value: string;
705
+ }, "authorized", true, false, undefined>>;
706
+ }>;
707
+ }, builder.AuthoredPropertyProjection<({
708
+ claim: string;
709
+ op: "contains";
710
+ value: unknown;
711
+ } | {
712
+ claim: string;
713
+ op: "eq";
714
+ value: unknown;
715
+ } | {
716
+ claim: string;
717
+ op: "exists";
718
+ })[], ({
719
+ claim: string;
720
+ op: "contains";
721
+ value: unknown;
722
+ } | {
723
+ claim: string;
724
+ op: "eq";
725
+ value: unknown;
726
+ } | {
727
+ claim: string;
728
+ op: "exists";
729
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
730
+ readonly mode: 'value';
731
+ readonly value: {
732
+ id: string;
733
+ iss: string;
734
+ sub: string;
735
+ frozen: boolean;
736
+ requiredClaims: ({
737
+ claim: string;
738
+ op: "contains";
739
+ value: unknown;
740
+ } | {
741
+ claim: string;
742
+ op: "eq";
743
+ value: unknown;
744
+ } | {
745
+ claim: string;
746
+ op: "exists";
747
+ })[];
748
+ };
749
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
750
+ principal: string;
751
+ audience: string;
752
+ ttlSeconds: number;
753
+ }, {
754
+ readonly mode: 'value';
755
+ readonly value: string;
756
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
757
+ audience?: string | undefined;
758
+ ttlSeconds: number;
759
+ identity: string;
760
+ }, {
761
+ readonly mode: 'value';
762
+ readonly value: string;
763
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
764
+ audience?: string | undefined;
765
+ ttlSeconds: number;
766
+ }, {
767
+ readonly mode: 'value';
768
+ readonly value: string;
769
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
770
+ iss: string;
771
+ sub: string;
772
+ }, {
773
+ readonly mode: 'value';
774
+ readonly value: {
775
+ id: string;
776
+ iss: string;
777
+ sub: string;
778
+ frozen: boolean;
779
+ requiredClaims: ({
780
+ claim: string;
781
+ op: "contains";
782
+ value: unknown;
783
+ } | {
784
+ claim: string;
785
+ op: "eq";
786
+ value: unknown;
787
+ } | {
788
+ claim: string;
789
+ op: "exists";
790
+ })[];
791
+ } | null;
792
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
793
+ policy: string;
794
+ object: string;
795
+ } | {
796
+ checks: {
797
+ policy: string;
798
+ object: string;
799
+ }[];
800
+ }, {
801
+ readonly mode: 'value';
802
+ readonly value: {
803
+ allowed: boolean;
804
+ } | {
805
+ decisions: {
806
+ allowed: boolean;
807
+ }[];
808
+ };
809
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
810
+ readonly abstract: true;
811
+ readonly depth: 1;
812
+ readonly properties: {
813
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
814
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
815
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
816
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
817
+ claim: string;
818
+ op: "contains";
819
+ value: unknown;
820
+ } | {
821
+ claim: string;
822
+ op: "eq";
823
+ value: unknown;
824
+ } | {
825
+ claim: string;
826
+ op: "exists";
827
+ })[], ({
828
+ claim: string;
829
+ op: "contains";
830
+ value: unknown;
831
+ } | {
832
+ claim: string;
833
+ op: "eq";
834
+ value: unknown;
835
+ } | {
836
+ claim: string;
837
+ op: "exists";
838
+ })[], false, "requiredClaims", "self", never>;
839
+ };
840
+ readonly methods: Readonly<{
841
+ delegate: builder.Method<builder.CallableProjection<{
842
+ principal: string;
843
+ audience: string;
844
+ ttlSeconds: number;
845
+ }, {
846
+ readonly mode: 'value';
847
+ readonly value: string;
848
+ }, "authenticated", true, false, undefined>>;
849
+ can: builder.Method<builder.CallableProjection<{
850
+ policy: string;
851
+ object: string;
852
+ } | {
853
+ checks: {
854
+ policy: string;
855
+ object: string;
856
+ }[];
857
+ }, {
858
+ readonly mode: 'value';
859
+ readonly value: {
860
+ allowed: boolean;
861
+ } | {
862
+ decisions: {
863
+ allowed: boolean;
864
+ }[];
865
+ };
866
+ }, "authenticated", true, false, undefined>>;
867
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
868
+ readonly mode: 'value';
869
+ readonly value: {
870
+ id: string;
871
+ iss: string;
872
+ sub: string;
873
+ frozen: boolean;
874
+ requiredClaims: ({
875
+ claim: string;
876
+ op: "contains";
877
+ value: unknown;
878
+ } | {
879
+ claim: string;
880
+ op: "eq";
881
+ value: unknown;
882
+ } | {
883
+ claim: string;
884
+ op: "exists";
885
+ })[];
886
+ };
887
+ }, "authenticated", true, false, undefined>>;
888
+ whois: builder.Method<builder.CallableProjection<{
889
+ iss: string;
890
+ sub: string;
891
+ }, {
892
+ readonly mode: 'value';
893
+ readonly value: {
894
+ id: string;
895
+ iss: string;
896
+ sub: string;
897
+ frozen: boolean;
898
+ requiredClaims: ({
899
+ claim: string;
900
+ op: "contains";
901
+ value: unknown;
902
+ } | {
903
+ claim: string;
904
+ op: "eq";
905
+ value: unknown;
906
+ } | {
907
+ claim: string;
908
+ op: "exists";
909
+ })[];
910
+ } | null;
911
+ }, "authorized", true, false, undefined>>;
912
+ mint: builder.Method<builder.CallableProjection<{
913
+ audience?: string | undefined;
914
+ ttlSeconds: number;
915
+ }, {
916
+ readonly mode: 'value';
917
+ readonly value: string;
918
+ }, "authenticated", true, false, undefined>>;
919
+ impersonate: builder.Method<builder.CallableProjection<{
920
+ audience?: string | undefined;
921
+ ttlSeconds: number;
922
+ identity: string;
923
+ }, {
924
+ readonly mode: 'value';
925
+ readonly value: string;
926
+ }, "authorized", true, false, undefined>>;
927
+ }>;
928
+ }, builder.AuthoredPropertyProjection<({
929
+ claim: string;
930
+ op: "contains";
931
+ value: unknown;
932
+ } | {
933
+ claim: string;
934
+ op: "eq";
935
+ value: unknown;
936
+ } | {
937
+ claim: string;
938
+ op: "exists";
939
+ })[], ({
940
+ claim: string;
941
+ op: "contains";
942
+ value: unknown;
943
+ } | {
944
+ claim: string;
945
+ op: "eq";
946
+ value: unknown;
947
+ } | {
948
+ claim: string;
949
+ op: "exists";
950
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
951
+ readonly mode: 'value';
952
+ readonly value: {
953
+ id: string;
954
+ iss: string;
955
+ sub: string;
956
+ frozen: boolean;
957
+ requiredClaims: ({
958
+ claim: string;
959
+ op: "contains";
960
+ value: unknown;
961
+ } | {
962
+ claim: string;
963
+ op: "eq";
964
+ value: unknown;
965
+ } | {
966
+ claim: string;
967
+ op: "exists";
968
+ })[];
969
+ };
970
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
971
+ principal: string;
972
+ audience: string;
973
+ ttlSeconds: number;
974
+ }, {
975
+ readonly mode: 'value';
976
+ readonly value: string;
977
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
978
+ audience?: string | undefined;
979
+ ttlSeconds: number;
980
+ identity: string;
981
+ }, {
982
+ readonly mode: 'value';
983
+ readonly value: string;
984
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
985
+ audience?: string | undefined;
986
+ ttlSeconds: number;
987
+ }, {
988
+ readonly mode: 'value';
989
+ readonly value: string;
990
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
991
+ iss: string;
992
+ sub: string;
993
+ }, {
994
+ readonly mode: 'value';
995
+ readonly value: {
996
+ id: string;
997
+ iss: string;
998
+ sub: string;
999
+ frozen: boolean;
1000
+ requiredClaims: ({
1001
+ claim: string;
1002
+ op: "contains";
1003
+ value: unknown;
1004
+ } | {
1005
+ claim: string;
1006
+ op: "eq";
1007
+ value: unknown;
1008
+ } | {
1009
+ claim: string;
1010
+ op: "exists";
1011
+ })[];
1012
+ } | null;
1013
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1014
+ policy: string;
1015
+ object: string;
1016
+ } | {
1017
+ checks: {
1018
+ policy: string;
1019
+ object: string;
1020
+ }[];
1021
+ }, {
1022
+ readonly mode: 'value';
1023
+ readonly value: {
1024
+ allowed: boolean;
1025
+ } | {
1026
+ decisions: {
1027
+ allowed: boolean;
1028
+ }[];
1029
+ };
1030
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1031
+ readonly mode: 'value';
1032
+ readonly value: {
1033
+ id: string;
1034
+ iss: string;
1035
+ sub: string;
1036
+ frozen: boolean;
1037
+ requiredClaims: ({
1038
+ claim: string;
1039
+ op: "contains";
1040
+ value: unknown;
1041
+ } | {
1042
+ claim: string;
1043
+ op: "eq";
1044
+ value: unknown;
1045
+ } | {
1046
+ claim: string;
1047
+ op: "exists";
1048
+ })[];
1049
+ };
1050
+ }, "authenticated", true, false, undefined>>, "whoami", builder.ClassOwnerProjection<"node", {
1051
+ readonly abstract: true;
1052
+ readonly depth: 1;
1053
+ readonly properties: {
1054
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1055
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1056
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1057
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1058
+ claim: string;
1059
+ op: "contains";
1060
+ value: unknown;
1061
+ } | {
1062
+ claim: string;
1063
+ op: "eq";
1064
+ value: unknown;
1065
+ } | {
1066
+ claim: string;
1067
+ op: "exists";
1068
+ })[], ({
1069
+ claim: string;
1070
+ op: "contains";
1071
+ value: unknown;
1072
+ } | {
1073
+ claim: string;
1074
+ op: "eq";
1075
+ value: unknown;
1076
+ } | {
1077
+ claim: string;
1078
+ op: "exists";
1079
+ })[], false, "requiredClaims", "self", never>;
1080
+ };
1081
+ readonly methods: Readonly<{
1082
+ delegate: builder.Method<builder.CallableProjection<{
1083
+ principal: string;
1084
+ audience: string;
1085
+ ttlSeconds: number;
1086
+ }, {
1087
+ readonly mode: 'value';
1088
+ readonly value: string;
1089
+ }, "authenticated", true, false, undefined>>;
1090
+ can: builder.Method<builder.CallableProjection<{
1091
+ policy: string;
1092
+ object: string;
1093
+ } | {
1094
+ checks: {
1095
+ policy: string;
1096
+ object: string;
1097
+ }[];
1098
+ }, {
1099
+ readonly mode: 'value';
1100
+ readonly value: {
1101
+ allowed: boolean;
1102
+ } | {
1103
+ decisions: {
1104
+ allowed: boolean;
1105
+ }[];
1106
+ };
1107
+ }, "authenticated", true, false, undefined>>;
1108
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1109
+ readonly mode: 'value';
1110
+ readonly value: {
1111
+ id: string;
1112
+ iss: string;
1113
+ sub: string;
1114
+ frozen: boolean;
1115
+ requiredClaims: ({
1116
+ claim: string;
1117
+ op: "contains";
1118
+ value: unknown;
1119
+ } | {
1120
+ claim: string;
1121
+ op: "eq";
1122
+ value: unknown;
1123
+ } | {
1124
+ claim: string;
1125
+ op: "exists";
1126
+ })[];
1127
+ };
1128
+ }, "authenticated", true, false, undefined>>;
1129
+ whois: builder.Method<builder.CallableProjection<{
1130
+ iss: string;
1131
+ sub: string;
1132
+ }, {
1133
+ readonly mode: 'value';
1134
+ readonly value: {
1135
+ id: string;
1136
+ iss: string;
1137
+ sub: string;
1138
+ frozen: boolean;
1139
+ requiredClaims: ({
1140
+ claim: string;
1141
+ op: "contains";
1142
+ value: unknown;
1143
+ } | {
1144
+ claim: string;
1145
+ op: "eq";
1146
+ value: unknown;
1147
+ } | {
1148
+ claim: string;
1149
+ op: "exists";
1150
+ })[];
1151
+ } | null;
1152
+ }, "authorized", true, false, undefined>>;
1153
+ mint: builder.Method<builder.CallableProjection<{
1154
+ audience?: string | undefined;
1155
+ ttlSeconds: number;
1156
+ }, {
1157
+ readonly mode: 'value';
1158
+ readonly value: string;
1159
+ }, "authenticated", true, false, undefined>>;
1160
+ impersonate: builder.Method<builder.CallableProjection<{
1161
+ audience?: string | undefined;
1162
+ ttlSeconds: number;
1163
+ identity: string;
1164
+ }, {
1165
+ readonly mode: 'value';
1166
+ readonly value: string;
1167
+ }, "authorized", true, false, undefined>>;
1168
+ }>;
1169
+ }, builder.AuthoredPropertyProjection<({
1170
+ claim: string;
1171
+ op: "contains";
1172
+ value: unknown;
1173
+ } | {
1174
+ claim: string;
1175
+ op: "eq";
1176
+ value: unknown;
1177
+ } | {
1178
+ claim: string;
1179
+ op: "exists";
1180
+ })[], ({
1181
+ claim: string;
1182
+ op: "contains";
1183
+ value: unknown;
1184
+ } | {
1185
+ claim: string;
1186
+ op: "eq";
1187
+ value: unknown;
1188
+ } | {
1189
+ claim: string;
1190
+ op: "exists";
1191
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1192
+ readonly mode: 'value';
1193
+ readonly value: {
1194
+ id: string;
1195
+ iss: string;
1196
+ sub: string;
1197
+ frozen: boolean;
1198
+ requiredClaims: ({
1199
+ claim: string;
1200
+ op: "contains";
1201
+ value: unknown;
1202
+ } | {
1203
+ claim: string;
1204
+ op: "eq";
1205
+ value: unknown;
1206
+ } | {
1207
+ claim: string;
1208
+ op: "exists";
1209
+ })[];
1210
+ };
1211
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1212
+ principal: string;
1213
+ audience: string;
1214
+ ttlSeconds: number;
1215
+ }, {
1216
+ readonly mode: 'value';
1217
+ readonly value: string;
1218
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1219
+ audience?: string | undefined;
1220
+ ttlSeconds: number;
1221
+ identity: string;
1222
+ }, {
1223
+ readonly mode: 'value';
1224
+ readonly value: string;
1225
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1226
+ audience?: string | undefined;
1227
+ ttlSeconds: number;
1228
+ }, {
1229
+ readonly mode: 'value';
1230
+ readonly value: string;
1231
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1232
+ iss: string;
1233
+ sub: string;
1234
+ }, {
1235
+ readonly mode: 'value';
1236
+ readonly value: {
1237
+ id: string;
1238
+ iss: string;
1239
+ sub: string;
1240
+ frozen: boolean;
1241
+ requiredClaims: ({
1242
+ claim: string;
1243
+ op: "contains";
1244
+ value: unknown;
1245
+ } | {
1246
+ claim: string;
1247
+ op: "eq";
1248
+ value: unknown;
1249
+ } | {
1250
+ claim: string;
1251
+ op: "exists";
1252
+ })[];
1253
+ } | null;
1254
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1255
+ policy: string;
1256
+ object: string;
1257
+ } | {
1258
+ checks: {
1259
+ policy: string;
1260
+ object: string;
1261
+ }[];
1262
+ }, {
1263
+ readonly mode: 'value';
1264
+ readonly value: {
1265
+ allowed: boolean;
1266
+ } | {
1267
+ decisions: {
1268
+ allowed: boolean;
1269
+ }[];
1270
+ };
1271
+ }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1272
+ principal: string;
1273
+ audience: string;
1274
+ ttlSeconds: number;
1275
+ }, {
1276
+ readonly mode: 'value';
1277
+ readonly value: string;
1278
+ }, "authenticated", true, false, undefined>>, "delegate", builder.ClassOwnerProjection<"node", {
1279
+ readonly abstract: true;
1280
+ readonly depth: 1;
1281
+ readonly properties: {
1282
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1283
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1284
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1285
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1286
+ claim: string;
1287
+ op: "contains";
1288
+ value: unknown;
1289
+ } | {
1290
+ claim: string;
1291
+ op: "eq";
1292
+ value: unknown;
1293
+ } | {
1294
+ claim: string;
1295
+ op: "exists";
1296
+ })[], ({
1297
+ claim: string;
1298
+ op: "contains";
1299
+ value: unknown;
1300
+ } | {
1301
+ claim: string;
1302
+ op: "eq";
1303
+ value: unknown;
1304
+ } | {
1305
+ claim: string;
1306
+ op: "exists";
1307
+ })[], false, "requiredClaims", "self", never>;
1308
+ };
1309
+ readonly methods: Readonly<{
1310
+ delegate: builder.Method<builder.CallableProjection<{
1311
+ principal: string;
1312
+ audience: string;
1313
+ ttlSeconds: number;
1314
+ }, {
1315
+ readonly mode: 'value';
1316
+ readonly value: string;
1317
+ }, "authenticated", true, false, undefined>>;
1318
+ can: builder.Method<builder.CallableProjection<{
1319
+ policy: string;
1320
+ object: string;
1321
+ } | {
1322
+ checks: {
1323
+ policy: string;
1324
+ object: string;
1325
+ }[];
1326
+ }, {
1327
+ readonly mode: 'value';
1328
+ readonly value: {
1329
+ allowed: boolean;
1330
+ } | {
1331
+ decisions: {
1332
+ allowed: boolean;
1333
+ }[];
1334
+ };
1335
+ }, "authenticated", true, false, undefined>>;
1336
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1337
+ readonly mode: 'value';
1338
+ readonly value: {
1339
+ id: string;
1340
+ iss: string;
1341
+ sub: string;
1342
+ frozen: boolean;
1343
+ requiredClaims: ({
1344
+ claim: string;
1345
+ op: "contains";
1346
+ value: unknown;
1347
+ } | {
1348
+ claim: string;
1349
+ op: "eq";
1350
+ value: unknown;
1351
+ } | {
1352
+ claim: string;
1353
+ op: "exists";
1354
+ })[];
1355
+ };
1356
+ }, "authenticated", true, false, undefined>>;
1357
+ whois: builder.Method<builder.CallableProjection<{
1358
+ iss: string;
1359
+ sub: string;
1360
+ }, {
1361
+ readonly mode: 'value';
1362
+ readonly value: {
1363
+ id: string;
1364
+ iss: string;
1365
+ sub: string;
1366
+ frozen: boolean;
1367
+ requiredClaims: ({
1368
+ claim: string;
1369
+ op: "contains";
1370
+ value: unknown;
1371
+ } | {
1372
+ claim: string;
1373
+ op: "eq";
1374
+ value: unknown;
1375
+ } | {
1376
+ claim: string;
1377
+ op: "exists";
1378
+ })[];
1379
+ } | null;
1380
+ }, "authorized", true, false, undefined>>;
1381
+ mint: builder.Method<builder.CallableProjection<{
1382
+ audience?: string | undefined;
1383
+ ttlSeconds: number;
1384
+ }, {
1385
+ readonly mode: 'value';
1386
+ readonly value: string;
1387
+ }, "authenticated", true, false, undefined>>;
1388
+ impersonate: builder.Method<builder.CallableProjection<{
1389
+ audience?: string | undefined;
1390
+ ttlSeconds: number;
1391
+ identity: string;
1392
+ }, {
1393
+ readonly mode: 'value';
1394
+ readonly value: string;
1395
+ }, "authorized", true, false, undefined>>;
1396
+ }>;
1397
+ }, builder.AuthoredPropertyProjection<({
1398
+ claim: string;
1399
+ op: "contains";
1400
+ value: unknown;
1401
+ } | {
1402
+ claim: string;
1403
+ op: "eq";
1404
+ value: unknown;
1405
+ } | {
1406
+ claim: string;
1407
+ op: "exists";
1408
+ })[], ({
1409
+ claim: string;
1410
+ op: "contains";
1411
+ value: unknown;
1412
+ } | {
1413
+ claim: string;
1414
+ op: "eq";
1415
+ value: unknown;
1416
+ } | {
1417
+ claim: string;
1418
+ op: "exists";
1419
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1420
+ readonly mode: 'value';
1421
+ readonly value: {
1422
+ id: string;
1423
+ iss: string;
1424
+ sub: string;
1425
+ frozen: boolean;
1426
+ requiredClaims: ({
1427
+ claim: string;
1428
+ op: "contains";
1429
+ value: unknown;
1430
+ } | {
1431
+ claim: string;
1432
+ op: "eq";
1433
+ value: unknown;
1434
+ } | {
1435
+ claim: string;
1436
+ op: "exists";
1437
+ })[];
1438
+ };
1439
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1440
+ principal: string;
1441
+ audience: string;
1442
+ ttlSeconds: number;
1443
+ }, {
1444
+ readonly mode: 'value';
1445
+ readonly value: string;
1446
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1447
+ audience?: string | undefined;
1448
+ ttlSeconds: number;
1449
+ identity: string;
1450
+ }, {
1451
+ readonly mode: 'value';
1452
+ readonly value: string;
1453
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1454
+ audience?: string | undefined;
1455
+ ttlSeconds: number;
1456
+ }, {
1457
+ readonly mode: 'value';
1458
+ readonly value: string;
1459
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1460
+ iss: string;
1461
+ sub: string;
1462
+ }, {
1463
+ readonly mode: 'value';
1464
+ readonly value: {
1465
+ id: string;
1466
+ iss: string;
1467
+ sub: string;
1468
+ frozen: boolean;
1469
+ requiredClaims: ({
1470
+ claim: string;
1471
+ op: "contains";
1472
+ value: unknown;
1473
+ } | {
1474
+ claim: string;
1475
+ op: "eq";
1476
+ value: unknown;
1477
+ } | {
1478
+ claim: string;
1479
+ op: "exists";
1480
+ })[];
1481
+ } | null;
1482
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1483
+ policy: string;
1484
+ object: string;
1485
+ } | {
1486
+ checks: {
1487
+ policy: string;
1488
+ object: string;
1489
+ }[];
1490
+ }, {
1491
+ readonly mode: 'value';
1492
+ readonly value: {
1493
+ allowed: boolean;
1494
+ } | {
1495
+ decisions: {
1496
+ allowed: boolean;
1497
+ }[];
1498
+ };
1499
+ }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1500
+ audience?: string | undefined;
1501
+ ttlSeconds: number;
1502
+ identity: string;
1503
+ }, {
1504
+ readonly mode: 'value';
1505
+ readonly value: string;
1506
+ }, "authorized", true, false, undefined>>, "impersonate", builder.ClassOwnerProjection<"node", {
1507
+ readonly abstract: true;
1508
+ readonly depth: 1;
1509
+ readonly properties: {
1510
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1511
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1512
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1513
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1514
+ claim: string;
1515
+ op: "contains";
1516
+ value: unknown;
1517
+ } | {
1518
+ claim: string;
1519
+ op: "eq";
1520
+ value: unknown;
1521
+ } | {
1522
+ claim: string;
1523
+ op: "exists";
1524
+ })[], ({
1525
+ claim: string;
1526
+ op: "contains";
1527
+ value: unknown;
1528
+ } | {
1529
+ claim: string;
1530
+ op: "eq";
1531
+ value: unknown;
1532
+ } | {
1533
+ claim: string;
1534
+ op: "exists";
1535
+ })[], false, "requiredClaims", "self", never>;
1536
+ };
1537
+ readonly methods: Readonly<{
1538
+ delegate: builder.Method<builder.CallableProjection<{
1539
+ principal: string;
1540
+ audience: string;
1541
+ ttlSeconds: number;
1542
+ }, {
1543
+ readonly mode: 'value';
1544
+ readonly value: string;
1545
+ }, "authenticated", true, false, undefined>>;
1546
+ can: builder.Method<builder.CallableProjection<{
1547
+ policy: string;
1548
+ object: string;
1549
+ } | {
1550
+ checks: {
1551
+ policy: string;
1552
+ object: string;
1553
+ }[];
1554
+ }, {
1555
+ readonly mode: 'value';
1556
+ readonly value: {
1557
+ allowed: boolean;
1558
+ } | {
1559
+ decisions: {
1560
+ allowed: boolean;
1561
+ }[];
1562
+ };
1563
+ }, "authenticated", true, false, undefined>>;
1564
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1565
+ readonly mode: 'value';
1566
+ readonly value: {
1567
+ id: string;
1568
+ iss: string;
1569
+ sub: string;
1570
+ frozen: boolean;
1571
+ requiredClaims: ({
1572
+ claim: string;
1573
+ op: "contains";
1574
+ value: unknown;
1575
+ } | {
1576
+ claim: string;
1577
+ op: "eq";
1578
+ value: unknown;
1579
+ } | {
1580
+ claim: string;
1581
+ op: "exists";
1582
+ })[];
1583
+ };
1584
+ }, "authenticated", true, false, undefined>>;
1585
+ whois: builder.Method<builder.CallableProjection<{
1586
+ iss: string;
1587
+ sub: string;
1588
+ }, {
1589
+ readonly mode: 'value';
1590
+ readonly value: {
1591
+ id: string;
1592
+ iss: string;
1593
+ sub: string;
1594
+ frozen: boolean;
1595
+ requiredClaims: ({
1596
+ claim: string;
1597
+ op: "contains";
1598
+ value: unknown;
1599
+ } | {
1600
+ claim: string;
1601
+ op: "eq";
1602
+ value: unknown;
1603
+ } | {
1604
+ claim: string;
1605
+ op: "exists";
1606
+ })[];
1607
+ } | null;
1608
+ }, "authorized", true, false, undefined>>;
1609
+ mint: builder.Method<builder.CallableProjection<{
1610
+ audience?: string | undefined;
1611
+ ttlSeconds: number;
1612
+ }, {
1613
+ readonly mode: 'value';
1614
+ readonly value: string;
1615
+ }, "authenticated", true, false, undefined>>;
1616
+ impersonate: builder.Method<builder.CallableProjection<{
1617
+ audience?: string | undefined;
1618
+ ttlSeconds: number;
1619
+ identity: string;
1620
+ }, {
1621
+ readonly mode: 'value';
1622
+ readonly value: string;
1623
+ }, "authorized", true, false, undefined>>;
1624
+ }>;
1625
+ }, builder.AuthoredPropertyProjection<({
1626
+ claim: string;
1627
+ op: "contains";
1628
+ value: unknown;
1629
+ } | {
1630
+ claim: string;
1631
+ op: "eq";
1632
+ value: unknown;
1633
+ } | {
1634
+ claim: string;
1635
+ op: "exists";
1636
+ })[], ({
1637
+ claim: string;
1638
+ op: "contains";
1639
+ value: unknown;
1640
+ } | {
1641
+ claim: string;
1642
+ op: "eq";
1643
+ value: unknown;
1644
+ } | {
1645
+ claim: string;
1646
+ op: "exists";
1647
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1648
+ readonly mode: 'value';
1649
+ readonly value: {
1650
+ id: string;
1651
+ iss: string;
1652
+ sub: string;
1653
+ frozen: boolean;
1654
+ requiredClaims: ({
1655
+ claim: string;
1656
+ op: "contains";
1657
+ value: unknown;
1658
+ } | {
1659
+ claim: string;
1660
+ op: "eq";
1661
+ value: unknown;
1662
+ } | {
1663
+ claim: string;
1664
+ op: "exists";
1665
+ })[];
1666
+ };
1667
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1668
+ principal: string;
1669
+ audience: string;
1670
+ ttlSeconds: number;
1671
+ }, {
1672
+ readonly mode: 'value';
1673
+ readonly value: string;
1674
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1675
+ audience?: string | undefined;
1676
+ ttlSeconds: number;
1677
+ identity: string;
1678
+ }, {
1679
+ readonly mode: 'value';
1680
+ readonly value: string;
1681
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1682
+ audience?: string | undefined;
1683
+ ttlSeconds: number;
1684
+ }, {
1685
+ readonly mode: 'value';
1686
+ readonly value: string;
1687
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1688
+ iss: string;
1689
+ sub: string;
1690
+ }, {
1691
+ readonly mode: 'value';
1692
+ readonly value: {
1693
+ id: string;
1694
+ iss: string;
1695
+ sub: string;
1696
+ frozen: boolean;
1697
+ requiredClaims: ({
1698
+ claim: string;
1699
+ op: "contains";
1700
+ value: unknown;
1701
+ } | {
1702
+ claim: string;
1703
+ op: "eq";
1704
+ value: unknown;
1705
+ } | {
1706
+ claim: string;
1707
+ op: "exists";
1708
+ })[];
1709
+ } | null;
1710
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1711
+ policy: string;
1712
+ object: string;
1713
+ } | {
1714
+ checks: {
1715
+ policy: string;
1716
+ object: string;
1717
+ }[];
1718
+ }, {
1719
+ readonly mode: 'value';
1720
+ readonly value: {
1721
+ allowed: boolean;
1722
+ } | {
1723
+ decisions: {
1724
+ allowed: boolean;
1725
+ }[];
1726
+ };
1727
+ }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1728
+ audience?: string | undefined;
1729
+ ttlSeconds: number;
1730
+ }, {
1731
+ readonly mode: 'value';
1732
+ readonly value: string;
1733
+ }, "authenticated", true, false, undefined>>, "mint", builder.ClassOwnerProjection<"node", {
1734
+ readonly abstract: true;
1735
+ readonly depth: 1;
1736
+ readonly properties: {
1737
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1738
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1739
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1740
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1741
+ claim: string;
1742
+ op: "contains";
1743
+ value: unknown;
1744
+ } | {
1745
+ claim: string;
1746
+ op: "eq";
1747
+ value: unknown;
1748
+ } | {
1749
+ claim: string;
1750
+ op: "exists";
1751
+ })[], ({
1752
+ claim: string;
1753
+ op: "contains";
1754
+ value: unknown;
1755
+ } | {
1756
+ claim: string;
1757
+ op: "eq";
1758
+ value: unknown;
1759
+ } | {
1760
+ claim: string;
1761
+ op: "exists";
1762
+ })[], false, "requiredClaims", "self", never>;
1763
+ };
1764
+ readonly methods: Readonly<{
1765
+ delegate: builder.Method<builder.CallableProjection<{
1766
+ principal: string;
1767
+ audience: string;
1768
+ ttlSeconds: number;
1769
+ }, {
1770
+ readonly mode: 'value';
1771
+ readonly value: string;
1772
+ }, "authenticated", true, false, undefined>>;
1773
+ can: builder.Method<builder.CallableProjection<{
1774
+ policy: string;
1775
+ object: string;
1776
+ } | {
1777
+ checks: {
1778
+ policy: string;
1779
+ object: string;
1780
+ }[];
1781
+ }, {
1782
+ readonly mode: 'value';
1783
+ readonly value: {
1784
+ allowed: boolean;
1785
+ } | {
1786
+ decisions: {
1787
+ allowed: boolean;
1788
+ }[];
1789
+ };
1790
+ }, "authenticated", true, false, undefined>>;
1791
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
1792
+ readonly mode: 'value';
1793
+ readonly value: {
1794
+ id: string;
1795
+ iss: string;
1796
+ sub: string;
1797
+ frozen: boolean;
1798
+ requiredClaims: ({
1799
+ claim: string;
1800
+ op: "contains";
1801
+ value: unknown;
1802
+ } | {
1803
+ claim: string;
1804
+ op: "eq";
1805
+ value: unknown;
1806
+ } | {
1807
+ claim: string;
1808
+ op: "exists";
1809
+ })[];
1810
+ };
1811
+ }, "authenticated", true, false, undefined>>;
1812
+ whois: builder.Method<builder.CallableProjection<{
1813
+ iss: string;
1814
+ sub: string;
1815
+ }, {
1816
+ readonly mode: 'value';
1817
+ readonly value: {
1818
+ id: string;
1819
+ iss: string;
1820
+ sub: string;
1821
+ frozen: boolean;
1822
+ requiredClaims: ({
1823
+ claim: string;
1824
+ op: "contains";
1825
+ value: unknown;
1826
+ } | {
1827
+ claim: string;
1828
+ op: "eq";
1829
+ value: unknown;
1830
+ } | {
1831
+ claim: string;
1832
+ op: "exists";
1833
+ })[];
1834
+ } | null;
1835
+ }, "authorized", true, false, undefined>>;
1836
+ mint: builder.Method<builder.CallableProjection<{
1837
+ audience?: string | undefined;
1838
+ ttlSeconds: number;
1839
+ }, {
1840
+ readonly mode: 'value';
1841
+ readonly value: string;
1842
+ }, "authenticated", true, false, undefined>>;
1843
+ impersonate: builder.Method<builder.CallableProjection<{
1844
+ audience?: string | undefined;
1845
+ ttlSeconds: number;
1846
+ identity: string;
1847
+ }, {
1848
+ readonly mode: 'value';
1849
+ readonly value: string;
1850
+ }, "authorized", true, false, undefined>>;
148
1851
  }>;
149
- readonly schema: builder.Property<{
150
- readonly type: "object";
151
- }, {
152
- readonly visibility: "private";
1852
+ }, builder.AuthoredPropertyProjection<({
1853
+ claim: string;
1854
+ op: "contains";
1855
+ value: unknown;
1856
+ } | {
1857
+ claim: string;
1858
+ op: "eq";
1859
+ value: unknown;
1860
+ } | {
1861
+ claim: string;
1862
+ op: "exists";
1863
+ })[], ({
1864
+ claim: string;
1865
+ op: "contains";
1866
+ value: unknown;
1867
+ } | {
1868
+ claim: string;
1869
+ op: "eq";
1870
+ value: unknown;
1871
+ } | {
1872
+ claim: string;
1873
+ op: "exists";
1874
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
1875
+ readonly mode: 'value';
1876
+ readonly value: {
1877
+ id: string;
1878
+ iss: string;
1879
+ sub: string;
1880
+ frozen: boolean;
1881
+ requiredClaims: ({
1882
+ claim: string;
1883
+ op: "contains";
1884
+ value: unknown;
1885
+ } | {
1886
+ claim: string;
1887
+ op: "eq";
1888
+ value: unknown;
1889
+ } | {
1890
+ claim: string;
1891
+ op: "exists";
1892
+ })[];
1893
+ };
1894
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1895
+ principal: string;
1896
+ audience: string;
1897
+ ttlSeconds: number;
1898
+ }, {
1899
+ readonly mode: 'value';
1900
+ readonly value: string;
1901
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1902
+ audience?: string | undefined;
1903
+ ttlSeconds: number;
1904
+ identity: string;
1905
+ }, {
1906
+ readonly mode: 'value';
1907
+ readonly value: string;
1908
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1909
+ audience?: string | undefined;
1910
+ ttlSeconds: number;
1911
+ }, {
1912
+ readonly mode: 'value';
1913
+ readonly value: string;
1914
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1915
+ iss: string;
1916
+ sub: string;
1917
+ }, {
1918
+ readonly mode: 'value';
1919
+ readonly value: {
1920
+ id: string;
1921
+ iss: string;
1922
+ sub: string;
1923
+ frozen: boolean;
1924
+ requiredClaims: ({
1925
+ claim: string;
1926
+ op: "contains";
1927
+ value: unknown;
1928
+ } | {
1929
+ claim: string;
1930
+ op: "eq";
1931
+ value: unknown;
1932
+ } | {
1933
+ claim: string;
1934
+ op: "exists";
1935
+ })[];
1936
+ } | null;
1937
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1938
+ policy: string;
1939
+ object: string;
1940
+ } | {
1941
+ checks: {
1942
+ policy: string;
1943
+ object: string;
1944
+ }[];
1945
+ }, {
1946
+ readonly mode: 'value';
1947
+ readonly value: {
1948
+ allowed: boolean;
1949
+ } | {
1950
+ decisions: {
1951
+ allowed: boolean;
1952
+ }[];
1953
+ };
1954
+ }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1955
+ iss: string;
1956
+ sub: string;
1957
+ }, {
1958
+ readonly mode: 'value';
1959
+ readonly value: {
1960
+ id: string;
1961
+ iss: string;
1962
+ sub: string;
1963
+ frozen: boolean;
1964
+ requiredClaims: ({
1965
+ claim: string;
1966
+ op: "contains";
1967
+ value: unknown;
1968
+ } | {
1969
+ claim: string;
1970
+ op: "eq";
1971
+ value: unknown;
1972
+ } | {
1973
+ claim: string;
1974
+ op: "exists";
1975
+ })[];
1976
+ } | null;
1977
+ }, "authorized", true, false, undefined>>, "whois", builder.ClassOwnerProjection<"node", {
1978
+ readonly abstract: true;
1979
+ readonly depth: 1;
1980
+ readonly properties: {
1981
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
1982
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
1983
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
1984
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
1985
+ claim: string;
1986
+ op: "contains";
1987
+ value: unknown;
1988
+ } | {
1989
+ claim: string;
1990
+ op: "eq";
1991
+ value: unknown;
1992
+ } | {
1993
+ claim: string;
1994
+ op: "exists";
1995
+ })[], ({
1996
+ claim: string;
1997
+ op: "contains";
1998
+ value: unknown;
1999
+ } | {
2000
+ claim: string;
2001
+ op: "eq";
2002
+ value: unknown;
2003
+ } | {
2004
+ claim: string;
2005
+ op: "exists";
2006
+ })[], false, "requiredClaims", "self", never>;
2007
+ };
2008
+ readonly methods: Readonly<{
2009
+ delegate: builder.Method<builder.CallableProjection<{
2010
+ principal: string;
2011
+ audience: string;
2012
+ ttlSeconds: number;
2013
+ }, {
2014
+ readonly mode: 'value';
2015
+ readonly value: string;
2016
+ }, "authenticated", true, false, undefined>>;
2017
+ can: builder.Method<builder.CallableProjection<{
2018
+ policy: string;
2019
+ object: string;
2020
+ } | {
2021
+ checks: {
2022
+ policy: string;
2023
+ object: string;
2024
+ }[];
2025
+ }, {
2026
+ readonly mode: 'value';
2027
+ readonly value: {
2028
+ allowed: boolean;
2029
+ } | {
2030
+ decisions: {
2031
+ allowed: boolean;
2032
+ }[];
2033
+ };
2034
+ }, "authenticated", true, false, undefined>>;
2035
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2036
+ readonly mode: 'value';
2037
+ readonly value: {
2038
+ id: string;
2039
+ iss: string;
2040
+ sub: string;
2041
+ frozen: boolean;
2042
+ requiredClaims: ({
2043
+ claim: string;
2044
+ op: "contains";
2045
+ value: unknown;
2046
+ } | {
2047
+ claim: string;
2048
+ op: "eq";
2049
+ value: unknown;
2050
+ } | {
2051
+ claim: string;
2052
+ op: "exists";
2053
+ })[];
2054
+ };
2055
+ }, "authenticated", true, false, undefined>>;
2056
+ whois: builder.Method<builder.CallableProjection<{
2057
+ iss: string;
2058
+ sub: string;
2059
+ }, {
2060
+ readonly mode: 'value';
2061
+ readonly value: {
2062
+ id: string;
2063
+ iss: string;
2064
+ sub: string;
2065
+ frozen: boolean;
2066
+ requiredClaims: ({
2067
+ claim: string;
2068
+ op: "contains";
2069
+ value: unknown;
2070
+ } | {
2071
+ claim: string;
2072
+ op: "eq";
2073
+ value: unknown;
2074
+ } | {
2075
+ claim: string;
2076
+ op: "exists";
2077
+ })[];
2078
+ } | null;
2079
+ }, "authorized", true, false, undefined>>;
2080
+ mint: builder.Method<builder.CallableProjection<{
2081
+ audience?: string | undefined;
2082
+ ttlSeconds: number;
2083
+ }, {
2084
+ readonly mode: 'value';
2085
+ readonly value: string;
2086
+ }, "authenticated", true, false, undefined>>;
2087
+ impersonate: builder.Method<builder.CallableProjection<{
2088
+ audience?: string | undefined;
2089
+ ttlSeconds: number;
2090
+ identity: string;
2091
+ }, {
2092
+ readonly mode: 'value';
2093
+ readonly value: string;
2094
+ }, "authorized", true, false, undefined>>;
153
2095
  }>;
154
- readonly schemaRevision: builder.Property<{
155
- readonly type: "string";
156
- readonly pattern: "sha256:[0-9a-f]{64}";
157
- }, {
158
- readonly visibility: "private";
2096
+ }, builder.AuthoredPropertyProjection<({
2097
+ claim: string;
2098
+ op: "contains";
2099
+ value: unknown;
2100
+ } | {
2101
+ claim: string;
2102
+ op: "eq";
2103
+ value: unknown;
2104
+ } | {
2105
+ claim: string;
2106
+ op: "exists";
2107
+ })[], ({
2108
+ claim: string;
2109
+ op: "contains";
2110
+ value: unknown;
2111
+ } | {
2112
+ claim: string;
2113
+ op: "eq";
2114
+ value: unknown;
2115
+ } | {
2116
+ claim: string;
2117
+ op: "exists";
2118
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
2119
+ readonly mode: 'value';
2120
+ readonly value: {
2121
+ id: string;
2122
+ iss: string;
2123
+ sub: string;
2124
+ frozen: boolean;
2125
+ requiredClaims: ({
2126
+ claim: string;
2127
+ op: "contains";
2128
+ value: unknown;
2129
+ } | {
2130
+ claim: string;
2131
+ op: "eq";
2132
+ value: unknown;
2133
+ } | {
2134
+ claim: string;
2135
+ op: "exists";
2136
+ })[];
2137
+ };
2138
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2139
+ principal: string;
2140
+ audience: string;
2141
+ ttlSeconds: number;
2142
+ }, {
2143
+ readonly mode: 'value';
2144
+ readonly value: string;
2145
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2146
+ audience?: string | undefined;
2147
+ ttlSeconds: number;
2148
+ identity: string;
2149
+ }, {
2150
+ readonly mode: 'value';
2151
+ readonly value: string;
2152
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2153
+ audience?: string | undefined;
2154
+ ttlSeconds: number;
2155
+ }, {
2156
+ readonly mode: 'value';
2157
+ readonly value: string;
2158
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2159
+ iss: string;
2160
+ sub: string;
2161
+ }, {
2162
+ readonly mode: 'value';
2163
+ readonly value: {
2164
+ id: string;
2165
+ iss: string;
2166
+ sub: string;
2167
+ frozen: boolean;
2168
+ requiredClaims: ({
2169
+ claim: string;
2170
+ op: "contains";
2171
+ value: unknown;
2172
+ } | {
2173
+ claim: string;
2174
+ op: "eq";
2175
+ value: unknown;
2176
+ } | {
2177
+ claim: string;
2178
+ op: "exists";
2179
+ })[];
2180
+ } | null;
2181
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2182
+ policy: string;
2183
+ object: string;
2184
+ } | {
2185
+ checks: {
2186
+ policy: string;
2187
+ object: string;
2188
+ }[];
2189
+ }, {
2190
+ readonly mode: 'value';
2191
+ readonly value: {
2192
+ allowed: boolean;
2193
+ } | {
2194
+ decisions: {
2195
+ allowed: boolean;
2196
+ }[];
2197
+ };
2198
+ }, "authenticated", true, false, undefined>>, "can", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2199
+ policy: string;
2200
+ object: string;
2201
+ } | {
2202
+ checks: {
2203
+ policy: string;
2204
+ object: string;
2205
+ }[];
2206
+ }, {
2207
+ readonly mode: 'value';
2208
+ readonly value: {
2209
+ allowed: boolean;
2210
+ } | {
2211
+ decisions: {
2212
+ allowed: boolean;
2213
+ }[];
2214
+ };
2215
+ }, "authenticated", true, false, undefined>>, "can", builder.ClassOwnerProjection<"node", {
2216
+ readonly abstract: true;
2217
+ readonly depth: 1;
2218
+ readonly properties: {
2219
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2220
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2221
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2222
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2223
+ claim: string;
2224
+ op: "contains";
2225
+ value: unknown;
2226
+ } | {
2227
+ claim: string;
2228
+ op: "eq";
2229
+ value: unknown;
2230
+ } | {
2231
+ claim: string;
2232
+ op: "exists";
2233
+ })[], ({
2234
+ claim: string;
2235
+ op: "contains";
2236
+ value: unknown;
2237
+ } | {
2238
+ claim: string;
2239
+ op: "eq";
2240
+ value: unknown;
2241
+ } | {
2242
+ claim: string;
2243
+ op: "exists";
2244
+ })[], false, "requiredClaims", "self", never>;
2245
+ };
2246
+ readonly methods: Readonly<{
2247
+ delegate: builder.Method<builder.CallableProjection<{
2248
+ principal: string;
2249
+ audience: string;
2250
+ ttlSeconds: number;
2251
+ }, {
2252
+ readonly mode: 'value';
2253
+ readonly value: string;
2254
+ }, "authenticated", true, false, undefined>>;
2255
+ can: builder.Method<builder.CallableProjection<{
2256
+ policy: string;
2257
+ object: string;
2258
+ } | {
2259
+ checks: {
2260
+ policy: string;
2261
+ object: string;
2262
+ }[];
2263
+ }, {
2264
+ readonly mode: 'value';
2265
+ readonly value: {
2266
+ allowed: boolean;
2267
+ } | {
2268
+ decisions: {
2269
+ allowed: boolean;
2270
+ }[];
2271
+ };
2272
+ }, "authenticated", true, false, undefined>>;
2273
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2274
+ readonly mode: 'value';
2275
+ readonly value: {
2276
+ id: string;
2277
+ iss: string;
2278
+ sub: string;
2279
+ frozen: boolean;
2280
+ requiredClaims: ({
2281
+ claim: string;
2282
+ op: "contains";
2283
+ value: unknown;
2284
+ } | {
2285
+ claim: string;
2286
+ op: "eq";
2287
+ value: unknown;
2288
+ } | {
2289
+ claim: string;
2290
+ op: "exists";
2291
+ })[];
2292
+ };
2293
+ }, "authenticated", true, false, undefined>>;
2294
+ whois: builder.Method<builder.CallableProjection<{
2295
+ iss: string;
2296
+ sub: string;
2297
+ }, {
2298
+ readonly mode: 'value';
2299
+ readonly value: {
2300
+ id: string;
2301
+ iss: string;
2302
+ sub: string;
2303
+ frozen: boolean;
2304
+ requiredClaims: ({
2305
+ claim: string;
2306
+ op: "contains";
2307
+ value: unknown;
2308
+ } | {
2309
+ claim: string;
2310
+ op: "eq";
2311
+ value: unknown;
2312
+ } | {
2313
+ claim: string;
2314
+ op: "exists";
2315
+ })[];
2316
+ } | null;
2317
+ }, "authorized", true, false, undefined>>;
2318
+ mint: builder.Method<builder.CallableProjection<{
2319
+ audience?: string | undefined;
2320
+ ttlSeconds: number;
2321
+ }, {
2322
+ readonly mode: 'value';
2323
+ readonly value: string;
2324
+ }, "authenticated", true, false, undefined>>;
2325
+ impersonate: builder.Method<builder.CallableProjection<{
2326
+ audience?: string | undefined;
2327
+ ttlSeconds: number;
2328
+ identity: string;
2329
+ }, {
2330
+ readonly mode: 'value';
2331
+ readonly value: string;
2332
+ }, "authorized", true, false, undefined>>;
159
2333
  }>;
2334
+ }, builder.AuthoredPropertyProjection<({
2335
+ claim: string;
2336
+ op: "contains";
2337
+ value: unknown;
2338
+ } | {
2339
+ claim: string;
2340
+ op: "eq";
2341
+ value: unknown;
2342
+ } | {
2343
+ claim: string;
2344
+ op: "exists";
2345
+ })[], ({
2346
+ claim: string;
2347
+ op: "contains";
2348
+ value: unknown;
2349
+ } | {
2350
+ claim: string;
2351
+ op: "eq";
2352
+ value: unknown;
2353
+ } | {
2354
+ claim: string;
2355
+ op: "exists";
2356
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
2357
+ readonly mode: 'value';
2358
+ readonly value: {
2359
+ id: string;
2360
+ iss: string;
2361
+ sub: string;
2362
+ frozen: boolean;
2363
+ requiredClaims: ({
2364
+ claim: string;
2365
+ op: "contains";
2366
+ value: unknown;
2367
+ } | {
2368
+ claim: string;
2369
+ op: "eq";
2370
+ value: unknown;
2371
+ } | {
2372
+ claim: string;
2373
+ op: "exists";
2374
+ })[];
2375
+ };
2376
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2377
+ principal: string;
2378
+ audience: string;
2379
+ ttlSeconds: number;
2380
+ }, {
2381
+ readonly mode: 'value';
2382
+ readonly value: string;
2383
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2384
+ audience?: string | undefined;
2385
+ ttlSeconds: number;
2386
+ identity: string;
2387
+ }, {
2388
+ readonly mode: 'value';
2389
+ readonly value: string;
2390
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2391
+ audience?: string | undefined;
2392
+ ttlSeconds: number;
2393
+ }, {
2394
+ readonly mode: 'value';
2395
+ readonly value: string;
2396
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2397
+ iss: string;
2398
+ sub: string;
2399
+ }, {
2400
+ readonly mode: 'value';
2401
+ readonly value: {
2402
+ id: string;
2403
+ iss: string;
2404
+ sub: string;
2405
+ frozen: boolean;
2406
+ requiredClaims: ({
2407
+ claim: string;
2408
+ op: "contains";
2409
+ value: unknown;
2410
+ } | {
2411
+ claim: string;
2412
+ op: "eq";
2413
+ value: unknown;
2414
+ } | {
2415
+ claim: string;
2416
+ op: "exists";
2417
+ })[];
2418
+ } | null;
2419
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2420
+ policy: string;
2421
+ object: string;
2422
+ } | {
2423
+ checks: {
2424
+ policy: string;
2425
+ object: string;
2426
+ }[];
2427
+ }, {
2428
+ readonly mode: 'value';
2429
+ readonly value: {
2430
+ allowed: boolean;
2431
+ } | {
2432
+ decisions: {
2433
+ allowed: boolean;
2434
+ }[];
2435
+ };
2436
+ }, "authenticated", true, false, undefined>>, "can", unknown>>>>];
2437
+ readonly properties: {
2438
+ readonly origin: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined>;
2439
+ readonly name: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "name", "self", undefined>;
2440
+ readonly dependencyContext: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never>;
2441
+ readonly schema: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schema", "self", never>;
2442
+ readonly schemaRevision: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schemaRevision", "self", never>;
160
2443
  };
2444
+ readonly methods: Readonly<Record<never, never>>;
2445
+ readonly effectiveProperties: builder.AuthoredPropertyProjection<({
2446
+ claim: string;
2447
+ op: "contains";
2448
+ value: unknown;
2449
+ } | {
2450
+ claim: string;
2451
+ op: "eq";
2452
+ value: unknown;
2453
+ } | {
2454
+ claim: string;
2455
+ op: "exists";
2456
+ })[], ({
2457
+ claim: string;
2458
+ op: "contains";
2459
+ value: unknown;
2460
+ } | {
2461
+ claim: string;
2462
+ op: "eq";
2463
+ value: unknown;
2464
+ } | {
2465
+ claim: string;
2466
+ op: "exists";
2467
+ })[], false, "requiredClaims", builder.ClassOwnerProjection<"node", {
2468
+ readonly abstract: true;
2469
+ readonly depth: 1;
2470
+ readonly properties: {
2471
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2472
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2473
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2474
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2475
+ claim: string;
2476
+ op: "contains";
2477
+ value: unknown;
2478
+ } | {
2479
+ claim: string;
2480
+ op: "eq";
2481
+ value: unknown;
2482
+ } | {
2483
+ claim: string;
2484
+ op: "exists";
2485
+ })[], ({
2486
+ claim: string;
2487
+ op: "contains";
2488
+ value: unknown;
2489
+ } | {
2490
+ claim: string;
2491
+ op: "eq";
2492
+ value: unknown;
2493
+ } | {
2494
+ claim: string;
2495
+ op: "exists";
2496
+ })[], false, "requiredClaims", "self", never>;
2497
+ };
2498
+ readonly methods: Readonly<{
2499
+ delegate: builder.Method<builder.CallableProjection<{
2500
+ principal: string;
2501
+ audience: string;
2502
+ ttlSeconds: number;
2503
+ }, {
2504
+ readonly mode: 'value';
2505
+ readonly value: string;
2506
+ }, "authenticated", true, false, undefined>>;
2507
+ can: builder.Method<builder.CallableProjection<{
2508
+ policy: string;
2509
+ object: string;
2510
+ } | {
2511
+ checks: {
2512
+ policy: string;
2513
+ object: string;
2514
+ }[];
2515
+ }, {
2516
+ readonly mode: 'value';
2517
+ readonly value: {
2518
+ allowed: boolean;
2519
+ } | {
2520
+ decisions: {
2521
+ allowed: boolean;
2522
+ }[];
2523
+ };
2524
+ }, "authenticated", true, false, undefined>>;
2525
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2526
+ readonly mode: 'value';
2527
+ readonly value: {
2528
+ id: string;
2529
+ iss: string;
2530
+ sub: string;
2531
+ frozen: boolean;
2532
+ requiredClaims: ({
2533
+ claim: string;
2534
+ op: "contains";
2535
+ value: unknown;
2536
+ } | {
2537
+ claim: string;
2538
+ op: "eq";
2539
+ value: unknown;
2540
+ } | {
2541
+ claim: string;
2542
+ op: "exists";
2543
+ })[];
2544
+ };
2545
+ }, "authenticated", true, false, undefined>>;
2546
+ whois: builder.Method<builder.CallableProjection<{
2547
+ iss: string;
2548
+ sub: string;
2549
+ }, {
2550
+ readonly mode: 'value';
2551
+ readonly value: {
2552
+ id: string;
2553
+ iss: string;
2554
+ sub: string;
2555
+ frozen: boolean;
2556
+ requiredClaims: ({
2557
+ claim: string;
2558
+ op: "contains";
2559
+ value: unknown;
2560
+ } | {
2561
+ claim: string;
2562
+ op: "eq";
2563
+ value: unknown;
2564
+ } | {
2565
+ claim: string;
2566
+ op: "exists";
2567
+ })[];
2568
+ } | null;
2569
+ }, "authorized", true, false, undefined>>;
2570
+ mint: builder.Method<builder.CallableProjection<{
2571
+ audience?: string | undefined;
2572
+ ttlSeconds: number;
2573
+ }, {
2574
+ readonly mode: 'value';
2575
+ readonly value: string;
2576
+ }, "authenticated", true, false, undefined>>;
2577
+ impersonate: builder.Method<builder.CallableProjection<{
2578
+ audience?: string | undefined;
2579
+ ttlSeconds: number;
2580
+ identity: string;
2581
+ }, {
2582
+ readonly mode: 'value';
2583
+ readonly value: string;
2584
+ }, "authorized", true, false, undefined>>;
2585
+ }>;
2586
+ }, builder.AuthoredPropertyProjection<({
2587
+ claim: string;
2588
+ op: "contains";
2589
+ value: unknown;
2590
+ } | {
2591
+ claim: string;
2592
+ op: "eq";
2593
+ value: unknown;
2594
+ } | {
2595
+ claim: string;
2596
+ op: "exists";
2597
+ })[], ({
2598
+ claim: string;
2599
+ op: "contains";
2600
+ value: unknown;
2601
+ } | {
2602
+ claim: string;
2603
+ op: "eq";
2604
+ value: unknown;
2605
+ } | {
2606
+ claim: string;
2607
+ op: "exists";
2608
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
2609
+ readonly mode: 'value';
2610
+ readonly value: {
2611
+ id: string;
2612
+ iss: string;
2613
+ sub: string;
2614
+ frozen: boolean;
2615
+ requiredClaims: ({
2616
+ claim: string;
2617
+ op: "contains";
2618
+ value: unknown;
2619
+ } | {
2620
+ claim: string;
2621
+ op: "eq";
2622
+ value: unknown;
2623
+ } | {
2624
+ claim: string;
2625
+ op: "exists";
2626
+ })[];
2627
+ };
2628
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2629
+ principal: string;
2630
+ audience: string;
2631
+ ttlSeconds: number;
2632
+ }, {
2633
+ readonly mode: 'value';
2634
+ readonly value: string;
2635
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2636
+ audience?: string | undefined;
2637
+ ttlSeconds: number;
2638
+ identity: string;
2639
+ }, {
2640
+ readonly mode: 'value';
2641
+ readonly value: string;
2642
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2643
+ audience?: string | undefined;
2644
+ ttlSeconds: number;
2645
+ }, {
2646
+ readonly mode: 'value';
2647
+ readonly value: string;
2648
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2649
+ iss: string;
2650
+ sub: string;
2651
+ }, {
2652
+ readonly mode: 'value';
2653
+ readonly value: {
2654
+ id: string;
2655
+ iss: string;
2656
+ sub: string;
2657
+ frozen: boolean;
2658
+ requiredClaims: ({
2659
+ claim: string;
2660
+ op: "contains";
2661
+ value: unknown;
2662
+ } | {
2663
+ claim: string;
2664
+ op: "eq";
2665
+ value: unknown;
2666
+ } | {
2667
+ claim: string;
2668
+ op: "exists";
2669
+ })[];
2670
+ } | null;
2671
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2672
+ policy: string;
2673
+ object: string;
2674
+ } | {
2675
+ checks: {
2676
+ policy: string;
2677
+ object: string;
2678
+ }[];
2679
+ }, {
2680
+ readonly mode: 'value';
2681
+ readonly value: {
2682
+ allowed: boolean;
2683
+ } | {
2684
+ decisions: {
2685
+ allowed: boolean;
2686
+ }[];
2687
+ };
2688
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", builder.ClassOwnerProjection<"node", {
2689
+ readonly abstract: true;
2690
+ readonly depth: 1;
2691
+ readonly properties: {
2692
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2693
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2694
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2695
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2696
+ claim: string;
2697
+ op: "contains";
2698
+ value: unknown;
2699
+ } | {
2700
+ claim: string;
2701
+ op: "eq";
2702
+ value: unknown;
2703
+ } | {
2704
+ claim: string;
2705
+ op: "exists";
2706
+ })[], ({
2707
+ claim: string;
2708
+ op: "contains";
2709
+ value: unknown;
2710
+ } | {
2711
+ claim: string;
2712
+ op: "eq";
2713
+ value: unknown;
2714
+ } | {
2715
+ claim: string;
2716
+ op: "exists";
2717
+ })[], false, "requiredClaims", "self", never>;
2718
+ };
2719
+ readonly methods: Readonly<{
2720
+ delegate: builder.Method<builder.CallableProjection<{
2721
+ principal: string;
2722
+ audience: string;
2723
+ ttlSeconds: number;
2724
+ }, {
2725
+ readonly mode: 'value';
2726
+ readonly value: string;
2727
+ }, "authenticated", true, false, undefined>>;
2728
+ can: builder.Method<builder.CallableProjection<{
2729
+ policy: string;
2730
+ object: string;
2731
+ } | {
2732
+ checks: {
2733
+ policy: string;
2734
+ object: string;
2735
+ }[];
2736
+ }, {
2737
+ readonly mode: 'value';
2738
+ readonly value: {
2739
+ allowed: boolean;
2740
+ } | {
2741
+ decisions: {
2742
+ allowed: boolean;
2743
+ }[];
2744
+ };
2745
+ }, "authenticated", true, false, undefined>>;
2746
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2747
+ readonly mode: 'value';
2748
+ readonly value: {
2749
+ id: string;
2750
+ iss: string;
2751
+ sub: string;
2752
+ frozen: boolean;
2753
+ requiredClaims: ({
2754
+ claim: string;
2755
+ op: "contains";
2756
+ value: unknown;
2757
+ } | {
2758
+ claim: string;
2759
+ op: "eq";
2760
+ value: unknown;
2761
+ } | {
2762
+ claim: string;
2763
+ op: "exists";
2764
+ })[];
2765
+ };
2766
+ }, "authenticated", true, false, undefined>>;
2767
+ whois: builder.Method<builder.CallableProjection<{
2768
+ iss: string;
2769
+ sub: string;
2770
+ }, {
2771
+ readonly mode: 'value';
2772
+ readonly value: {
2773
+ id: string;
2774
+ iss: string;
2775
+ sub: string;
2776
+ frozen: boolean;
2777
+ requiredClaims: ({
2778
+ claim: string;
2779
+ op: "contains";
2780
+ value: unknown;
2781
+ } | {
2782
+ claim: string;
2783
+ op: "eq";
2784
+ value: unknown;
2785
+ } | {
2786
+ claim: string;
2787
+ op: "exists";
2788
+ })[];
2789
+ } | null;
2790
+ }, "authorized", true, false, undefined>>;
2791
+ mint: builder.Method<builder.CallableProjection<{
2792
+ audience?: string | undefined;
2793
+ ttlSeconds: number;
2794
+ }, {
2795
+ readonly mode: 'value';
2796
+ readonly value: string;
2797
+ }, "authenticated", true, false, undefined>>;
2798
+ impersonate: builder.Method<builder.CallableProjection<{
2799
+ audience?: string | undefined;
2800
+ ttlSeconds: number;
2801
+ identity: string;
2802
+ }, {
2803
+ readonly mode: 'value';
2804
+ readonly value: string;
2805
+ }, "authorized", true, false, undefined>>;
2806
+ }>;
2807
+ }, builder.AuthoredPropertyProjection<({
2808
+ claim: string;
2809
+ op: "contains";
2810
+ value: unknown;
2811
+ } | {
2812
+ claim: string;
2813
+ op: "eq";
2814
+ value: unknown;
2815
+ } | {
2816
+ claim: string;
2817
+ op: "exists";
2818
+ })[], ({
2819
+ claim: string;
2820
+ op: "contains";
2821
+ value: unknown;
2822
+ } | {
2823
+ claim: string;
2824
+ op: "eq";
2825
+ value: unknown;
2826
+ } | {
2827
+ claim: string;
2828
+ op: "exists";
2829
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
2830
+ readonly mode: 'value';
2831
+ readonly value: {
2832
+ id: string;
2833
+ iss: string;
2834
+ sub: string;
2835
+ frozen: boolean;
2836
+ requiredClaims: ({
2837
+ claim: string;
2838
+ op: "contains";
2839
+ value: unknown;
2840
+ } | {
2841
+ claim: string;
2842
+ op: "eq";
2843
+ value: unknown;
2844
+ } | {
2845
+ claim: string;
2846
+ op: "exists";
2847
+ })[];
2848
+ };
2849
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2850
+ principal: string;
2851
+ audience: string;
2852
+ ttlSeconds: number;
2853
+ }, {
2854
+ readonly mode: 'value';
2855
+ readonly value: string;
2856
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2857
+ audience?: string | undefined;
2858
+ ttlSeconds: number;
2859
+ identity: string;
2860
+ }, {
2861
+ readonly mode: 'value';
2862
+ readonly value: string;
2863
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2864
+ audience?: string | undefined;
2865
+ ttlSeconds: number;
2866
+ }, {
2867
+ readonly mode: 'value';
2868
+ readonly value: string;
2869
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2870
+ iss: string;
2871
+ sub: string;
2872
+ }, {
2873
+ readonly mode: 'value';
2874
+ readonly value: {
2875
+ id: string;
2876
+ iss: string;
2877
+ sub: string;
2878
+ frozen: boolean;
2879
+ requiredClaims: ({
2880
+ claim: string;
2881
+ op: "contains";
2882
+ value: unknown;
2883
+ } | {
2884
+ claim: string;
2885
+ op: "eq";
2886
+ value: unknown;
2887
+ } | {
2888
+ claim: string;
2889
+ op: "exists";
2890
+ })[];
2891
+ } | null;
2892
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2893
+ policy: string;
2894
+ object: string;
2895
+ } | {
2896
+ checks: {
2897
+ policy: string;
2898
+ object: string;
2899
+ }[];
2900
+ }, {
2901
+ readonly mode: 'value';
2902
+ readonly value: {
2903
+ allowed: boolean;
2904
+ } | {
2905
+ decisions: {
2906
+ allowed: boolean;
2907
+ }[];
2908
+ };
2909
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", builder.ClassOwnerProjection<"node", {
2910
+ readonly abstract: true;
2911
+ readonly depth: 1;
2912
+ readonly properties: {
2913
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
2914
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
2915
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
2916
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
2917
+ claim: string;
2918
+ op: "contains";
2919
+ value: unknown;
2920
+ } | {
2921
+ claim: string;
2922
+ op: "eq";
2923
+ value: unknown;
2924
+ } | {
2925
+ claim: string;
2926
+ op: "exists";
2927
+ })[], ({
2928
+ claim: string;
2929
+ op: "contains";
2930
+ value: unknown;
2931
+ } | {
2932
+ claim: string;
2933
+ op: "eq";
2934
+ value: unknown;
2935
+ } | {
2936
+ claim: string;
2937
+ op: "exists";
2938
+ })[], false, "requiredClaims", "self", never>;
2939
+ };
2940
+ readonly methods: Readonly<{
2941
+ delegate: builder.Method<builder.CallableProjection<{
2942
+ principal: string;
2943
+ audience: string;
2944
+ ttlSeconds: number;
2945
+ }, {
2946
+ readonly mode: 'value';
2947
+ readonly value: string;
2948
+ }, "authenticated", true, false, undefined>>;
2949
+ can: builder.Method<builder.CallableProjection<{
2950
+ policy: string;
2951
+ object: string;
2952
+ } | {
2953
+ checks: {
2954
+ policy: string;
2955
+ object: string;
2956
+ }[];
2957
+ }, {
2958
+ readonly mode: 'value';
2959
+ readonly value: {
2960
+ allowed: boolean;
2961
+ } | {
2962
+ decisions: {
2963
+ allowed: boolean;
2964
+ }[];
2965
+ };
2966
+ }, "authenticated", true, false, undefined>>;
2967
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
2968
+ readonly mode: 'value';
2969
+ readonly value: {
2970
+ id: string;
2971
+ iss: string;
2972
+ sub: string;
2973
+ frozen: boolean;
2974
+ requiredClaims: ({
2975
+ claim: string;
2976
+ op: "contains";
2977
+ value: unknown;
2978
+ } | {
2979
+ claim: string;
2980
+ op: "eq";
2981
+ value: unknown;
2982
+ } | {
2983
+ claim: string;
2984
+ op: "exists";
2985
+ })[];
2986
+ };
2987
+ }, "authenticated", true, false, undefined>>;
2988
+ whois: builder.Method<builder.CallableProjection<{
2989
+ iss: string;
2990
+ sub: string;
2991
+ }, {
2992
+ readonly mode: 'value';
2993
+ readonly value: {
2994
+ id: string;
2995
+ iss: string;
2996
+ sub: string;
2997
+ frozen: boolean;
2998
+ requiredClaims: ({
2999
+ claim: string;
3000
+ op: "contains";
3001
+ value: unknown;
3002
+ } | {
3003
+ claim: string;
3004
+ op: "eq";
3005
+ value: unknown;
3006
+ } | {
3007
+ claim: string;
3008
+ op: "exists";
3009
+ })[];
3010
+ } | null;
3011
+ }, "authorized", true, false, undefined>>;
3012
+ mint: builder.Method<builder.CallableProjection<{
3013
+ audience?: string | undefined;
3014
+ ttlSeconds: number;
3015
+ }, {
3016
+ readonly mode: 'value';
3017
+ readonly value: string;
3018
+ }, "authenticated", true, false, undefined>>;
3019
+ impersonate: builder.Method<builder.CallableProjection<{
3020
+ audience?: string | undefined;
3021
+ ttlSeconds: number;
3022
+ identity: string;
3023
+ }, {
3024
+ readonly mode: 'value';
3025
+ readonly value: string;
3026
+ }, "authorized", true, false, undefined>>;
3027
+ }>;
3028
+ }, builder.AuthoredPropertyProjection<({
3029
+ claim: string;
3030
+ op: "contains";
3031
+ value: unknown;
3032
+ } | {
3033
+ claim: string;
3034
+ op: "eq";
3035
+ value: unknown;
3036
+ } | {
3037
+ claim: string;
3038
+ op: "exists";
3039
+ })[], ({
3040
+ claim: string;
3041
+ op: "contains";
3042
+ value: unknown;
3043
+ } | {
3044
+ claim: string;
3045
+ op: "eq";
3046
+ value: unknown;
3047
+ } | {
3048
+ claim: string;
3049
+ op: "exists";
3050
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
3051
+ readonly mode: 'value';
3052
+ readonly value: {
3053
+ id: string;
3054
+ iss: string;
3055
+ sub: string;
3056
+ frozen: boolean;
3057
+ requiredClaims: ({
3058
+ claim: string;
3059
+ op: "contains";
3060
+ value: unknown;
3061
+ } | {
3062
+ claim: string;
3063
+ op: "eq";
3064
+ value: unknown;
3065
+ } | {
3066
+ claim: string;
3067
+ op: "exists";
3068
+ })[];
3069
+ };
3070
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3071
+ principal: string;
3072
+ audience: string;
3073
+ ttlSeconds: number;
3074
+ }, {
3075
+ readonly mode: 'value';
3076
+ readonly value: string;
3077
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3078
+ audience?: string | undefined;
3079
+ ttlSeconds: number;
3080
+ identity: string;
3081
+ }, {
3082
+ readonly mode: 'value';
3083
+ readonly value: string;
3084
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3085
+ audience?: string | undefined;
3086
+ ttlSeconds: number;
3087
+ }, {
3088
+ readonly mode: 'value';
3089
+ readonly value: string;
3090
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3091
+ iss: string;
3092
+ sub: string;
3093
+ }, {
3094
+ readonly mode: 'value';
3095
+ readonly value: {
3096
+ id: string;
3097
+ iss: string;
3098
+ sub: string;
3099
+ frozen: boolean;
3100
+ requiredClaims: ({
3101
+ claim: string;
3102
+ op: "contains";
3103
+ value: unknown;
3104
+ } | {
3105
+ claim: string;
3106
+ op: "eq";
3107
+ value: unknown;
3108
+ } | {
3109
+ claim: string;
3110
+ op: "exists";
3111
+ })[];
3112
+ } | null;
3113
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3114
+ policy: string;
3115
+ object: string;
3116
+ } | {
3117
+ checks: {
3118
+ policy: string;
3119
+ object: string;
3120
+ }[];
3121
+ }, {
3122
+ readonly mode: 'value';
3123
+ readonly value: {
3124
+ allowed: boolean;
3125
+ } | {
3126
+ decisions: {
3127
+ allowed: boolean;
3128
+ }[];
3129
+ };
3130
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
3131
+ readonly abstract: true;
3132
+ readonly depth: 1;
3133
+ readonly properties: {
3134
+ readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
3135
+ readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
3136
+ readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
3137
+ readonly requiredClaims: builder.AuthoredPropertyProjection<({
3138
+ claim: string;
3139
+ op: "contains";
3140
+ value: unknown;
3141
+ } | {
3142
+ claim: string;
3143
+ op: "eq";
3144
+ value: unknown;
3145
+ } | {
3146
+ claim: string;
3147
+ op: "exists";
3148
+ })[], ({
3149
+ claim: string;
3150
+ op: "contains";
3151
+ value: unknown;
3152
+ } | {
3153
+ claim: string;
3154
+ op: "eq";
3155
+ value: unknown;
3156
+ } | {
3157
+ claim: string;
3158
+ op: "exists";
3159
+ })[], false, "requiredClaims", "self", never>;
3160
+ };
3161
+ readonly methods: Readonly<{
3162
+ delegate: builder.Method<builder.CallableProjection<{
3163
+ principal: string;
3164
+ audience: string;
3165
+ ttlSeconds: number;
3166
+ }, {
3167
+ readonly mode: 'value';
3168
+ readonly value: string;
3169
+ }, "authenticated", true, false, undefined>>;
3170
+ can: builder.Method<builder.CallableProjection<{
3171
+ policy: string;
3172
+ object: string;
3173
+ } | {
3174
+ checks: {
3175
+ policy: string;
3176
+ object: string;
3177
+ }[];
3178
+ }, {
3179
+ readonly mode: 'value';
3180
+ readonly value: {
3181
+ allowed: boolean;
3182
+ } | {
3183
+ decisions: {
3184
+ allowed: boolean;
3185
+ }[];
3186
+ };
3187
+ }, "authenticated", true, false, undefined>>;
3188
+ whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
3189
+ readonly mode: 'value';
3190
+ readonly value: {
3191
+ id: string;
3192
+ iss: string;
3193
+ sub: string;
3194
+ frozen: boolean;
3195
+ requiredClaims: ({
3196
+ claim: string;
3197
+ op: "contains";
3198
+ value: unknown;
3199
+ } | {
3200
+ claim: string;
3201
+ op: "eq";
3202
+ value: unknown;
3203
+ } | {
3204
+ claim: string;
3205
+ op: "exists";
3206
+ })[];
3207
+ };
3208
+ }, "authenticated", true, false, undefined>>;
3209
+ whois: builder.Method<builder.CallableProjection<{
3210
+ iss: string;
3211
+ sub: string;
3212
+ }, {
3213
+ readonly mode: 'value';
3214
+ readonly value: {
3215
+ id: string;
3216
+ iss: string;
3217
+ sub: string;
3218
+ frozen: boolean;
3219
+ requiredClaims: ({
3220
+ claim: string;
3221
+ op: "contains";
3222
+ value: unknown;
3223
+ } | {
3224
+ claim: string;
3225
+ op: "eq";
3226
+ value: unknown;
3227
+ } | {
3228
+ claim: string;
3229
+ op: "exists";
3230
+ })[];
3231
+ } | null;
3232
+ }, "authorized", true, false, undefined>>;
3233
+ mint: builder.Method<builder.CallableProjection<{
3234
+ audience?: string | undefined;
3235
+ ttlSeconds: number;
3236
+ }, {
3237
+ readonly mode: 'value';
3238
+ readonly value: string;
3239
+ }, "authenticated", true, false, undefined>>;
3240
+ impersonate: builder.Method<builder.CallableProjection<{
3241
+ audience?: string | undefined;
3242
+ ttlSeconds: number;
3243
+ identity: string;
3244
+ }, {
3245
+ readonly mode: 'value';
3246
+ readonly value: string;
3247
+ }, "authorized", true, false, undefined>>;
3248
+ }>;
3249
+ }, builder.AuthoredPropertyProjection<({
3250
+ claim: string;
3251
+ op: "contains";
3252
+ value: unknown;
3253
+ } | {
3254
+ claim: string;
3255
+ op: "eq";
3256
+ value: unknown;
3257
+ } | {
3258
+ claim: string;
3259
+ op: "exists";
3260
+ })[], ({
3261
+ claim: string;
3262
+ op: "contains";
3263
+ value: unknown;
3264
+ } | {
3265
+ claim: string;
3266
+ op: "eq";
3267
+ value: unknown;
3268
+ } | {
3269
+ claim: string;
3270
+ op: "exists";
3271
+ })[], false, "requiredClaims", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", unknown, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", unknown, never>, never, builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
3272
+ readonly mode: 'value';
3273
+ readonly value: {
3274
+ id: string;
3275
+ iss: string;
3276
+ sub: string;
3277
+ frozen: boolean;
3278
+ requiredClaims: ({
3279
+ claim: string;
3280
+ op: "contains";
3281
+ value: unknown;
3282
+ } | {
3283
+ claim: string;
3284
+ op: "eq";
3285
+ value: unknown;
3286
+ } | {
3287
+ claim: string;
3288
+ op: "exists";
3289
+ })[];
3290
+ };
3291
+ }, "authenticated", true, false, undefined>>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3292
+ principal: string;
3293
+ audience: string;
3294
+ ttlSeconds: number;
3295
+ }, {
3296
+ readonly mode: 'value';
3297
+ readonly value: string;
3298
+ }, "authenticated", true, false, undefined>>, "delegate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3299
+ audience?: string | undefined;
3300
+ ttlSeconds: number;
3301
+ identity: string;
3302
+ }, {
3303
+ readonly mode: 'value';
3304
+ readonly value: string;
3305
+ }, "authorized", true, false, undefined>>, "impersonate", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3306
+ audience?: string | undefined;
3307
+ ttlSeconds: number;
3308
+ }, {
3309
+ readonly mode: 'value';
3310
+ readonly value: string;
3311
+ }, "authenticated", true, false, undefined>>, "mint", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3312
+ iss: string;
3313
+ sub: string;
3314
+ }, {
3315
+ readonly mode: 'value';
3316
+ readonly value: {
3317
+ id: string;
3318
+ iss: string;
3319
+ sub: string;
3320
+ frozen: boolean;
3321
+ requiredClaims: ({
3322
+ claim: string;
3323
+ op: "contains";
3324
+ value: unknown;
3325
+ } | {
3326
+ claim: string;
3327
+ op: "eq";
3328
+ value: unknown;
3329
+ } | {
3330
+ claim: string;
3331
+ op: "exists";
3332
+ })[];
3333
+ } | null;
3334
+ }, "authorized", true, false, undefined>>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3335
+ policy: string;
3336
+ object: string;
3337
+ } | {
3338
+ checks: {
3339
+ policy: string;
3340
+ object: string;
3341
+ }[];
3342
+ }, {
3343
+ readonly mode: 'value';
3344
+ readonly value: {
3345
+ allowed: boolean;
3346
+ } | {
3347
+ decisions: {
3348
+ allowed: boolean;
3349
+ }[];
3350
+ };
3351
+ }, "authenticated", true, false, undefined>>, "can", unknown>>, never> | (builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "dependencyContext", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "name", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "origin", "self", undefined> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schema", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "schemaRevision", "self", never>);
3352
+ readonly abstractInstanceMethods: never;
3353
+ readonly abstractStaticMethods: never;
3354
+ readonly effectiveInstanceMethods: never;
3355
+ readonly effectiveStaticMethods: never;
161
3356
  }>;