@astrale-os/kernel-core 0.9.0-beta.9 → 0.9.0
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.
- package/dist/auth/authority/accept.js +4 -0
- package/dist/auth/authority/admission/admission.d.ts +4 -1
- package/dist/auth/authority/admission/admission.js +46 -147
- package/dist/auth/authority/admission/index.d.ts +1 -1
- package/dist/auth/authority/admission/index.js +1 -1
- package/dist/auth/authority/admission/references.d.ts +13 -0
- package/dist/auth/authority/admission/references.js +38 -0
- package/dist/auth/authority/admission/term.d.ts +6 -0
- package/dist/auth/authority/admission/term.js +60 -0
- package/dist/auth/authority/admission/wire.d.ts +8 -0
- package/dist/auth/authority/admission/wire.js +33 -0
- package/dist/auth/authority/canonical.d.ts +2 -0
- package/dist/auth/authority/canonical.js +15 -0
- package/dist/auth/authority/index.d.ts +9 -2
- package/dist/auth/authority/index.js +6 -1
- package/dist/auth/authority/language/index.d.ts +3 -1
- package/dist/auth/authority/language/index.js +1 -0
- package/dist/auth/authority/language/predicate.d.ts +31 -16
- package/dist/auth/authority/language/predicate.js +1 -1
- package/dist/auth/authority/language/program.d.ts +21 -0
- package/dist/auth/authority/language/program.js +2 -0
- package/dist/auth/authority/normalization/index.d.ts +1 -1
- package/dist/auth/authority/normalization/index.js +1 -1
- package/dist/auth/authority/normalization/normalize.d.ts +2 -0
- package/dist/auth/authority/normalization/normalize.js +38 -16
- package/dist/auth/authority/ownership.optimization.d.ts +8 -0
- package/dist/auth/authority/ownership.optimization.js +83 -0
- package/dist/auth/authority/prepare-binder-body.d.ts +4 -0
- package/dist/auth/authority/prepare-binder-body.js +31 -0
- package/dist/auth/authority/program.d.ts +28 -0
- package/dist/auth/authority/program.js +191 -0
- package/dist/auth/authority/semantics/class-authority.d.ts +8 -0
- package/dist/auth/authority/semantics/class-authority.js +26 -0
- package/dist/auth/authority/semantics/composition.d.ts +46 -0
- package/dist/auth/authority/semantics/composition.js +150 -0
- package/dist/auth/authority/semantics/failure.d.ts +21 -0
- package/dist/auth/authority/semantics/failure.js +10 -0
- package/dist/auth/authority/semantics/index.d.ts +13 -0
- package/dist/auth/authority/semantics/index.js +6 -0
- package/dist/auth/authority/semantics/interpret.d.ts +41 -0
- package/dist/auth/authority/semantics/interpret.js +388 -0
- package/dist/auth/authority/semantics/residual.d.ts +32 -0
- package/dist/auth/authority/semantics/residual.js +166 -0
- package/dist/auth/authority/semantics/snapshot.d.ts +40 -0
- package/dist/auth/authority/semantics/terms.d.ts +22 -0
- package/dist/auth/authority/semantics/terms.js +96 -0
- package/dist/auth/authority/semantics/vocabulary.d.ts +19 -0
- package/dist/auth/context/context.d.ts +4 -3
- package/dist/auth/expression/authoring/builder.d.ts +2 -11
- package/dist/auth/expression/authoring/builder.js +1 -45
- package/dist/auth/expression/authoring/index.d.ts +1 -1
- package/dist/auth/expression/authoring/index.js +1 -1
- package/dist/auth/expression/index.d.ts +1 -2
- package/dist/auth/expression/index.js +1 -2
- package/dist/auth/expression/language/identity-expression.d.ts +2 -22
- package/dist/auth/grant/index.d.ts +1 -1
- package/dist/auth/grant/index.js +1 -1
- package/dist/auth/grant/resolved/admission.d.ts +4 -3
- package/dist/auth/grant/resolved/admission.js +23 -13
- package/dist/auth/grant/resolved/grant.d.ts +1 -1
- package/dist/auth/grant/resolved/index.d.ts +1 -1
- package/dist/auth/grant/resolved/index.js +1 -1
- package/dist/auth/grant/unresolved/admission.d.ts +4 -1
- package/dist/auth/grant/unresolved/admission.js +27 -67
- package/dist/auth/grant/unresolved/limits.d.ts +2 -4
- package/dist/auth/grant/unresolved/limits.js +1 -5
- package/dist/auth/identity/admission.js +11 -3
- package/dist/auth/identity/identity.d.ts +15 -3
- package/dist/auth/identity/index.d.ts +1 -1
- package/dist/auth/index.d.ts +4 -4
- package/dist/auth/index.js +1 -1
- package/dist/auth/jwk/index.d.ts +1 -1
- package/dist/auth/jwk/index.js +1 -1
- package/dist/auth/jwk/thumbprint.d.ts +2 -0
- package/dist/auth/jwk/thumbprint.js +12 -6
- package/dist/auth/register/fingerprint/fingerprint.d.ts +25 -0
- package/dist/auth/register/fingerprint/fingerprint.js +31 -0
- package/dist/auth/register/fingerprint/index.d.ts +2 -0
- package/dist/auth/register/index.d.ts +5 -0
- package/dist/auth/register/request/admission.d.ts +3 -0
- package/dist/auth/register/request/admission.js +103 -0
- package/dist/auth/register/request/index.d.ts +3 -0
- package/dist/auth/register/request/limits.d.ts +6 -0
- package/dist/auth/register/request/limits.js +6 -0
- package/dist/auth/register/request/request.d.ts +19 -0
- package/dist/auth/{provision → register}/request/self-issuer.d.ts +1 -1
- package/dist/auth/{provision → register}/request/self-issuer.js +1 -1
- package/dist/auth/register/result/index.d.ts +1 -0
- package/dist/auth/register/result/result.d.ts +10 -0
- package/dist/auth/register/result/result.js +1 -0
- package/dist/callable/contract/body.d.ts +10 -0
- package/dist/callable/contract/body.js +7 -0
- package/dist/callable/contract/index.d.ts +2 -1
- package/dist/callable/contract/index.js +1 -1
- package/dist/callable/contract/output.d.ts +18 -2
- package/dist/callable/index.d.ts +3 -2
- package/dist/callable/index.js +2 -1
- package/dist/callable/invocation/call.d.ts +16 -2
- package/dist/callable/invocation/call.js +41 -1
- package/dist/callable/invocation/index.d.ts +1 -1
- package/dist/callable/invocation/index.js +1 -1
- package/dist/callable/invocation/result.d.ts +10 -3
- package/dist/dns-label.d.ts +1 -2
- package/dist/dns-label.js +2 -3
- package/dist/graph/graph/graph.d.ts +1 -5
- package/dist/graph/graph/graph.js +3 -27
- package/dist/graph/graph/index.d.ts +2 -4
- package/dist/graph/graph/index.js +2 -3
- package/dist/graph/graph/model/codec.js +4 -4
- package/dist/graph/graph/model/index.d.ts +1 -1
- package/dist/graph/graph/model/index.js +1 -1
- package/dist/graph/graph/model/model.d.ts +7 -7
- package/dist/graph/graph/model/model.js +6 -6
- package/dist/graph/graph/model/wire.d.ts +58 -78
- package/dist/graph/graph/model/wire.js +18 -19
- package/dist/graph/mutate/authoring/builder.d.ts +2 -2
- package/dist/graph/mutate/authoring/builder.js +2 -2
- package/dist/graph/mutate/authoring/create.js +13 -5
- package/dist/graph/mutate/index.d.ts +1 -1
- package/dist/graph/mutate/language/codec.js +3 -3
- package/dist/graph/mutate/language/model.d.ts +4 -4
- package/dist/graph/mutate/language/wire.d.ts +226 -215
- package/dist/graph/mutate/language/wire.js +42 -47
- package/dist/graph/mutate/result/index.d.ts +4 -3
- package/dist/graph/mutate/result/index.js +8 -6
- package/dist/graph/mutate/result/wire.d.ts +4 -4
- package/dist/graph/mutate/result/wire.js +7 -4
- package/dist/graph/node/identity/id.d.ts +0 -4
- package/dist/graph/node/identity/id.js +0 -5
- package/dist/graph/node/identity/order.js +20 -0
- package/dist/graph/path/authoring/path.d.ts +8 -5
- package/dist/graph/path/authoring/path.js +21 -3
- package/dist/graph/path/language/model.d.ts +8 -3
- package/dist/graph/path/language/syntax.js +23 -8
- package/dist/graph/query/authoring/builder.js +37 -5
- package/dist/graph/query/authoring/model.d.ts +20 -1
- package/dist/graph/query/index.d.ts +4 -2
- package/dist/graph/query/index.js +1 -0
- package/dist/graph/query/language/codec.js +18 -3
- package/dist/graph/query/language/fingerprint.js +8 -0
- package/dist/graph/query/language/model.d.ts +22 -4
- package/dist/graph/query/language/wire.d.ts +124 -114
- package/dist/graph/query/language/wire.js +54 -47
- package/dist/graph/query/order/index.d.ts +53 -0
- package/dist/graph/query/order/index.js +79 -0
- package/dist/graph/query/reference/evaluate.d.ts +1 -0
- package/dist/graph/query/reference/evaluate.js +39 -52
- package/dist/graph/query/result/index.js +1 -1
- package/dist/graph/query/result/wire.d.ts +93 -94
- package/dist/graph/query/result/wire.js +20 -20
- package/dist/graph/reconcile/condition/model.d.ts +2 -2
- package/dist/graph/reconcile/condition/references.d.ts +0 -1
- package/dist/graph/reconcile/condition/references.js +4 -4
- package/dist/graph/reconcile/correspondence.d.ts +9 -8
- package/dist/graph/reconcile/evidence.d.ts +2 -2
- package/dist/graph/reconcile/mutation/assess.d.ts +2 -1
- package/dist/graph/reconcile/observation.d.ts +4 -3
- package/dist/graph/reconcile/planning/canonical.d.ts +6 -0
- package/dist/graph/reconcile/planning/canonical.js +28 -0
- package/dist/graph/reconcile/planning/context.d.ts +3 -3
- package/dist/graph/reconcile/planning/model.d.ts +8 -4
- package/dist/graph/reconcile/planning/plan.js +2 -1
- package/dist/schema/authority/authority-relation.js +3 -0
- package/dist/schema/authority/claims.d.ts +24 -25
- package/dist/schema/authority/claims.js +8 -8
- package/dist/schema/authority/governed-by.d.ts +16 -91
- package/dist/schema/authority/governed-by.js +1 -1
- package/dist/schema/authority/operation-node.d.ts +27 -13
- package/dist/schema/authority/operations.d.ts +8 -168
- package/dist/schema/authority/policy.d.ts +27 -15
- package/dist/schema/authority/vocabulary.d.ts +3 -0
- package/dist/schema/authority/vocabulary.js +25 -0
- package/dist/schema/callables/entrypoint.d.ts +32 -0
- package/dist/schema/callables/entrypoint.js +12 -0
- package/dist/schema/callables/execution.d.ts +569 -0
- package/dist/schema/callables/execution.js +32 -0
- package/dist/schema/callables/function.d.ts +3400 -55
- package/dist/schema/callables/function.js +6 -4
- package/dist/schema/callables/index.d.ts +2 -1
- package/dist/schema/callables/index.js +2 -1
- package/dist/schema/callables/method-of.d.ts +18 -143
- package/dist/schema/callables/method-of.js +2 -2
- package/dist/schema/callables/view.d.ts +83 -51
- package/dist/schema/definitions/class.d.ts +45 -33
- package/dist/schema/definitions/extends.d.ts +16 -110
- package/dist/schema/definitions/instance-of.d.ts +17 -69
- package/dist/schema/domain/domain.d.ts +3343 -148
- package/dist/schema/domain/domain.js +6 -3
- package/dist/schema/domain/of-domain.d.ts +18 -192
- package/dist/schema/domain/of-domain.js +1 -1
- package/dist/schema/identity/composition.d.ts +5 -0
- package/dist/schema/identity/composition.js +5 -0
- package/dist/schema/identity/identity.d.ts +225 -122
- package/dist/schema/identity/identity.js +3 -4
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/installation/operation-id.d.ts +1 -2
- package/dist/schema/installation/operation-id.js +2 -4
- package/dist/schema/introspection/index.d.ts +1 -1
- package/dist/schema/introspection/language.d.ts +12 -28
- package/dist/schema/kernel/projection/callables.js +2 -3
- package/dist/schema/kernel/projection/core.d.ts +7 -0
- package/dist/schema/kernel/projection/core.js +51 -0
- package/dist/schema/kernel/projection/definitions.d.ts +13 -0
- package/dist/schema/kernel/projection/definitions.js +71 -0
- package/dist/schema/kernel/projection/index.d.ts +3 -3
- package/dist/schema/kernel/projection/index.js +2 -2
- package/dist/schema/kernel/projection/methods.d.ts +5 -0
- package/dist/schema/kernel/projection/methods.js +41 -0
- package/dist/schema/kernel/projection/part.d.ts +34 -0
- package/dist/schema/kernel/projection/part.js +42 -0
- package/dist/schema/kernel/projection/paths.d.ts +6 -0
- package/dist/schema/kernel/projection/{keys.js → paths.js} +12 -14
- package/dist/schema/kernel/projection/project.d.ts +4 -2
- package/dist/schema/kernel/projection/project.js +33 -258
- package/dist/schema/kernel/projection/properties.d.ts +11 -0
- package/dist/schema/kernel/projection/properties.js +36 -0
- package/dist/schema/kernel/projection/relations.d.ts +7 -0
- package/dist/schema/kernel/projection/relations.js +61 -0
- package/dist/schema/kernel/projection/types.d.ts +28 -2
- package/dist/schema/kernel/schema.d.ts +9008 -4939
- package/dist/schema/kernel/schema.js +12 -8
- package/dist/schema/kernel/syscalls/contracts/admit.d.ts +15 -12
- package/dist/schema/kernel/syscalls/contracts/admit.js +16 -9
- package/dist/schema/kernel/syscalls/contracts/blob.d.ts +31 -0
- package/dist/schema/kernel/syscalls/contracts/blob.js +24 -0
- package/dist/schema/kernel/syscalls/contracts/can.d.ts +19 -8
- package/dist/schema/kernel/syscalls/contracts/can.js +12 -4
- package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +6 -7
- package/dist/schema/kernel/syscalls/contracts/delegate.js +5 -5
- package/dist/schema/kernel/syscalls/contracts/execution.d.ts +300 -0
- package/dist/schema/kernel/syscalls/contracts/execution.js +116 -0
- package/dist/schema/kernel/syscalls/contracts/expected.d.ts +5 -0
- package/dist/schema/kernel/syscalls/contracts/expected.js +9 -0
- package/dist/schema/kernel/syscalls/contracts/identity.d.ts +18 -19
- package/dist/schema/kernel/syscalls/contracts/identity.js +6 -7
- package/dist/schema/kernel/syscalls/contracts/impersonate.d.ts +6 -0
- package/dist/schema/kernel/syscalls/contracts/impersonate.js +4 -0
- package/dist/schema/kernel/syscalls/contracts/index.d.ts +6 -3
- package/dist/schema/kernel/syscalls/contracts/index.js +6 -3
- package/dist/schema/kernel/syscalls/contracts/install.d.ts +309 -217
- package/dist/schema/kernel/syscalls/contracts/install.js +68 -26
- package/dist/schema/kernel/syscalls/contracts/installation.d.ts +70 -351
- package/dist/schema/kernel/syscalls/contracts/installation.js +29 -67
- package/dist/schema/kernel/syscalls/contracts/introspect.d.ts +11 -15
- package/dist/schema/kernel/syscalls/contracts/introspect.js +8 -15
- package/dist/schema/kernel/syscalls/contracts/journal.d.ts +26 -27
- package/dist/schema/kernel/syscalls/contracts/journal.js +15 -15
- package/dist/schema/kernel/syscalls/contracts/mint.d.ts +5 -7
- package/dist/schema/kernel/syscalls/contracts/mint.js +4 -5
- package/dist/schema/kernel/syscalls/contracts/mutate.d.ts +243 -224
- package/dist/schema/kernel/syscalls/contracts/mutate.js +7 -1
- package/dist/schema/kernel/syscalls/contracts/query.d.ts +239 -222
- package/dist/schema/kernel/syscalls/contracts/query.js +17 -15
- package/dist/schema/kernel/syscalls/contracts/register.d.ts +20 -0
- package/dist/schema/kernel/syscalls/contracts/register.js +24 -0
- package/dist/schema/kernel/syscalls/contracts/uninstall.d.ts +55 -148
- package/dist/schema/kernel/syscalls/contracts/uninstall.js +7 -5
- package/dist/schema/kernel/syscalls/contracts/view-host-requirements.d.ts +17 -0
- package/dist/schema/kernel/syscalls/contracts/view-host-requirements.js +40 -0
- package/dist/schema/kernel/syscalls/contracts/view-resolve.d.ts +27 -28
- package/dist/schema/kernel/syscalls/contracts/view-resolve.js +16 -24
- package/dist/schema/kernel/syscalls/contracts/whoami.d.ts +19 -20
- package/dist/schema/kernel/syscalls/contracts/whoami.js +2 -2
- package/dist/schema/kernel/syscalls/contracts/whois.d.ts +22 -23
- package/dist/schema/kernel/syscalls/contracts/whois.js +3 -3
- package/dist/schema/kernel/syscalls/declarations/admit.d.ts +18 -18
- package/dist/schema/kernel/syscalls/declarations/admit.js +3 -3
- package/dist/schema/kernel/syscalls/declarations/can.d.ts +19 -14
- package/dist/schema/kernel/syscalls/declarations/can.js +4 -4
- package/dist/schema/kernel/syscalls/declarations/delegate.d.ts +9 -12
- package/dist/schema/kernel/syscalls/declarations/delegate.js +4 -4
- package/dist/schema/kernel/syscalls/declarations/download.d.ts +12 -0
- package/dist/schema/kernel/syscalls/declarations/download.js +10 -0
- package/dist/schema/kernel/syscalls/declarations/execution.d.ts +255 -0
- package/dist/schema/kernel/syscalls/declarations/execution.js +52 -0
- package/dist/schema/kernel/syscalls/declarations/impersonate.d.ts +9 -0
- package/dist/schema/kernel/syscalls/declarations/impersonate.js +12 -0
- package/dist/schema/kernel/syscalls/declarations/index.d.ts +1079 -1323
- package/dist/schema/kernel/syscalls/declarations/index.js +18 -2
- package/dist/schema/kernel/syscalls/declarations/install.d.ts +85 -172
- package/dist/schema/kernel/syscalls/declarations/install.js +7 -3
- package/dist/schema/kernel/syscalls/declarations/introspect.d.ts +8 -19
- package/dist/schema/kernel/syscalls/declarations/introspect.js +3 -4
- package/dist/schema/kernel/syscalls/declarations/journal.d.ts +29 -31
- package/dist/schema/kernel/syscalls/declarations/journal.js +4 -2
- package/dist/schema/kernel/syscalls/declarations/mint.d.ts +8 -13
- package/dist/schema/kernel/syscalls/declarations/mint.js +5 -5
- package/dist/schema/kernel/syscalls/declarations/mutate.d.ts +239 -256
- package/dist/schema/kernel/syscalls/declarations/mutate.js +4 -2
- package/dist/schema/kernel/syscalls/declarations/query.d.ts +236 -260
- package/dist/schema/kernel/syscalls/declarations/query.js +4 -2
- package/dist/schema/kernel/syscalls/declarations/register.d.ts +23 -0
- package/dist/schema/kernel/syscalls/declarations/register.js +10 -0
- package/dist/schema/kernel/syscalls/declarations/uninstall.d.ts +51 -153
- package/dist/schema/kernel/syscalls/declarations/uninstall.js +6 -2
- package/dist/schema/kernel/syscalls/declarations/upload.d.ts +15 -0
- package/dist/schema/kernel/syscalls/declarations/upload.js +10 -0
- package/dist/schema/kernel/syscalls/declarations/use-policy.d.ts +4 -0
- package/dist/schema/kernel/syscalls/declarations/use-policy.js +9 -0
- package/dist/schema/kernel/syscalls/declarations/view-resolve.d.ts +30 -37
- package/dist/schema/kernel/syscalls/declarations/view-resolve.js +5 -3
- package/dist/schema/kernel/syscalls/declarations/whoami.d.ts +22 -26
- package/dist/schema/kernel/syscalls/declarations/whoami.js +3 -3
- package/dist/schema/kernel/syscalls/declarations/whois.d.ts +25 -29
- package/dist/schema/kernel/syscalls/declarations/whois.js +5 -3
- package/dist/schema/kernel/syscalls/descriptors/execution.d.ts +303 -0
- package/dist/schema/kernel/syscalls/descriptors/execution.js +11 -0
- package/dist/schema/kernel/syscalls/descriptors/function.d.ts +8 -2
- package/dist/schema/kernel/syscalls/descriptors/functions.d.ts +3 -1
- package/dist/schema/kernel/syscalls/descriptors/functions.js +3 -1
- package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +47 -13
- package/dist/schema/kernel/syscalls/descriptors/identity.js +2 -1
- package/dist/schema/kernel/syscalls/descriptors/index.d.ts +2 -1
- package/dist/schema/kernel/syscalls/descriptors/index.js +2 -1
- package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.d.ts +5 -2
- package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.js +8 -38
- package/dist/schema/kernel/syscalls/descriptors/view.d.ts +11 -9
- package/dist/schema/kernel/syscalls/index.d.ts +2 -2
- package/dist/schema/kernel/syscalls/index.js +2 -2
- package/dist/schema/kernel/syscalls/references/execution.d.ts +55 -0
- package/dist/schema/kernel/syscalls/references/execution.js +13 -0
- package/dist/schema/kernel/syscalls/references/functions.d.ts +12 -2
- package/dist/schema/kernel/syscalls/references/functions.js +3 -1
- package/dist/schema/kernel/syscalls/references/identity.d.ts +9 -0
- package/dist/schema/kernel/syscalls/references/identity.js +1 -0
- package/dist/schema/kernel/syscalls/references/index.d.ts +2 -1
- package/dist/schema/kernel/syscalls/references/index.js +2 -1
- package/dist/schema/meta/created-by.d.ts +32 -0
- package/dist/schema/meta/created-by.js +17 -0
- package/dist/schema/meta/descriptable.d.ts +13 -11
- package/dist/schema/meta/edge.d.ts +5 -9
- package/dist/schema/meta/iconable.d.ts +13 -11
- package/dist/schema/meta/index.d.ts +1 -0
- package/dist/schema/meta/index.js +1 -0
- package/dist/schema/meta/named.d.ts +13 -9
- package/dist/schema/meta/node.d.ts +9 -1
- package/dist/schema/meta/remotable.d.ts +15 -22
- package/dist/schema/meta/statused.d.ts +13 -7
- package/dist/schema/meta/timestamped.d.ts +14 -12
- package/package.json +9 -7
- package/dist/auth/expression/normalization/canonicalize.d.ts +0 -7
- package/dist/auth/expression/normalization/canonicalize.js +0 -102
- package/dist/auth/expression/normalization/index.d.ts +0 -2
- package/dist/auth/expression/normalization/index.js +0 -2
- package/dist/auth/expression/normalization/raise-denials.d.ts +0 -3
- package/dist/auth/expression/normalization/raise-denials.js +0 -59
- package/dist/auth/provision/fingerprint/fingerprint.d.ts +0 -9
- package/dist/auth/provision/fingerprint/fingerprint.js +0 -33
- package/dist/auth/provision/fingerprint/index.d.ts +0 -2
- package/dist/auth/provision/index.d.ts +0 -5
- package/dist/auth/provision/request/admission.d.ts +0 -3
- package/dist/auth/provision/request/admission.js +0 -125
- package/dist/auth/provision/request/index.d.ts +0 -3
- package/dist/auth/provision/request/request.d.ts +0 -29
- package/dist/auth/provision/result/index.d.ts +0 -1
- package/dist/auth/provision/result/result.d.ts +0 -12
- package/dist/graph/graph/navigation/error.d.ts +0 -12
- package/dist/graph/graph/navigation/error.js +0 -20
- package/dist/graph/graph/navigation/index.d.ts +0 -2
- package/dist/graph/graph/navigation/index.js +0 -1
- package/dist/graph/graph/navigation/model.d.ts +0 -15
- package/dist/schema/callables/view-for.d.ts +0 -296
- package/dist/schema/callables/view-for.js +0 -12
- package/dist/schema/kernel/projection/keys.d.ts +0 -3
- package/dist/schema/kernel/projection/path.d.ts +0 -2
- package/dist/schema/kernel/projection/path.js +0 -140
- package/dist/schema/kernel/syscalls/contracts/provision.d.ts +0 -292
- package/dist/schema/kernel/syscalls/contracts/provision.js +0 -19
- package/dist/schema/kernel/syscalls/declarations/define.d.ts +0 -5
- package/dist/schema/kernel/syscalls/declarations/define.js +0 -7
- package/dist/schema/kernel/syscalls/declarations/provision.d.ts +0 -296
- package/dist/schema/kernel/syscalls/declarations/provision.js +0 -8
- /package/dist/auth/{provision/request/request.js → authority/semantics/snapshot.js} +0 -0
- /package/dist/auth/{provision/result/index.js → authority/semantics/vocabulary.js} +0 -0
- /package/dist/auth/{provision → register}/fingerprint/index.js +0 -0
- /package/dist/auth/{provision → register}/index.js +0 -0
- /package/dist/auth/{provision → register}/request/index.js +0 -0
- /package/dist/auth/{provision/result/result.js → register/request/request.js} +0 -0
- /package/dist/{graph/graph/navigation/model.js → auth/register/result/index.js} +0 -0
|
@@ -9,8 +9,11 @@ export const Domain = nodeClass({
|
|
|
9
9
|
type: 'string',
|
|
10
10
|
pattern: '[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+',
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
// The authored display name; a revision that predates it projects its origin instead, which
|
|
13
|
+
// is why the bound admits a complete origin rather than only an authored name.
|
|
14
|
+
name: { type: 'string', minLength: 1, maxLength: 253 },
|
|
15
|
+
dependencyContext: property({ type: 'array', items: { type: 'object' } }, { required: false }),
|
|
16
|
+
schema: property({ type: 'object' }, {}),
|
|
17
|
+
schemaRevision: property({ type: 'string', pattern: 'sha256:[0-9a-f]{64}' }, {}),
|
|
15
18
|
},
|
|
16
19
|
});
|
|
@@ -1,208 +1,34 @@
|
|
|
1
1
|
import { type builder } from '@astrale-os/kernel-dsl/v1';
|
|
2
2
|
export declare const OfDomain: builder.DirectedEdgeClass<{
|
|
3
|
+
readonly depth: 1;
|
|
3
4
|
readonly abstract: false;
|
|
4
|
-
readonly
|
|
5
|
-
readonly as: "member";
|
|
6
|
-
readonly accepts: readonly [builder.NodeClass<{
|
|
7
|
-
readonly abstract: true;
|
|
8
|
-
readonly description: "The abstract universal kernel Node Class extended by every Kernel Node Class.";
|
|
9
|
-
}>];
|
|
10
|
-
readonly outgoing: "0..1";
|
|
11
|
-
};
|
|
12
|
-
readonly target: {
|
|
13
|
-
readonly as: "domain";
|
|
14
|
-
readonly accepts: readonly [builder.NodeClass<{
|
|
15
|
-
readonly abstract: false;
|
|
16
|
-
readonly description: "A stable Domain principal and the active projection of one canonical DomainSchema revision.";
|
|
17
|
-
readonly extends: readonly [builder.NodeClass<{
|
|
18
|
-
readonly abstract: true;
|
|
19
|
-
readonly description: "A principal that can be authenticated and can originate persistent authority facts.";
|
|
20
|
-
readonly extends: readonly [builder.NodeClass<{
|
|
21
|
-
readonly abstract: true;
|
|
22
|
-
readonly description: "The abstract universal kernel Node Class extended by every Kernel Node Class.";
|
|
23
|
-
}>];
|
|
24
|
-
readonly properties: {
|
|
25
|
-
readonly frozen: builder.Property<{
|
|
26
|
-
readonly type: "boolean";
|
|
27
|
-
}, {
|
|
28
|
-
readonly required: false;
|
|
29
|
-
readonly visibility: "private";
|
|
30
|
-
}>;
|
|
31
|
-
readonly iss: {
|
|
32
|
-
readonly type: "string";
|
|
33
|
-
readonly minLength: 1;
|
|
34
|
-
};
|
|
35
|
-
readonly requiredClaims: builder.Property<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
36
|
-
claim: import("zod").ZodString;
|
|
37
|
-
op: import("zod").ZodLiteral<"contains">;
|
|
38
|
-
value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
|
|
39
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
40
|
-
claim: import("zod").ZodString;
|
|
41
|
-
op: import("zod").ZodLiteral<"eq">;
|
|
42
|
-
value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
|
|
43
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
44
|
-
claim: import("zod").ZodString;
|
|
45
|
-
op: import("zod").ZodLiteral<"exists">;
|
|
46
|
-
}, import("zod/v4/core").$strict>], "op">>, {
|
|
47
|
-
readonly required: false;
|
|
48
|
-
readonly visibility: "private";
|
|
49
|
-
}>;
|
|
50
|
-
readonly sub: {
|
|
51
|
-
readonly type: "string";
|
|
52
|
-
readonly minLength: 1;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
readonly methods: Readonly<{
|
|
56
|
-
delegate: builder.Method<{
|
|
57
|
-
readonly description: "Issue one strictly attenuated credential from this authenticated Identity.";
|
|
58
|
-
readonly auth: "authenticated";
|
|
59
|
-
readonly input: import("zod").ZodObject<{
|
|
60
|
-
audience: import("zod").ZodString;
|
|
61
|
-
ttlSeconds: import("zod").ZodNumber;
|
|
62
|
-
attenuation: import("zod").ZodUnknown;
|
|
63
|
-
}, import("zod/v4/core").$strict>;
|
|
64
|
-
readonly output: import("zod").ZodString;
|
|
65
|
-
readonly inheritance: "default";
|
|
66
|
-
}>;
|
|
67
|
-
can: builder.Method<{
|
|
68
|
-
readonly description: "Determine whether the current authenticated Identity satisfies one installed Policy for one object.";
|
|
69
|
-
readonly auth: "authenticated";
|
|
70
|
-
readonly input: import("zod").ZodObject<{
|
|
71
|
-
policy: import("zod").ZodString;
|
|
72
|
-
object: import("zod").ZodString;
|
|
73
|
-
}, import("zod/v4/core").$strict>;
|
|
74
|
-
readonly output: import("zod").ZodObject<{
|
|
75
|
-
allowed: import("zod").ZodBoolean;
|
|
76
|
-
}, import("zod/v4/core").$strict>;
|
|
77
|
-
readonly static: true;
|
|
78
|
-
readonly inheritance: "default";
|
|
79
|
-
}>;
|
|
80
|
-
whoami: builder.Method<{
|
|
81
|
-
readonly description: "Return the Identity authenticated for this invocation.";
|
|
82
|
-
readonly auth: "authenticated";
|
|
83
|
-
readonly input: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
84
|
-
readonly output: import("zod").ZodObject<{
|
|
85
|
-
id: import("zod").ZodString;
|
|
86
|
-
issuer: import("zod").ZodString;
|
|
87
|
-
subject: import("zod").ZodString;
|
|
88
|
-
frozen: import("zod").ZodBoolean;
|
|
89
|
-
requiredClaims: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
90
|
-
claim: import("zod").ZodString;
|
|
91
|
-
op: import("zod").ZodLiteral<"contains">;
|
|
92
|
-
value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
|
|
93
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
94
|
-
claim: import("zod").ZodString;
|
|
95
|
-
op: import("zod").ZodLiteral<"eq">;
|
|
96
|
-
value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
|
|
97
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
98
|
-
claim: import("zod").ZodString;
|
|
99
|
-
op: import("zod").ZodLiteral<"exists">;
|
|
100
|
-
}, import("zod/v4/core").$strict>], "op">>;
|
|
101
|
-
}, import("zod/v4/core").$strict>;
|
|
102
|
-
readonly static: true;
|
|
103
|
-
readonly inheritance: "default";
|
|
104
|
-
}>;
|
|
105
|
-
whois: builder.Method<{
|
|
106
|
-
readonly description: "Resolve one issuer-and-subject Identity.";
|
|
107
|
-
readonly auth: "authorized";
|
|
108
|
-
readonly input: import("zod").ZodObject<{
|
|
109
|
-
issuer: import("zod").ZodString;
|
|
110
|
-
subject: import("zod").ZodString;
|
|
111
|
-
}, import("zod/v4/core").$strict>;
|
|
112
|
-
readonly output: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
113
|
-
id: import("zod").ZodString;
|
|
114
|
-
issuer: import("zod").ZodString;
|
|
115
|
-
subject: import("zod").ZodString;
|
|
116
|
-
frozen: import("zod").ZodBoolean;
|
|
117
|
-
requiredClaims: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
118
|
-
claim: import("zod").ZodString;
|
|
119
|
-
op: import("zod").ZodLiteral<"contains">;
|
|
120
|
-
value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
|
|
121
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
122
|
-
claim: import("zod").ZodString;
|
|
123
|
-
op: import("zod").ZodLiteral<"eq">;
|
|
124
|
-
value: import("zod").ZodNonOptional<import("zod").ZodUnknown>;
|
|
125
|
-
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
126
|
-
claim: import("zod").ZodString;
|
|
127
|
-
op: import("zod").ZodLiteral<"exists">;
|
|
128
|
-
}, import("zod/v4/core").$strict>], "op">>;
|
|
129
|
-
}, import("zod/v4/core").$strict>>;
|
|
130
|
-
readonly static: true;
|
|
131
|
-
readonly inheritance: "default";
|
|
132
|
-
}>;
|
|
133
|
-
mint: builder.Method<{
|
|
134
|
-
readonly description: "Resolve and sign one authorized Grant credential.";
|
|
135
|
-
readonly auth: "authorized";
|
|
136
|
-
readonly input: import("zod").ZodObject<{
|
|
137
|
-
audience: import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
|
-
ttlSeconds: import("zod").ZodNumber;
|
|
139
|
-
grant: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
140
|
-
}, import("zod/v4/core").$strict>;
|
|
141
|
-
readonly output: import("zod").ZodString;
|
|
142
|
-
readonly static: true;
|
|
143
|
-
readonly inheritance: "default";
|
|
144
|
-
}>;
|
|
145
|
-
}>;
|
|
146
|
-
}>];
|
|
147
|
-
readonly properties: {
|
|
148
|
-
readonly origin: {
|
|
149
|
-
readonly type: "string";
|
|
150
|
-
readonly pattern: "[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+";
|
|
151
|
-
};
|
|
152
|
-
readonly dependencyContext: builder.Property<{
|
|
153
|
-
readonly type: "array";
|
|
154
|
-
readonly items: {
|
|
155
|
-
readonly type: "object";
|
|
156
|
-
};
|
|
157
|
-
}, {
|
|
158
|
-
readonly visibility: "private";
|
|
159
|
-
readonly required: false;
|
|
160
|
-
}>;
|
|
161
|
-
readonly schema: builder.Property<{
|
|
162
|
-
readonly type: "object";
|
|
163
|
-
}, {
|
|
164
|
-
readonly visibility: "private";
|
|
165
|
-
}>;
|
|
166
|
-
readonly schemaRevision: builder.Property<{
|
|
167
|
-
readonly type: "string";
|
|
168
|
-
readonly pattern: "sha256:[0-9a-f]{64}";
|
|
169
|
-
}, {
|
|
170
|
-
readonly visibility: "private";
|
|
171
|
-
}>;
|
|
172
|
-
};
|
|
173
|
-
}>];
|
|
174
|
-
readonly incoming: "0..*";
|
|
175
|
-
};
|
|
176
|
-
readonly description: "A schema declaration or Core node belongs to one Domain member namespace.";
|
|
177
|
-
readonly extends: readonly [builder.DirectedEdgeClass<{
|
|
5
|
+
readonly extends: readonly [builder.ClassReferenceProjection<"edge", {
|
|
178
6
|
readonly abstract: true;
|
|
7
|
+
readonly depth: 0;
|
|
8
|
+
readonly properties: never;
|
|
179
9
|
readonly source: {
|
|
180
10
|
readonly as: "source";
|
|
181
|
-
readonly accepts: readonly [builder.NodeClass<{
|
|
182
|
-
readonly abstract: true;
|
|
183
|
-
readonly description: "The abstract universal kernel Node Class extended by every Kernel Node Class.";
|
|
184
|
-
}>];
|
|
185
11
|
readonly outgoing: "0..*";
|
|
186
12
|
};
|
|
187
13
|
readonly target: {
|
|
188
14
|
readonly as: "target";
|
|
189
|
-
readonly accepts: readonly [builder.NodeClass<{
|
|
190
|
-
readonly abstract: true;
|
|
191
|
-
readonly description: "The abstract universal kernel Node Class extended by every Kernel Node Class.";
|
|
192
|
-
}>];
|
|
193
15
|
readonly incoming: "0..*";
|
|
194
16
|
};
|
|
195
|
-
readonly
|
|
196
|
-
}>];
|
|
17
|
+
readonly constraints: Record<never, never>;
|
|
18
|
+
}, never, never, never>];
|
|
19
|
+
readonly properties: {
|
|
20
|
+
readonly member: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "member", "self", never>;
|
|
21
|
+
};
|
|
22
|
+
readonly source: {
|
|
23
|
+
readonly as: "member";
|
|
24
|
+
readonly outgoing: "0..1";
|
|
25
|
+
};
|
|
26
|
+
readonly target: {
|
|
27
|
+
readonly as: "domain";
|
|
28
|
+
readonly incoming: "0..*";
|
|
29
|
+
};
|
|
197
30
|
readonly constraints: {
|
|
198
31
|
readonly noSelf: true;
|
|
199
32
|
};
|
|
200
|
-
readonly
|
|
201
|
-
member: builder.Property<{
|
|
202
|
-
readonly type: "string";
|
|
203
|
-
readonly minLength: 3;
|
|
204
|
-
}, {
|
|
205
|
-
readonly visibility: "private";
|
|
206
|
-
}>;
|
|
207
|
-
};
|
|
33
|
+
readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, true, "member", "self", never>;
|
|
208
34
|
}>;
|
|
@@ -9,6 +9,6 @@ export const OfDomain = edgeClass.directed({
|
|
|
9
9
|
extends: [Edge],
|
|
10
10
|
constraints: { noSelf: true },
|
|
11
11
|
properties: {
|
|
12
|
-
member: property({ type: 'string', minLength: 3 }, {
|
|
12
|
+
member: property({ type: 'string', minLength: 3 }, {}),
|
|
13
13
|
},
|
|
14
14
|
});
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import { type builder } from '@astrale-os/kernel-dsl/v1';
|
|
2
|
+
/**
|
|
3
|
+
* One Identity-composition Edge Class. Each is `noSelf` and `acyclic` on its own; no constraint spans
|
|
4
|
+
* the three Classes, so stored data may hold a cycle that crosses them. Core authority decides every
|
|
5
|
+
* binder whose closure reaches such a cycle false, and no other (AUTH-AUTHORITY-DENOTATION).
|
|
6
|
+
*/
|
|
2
7
|
export declare function identityComposition(role: 'constraint' | 'excluded' | 'extension', description: string): builder.EdgeClass;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { edgeClass } from '@astrale-os/kernel-dsl/v1';
|
|
2
2
|
import { Edge } from '../meta/index.js';
|
|
3
3
|
import { Identity } from './identity.js';
|
|
4
|
+
/**
|
|
5
|
+
* One Identity-composition Edge Class. Each is `noSelf` and `acyclic` on its own; no constraint spans
|
|
6
|
+
* the three Classes, so stored data may hold a cycle that crosses them. Core authority decides every
|
|
7
|
+
* binder whose closure reaches such a cycle false, and no other (AUTH-AUTHORITY-DENOTATION).
|
|
8
|
+
*/
|
|
4
9
|
export function identityComposition(role, description) {
|
|
5
10
|
return edgeClass.directed({
|
|
6
11
|
abstract: false,
|
|
@@ -1,131 +1,234 @@
|
|
|
1
1
|
import { type builder } from '@astrale-os/kernel-dsl/v1';
|
|
2
2
|
export declare const Identity: builder.NodeClass<{
|
|
3
|
+
readonly depth: 1;
|
|
3
4
|
readonly abstract: true;
|
|
4
|
-
readonly
|
|
5
|
-
readonly extends: readonly [builder.NodeClass<{
|
|
5
|
+
readonly extends: readonly [builder.ClassReferenceProjection<"node", {
|
|
6
6
|
readonly abstract: true;
|
|
7
|
-
readonly
|
|
8
|
-
|
|
7
|
+
readonly depth: 0;
|
|
8
|
+
readonly properties: never;
|
|
9
|
+
readonly methods: Readonly<Record<never, never>>;
|
|
10
|
+
}, never, never, never>];
|
|
9
11
|
readonly properties: {
|
|
10
|
-
readonly
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
claim:
|
|
26
|
-
op:
|
|
27
|
-
value:
|
|
28
|
-
}
|
|
29
|
-
claim:
|
|
30
|
-
op:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
readonly type: "string";
|
|
37
|
-
readonly minLength: 1;
|
|
38
|
-
};
|
|
12
|
+
readonly iss: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never>;
|
|
13
|
+
readonly sub: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
14
|
+
readonly frozen: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never>;
|
|
15
|
+
readonly requiredClaims: builder.AuthoredPropertyProjection<({
|
|
16
|
+
claim: string;
|
|
17
|
+
op: "contains";
|
|
18
|
+
value: unknown;
|
|
19
|
+
} | {
|
|
20
|
+
claim: string;
|
|
21
|
+
op: "eq";
|
|
22
|
+
value: unknown;
|
|
23
|
+
} | {
|
|
24
|
+
claim: string;
|
|
25
|
+
op: "exists";
|
|
26
|
+
})[], ({
|
|
27
|
+
claim: string;
|
|
28
|
+
op: "contains";
|
|
29
|
+
value: unknown;
|
|
30
|
+
} | {
|
|
31
|
+
claim: string;
|
|
32
|
+
op: "eq";
|
|
33
|
+
value: unknown;
|
|
34
|
+
} | {
|
|
35
|
+
claim: string;
|
|
36
|
+
op: "exists";
|
|
37
|
+
})[], false, "requiredClaims", "self", never>;
|
|
39
38
|
};
|
|
40
39
|
readonly methods: Readonly<{
|
|
41
|
-
delegate: builder.Method<{
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
readonly
|
|
60
|
-
allowed:
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
readonly
|
|
69
|
-
readonly
|
|
70
|
-
id:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
frozen:
|
|
74
|
-
requiredClaims:
|
|
75
|
-
claim:
|
|
76
|
-
op:
|
|
77
|
-
value:
|
|
78
|
-
}
|
|
79
|
-
claim:
|
|
80
|
-
op:
|
|
81
|
-
value:
|
|
82
|
-
}
|
|
83
|
-
claim:
|
|
84
|
-
op:
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
claim:
|
|
104
|
-
op:
|
|
105
|
-
value:
|
|
106
|
-
}
|
|
107
|
-
claim:
|
|
108
|
-
op:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
readonly
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
readonly static: true;
|
|
128
|
-
readonly inheritance: "default";
|
|
129
|
-
}>;
|
|
40
|
+
delegate: builder.Method<builder.CallableProjection<{
|
|
41
|
+
principal: string;
|
|
42
|
+
audience: string;
|
|
43
|
+
ttlSeconds: number;
|
|
44
|
+
}, {
|
|
45
|
+
readonly mode: 'value';
|
|
46
|
+
readonly value: string;
|
|
47
|
+
}, "authenticated", true, false, undefined>>;
|
|
48
|
+
can: builder.Method<builder.CallableProjection<{
|
|
49
|
+
policy: string;
|
|
50
|
+
object: string;
|
|
51
|
+
} | {
|
|
52
|
+
checks: {
|
|
53
|
+
policy: string;
|
|
54
|
+
object: string;
|
|
55
|
+
}[];
|
|
56
|
+
}, {
|
|
57
|
+
readonly mode: 'value';
|
|
58
|
+
readonly value: {
|
|
59
|
+
allowed: boolean;
|
|
60
|
+
} | {
|
|
61
|
+
decisions: {
|
|
62
|
+
allowed: boolean;
|
|
63
|
+
}[];
|
|
64
|
+
};
|
|
65
|
+
}, "authenticated", true, false, undefined>>;
|
|
66
|
+
whoami: builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
67
|
+
readonly mode: 'value';
|
|
68
|
+
readonly value: {
|
|
69
|
+
id: string;
|
|
70
|
+
iss: string;
|
|
71
|
+
sub: string;
|
|
72
|
+
frozen: boolean;
|
|
73
|
+
requiredClaims: ({
|
|
74
|
+
claim: string;
|
|
75
|
+
op: "contains";
|
|
76
|
+
value: unknown;
|
|
77
|
+
} | {
|
|
78
|
+
claim: string;
|
|
79
|
+
op: "eq";
|
|
80
|
+
value: unknown;
|
|
81
|
+
} | {
|
|
82
|
+
claim: string;
|
|
83
|
+
op: "exists";
|
|
84
|
+
})[];
|
|
85
|
+
};
|
|
86
|
+
}, "authenticated", true, false, undefined>>;
|
|
87
|
+
whois: builder.Method<builder.CallableProjection<{
|
|
88
|
+
iss: string;
|
|
89
|
+
sub: string;
|
|
90
|
+
}, {
|
|
91
|
+
readonly mode: 'value';
|
|
92
|
+
readonly value: {
|
|
93
|
+
id: string;
|
|
94
|
+
iss: string;
|
|
95
|
+
sub: string;
|
|
96
|
+
frozen: boolean;
|
|
97
|
+
requiredClaims: ({
|
|
98
|
+
claim: string;
|
|
99
|
+
op: "contains";
|
|
100
|
+
value: unknown;
|
|
101
|
+
} | {
|
|
102
|
+
claim: string;
|
|
103
|
+
op: "eq";
|
|
104
|
+
value: unknown;
|
|
105
|
+
} | {
|
|
106
|
+
claim: string;
|
|
107
|
+
op: "exists";
|
|
108
|
+
})[];
|
|
109
|
+
} | null;
|
|
110
|
+
}, "authorized", true, false, undefined>>;
|
|
111
|
+
mint: builder.Method<builder.CallableProjection<{
|
|
112
|
+
audience?: string | undefined;
|
|
113
|
+
ttlSeconds: number;
|
|
114
|
+
}, {
|
|
115
|
+
readonly mode: 'value';
|
|
116
|
+
readonly value: string;
|
|
117
|
+
}, "authenticated", true, false, undefined>>;
|
|
118
|
+
impersonate: builder.Method<builder.CallableProjection<{
|
|
119
|
+
audience?: string | undefined;
|
|
120
|
+
ttlSeconds: number;
|
|
121
|
+
identity: string;
|
|
122
|
+
}, {
|
|
123
|
+
readonly mode: 'value';
|
|
124
|
+
readonly value: string;
|
|
125
|
+
}, "authorized", true, false, undefined>>;
|
|
130
126
|
}>;
|
|
127
|
+
readonly effectiveProperties: builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "frozen", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "iss", "self", never> | builder.AuthoredPropertyProjection<({
|
|
128
|
+
claim: string;
|
|
129
|
+
op: "contains";
|
|
130
|
+
value: unknown;
|
|
131
|
+
} | {
|
|
132
|
+
claim: string;
|
|
133
|
+
op: "eq";
|
|
134
|
+
value: unknown;
|
|
135
|
+
} | {
|
|
136
|
+
claim: string;
|
|
137
|
+
op: "exists";
|
|
138
|
+
})[], ({
|
|
139
|
+
claim: string;
|
|
140
|
+
op: "contains";
|
|
141
|
+
value: unknown;
|
|
142
|
+
} | {
|
|
143
|
+
claim: string;
|
|
144
|
+
op: "eq";
|
|
145
|
+
value: unknown;
|
|
146
|
+
} | {
|
|
147
|
+
claim: string;
|
|
148
|
+
op: "exists";
|
|
149
|
+
})[], false, "requiredClaims", "self", never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", "self", never>;
|
|
150
|
+
readonly abstractInstanceMethods: never;
|
|
151
|
+
readonly abstractStaticMethods: never;
|
|
152
|
+
readonly effectiveInstanceMethods: never;
|
|
153
|
+
readonly effectiveStaticMethods: builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<Record<string, never>, {
|
|
154
|
+
readonly mode: 'value';
|
|
155
|
+
readonly value: {
|
|
156
|
+
id: string;
|
|
157
|
+
iss: string;
|
|
158
|
+
sub: string;
|
|
159
|
+
frozen: boolean;
|
|
160
|
+
requiredClaims: ({
|
|
161
|
+
claim: string;
|
|
162
|
+
op: "contains";
|
|
163
|
+
value: unknown;
|
|
164
|
+
} | {
|
|
165
|
+
claim: string;
|
|
166
|
+
op: "eq";
|
|
167
|
+
value: unknown;
|
|
168
|
+
} | {
|
|
169
|
+
claim: string;
|
|
170
|
+
op: "exists";
|
|
171
|
+
})[];
|
|
172
|
+
};
|
|
173
|
+
}, "authenticated", true, false, undefined>>, "whoami", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
174
|
+
principal: string;
|
|
175
|
+
audience: string;
|
|
176
|
+
ttlSeconds: number;
|
|
177
|
+
}, {
|
|
178
|
+
readonly mode: 'value';
|
|
179
|
+
readonly value: string;
|
|
180
|
+
}, "authenticated", true, false, undefined>>, "delegate", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
181
|
+
iss: string;
|
|
182
|
+
sub: string;
|
|
183
|
+
}, {
|
|
184
|
+
readonly mode: 'value';
|
|
185
|
+
readonly value: {
|
|
186
|
+
id: string;
|
|
187
|
+
iss: string;
|
|
188
|
+
sub: string;
|
|
189
|
+
frozen: boolean;
|
|
190
|
+
requiredClaims: ({
|
|
191
|
+
claim: string;
|
|
192
|
+
op: "contains";
|
|
193
|
+
value: unknown;
|
|
194
|
+
} | {
|
|
195
|
+
claim: string;
|
|
196
|
+
op: "eq";
|
|
197
|
+
value: unknown;
|
|
198
|
+
} | {
|
|
199
|
+
claim: string;
|
|
200
|
+
op: "exists";
|
|
201
|
+
})[];
|
|
202
|
+
} | null;
|
|
203
|
+
}, "authorized", true, false, undefined>>, "whois", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
204
|
+
audience?: string | undefined;
|
|
205
|
+
ttlSeconds: number;
|
|
206
|
+
}, {
|
|
207
|
+
readonly mode: 'value';
|
|
208
|
+
readonly value: string;
|
|
209
|
+
}, "authenticated", true, false, undefined>>, "mint", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
210
|
+
audience?: string | undefined;
|
|
211
|
+
ttlSeconds: number;
|
|
212
|
+
identity: string;
|
|
213
|
+
}, {
|
|
214
|
+
readonly mode: 'value';
|
|
215
|
+
readonly value: string;
|
|
216
|
+
}, "authorized", true, false, undefined>>, "impersonate", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
217
|
+
policy: string;
|
|
218
|
+
object: string;
|
|
219
|
+
} | {
|
|
220
|
+
checks: {
|
|
221
|
+
policy: string;
|
|
222
|
+
object: string;
|
|
223
|
+
}[];
|
|
224
|
+
}, {
|
|
225
|
+
readonly mode: 'value';
|
|
226
|
+
readonly value: {
|
|
227
|
+
allowed: boolean;
|
|
228
|
+
} | {
|
|
229
|
+
decisions: {
|
|
230
|
+
allowed: boolean;
|
|
231
|
+
}[];
|
|
232
|
+
};
|
|
233
|
+
}, "authenticated", true, false, undefined>>, "can", "self">;
|
|
131
234
|
}>;
|