@craft-ts/core 0.7.0-beta.13 → 0.7.0-beta.15
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/package.json +10 -2
- package/src/index.d.ts +156 -148
- package/src/index.js +153 -142
- package/src/lib/after-recomputation.d.ts +3 -4
- package/src/lib/after-recomputation.js +3 -4
- package/src/lib/app-checked-di.d.ts +3 -4
- package/src/lib/app-checked-di.js +0 -1
- package/src/lib/async-process.d.ts +18 -19
- package/src/lib/async-process.js +24 -25
- package/src/lib/branded-component/branded-component.d.ts +3 -4
- package/src/lib/branded-component/branded-component.js +0 -1
- package/src/lib/browser-boundaries.d.ts +6 -7
- package/src/lib/browser-boundaries.js +5 -6
- package/src/lib/client-di-requirement.d.ts +1 -2
- package/src/lib/client-di-requirement.js +0 -1
- package/src/lib/client-function-middleware.d.ts +8 -92
- package/src/lib/client-function-middleware.js +89 -90
- package/src/lib/component-monitoring.d.ts +1 -2
- package/src/lib/component-monitoring.js +2 -3
- package/src/lib/component-register.d.ts +1 -2
- package/src/lib/component-register.js +1 -2
- package/src/lib/computed-source.d.ts +3 -4
- package/src/lib/computed-source.js +2 -3
- package/src/lib/correlation-id-plugin.d.ts +1 -2
- package/src/lib/correlation-id-plugin.js +6 -7
- package/src/lib/correlation-id.d.ts +4 -5
- package/src/lib/correlation-id.js +3 -4
- package/src/lib/craft-a11y.d.ts +3 -4
- package/src/lib/craft-a11y.js +5 -6
- package/src/lib/craft-activated-route.d.ts +2 -3
- package/src/lib/craft-activated-route.js +2 -3
- package/src/lib/craft-app-config.d.ts +4 -5
- package/src/lib/craft-app-config.js +3 -4
- package/src/lib/craft-codec.d.ts +0 -1
- package/src/lib/craft-codec.js +0 -1
- package/src/lib/craft-computed.d.ts +6 -7
- package/src/lib/craft-computed.js +7 -8
- package/src/lib/craft-control-flow.d.ts +0 -1
- package/src/lib/craft-control-flow.js +2 -3
- package/src/lib/craft-effect.d.ts +2 -3
- package/src/lib/craft-effect.js +7 -8
- package/src/lib/craft-exception.d.ts +0 -1
- package/src/lib/craft-exception.js +0 -1
- package/src/lib/craft-gen.d.ts +1 -2
- package/src/lib/craft-gen.js +2 -3
- package/src/lib/craft-generator-runtime.d.ts +21 -5
- package/src/lib/craft-generator-runtime.js +28 -6
- package/src/lib/craft-guard-runtime.d.ts +4 -5
- package/src/lib/craft-guard-runtime.js +6 -7
- package/src/lib/craft-handshake.d.ts +1 -2
- package/src/lib/craft-handshake.js +0 -1
- package/src/lib/craft-http-client.d.ts +3 -4
- package/src/lib/craft-http-client.js +4 -5
- package/src/lib/craft-http-trace.d.ts +1 -2
- package/src/lib/craft-http-trace.js +5 -2
- package/src/lib/craft-hydration.d.ts +11 -0
- package/src/lib/craft-hydration.js +2 -0
- package/src/lib/craft-lazy.d.ts +3 -4
- package/src/lib/craft-lazy.js +5 -6
- package/src/lib/craft-load-retry.d.ts +2 -3
- package/src/lib/craft-load-retry.js +11 -4
- package/src/lib/craft-machine-history.d.ts +6 -7
- package/src/lib/craft-machine-history.js +6 -7
- package/src/lib/craft-match.d.ts +0 -1
- package/src/lib/craft-match.js +0 -1
- package/src/lib/craft-method.d.ts +3 -4
- package/src/lib/craft-method.js +5 -6
- package/src/lib/craft-node-directive.d.ts +3 -4
- package/src/lib/craft-node-directive.js +2 -3
- package/src/lib/craft-pending.d.ts +3 -4
- package/src/lib/craft-pending.js +2 -3
- package/src/lib/craft-pipe.d.ts +1 -2
- package/src/lib/craft-pipe.js +7 -8
- package/src/lib/craft-platform.d.ts +2 -3
- package/src/lib/craft-platform.js +2 -3
- package/src/lib/craft-primitive-gen.d.ts +7 -8
- package/src/lib/craft-primitive-gen.js +4 -5
- package/src/lib/craft-primitive-registry.d.ts +4 -2
- package/src/lib/craft-primitive-registry.js +5 -3
- package/src/lib/craft-program-operators.d.ts +3 -4
- package/src/lib/craft-program-operators.js +4 -5
- package/src/lib/craft-program-runtime.d.ts +3 -4
- package/src/lib/craft-program-runtime.js +7 -8
- package/src/lib/craft-register-for-runtime.d.ts +2 -3
- package/src/lib/craft-register-for-runtime.js +2 -3
- package/src/lib/craft-register-for.d.ts +3 -4
- package/src/lib/craft-register-for.js +6 -7
- package/src/lib/craft-render-identity.d.ts +0 -1
- package/src/lib/craft-render-identity.js +1 -2
- package/src/lib/craft-replay.d.ts +0 -1
- package/src/lib/craft-replay.js +0 -1
- package/src/lib/craft-request-context.d.ts +15 -0
- package/src/lib/craft-request-context.js +40 -0
- package/src/lib/craft-resolve.d.ts +2 -3
- package/src/lib/craft-resolve.js +0 -1
- package/src/lib/craft-resource.d.ts +2 -3
- package/src/lib/craft-resource.js +14 -6
- package/src/lib/craft-route-exceptions.d.ts +27 -28
- package/src/lib/craft-route-exceptions.js +3 -4
- package/src/lib/craft-route-load-error.d.ts +92 -93
- package/src/lib/craft-route-load-error.js +6 -7
- package/src/lib/craft-route-meta.d.ts +4 -5
- package/src/lib/craft-route-meta.js +0 -1
- package/src/lib/craft-route-target.d.ts +1 -2
- package/src/lib/craft-route-target.js +1 -2
- package/src/lib/craft-router-outlet.d.ts +7 -7
- package/src/lib/craft-router-outlet.js +24 -18
- package/src/lib/craft-router-tokens.d.ts +3 -4
- package/src/lib/craft-router-tokens.js +2 -3
- package/src/lib/craft-router-trace.d.ts +3 -4
- package/src/lib/craft-router-trace.js +9 -3
- package/src/lib/craft-router.d.ts +16 -17
- package/src/lib/craft-router.js +75 -74
- package/src/lib/craft-routes.d.ts +20 -15
- package/src/lib/craft-routes.js +13 -12
- package/src/lib/craft-runtime-mode.d.ts +13 -0
- package/src/lib/craft-runtime-mode.js +21 -0
- package/src/lib/craft-security.d.ts +87 -0
- package/src/lib/craft-security.js +117 -0
- package/src/lib/craft-service.d.ts +12 -13
- package/src/lib/craft-service.js +11 -12
- package/src/lib/craft-service.shared.d.ts +0 -1
- package/src/lib/craft-service.shared.js +0 -1
- package/src/lib/craft-settled.d.ts +23 -16
- package/src/lib/craft-settled.js +9 -10
- package/src/lib/craft-ssr.d.ts +2 -3
- package/src/lib/craft-ssr.js +4 -5
- package/src/lib/craft-state-machine-runtime.d.ts +2 -3
- package/src/lib/craft-state-machine-runtime.js +3 -4
- package/src/lib/craft-state-machine.d.ts +5 -6
- package/src/lib/craft-state-machine.js +9 -10
- package/src/lib/craft-target-runtime.d.ts +1 -2
- package/src/lib/craft-target-runtime.js +2 -3
- package/src/lib/craft-transfer-snapshot.d.ts +10 -5
- package/src/lib/craft-transfer-snapshot.js +139 -14
- package/src/lib/craft-unique.d.ts +0 -1
- package/src/lib/craft-unique.js +0 -1
- package/src/lib/craft-until-settled.d.ts +5 -6
- package/src/lib/craft-until-settled.js +4 -5
- package/src/lib/craft-use.d.ts +0 -1
- package/src/lib/craft-use.js +2 -3
- package/src/lib/craft-view-transition.d.ts +2 -3
- package/src/lib/craft-view-transition.js +2 -3
- package/src/lib/dev-tools.d.ts +7 -0
- package/src/lib/dev-tools.js +244 -0
- package/src/lib/dom-event-hook.d.ts +1 -2
- package/src/lib/dom-event-hook.js +1 -2
- package/src/lib/fn-wrapper.d.ts +2 -3
- package/src/lib/fn-wrapper.js +3 -4
- package/src/lib/form/craft-field.d.ts +2 -3
- package/src/lib/form/craft-field.directive.d.ts +6 -7
- package/src/lib/form/craft-field.directive.js +5 -6
- package/src/lib/form/craft-field.js +1 -2
- package/src/lib/form/field-exception.d.ts +4 -5
- package/src/lib/form/field-exception.js +1 -2
- package/src/lib/form/field-lens.d.ts +0 -1
- package/src/lib/form/field-lens.js +0 -1
- package/src/lib/form/insert-form-attributes.d.ts +6 -7
- package/src/lib/form/insert-form-attributes.js +5 -6
- package/src/lib/form/insert-form-internals.d.ts +11 -12
- package/src/lib/form/insert-form-internals.js +9 -10
- package/src/lib/form/insert-form-schema.d.ts +3 -4
- package/src/lib/form/insert-form-schema.js +4 -5
- package/src/lib/form/insert-form-submit.d.ts +7 -8
- package/src/lib/form/insert-form-submit.js +3 -4
- package/src/lib/form/insert-form.d.ts +6 -7
- package/src/lib/form/insert-form.js +8 -9
- package/src/lib/form/insert-select-form-tree.d.ts +2 -3
- package/src/lib/form/insert-select-form-tree.js +5 -6
- package/src/lib/form/insert-sub-form-field.d.ts +3 -4
- package/src/lib/form/insert-sub-form-field.js +6 -7
- package/src/lib/form/make-form-tree-insert.d.ts +1 -2
- package/src/lib/form/make-form-tree-insert.js +3 -4
- package/src/lib/form/target-form-field.d.ts +0 -1
- package/src/lib/form/target-form-field.js +0 -1
- package/src/lib/form/validator.d.ts +5 -6
- package/src/lib/form/validator.js +3 -4
- package/src/lib/from-event-to-source$.d.ts +2 -3
- package/src/lib/from-event-to-source$.js +3 -4
- package/src/lib/global-persister-handler.service.d.ts +1 -2
- package/src/lib/global-persister-handler.service.js +2 -3
- package/src/lib/host/craft-compat.d.ts +2 -3
- package/src/lib/host/craft-compat.js +2 -3
- package/src/lib/host/craft-dom.d.ts +0 -1
- package/src/lib/host/craft-dom.js +0 -1
- package/src/lib/host/craft-http.d.ts +0 -1
- package/src/lib/host/craft-http.js +0 -1
- package/src/lib/host/craft-injector-host.d.ts +2 -3
- package/src/lib/host/craft-injector-host.js +1 -2
- package/src/lib/host/craft-injector.d.ts +0 -1
- package/src/lib/host/craft-injector.js +0 -1
- package/src/lib/host/craft-linked-signal.d.ts +1 -2
- package/src/lib/host/craft-linked-signal.js +2 -3
- package/src/lib/host/craft-router-runtime.d.ts +0 -1
- package/src/lib/host/craft-router-runtime.js +0 -1
- package/src/lib/host/craft-router-types.d.ts +1 -2
- package/src/lib/host/craft-router-types.js +1 -2
- package/src/lib/host/craft-signal.d.ts +0 -1
- package/src/lib/host/craft-signal.js +1 -2
- package/src/lib/host/craft-test-bed.d.ts +2 -3
- package/src/lib/host/craft-test-bed.js +2 -3
- package/src/lib/host-tag.d.ts +1 -2
- package/src/lib/host-tag.js +1 -2
- package/src/lib/http-server.d.ts +156 -0
- package/src/lib/http-server.js +590 -0
- package/src/lib/insert-entities.d.ts +5 -6
- package/src/lib/insert-entities.js +1 -2
- package/src/lib/insert-noop-typing-anchor.d.ts +1 -2
- package/src/lib/insert-noop-typing-anchor.js +0 -1
- package/src/lib/insert-pagination-placeholder-data.d.ts +5 -6
- package/src/lib/insert-pagination-placeholder-data.js +5 -6
- package/src/lib/insert-react-on-mutation.d.ts +5 -6
- package/src/lib/insert-react-on-mutation.js +2 -3
- package/src/lib/insert-select-resource.d.ts +2 -3
- package/src/lib/insert-select-resource.js +1 -2
- package/src/lib/insert-select.d.ts +5 -6
- package/src/lib/insert-select.js +18 -19
- package/src/lib/insert-storage-persister.d.ts +4 -5
- package/src/lib/insert-storage-persister.js +2 -3
- package/src/lib/insert-typed-pipes.d.ts +3 -4
- package/src/lib/insert-typed-pipes.js +2 -3
- package/src/lib/lambda-adapter.d.ts +52 -0
- package/src/lib/lambda-adapter.js +101 -0
- package/src/lib/linked-source.d.ts +3 -4
- package/src/lib/linked-source.js +2 -3
- package/src/lib/local-storage-persister.d.ts +2 -3
- package/src/lib/local-storage-persister.js +3 -4
- package/src/lib/middleware-schema-shared.d.ts +9 -21
- package/src/lib/middleware-schema-shared.js +6 -1
- package/src/lib/mock-http-request-for-route.d.ts +3 -4
- package/src/lib/mock-http-request-for-route.js +0 -1
- package/src/lib/mutation.d.ts +18 -19
- package/src/lib/mutation.js +23 -24
- package/src/lib/on$.d.ts +6 -7
- package/src/lib/on$.js +4 -5
- package/src/lib/portable-server-function.d.ts +8 -9
- package/src/lib/portable-server-function.js +12 -5
- package/src/lib/preserved-resource.d.ts +2 -3
- package/src/lib/preserved-resource.js +4 -5
- package/src/lib/primitive-method-runtime-context.d.ts +1 -2
- package/src/lib/primitive-method-runtime-context.js +2 -3
- package/src/lib/primitive-resource-runtime-context.d.ts +1 -2
- package/src/lib/primitive-resource-runtime-context.js +2 -3
- package/src/lib/query-params.d.ts +12 -13
- package/src/lib/query-params.js +15 -16
- package/src/lib/query.core.d.ts +15 -14
- package/src/lib/query.core.js +1 -2
- package/src/lib/query.d.ts +19 -20
- package/src/lib/query.js +23 -24
- package/src/lib/reactive-read.d.ts +2 -3
- package/src/lib/reactive-read.js +2 -3
- package/src/lib/render/channels.d.ts +130 -0
- package/src/lib/render/channels.js +0 -0
- package/src/lib/resource-by-id.d.ts +4 -5
- package/src/lib/resource-by-id.js +4 -5
- package/src/lib/resource-exception.d.ts +2 -3
- package/src/lib/resource-exception.js +1 -2
- package/src/lib/route-checked-di.d.ts +4 -5
- package/src/lib/route-checked-di.js +0 -1
- package/src/lib/schema-validation.d.ts +4 -5
- package/src/lib/schema-validation.js +2 -3
- package/src/lib/send-context-to-ai.d.ts +3 -4
- package/src/lib/send-context-to-ai.js +1 -2
- package/src/lib/send-context-to-ai.tokens.d.ts +1 -2
- package/src/lib/send-context-to-ai.tokens.js +0 -1
- package/src/lib/server-function-client.d.ts +18 -7
- package/src/lib/server-function-client.js +31 -9
- package/src/lib/server-function-contract.d.ts +1 -2
- package/src/lib/server-function-contract.js +0 -1
- package/src/lib/server-function-middleware.d.ts +49 -132
- package/src/lib/server-function-middleware.js +83 -103
- package/src/lib/server-function.d.ts +58 -8
- package/src/lib/server-function.js +20 -6
- package/src/lib/server-layer.d.ts +3 -4
- package/src/lib/server-layer.js +1 -2
- package/src/lib/server.d.ts +39 -6
- package/src/lib/server.js +259 -27
- package/src/lib/setup-craft-service-test.d.ts +3 -4
- package/src/lib/setup-craft-service-test.js +6 -7
- package/src/lib/setup-craft-service-testing-by-register.d.ts +4 -5
- package/src/lib/setup-craft-service-testing-by-register.js +4 -5
- package/src/lib/signal-proxy.d.ts +2 -3
- package/src/lib/signal-proxy.js +1 -2
- package/src/lib/signal-source.d.ts +3 -4
- package/src/lib/signal-source.js +7 -8
- package/src/lib/source$.d.ts +3 -4
- package/src/lib/source$.js +7 -8
- package/src/lib/source-from-event.d.ts +2 -3
- package/src/lib/source-from-event.js +2 -3
- package/src/lib/stacked-source.d.ts +1 -2
- package/src/lib/stacked-source.js +1 -2
- package/src/lib/standard-schema.d.ts +0 -1
- package/src/lib/standard-schema.js +0 -1
- package/src/lib/state-method-runtime-context.d.ts +2 -3
- package/src/lib/state-method-runtime-context.js +1 -2
- package/src/lib/state.d.ts +13 -14
- package/src/lib/state.js +17 -18
- package/src/lib/storage-persister.service.d.ts +3 -4
- package/src/lib/storage-persister.service.js +3 -4
- package/src/lib/take-app-snapshot.d.ts +1 -2
- package/src/lib/take-app-snapshot.js +10 -4
- package/src/lib/template-trace.d.ts +1 -2
- package/src/lib/template-trace.js +5 -2
- package/src/lib/temporal-runtime.d.ts +1 -2
- package/src/lib/temporal-runtime.js +1 -2
- package/src/lib/to-source.d.ts +3 -4
- package/src/lib/to-source.js +2 -3
- package/src/lib/util/craft-resource-ref.d.ts +2 -3
- package/src/lib/util/craft-resource-ref.js +0 -1
- package/src/lib/util/craft-resource-status.d.ts +1 -2
- package/src/lib/util/craft-resource-status.js +0 -1
- package/src/lib/util/entities-util.d.ts +0 -1
- package/src/lib/util/entities-util.js +0 -1
- package/src/lib/util/explicit-effect.d.ts +1 -2
- package/src/lib/util/explicit-effect.js +1 -2
- package/src/lib/util/extract-signal-props-and-methods.d.ts +2 -3
- package/src/lib/util/extract-signal-props-and-methods.js +0 -1
- package/src/lib/util/method-trigger-nonce.d.ts +1 -2
- package/src/lib/util/method-trigger-nonce.js +0 -1
- package/src/lib/util/persister.type.d.ts +2 -3
- package/src/lib/util/persister.type.js +0 -1
- package/src/lib/util/persister.util.d.ts +0 -1
- package/src/lib/util/persister.util.js +0 -1
- package/src/lib/util/react-on-mutation-effect.d.ts +5 -6
- package/src/lib/util/react-on-mutation-effect.js +4 -5
- package/src/lib/util/resource-by-id-changes-tracker.util.d.ts +2 -3
- package/src/lib/util/resource-by-id-changes-tracker.util.js +2 -3
- package/src/lib/util/source.type.d.ts +2 -3
- package/src/lib/util/source.type.js +0 -1
- package/src/lib/util/types/access-type-object-property-by-dotted-path.type.d.ts +1 -2
- package/src/lib/util/types/access-type-object-property-by-dotted-path.type.js +0 -1
- package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.d.ts +4 -5
- package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.js +0 -1
- package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.d.ts +3 -4
- package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.js +0 -1
- package/src/lib/util/types/brand.d.ts +0 -1
- package/src/lib/util/types/brand.js +0 -1
- package/src/lib/util/types/object-deep-path-mapper.type.d.ts +1 -2
- package/src/lib/util/types/object-deep-path-mapper.type.js +0 -1
- package/src/lib/util/types/resource-by-id-config.type.d.ts +3 -4
- package/src/lib/util/types/resource-by-id-config.type.js +0 -1
- package/src/lib/util/types/resource-with-params-or-params-fn.type.d.ts +2 -3
- package/src/lib/util/types/resource-with-params-or-params-fn.type.js +0 -1
- package/src/lib/util/types/shared.type.d.ts +6 -7
- package/src/lib/util/types/shared.type.js +0 -1
- package/src/lib/util/types/util.d.ts +2 -3
- package/src/lib/util/types/util.js +3 -3
- package/src/lib/util/types/util.type.d.ts +3 -4
- package/src/lib/util/types/util.type.js +0 -1
- package/src/lib/util/update-state.util.d.ts +0 -1
- package/src/lib/util/update-state.util.js +0 -1
- package/src/lib/util/util.d.ts +2 -3
- package/src/lib/util/util.js +1 -2
- package/src/lib/util/util.type.d.ts +5 -6
- package/src/lib/util/util.type.js +0 -1
- package/src/lib/worker-adapter.d.ts +8 -0
- package/src/lib/worker-adapter.js +8 -0
- package/src/lib/yieldable.d.ts +4 -5
- package/src/lib/yieldable.js +4 -5
- package/src/index.d.ts.map +0 -1
- package/src/index.js.map +0 -1
- package/src/lib/after-recomputation.d.ts.map +0 -1
- package/src/lib/after-recomputation.js.map +0 -1
- package/src/lib/app-checked-di.d.ts.map +0 -1
- package/src/lib/app-checked-di.js.map +0 -1
- package/src/lib/async-process.d.ts.map +0 -1
- package/src/lib/async-process.js.map +0 -1
- package/src/lib/branded-component/branded-component.d.ts.map +0 -1
- package/src/lib/branded-component/branded-component.js.map +0 -1
- package/src/lib/browser-boundaries.d.ts.map +0 -1
- package/src/lib/browser-boundaries.js.map +0 -1
- package/src/lib/client-di-requirement.d.ts.map +0 -1
- package/src/lib/client-di-requirement.js.map +0 -1
- package/src/lib/client-function-middleware.d.ts.map +0 -1
- package/src/lib/client-function-middleware.js.map +0 -1
- package/src/lib/component-monitoring.d.ts.map +0 -1
- package/src/lib/component-monitoring.js.map +0 -1
- package/src/lib/component-register.d.ts.map +0 -1
- package/src/lib/component-register.js.map +0 -1
- package/src/lib/computed-source.d.ts.map +0 -1
- package/src/lib/computed-source.js.map +0 -1
- package/src/lib/correlation-id-plugin.d.ts.map +0 -1
- package/src/lib/correlation-id-plugin.js.map +0 -1
- package/src/lib/correlation-id.d.ts.map +0 -1
- package/src/lib/correlation-id.js.map +0 -1
- package/src/lib/craft-a11y.d.ts.map +0 -1
- package/src/lib/craft-a11y.js.map +0 -1
- package/src/lib/craft-activated-route.d.ts.map +0 -1
- package/src/lib/craft-activated-route.js.map +0 -1
- package/src/lib/craft-app-config.d.ts.map +0 -1
- package/src/lib/craft-app-config.js.map +0 -1
- package/src/lib/craft-codec.d.ts.map +0 -1
- package/src/lib/craft-codec.js.map +0 -1
- package/src/lib/craft-computed.d.ts.map +0 -1
- package/src/lib/craft-computed.js.map +0 -1
- package/src/lib/craft-control-flow.d.ts.map +0 -1
- package/src/lib/craft-control-flow.js.map +0 -1
- package/src/lib/craft-effect.d.ts.map +0 -1
- package/src/lib/craft-effect.js.map +0 -1
- package/src/lib/craft-exception.d.ts.map +0 -1
- package/src/lib/craft-exception.js.map +0 -1
- package/src/lib/craft-gen.d.ts.map +0 -1
- package/src/lib/craft-gen.js.map +0 -1
- package/src/lib/craft-generator-runtime.d.ts.map +0 -1
- package/src/lib/craft-generator-runtime.js.map +0 -1
- package/src/lib/craft-guard-runtime.d.ts.map +0 -1
- package/src/lib/craft-guard-runtime.js.map +0 -1
- package/src/lib/craft-handshake.d.ts.map +0 -1
- package/src/lib/craft-handshake.js.map +0 -1
- package/src/lib/craft-http-client.d.ts.map +0 -1
- package/src/lib/craft-http-client.js.map +0 -1
- package/src/lib/craft-http-trace.d.ts.map +0 -1
- package/src/lib/craft-http-trace.js.map +0 -1
- package/src/lib/craft-lazy.d.ts.map +0 -1
- package/src/lib/craft-lazy.js.map +0 -1
- package/src/lib/craft-load-retry.d.ts.map +0 -1
- package/src/lib/craft-load-retry.js.map +0 -1
- package/src/lib/craft-machine-history.d.ts.map +0 -1
- package/src/lib/craft-machine-history.js.map +0 -1
- package/src/lib/craft-match.d.ts.map +0 -1
- package/src/lib/craft-match.js.map +0 -1
- package/src/lib/craft-method.d.ts.map +0 -1
- package/src/lib/craft-method.js.map +0 -1
- package/src/lib/craft-node-directive.d.ts.map +0 -1
- package/src/lib/craft-node-directive.js.map +0 -1
- package/src/lib/craft-pending.d.ts.map +0 -1
- package/src/lib/craft-pending.js.map +0 -1
- package/src/lib/craft-pipe.d.ts.map +0 -1
- package/src/lib/craft-pipe.js.map +0 -1
- package/src/lib/craft-platform.d.ts.map +0 -1
- package/src/lib/craft-platform.js.map +0 -1
- package/src/lib/craft-primitive-gen.d.ts.map +0 -1
- package/src/lib/craft-primitive-gen.js.map +0 -1
- package/src/lib/craft-primitive-registry.d.ts.map +0 -1
- package/src/lib/craft-primitive-registry.js.map +0 -1
- package/src/lib/craft-program-operators.d.ts.map +0 -1
- package/src/lib/craft-program-operators.js.map +0 -1
- package/src/lib/craft-program-runtime.d.ts.map +0 -1
- package/src/lib/craft-program-runtime.js.map +0 -1
- package/src/lib/craft-register-for-runtime.d.ts.map +0 -1
- package/src/lib/craft-register-for-runtime.js.map +0 -1
- package/src/lib/craft-register-for.d.ts.map +0 -1
- package/src/lib/craft-register-for.js.map +0 -1
- package/src/lib/craft-render-identity.d.ts.map +0 -1
- package/src/lib/craft-render-identity.js.map +0 -1
- package/src/lib/craft-replay.d.ts.map +0 -1
- package/src/lib/craft-replay.js.map +0 -1
- package/src/lib/craft-resolve.d.ts.map +0 -1
- package/src/lib/craft-resolve.js.map +0 -1
- package/src/lib/craft-resource.d.ts.map +0 -1
- package/src/lib/craft-resource.js.map +0 -1
- package/src/lib/craft-route-exceptions.d.ts.map +0 -1
- package/src/lib/craft-route-exceptions.js.map +0 -1
- package/src/lib/craft-route-load-error.d.ts.map +0 -1
- package/src/lib/craft-route-load-error.js.map +0 -1
- package/src/lib/craft-route-meta.d.ts.map +0 -1
- package/src/lib/craft-route-meta.js.map +0 -1
- package/src/lib/craft-route-target.d.ts.map +0 -1
- package/src/lib/craft-route-target.js.map +0 -1
- package/src/lib/craft-router-outlet.d.ts.map +0 -1
- package/src/lib/craft-router-outlet.js.map +0 -1
- package/src/lib/craft-router-tokens.d.ts.map +0 -1
- package/src/lib/craft-router-tokens.js.map +0 -1
- package/src/lib/craft-router-trace.d.ts.map +0 -1
- package/src/lib/craft-router-trace.js.map +0 -1
- package/src/lib/craft-router.d.ts.map +0 -1
- package/src/lib/craft-router.js.map +0 -1
- package/src/lib/craft-routes.d.ts.map +0 -1
- package/src/lib/craft-routes.js.map +0 -1
- package/src/lib/craft-service.d.ts.map +0 -1
- package/src/lib/craft-service.js.map +0 -1
- package/src/lib/craft-service.shared.d.ts.map +0 -1
- package/src/lib/craft-service.shared.js.map +0 -1
- package/src/lib/craft-settled.d.ts.map +0 -1
- package/src/lib/craft-settled.js.map +0 -1
- package/src/lib/craft-ssr.d.ts.map +0 -1
- package/src/lib/craft-ssr.js.map +0 -1
- package/src/lib/craft-state-machine-runtime.d.ts.map +0 -1
- package/src/lib/craft-state-machine-runtime.js.map +0 -1
- package/src/lib/craft-state-machine.d.ts.map +0 -1
- package/src/lib/craft-state-machine.js.map +0 -1
- package/src/lib/craft-target-runtime.d.ts.map +0 -1
- package/src/lib/craft-target-runtime.js.map +0 -1
- package/src/lib/craft-transfer-snapshot.d.ts.map +0 -1
- package/src/lib/craft-transfer-snapshot.js.map +0 -1
- package/src/lib/craft-unique.d.ts.map +0 -1
- package/src/lib/craft-unique.js.map +0 -1
- package/src/lib/craft-until-settled.d.ts.map +0 -1
- package/src/lib/craft-until-settled.js.map +0 -1
- package/src/lib/craft-use.d.ts.map +0 -1
- package/src/lib/craft-use.js.map +0 -1
- package/src/lib/craft-view-transition.d.ts.map +0 -1
- package/src/lib/craft-view-transition.js.map +0 -1
- package/src/lib/dom-event-hook.d.ts.map +0 -1
- package/src/lib/dom-event-hook.js.map +0 -1
- package/src/lib/fn-wrapper.d.ts.map +0 -1
- package/src/lib/fn-wrapper.js.map +0 -1
- package/src/lib/form/craft-field.d.ts.map +0 -1
- package/src/lib/form/craft-field.directive.d.ts.map +0 -1
- package/src/lib/form/craft-field.directive.js.map +0 -1
- package/src/lib/form/craft-field.js.map +0 -1
- package/src/lib/form/field-exception.d.ts.map +0 -1
- package/src/lib/form/field-exception.js.map +0 -1
- package/src/lib/form/field-lens.d.ts.map +0 -1
- package/src/lib/form/field-lens.js.map +0 -1
- package/src/lib/form/insert-form-attributes.d.ts.map +0 -1
- package/src/lib/form/insert-form-attributes.js.map +0 -1
- package/src/lib/form/insert-form-internals.d.ts.map +0 -1
- package/src/lib/form/insert-form-internals.js.map +0 -1
- package/src/lib/form/insert-form-schema.d.ts.map +0 -1
- package/src/lib/form/insert-form-schema.js.map +0 -1
- package/src/lib/form/insert-form-submit.d.ts.map +0 -1
- package/src/lib/form/insert-form-submit.js.map +0 -1
- package/src/lib/form/insert-form.d.ts.map +0 -1
- package/src/lib/form/insert-form.js.map +0 -1
- package/src/lib/form/insert-select-form-tree.d.ts.map +0 -1
- package/src/lib/form/insert-select-form-tree.js.map +0 -1
- package/src/lib/form/insert-sub-form-field.d.ts.map +0 -1
- package/src/lib/form/insert-sub-form-field.js.map +0 -1
- package/src/lib/form/make-form-tree-insert.d.ts.map +0 -1
- package/src/lib/form/make-form-tree-insert.js.map +0 -1
- package/src/lib/form/target-form-field.d.ts.map +0 -1
- package/src/lib/form/target-form-field.js.map +0 -1
- package/src/lib/form/validator.d.ts.map +0 -1
- package/src/lib/form/validator.js.map +0 -1
- package/src/lib/from-event-to-source$.d.ts.map +0 -1
- package/src/lib/from-event-to-source$.js.map +0 -1
- package/src/lib/global-persister-handler.service.d.ts.map +0 -1
- package/src/lib/global-persister-handler.service.js.map +0 -1
- package/src/lib/host/craft-compat.d.ts.map +0 -1
- package/src/lib/host/craft-compat.js.map +0 -1
- package/src/lib/host/craft-dom.d.ts.map +0 -1
- package/src/lib/host/craft-dom.js.map +0 -1
- package/src/lib/host/craft-http.d.ts.map +0 -1
- package/src/lib/host/craft-http.js.map +0 -1
- package/src/lib/host/craft-injector-host.d.ts.map +0 -1
- package/src/lib/host/craft-injector-host.js.map +0 -1
- package/src/lib/host/craft-injector.d.ts.map +0 -1
- package/src/lib/host/craft-injector.js.map +0 -1
- package/src/lib/host/craft-linked-signal.d.ts.map +0 -1
- package/src/lib/host/craft-linked-signal.js.map +0 -1
- package/src/lib/host/craft-router-runtime.d.ts.map +0 -1
- package/src/lib/host/craft-router-runtime.js.map +0 -1
- package/src/lib/host/craft-router-types.d.ts.map +0 -1
- package/src/lib/host/craft-router-types.js.map +0 -1
- package/src/lib/host/craft-signal.d.ts.map +0 -1
- package/src/lib/host/craft-signal.js.map +0 -1
- package/src/lib/host/craft-test-bed.d.ts.map +0 -1
- package/src/lib/host/craft-test-bed.js.map +0 -1
- package/src/lib/host-tag.d.ts.map +0 -1
- package/src/lib/host-tag.js.map +0 -1
- package/src/lib/insert-entities.d.ts.map +0 -1
- package/src/lib/insert-entities.js.map +0 -1
- package/src/lib/insert-noop-typing-anchor.d.ts.map +0 -1
- package/src/lib/insert-noop-typing-anchor.js.map +0 -1
- package/src/lib/insert-pagination-placeholder-data.d.ts.map +0 -1
- package/src/lib/insert-pagination-placeholder-data.js.map +0 -1
- package/src/lib/insert-react-on-mutation.d.ts.map +0 -1
- package/src/lib/insert-react-on-mutation.js.map +0 -1
- package/src/lib/insert-select-resource.d.ts.map +0 -1
- package/src/lib/insert-select-resource.js.map +0 -1
- package/src/lib/insert-select.d.ts.map +0 -1
- package/src/lib/insert-select.js.map +0 -1
- package/src/lib/insert-storage-persister.d.ts.map +0 -1
- package/src/lib/insert-storage-persister.js.map +0 -1
- package/src/lib/insert-typed-pipes.d.ts.map +0 -1
- package/src/lib/insert-typed-pipes.js.map +0 -1
- package/src/lib/linked-source.d.ts.map +0 -1
- package/src/lib/linked-source.js.map +0 -1
- package/src/lib/local-storage-persister.d.ts.map +0 -1
- package/src/lib/local-storage-persister.js.map +0 -1
- package/src/lib/middleware-schema-shared.d.ts.map +0 -1
- package/src/lib/middleware-schema-shared.js.map +0 -1
- package/src/lib/mock-http-request-for-route.d.ts.map +0 -1
- package/src/lib/mock-http-request-for-route.js.map +0 -1
- package/src/lib/mutation.d.ts.map +0 -1
- package/src/lib/mutation.js.map +0 -1
- package/src/lib/on$.d.ts.map +0 -1
- package/src/lib/on$.js.map +0 -1
- package/src/lib/portable-server-function.d.ts.map +0 -1
- package/src/lib/portable-server-function.js.map +0 -1
- package/src/lib/preserved-resource.d.ts.map +0 -1
- package/src/lib/preserved-resource.js.map +0 -1
- package/src/lib/primitive-method-runtime-context.d.ts.map +0 -1
- package/src/lib/primitive-method-runtime-context.js.map +0 -1
- package/src/lib/primitive-resource-runtime-context.d.ts.map +0 -1
- package/src/lib/primitive-resource-runtime-context.js.map +0 -1
- package/src/lib/query-params.d.ts.map +0 -1
- package/src/lib/query-params.js.map +0 -1
- package/src/lib/query.core.d.ts.map +0 -1
- package/src/lib/query.core.js.map +0 -1
- package/src/lib/query.d.ts.map +0 -1
- package/src/lib/query.js.map +0 -1
- package/src/lib/reactive-read.d.ts.map +0 -1
- package/src/lib/reactive-read.js.map +0 -1
- package/src/lib/resource-by-id.d.ts.map +0 -1
- package/src/lib/resource-by-id.js.map +0 -1
- package/src/lib/resource-exception.d.ts.map +0 -1
- package/src/lib/resource-exception.js.map +0 -1
- package/src/lib/route-checked-di.d.ts.map +0 -1
- package/src/lib/route-checked-di.js.map +0 -1
- package/src/lib/schema-validation.d.ts.map +0 -1
- package/src/lib/schema-validation.js.map +0 -1
- package/src/lib/send-context-to-ai.d.ts.map +0 -1
- package/src/lib/send-context-to-ai.js.map +0 -1
- package/src/lib/send-context-to-ai.tokens.d.ts.map +0 -1
- package/src/lib/send-context-to-ai.tokens.js.map +0 -1
- package/src/lib/server-function-client.d.ts.map +0 -1
- package/src/lib/server-function-client.js.map +0 -1
- package/src/lib/server-function-contract.d.ts.map +0 -1
- package/src/lib/server-function-contract.js.map +0 -1
- package/src/lib/server-function-middleware.d.ts.map +0 -1
- package/src/lib/server-function-middleware.js.map +0 -1
- package/src/lib/server-function.d.ts.map +0 -1
- package/src/lib/server-function.js.map +0 -1
- package/src/lib/server-layer.d.ts.map +0 -1
- package/src/lib/server-layer.js.map +0 -1
- package/src/lib/server.d.ts.map +0 -1
- package/src/lib/server.js.map +0 -1
- package/src/lib/setup-craft-service-test.d.ts.map +0 -1
- package/src/lib/setup-craft-service-test.js.map +0 -1
- package/src/lib/setup-craft-service-testing-by-register.d.ts.map +0 -1
- package/src/lib/setup-craft-service-testing-by-register.js.map +0 -1
- package/src/lib/signal-proxy.d.ts.map +0 -1
- package/src/lib/signal-proxy.js.map +0 -1
- package/src/lib/signal-source.d.ts.map +0 -1
- package/src/lib/signal-source.js.map +0 -1
- package/src/lib/source$.d.ts.map +0 -1
- package/src/lib/source$.js.map +0 -1
- package/src/lib/source-from-event.d.ts.map +0 -1
- package/src/lib/source-from-event.js.map +0 -1
- package/src/lib/stacked-source.d.ts.map +0 -1
- package/src/lib/stacked-source.js.map +0 -1
- package/src/lib/standard-schema.d.ts.map +0 -1
- package/src/lib/standard-schema.js.map +0 -1
- package/src/lib/state-method-runtime-context.d.ts.map +0 -1
- package/src/lib/state-method-runtime-context.js.map +0 -1
- package/src/lib/state.d.ts.map +0 -1
- package/src/lib/state.js.map +0 -1
- package/src/lib/storage-persister.service.d.ts.map +0 -1
- package/src/lib/storage-persister.service.js.map +0 -1
- package/src/lib/take-app-snapshot.d.ts.map +0 -1
- package/src/lib/take-app-snapshot.js.map +0 -1
- package/src/lib/template-trace.d.ts.map +0 -1
- package/src/lib/template-trace.js.map +0 -1
- package/src/lib/temporal-runtime.d.ts.map +0 -1
- package/src/lib/temporal-runtime.js.map +0 -1
- package/src/lib/to-source.d.ts.map +0 -1
- package/src/lib/to-source.js.map +0 -1
- package/src/lib/util/craft-resource-ref.d.ts.map +0 -1
- package/src/lib/util/craft-resource-ref.js.map +0 -1
- package/src/lib/util/craft-resource-status.d.ts.map +0 -1
- package/src/lib/util/craft-resource-status.js.map +0 -1
- package/src/lib/util/entities-util.d.ts.map +0 -1
- package/src/lib/util/entities-util.js.map +0 -1
- package/src/lib/util/explicit-effect.d.ts.map +0 -1
- package/src/lib/util/explicit-effect.js.map +0 -1
- package/src/lib/util/extract-signal-props-and-methods.d.ts.map +0 -1
- package/src/lib/util/extract-signal-props-and-methods.js.map +0 -1
- package/src/lib/util/method-trigger-nonce.d.ts.map +0 -1
- package/src/lib/util/method-trigger-nonce.js.map +0 -1
- package/src/lib/util/persister.type.d.ts.map +0 -1
- package/src/lib/util/persister.type.js.map +0 -1
- package/src/lib/util/persister.util.d.ts.map +0 -1
- package/src/lib/util/persister.util.js.map +0 -1
- package/src/lib/util/react-on-mutation-effect.d.ts.map +0 -1
- package/src/lib/util/react-on-mutation-effect.js.map +0 -1
- package/src/lib/util/resource-by-id-changes-tracker.util.d.ts.map +0 -1
- package/src/lib/util/resource-by-id-changes-tracker.util.js.map +0 -1
- package/src/lib/util/source.type.d.ts.map +0 -1
- package/src/lib/util/source.type.js.map +0 -1
- package/src/lib/util/types/access-type-object-property-by-dotted-path.type.d.ts.map +0 -1
- package/src/lib/util/types/access-type-object-property-by-dotted-path.type.js.map +0 -1
- package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.d.ts.map +0 -1
- package/src/lib/util/types/boolean-or-mapper-fn-by-path-by-id.type.js.map +0 -1
- package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.d.ts.map +0 -1
- package/src/lib/util/types/boolean-or-mapper-fn-by-path.type.js.map +0 -1
- package/src/lib/util/types/brand.d.ts.map +0 -1
- package/src/lib/util/types/brand.js.map +0 -1
- package/src/lib/util/types/object-deep-path-mapper.type.d.ts.map +0 -1
- package/src/lib/util/types/object-deep-path-mapper.type.js.map +0 -1
- package/src/lib/util/types/resource-by-id-config.type.d.ts.map +0 -1
- package/src/lib/util/types/resource-by-id-config.type.js.map +0 -1
- package/src/lib/util/types/resource-with-params-or-params-fn.type.d.ts.map +0 -1
- package/src/lib/util/types/resource-with-params-or-params-fn.type.js.map +0 -1
- package/src/lib/util/types/shared.type.d.ts.map +0 -1
- package/src/lib/util/types/shared.type.js.map +0 -1
- package/src/lib/util/types/util.d.ts.map +0 -1
- package/src/lib/util/types/util.js.map +0 -1
- package/src/lib/util/types/util.type.d.ts.map +0 -1
- package/src/lib/util/types/util.type.js.map +0 -1
- package/src/lib/util/update-state.util.d.ts.map +0 -1
- package/src/lib/util/update-state.util.js.map +0 -1
- package/src/lib/util/util.d.ts.map +0 -1
- package/src/lib/util/util.js.map +0 -1
- package/src/lib/util/util.type.d.ts.map +0 -1
- package/src/lib/util/util.type.js.map +0 -1
- package/src/lib/yieldable.d.ts.map +0 -1
- package/src/lib/yieldable.js.map +0 -1
package/src/index.js
CHANGED
|
@@ -1,150 +1,161 @@
|
|
|
1
|
-
export * from './lib/after-recomputation';
|
|
2
|
-
export * from './lib/app-checked-di';
|
|
3
|
-
export * from './lib/route-checked-di';
|
|
4
|
-
export * from './lib/async-process';
|
|
5
|
-
export * from './lib/browser-boundaries';
|
|
6
|
-
export * from './lib/computed-source';
|
|
7
|
-
export * from './lib/craft-http-client';
|
|
8
|
-
export * from './lib/craft-codec';
|
|
9
|
-
export * from './lib/craft-
|
|
10
|
-
export * from './lib/craft-
|
|
11
|
-
export * from './lib/craft-
|
|
12
|
-
export * from './lib/
|
|
13
|
-
export * from './lib/
|
|
14
|
-
export * from './lib/
|
|
15
|
-
export * from './lib/
|
|
16
|
-
export * from './lib/
|
|
17
|
-
export * from './lib/insert-
|
|
18
|
-
export * from './lib/insert-select
|
|
19
|
-
export * from './lib/
|
|
20
|
-
export * from './lib/
|
|
21
|
-
export * from './lib/
|
|
22
|
-
export * from './lib/query';
|
|
23
|
-
export * from './lib/
|
|
24
|
-
export * from './lib/
|
|
25
|
-
export * from './lib/
|
|
26
|
-
export * from './lib/
|
|
27
|
-
export * from './lib/
|
|
28
|
-
export * from './lib/
|
|
29
|
-
export * from './lib/
|
|
30
|
-
export * from './lib/
|
|
31
|
-
export * from './lib/
|
|
32
|
-
export
|
|
33
|
-
export * from './lib/
|
|
34
|
-
export * from './lib/server-
|
|
35
|
-
export
|
|
36
|
-
export * from './lib/
|
|
37
|
-
export * from './lib/server-
|
|
38
|
-
export * from './lib/server';
|
|
39
|
-
export * from './lib/
|
|
40
|
-
export * from './lib/
|
|
41
|
-
export * from './lib/
|
|
42
|
-
export * from './lib/
|
|
43
|
-
export * from './lib/
|
|
44
|
-
export * from './lib/
|
|
45
|
-
export * from './lib/
|
|
46
|
-
export * from './lib/
|
|
47
|
-
export * from './lib/
|
|
48
|
-
export * from './lib/
|
|
49
|
-
export * from './lib/craft-
|
|
50
|
-
export * from './lib/
|
|
51
|
-
export * from './lib/
|
|
52
|
-
export * from './lib/
|
|
53
|
-
export * from './lib/
|
|
54
|
-
export * from './lib/
|
|
55
|
-
export * from './lib/
|
|
56
|
-
export * from './lib/
|
|
57
|
-
export * from './lib/
|
|
58
|
-
export * from './lib/
|
|
59
|
-
export * from './lib/
|
|
60
|
-
export * from './lib/
|
|
61
|
-
export * from './lib/
|
|
62
|
-
export
|
|
63
|
-
export * from './lib/craft-
|
|
64
|
-
export * from './lib/craft-
|
|
65
|
-
export
|
|
66
|
-
export
|
|
1
|
+
export * from './lib/after-recomputation.js';
|
|
2
|
+
export * from './lib/app-checked-di.js';
|
|
3
|
+
export * from './lib/route-checked-di.js';
|
|
4
|
+
export * from './lib/async-process.js';
|
|
5
|
+
export * from './lib/browser-boundaries.js';
|
|
6
|
+
export * from './lib/computed-source.js';
|
|
7
|
+
export * from './lib/craft-http-client.js';
|
|
8
|
+
export * from './lib/craft-codec.js';
|
|
9
|
+
export * from './lib/craft-security.js';
|
|
10
|
+
export * from './lib/craft-exception.js';
|
|
11
|
+
export * from './lib/craft-gen.js';
|
|
12
|
+
export * from './lib/craft-program-operators.js';
|
|
13
|
+
export * from './lib/temporal-runtime.js';
|
|
14
|
+
export * from './lib/craft-match.js';
|
|
15
|
+
export * from './lib/insert-storage-persister.js';
|
|
16
|
+
export * from './lib/craft-unique.js';
|
|
17
|
+
export * from './lib/insert-noop-typing-anchor.js';
|
|
18
|
+
export * from './lib/insert-select.js';
|
|
19
|
+
export * from './lib/insert-select-resource.js';
|
|
20
|
+
export * from './lib/linked-source.js';
|
|
21
|
+
export * from './lib/mutation.js';
|
|
22
|
+
export * from './lib/query-params.js';
|
|
23
|
+
export * from './lib/query.js';
|
|
24
|
+
export * from './lib/render/channels.js';
|
|
25
|
+
export * from './lib/source-from-event.js';
|
|
26
|
+
export * from './lib/signal-source.js';
|
|
27
|
+
export * from './lib/stacked-source.js';
|
|
28
|
+
export * from './lib/state.js';
|
|
29
|
+
export * from './lib/schema-validation.js';
|
|
30
|
+
export * from './lib/craft-handshake.js';
|
|
31
|
+
export * from './lib/craft-request-context.js';
|
|
32
|
+
export * from './lib/server-function-contract.js';
|
|
33
|
+
export * from './lib/client-di-requirement.js';
|
|
34
|
+
export * from './lib/server-function.js';
|
|
35
|
+
export { assertMiddlewareId, flattenMiddlewareGraph, } from './lib/middleware-schema-shared.js';
|
|
36
|
+
export * from './lib/server-function-middleware.js';
|
|
37
|
+
export * from './lib/server-layer.js';
|
|
38
|
+
export * from './lib/portable-server-function.js';
|
|
39
|
+
export * from './lib/client-function-middleware.js';
|
|
40
|
+
export * from './lib/server-function-client.js';
|
|
41
|
+
export * from './lib/server.js';
|
|
42
|
+
export * from './lib/http-server.js';
|
|
43
|
+
export * from './lib/lambda-adapter.js';
|
|
44
|
+
export * from './lib/worker-adapter.js';
|
|
45
|
+
export * from './lib/state-method-runtime-context.js';
|
|
46
|
+
export * from './lib/primitive-method-runtime-context.js';
|
|
47
|
+
export * from './lib/primitive-resource-runtime-context.js';
|
|
48
|
+
export * from './lib/to-source.js';
|
|
49
|
+
export * from './lib/util/craft-resource-status.js';
|
|
50
|
+
export * from './lib/util/extract-signal-props-and-methods.js';
|
|
51
|
+
export * from './lib/util/source.type.js';
|
|
52
|
+
export * from './lib/util/util.js';
|
|
53
|
+
export * from './lib/util/util.type.js';
|
|
54
|
+
export * from './lib/insert-react-on-mutation.js';
|
|
55
|
+
export * from './lib/craft-pipe.js';
|
|
56
|
+
export * from './lib/insert-typed-pipes.js';
|
|
57
|
+
export * from './lib/insert-pagination-placeholder-data.js';
|
|
58
|
+
export * from './lib/resource-by-id.js';
|
|
59
|
+
export * from './lib/storage-persister.service.js';
|
|
60
|
+
export * from './lib/global-persister-handler.service.js';
|
|
61
|
+
export * from './lib/util/entities-util.js';
|
|
62
|
+
export * from './lib/craft-method.js';
|
|
63
|
+
export * from './lib/craft-computed.js';
|
|
64
|
+
export * from './lib/craft-primitive-registry.js';
|
|
65
|
+
export * from './lib/craft-runtime-mode.js';
|
|
66
|
+
export * from './lib/craft-replay.js';
|
|
67
|
+
export * from './lib/craft-state-machine.js';
|
|
68
|
+
export * from './lib/craft-machine-history.js';
|
|
69
|
+
export { ɵactiveMachineScope, } from './lib/craft-state-machine-runtime.js';
|
|
70
|
+
export * from './lib/craft-effect.js';
|
|
71
|
+
export * from './lib/craft-service.js';
|
|
72
|
+
export * from './lib/dev-tools.js';
|
|
73
|
+
export { craftToken, createCraftInjector, getCurrentCraftInjector, ɵcreateCraftInjectorFromHost, ɵregisterCraftTokenHostToken, } from './lib/host/craft-injector.js';
|
|
74
|
+
export { ɵcraftInjectorFromHost } from './lib/host/craft-compat.js';
|
|
67
75
|
// The DI and reactivity surface an application authors against. These are
|
|
68
76
|
// generic concepts, not Angular ones — an app needs a token, an injector, a
|
|
69
77
|
// teardown hook and a way to run something at startup, whatever renders it.
|
|
70
|
-
export { DestroyRef, InjectionToken, provideAppInitializer, signal as craftSignal, untracked as craftUntracked, } from './lib/host/craft-compat';
|
|
78
|
+
export { DestroyRef, InjectionToken, provideAppInitializer, signal as craftSignal, untracked as craftUntracked, } from './lib/host/craft-compat.js';
|
|
71
79
|
// Craft's stand-in for TestBed: a root injector with the six methods specs
|
|
72
80
|
// actually used. Exported so apps can test against the same harness.
|
|
73
|
-
export { TestBed, ɵsetCraftTestMounter, } from './lib/host/craft-test-bed';
|
|
74
|
-
export { APP_INITIALIZER, getCraftRootDefaultProviders as ɵgetCraftRootDefaultProviders, DestroyRef as ɵDestroyRef, Injector as ɵInjector, InjectionToken as ɵInjectionToken, ɵsetCraftDevMode, ɵsetCraftHostInjectorRunner, ɵsetCraftInjectFallback, inject as ɵinject, createEnvironmentInjector as ɵcreateEnvironmentInjector, ElementRef as ɵElementRef, EnvironmentInjector as ɵEnvironmentInjector, runInInjectionContext as ɵrunInInjectionContext, computed as ɵcomputed, effect as ɵeffect, signal as ɵsignal, untracked as ɵuntracked, ɵEffectScheduler, ɵINJECTOR_SCOPE, } from './lib/host/craft-compat';
|
|
75
|
-
export { CRAFT_SIGNAL as ɵCRAFT_SIGNAL, ɵbrandAsCraftSignal, craftComputed as ɵcraftComputed, craftWatch as ɵcraftWatch, } from './lib/host/craft-signal';
|
|
76
|
-
export { createBrowserDomAdapter, } from './lib/host/craft-dom';
|
|
77
|
-
export { createBrowserHistory, createMemoryHistory, matchCraftRoutes, matchCraftRoutesAsync, parseSearchParams, parseUrl, serializeLocation, } from './lib/host/craft-router-runtime';
|
|
78
|
-
export { CRAFT_COMPILED_ROUTES, CRAFT_HISTORY, CRAFT_LOCATION, CRAFT_MATCH, CRAFT_ROUTER, } from './lib/craft-router-tokens';
|
|
79
|
-
export * from './lib/craft-primitive-gen';
|
|
80
|
-
export * from './lib/craft-use';
|
|
81
|
-
export * from './lib/yieldable';
|
|
82
|
-
export { DEEP_YIELDABLE, DEEP_YIELDABLE_INSERTION, REACTIVE_DEPENDENCIES, REACTIVE_READ_OBSERVERS, REACTIVE_READ_REQUEST, REACTIVE_VALUE_TYPE, RAW_REACTIVE_VALUE as ɵRAW_REACTIVE_VALUE, YIELDABLE_DEPENDENCY, YIELDABLE_VALUE, createYieldableReactiveFacade, createDeepYieldableReactiveValue, createYieldableReactiveValue, deepYieldable, hasDeepYieldableInsertion, insertDeepYieldable, isReactiveReadRequest, isYieldableReactiveValue, nameInsertedReactiveValue, provideReactiveReadObserver, rawReactiveFacade, rawReactiveValue, ɵactiveReactiveReader, ɵwithActiveReactiveReader, } from './lib/reactive-read';
|
|
83
|
-
export * from './lib/correlation-id';
|
|
84
|
-
export * from './lib/correlation-id-plugin';
|
|
85
|
-
export * from './lib/dom-event-hook';
|
|
86
|
-
export * from './lib/template-trace';
|
|
87
|
-
export * from './lib/craft-router-trace';
|
|
88
|
-
export * from './lib/craft-http-trace';
|
|
89
|
-
export * from './lib/craft-platform';
|
|
90
|
-
export * from './lib/craft-
|
|
91
|
-
export * from './lib/craft-
|
|
92
|
-
export * from './lib/craft-
|
|
93
|
-
export * from './lib/
|
|
94
|
-
export * from './lib/
|
|
95
|
-
export * from './lib/component-
|
|
96
|
-
export * from './lib/
|
|
97
|
-
export * from './lib/craft-register-for
|
|
98
|
-
export * from './lib/craft-
|
|
99
|
-
export * from './lib/craft-
|
|
100
|
-
export * from './lib/
|
|
101
|
-
export
|
|
102
|
-
export {
|
|
81
|
+
export { TestBed, ɵsetCraftTestMounter, } from './lib/host/craft-test-bed.js';
|
|
82
|
+
export { APP_INITIALIZER, getCraftRootDefaultProviders as ɵgetCraftRootDefaultProviders, DestroyRef as ɵDestroyRef, Injector as ɵInjector, InjectionToken as ɵInjectionToken, ɵsetCraftDevMode, ɵsetCraftHostInjectorRunner, ɵsetCraftInjectFallback, inject as ɵinject, createEnvironmentInjector as ɵcreateEnvironmentInjector, ElementRef as ɵElementRef, EnvironmentInjector as ɵEnvironmentInjector, runInInjectionContext as ɵrunInInjectionContext, computed as ɵcomputed, effect as ɵeffect, signal as ɵsignal, untracked as ɵuntracked, ɵEffectScheduler, ɵINJECTOR_SCOPE, } from './lib/host/craft-compat.js';
|
|
83
|
+
export { CRAFT_SIGNAL as ɵCRAFT_SIGNAL, ɵbrandAsCraftSignal, craftComputed as ɵcraftComputed, craftWatch as ɵcraftWatch, } from './lib/host/craft-signal.js';
|
|
84
|
+
export { createBrowserDomAdapter, } from './lib/host/craft-dom.js';
|
|
85
|
+
export { createBrowserHistory, createMemoryHistory, matchCraftRoutes, matchCraftRoutesAsync, parseSearchParams, parseUrl, serializeLocation, } from './lib/host/craft-router-runtime.js';
|
|
86
|
+
export { CRAFT_COMPILED_ROUTES, CRAFT_HISTORY, CRAFT_LOCATION, CRAFT_MATCH, CRAFT_ROUTER, } from './lib/craft-router-tokens.js';
|
|
87
|
+
export * from './lib/craft-primitive-gen.js';
|
|
88
|
+
export * from './lib/craft-use.js';
|
|
89
|
+
export * from './lib/yieldable.js';
|
|
90
|
+
export { DEEP_YIELDABLE, DEEP_YIELDABLE_INSERTION, REACTIVE_DEPENDENCIES, REACTIVE_READ_OBSERVERS, REACTIVE_READ_REQUEST, REACTIVE_VALUE_TYPE, RAW_REACTIVE_VALUE as ɵRAW_REACTIVE_VALUE, YIELDABLE_DEPENDENCY, YIELDABLE_VALUE, createYieldableReactiveFacade, createDeepYieldableReactiveValue, createYieldableReactiveValue, deepYieldable, hasDeepYieldableInsertion, insertDeepYieldable, isReactiveReadRequest, isYieldableReactiveValue, nameInsertedReactiveValue, provideReactiveReadObserver, rawReactiveFacade, rawReactiveValue, ɵactiveReactiveReader, ɵwithActiveReactiveReader, } from './lib/reactive-read.js';
|
|
91
|
+
export * from './lib/correlation-id.js';
|
|
92
|
+
export * from './lib/correlation-id-plugin.js';
|
|
93
|
+
export * from './lib/dom-event-hook.js';
|
|
94
|
+
export * from './lib/template-trace.js';
|
|
95
|
+
export * from './lib/craft-router-trace.js';
|
|
96
|
+
export * from './lib/craft-http-trace.js';
|
|
97
|
+
export * from './lib/craft-platform.js';
|
|
98
|
+
export * from './lib/craft-hydration.js';
|
|
99
|
+
export * from './lib/craft-render-identity.js';
|
|
100
|
+
export * from './lib/craft-transfer-snapshot.js';
|
|
101
|
+
export * from './lib/craft-ssr.js';
|
|
102
|
+
export * from './lib/take-app-snapshot.js';
|
|
103
|
+
export * from './lib/component-monitoring.js';
|
|
104
|
+
export * from './lib/component-register.js';
|
|
105
|
+
export * from './lib/craft-register-for.js';
|
|
106
|
+
export * from './lib/craft-register-for-runtime.js';
|
|
107
|
+
export * from './lib/craft-target-runtime.js';
|
|
108
|
+
export * from './lib/craft-node-directive.js';
|
|
109
|
+
export * from './lib/fn-wrapper.js';
|
|
110
|
+
export { executeGeneratorCompatibleFactory, } from './lib/craft-generator-runtime.js';
|
|
111
|
+
export { provideServiceYieldWrapper, SERVICE_YIELD_WRAPPER,
|
|
112
|
+
// Synchronous counterpart of the foreign-yield bridge below: a claimed yield
|
|
113
|
+
// is answered in place, which is the only thing a synchronous host can use.
|
|
114
|
+
setForeignSyncYieldBridge, } from './lib/craft-generator-runtime.js';
|
|
103
115
|
export { driveCraftProgramAsync, executeGeneratorCompatibleFactoryAsync,
|
|
104
116
|
// Foreign-yield bridge: lets a package such as `@craft-ts/effect` claim yields
|
|
105
117
|
// core does not understand, without core ever depending on `effect`.
|
|
106
|
-
setForeignYieldBridge, ɵsetForeignYieldBridge, } from './lib/craft-program-runtime';
|
|
107
|
-
export * from './lib/host-tag';
|
|
108
|
-
export * from './lib/source
|
|
109
|
-
export * from './lib/from-event-to-source
|
|
110
|
-
export * from './lib/on
|
|
111
|
-
export * from './lib/form/craft-field';
|
|
112
|
-
export * from './lib/form/field-exception';
|
|
113
|
-
export * from './lib/form/craft-field.directive';
|
|
114
|
-
export * from './lib/form/insert-form';
|
|
115
|
-
export * from './lib/form/insert-form-schema';
|
|
116
|
-
export * from './lib/form/insert-form-attributes';
|
|
117
|
-
export * from './lib/form/insert-select-form-tree';
|
|
118
|
-
export * from './lib/form/target-form-field';
|
|
119
|
-
export * from './lib/form/insert-sub-form-field';
|
|
120
|
-
export * from './lib/form/make-form-tree-insert';
|
|
121
|
-
export * from './lib/form/field-lens';
|
|
122
|
-
export * from './lib/form/insert-form-submit';
|
|
123
|
-
export * from './lib/form/validator';
|
|
124
|
-
export * from './lib/insert-entities';
|
|
125
|
-
export * from './lib/setup-craft-service-test';
|
|
126
|
-
export * from './lib/setup-craft-service-testing-by-register';
|
|
127
|
-
export * from './lib/branded-component/branded-component';
|
|
128
|
-
export * from './lib/craft-app-config';
|
|
129
|
-
export * from './lib/craft-router';
|
|
130
|
-
export * from './lib/craft-activated-route';
|
|
131
|
-
export { ActivatedRoute } from './lib/host/craft-router-types';
|
|
132
|
-
export * from './lib/craft-routes';
|
|
133
|
-
export * from './lib/craft-resolve';
|
|
134
|
-
export * from './lib/craft-route-exceptions';
|
|
135
|
-
export * from './lib/craft-route-meta';
|
|
136
|
-
export * from './lib/craft-route-target';
|
|
137
|
-
export * from './lib/craft-pending';
|
|
138
|
-
export * from './lib/craft-a11y';
|
|
139
|
-
export * from './lib/craft-load-retry';
|
|
140
|
-
export * from './lib/craft-route-load-error';
|
|
141
|
-
export * from './lib/craft-lazy';
|
|
142
|
-
export * from './lib/craft-view-transition';
|
|
143
|
-
export * from './lib/craft-router-outlet';
|
|
144
|
-
export * from './lib/craft-until-settled';
|
|
145
|
-
export * from './lib/craft-settled';
|
|
146
|
-
export * from './lib/craft-control-flow';
|
|
147
|
-
export * from './lib/mock-http-request-for-route';
|
|
148
|
-
export * from './lib/send-context-to-ai';
|
|
149
|
-
export { CRAFT_SERVICE_PROVIDER_BRAND } from './lib/craft-service.shared';
|
|
150
|
-
//# sourceMappingURL=index.js.map
|
|
118
|
+
setForeignYieldBridge, ɵsetForeignYieldBridge, } from './lib/craft-program-runtime.js';
|
|
119
|
+
export * from './lib/host-tag.js';
|
|
120
|
+
export * from './lib/source$.js';
|
|
121
|
+
export * from './lib/from-event-to-source$.js';
|
|
122
|
+
export * from './lib/on$.js';
|
|
123
|
+
export * from './lib/form/craft-field.js';
|
|
124
|
+
export * from './lib/form/field-exception.js';
|
|
125
|
+
export * from './lib/form/craft-field.directive.js';
|
|
126
|
+
export * from './lib/form/insert-form.js';
|
|
127
|
+
export * from './lib/form/insert-form-schema.js';
|
|
128
|
+
export * from './lib/form/insert-form-attributes.js';
|
|
129
|
+
export * from './lib/form/insert-select-form-tree.js';
|
|
130
|
+
export * from './lib/form/target-form-field.js';
|
|
131
|
+
export * from './lib/form/insert-sub-form-field.js';
|
|
132
|
+
export * from './lib/form/make-form-tree-insert.js';
|
|
133
|
+
export * from './lib/form/field-lens.js';
|
|
134
|
+
export * from './lib/form/insert-form-submit.js';
|
|
135
|
+
export * from './lib/form/validator.js';
|
|
136
|
+
export * from './lib/insert-entities.js';
|
|
137
|
+
export * from './lib/setup-craft-service-test.js';
|
|
138
|
+
export * from './lib/setup-craft-service-testing-by-register.js';
|
|
139
|
+
export * from './lib/branded-component/branded-component.js';
|
|
140
|
+
export * from './lib/craft-app-config.js';
|
|
141
|
+
export * from './lib/craft-router.js';
|
|
142
|
+
export * from './lib/craft-activated-route.js';
|
|
143
|
+
export { ActivatedRoute } from './lib/host/craft-router-types.js';
|
|
144
|
+
export * from './lib/craft-routes.js';
|
|
145
|
+
export * from './lib/craft-resolve.js';
|
|
146
|
+
export * from './lib/craft-route-exceptions.js';
|
|
147
|
+
export * from './lib/craft-route-meta.js';
|
|
148
|
+
export * from './lib/craft-route-target.js';
|
|
149
|
+
export * from './lib/craft-pending.js';
|
|
150
|
+
export * from './lib/craft-a11y.js';
|
|
151
|
+
export * from './lib/craft-load-retry.js';
|
|
152
|
+
export * from './lib/craft-route-load-error.js';
|
|
153
|
+
export * from './lib/craft-lazy.js';
|
|
154
|
+
export * from './lib/craft-view-transition.js';
|
|
155
|
+
export * from './lib/craft-router-outlet.js';
|
|
156
|
+
export * from './lib/craft-until-settled.js';
|
|
157
|
+
export * from './lib/craft-settled.js';
|
|
158
|
+
export * from './lib/craft-control-flow.js';
|
|
159
|
+
export * from './lib/mock-http-request-for-route.js';
|
|
160
|
+
export * from './lib/send-context-to-ai.js';
|
|
161
|
+
export { CRAFT_SERVICE_PROVIDER_BRAND } from './lib/craft-service.shared.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type Signal } from './host/craft-compat';
|
|
2
|
-
import { SignalSource } from './signal-source';
|
|
3
|
-
import { ReadonlySource } from './util/source.type';
|
|
1
|
+
import { type Signal } from './host/craft-compat.js';
|
|
2
|
+
import { SignalSource } from './signal-source.js';
|
|
3
|
+
import { ReadonlySource } from './util/source.type.js';
|
|
4
4
|
/**
|
|
5
5
|
* Creates a derived readonly source that transforms source emissions through a callback function.
|
|
6
6
|
*
|
|
@@ -324,4 +324,3 @@ export declare function afterRecomputation<State, SourceType>(_source: ReadonlyS
|
|
|
324
324
|
* dependencies join the machine's dependency graph.
|
|
325
325
|
*/
|
|
326
326
|
export declare function afterRecomputation<Value, Yielded>(source: Signal<Value>, callback: (value: Value) => Generator<Yielded, unknown, unknown>): Generator<Yielded, void, unknown>;
|
|
327
|
-
//# sourceMappingURL=after-recomputation.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { effect, signal, untracked } from './host/craft-compat';
|
|
2
|
-
import { SourceBranded } from './util/util';
|
|
3
|
-
import { ɵactiveMachineScope, ɵregisterMachineRecomputation, } from './craft-state-machine-runtime';
|
|
1
|
+
import { effect, signal, untracked } from './host/craft-compat.js';
|
|
2
|
+
import { SourceBranded } from './util/util.js';
|
|
3
|
+
import { ɵactiveMachineScope, ɵregisterMachineRecomputation, } from './craft-state-machine-runtime.js';
|
|
4
4
|
export function afterRecomputation(_source, callback) {
|
|
5
5
|
if (ɵactiveMachineScope()) {
|
|
6
6
|
return ɵregisterMachineRecomputation(_source, callback);
|
|
@@ -22,4 +22,3 @@ export function afterRecomputation(_source, callback) {
|
|
|
22
22
|
}, {});
|
|
23
23
|
return Object.assign(derivedSource, SourceBranded);
|
|
24
24
|
}
|
|
25
|
-
//# sourceMappingURL=after-recomputation.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Simplify, UnionToTuple } from './craft-service.shared';
|
|
2
|
-
import type { MissingProvidersFromDepsMap } from './branded-component/branded-component';
|
|
3
|
-
import type { AppConfigProvidedDependencyValuesKey, AppConfigProvidedServiceNamesKey } from './craft-app-config';
|
|
1
|
+
import type { Simplify, UnionToTuple } from './craft-service.shared.js';
|
|
2
|
+
import type { MissingProvidersFromDepsMap } from './branded-component/branded-component.js';
|
|
3
|
+
import type { AppConfigProvidedDependencyValuesKey, AppConfigProvidedServiceNamesKey } from './craft-app-config.js';
|
|
4
4
|
type DepsMap<Input> = Input extends {
|
|
5
5
|
deps: infer Deps extends object;
|
|
6
6
|
} ? Deps : {};
|
|
@@ -79,4 +79,3 @@ export type AppCheckedDI<AppComponentDeps, AppRoutes extends readonly unknown[]>
|
|
|
79
79
|
] extends infer Errors extends string[] ? Errors extends [] ? true : Errors : never;
|
|
80
80
|
export type CanRun<IsAppValid extends true> = IsAppValid extends true ? true : never;
|
|
81
81
|
export {};
|
|
82
|
-
//# sourceMappingURL=app-checked-di.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=app-checked-di.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Provider, ResourceLoaderParams, ResourceOptions, ResourceStreamingLoader, Signal } from './host/craft-compat';
|
|
2
|
-
import { InsertionsResourcesFactory } from './query.core';
|
|
3
|
-
import { GeneratorCompatibleFactory } from './craft-generator-runtime';
|
|
4
|
-
import { type CraftSettledSignal } from './craft-settled';
|
|
5
|
-
import type { ExtractCraftGenExceptions } from './craft-gen';
|
|
6
|
-
import { ReadonlySource } from './util/source.type';
|
|
7
|
-
import { CraftResourceStatus } from './util/craft-resource-status';
|
|
8
|
-
import { ResourceByIdRef } from './resource-by-id';
|
|
9
|
-
import { MergeObjects } from './util/util.type';
|
|
10
|
-
import { CraftResourceRef } from './util/craft-resource-ref';
|
|
11
|
-
import { AnyCraftException, ExtractCraftException, InsertMetaInCraftExceptionIfExists, StripCraftException } from './craft-exception';
|
|
12
|
-
import { type NamedCraftPrimitiveGen } from './craft-primitive-gen';
|
|
13
|
-
import { type CraftSchema, type SchemaValidationPolicy, type SchemaParseExceptions, type SchemaInput, type SchemaOutput } from './schema-validation';
|
|
14
|
-
import type { BrandedServiceProvider, SERVICE_HELPER_DEPENDENCIES, ServiceDependencyMapFromYieldedAndValues } from './craft-service';
|
|
15
|
-
import type { YieldableInvocation } from './yieldable';
|
|
16
|
-
import type { BrandReactiveProperties, YieldableInsertionMethods } from './yieldable';
|
|
17
|
-
import { type YieldableReactiveProperties, type DeepYieldableReactiveValue } from './reactive-read';
|
|
1
|
+
import { Provider, ResourceLoaderParams, ResourceOptions, ResourceStreamingLoader, Signal } from './host/craft-compat.js';
|
|
2
|
+
import { InsertionsResourcesFactory } from './query.core.js';
|
|
3
|
+
import { GeneratorCompatibleFactory } from './craft-generator-runtime.js';
|
|
4
|
+
import { type CraftSettledSignal } from './craft-settled.js';
|
|
5
|
+
import type { ExtractCraftGenExceptions } from './craft-gen.js';
|
|
6
|
+
import { ReadonlySource } from './util/source.type.js';
|
|
7
|
+
import { CraftResourceStatus } from './util/craft-resource-status.js';
|
|
8
|
+
import { ResourceByIdRef } from './resource-by-id.js';
|
|
9
|
+
import { MergeObjects } from './util/util.type.js';
|
|
10
|
+
import { CraftResourceRef } from './util/craft-resource-ref.js';
|
|
11
|
+
import { AnyCraftException, ExtractCraftException, InsertMetaInCraftExceptionIfExists, StripCraftException } from './craft-exception.js';
|
|
12
|
+
import { type NamedCraftPrimitiveGen } from './craft-primitive-gen.js';
|
|
13
|
+
import { type CraftSchema, type SchemaValidationPolicy, type SchemaParseExceptions, type SchemaInput, type SchemaOutput } from './schema-validation.js';
|
|
14
|
+
import type { BrandedServiceProvider, SERVICE_HELPER_DEPENDENCIES, ServiceDependencyMapFromYieldedAndValues } from './craft-service.js';
|
|
15
|
+
import type { YieldableInvocation } from './yieldable.js';
|
|
16
|
+
import type { BrandReactiveProperties, YieldableInsertionMethods } from './yieldable.js';
|
|
17
|
+
import { type YieldableReactiveProperties, type DeepYieldableReactiveValue } from './reactive-read.js';
|
|
18
18
|
type AsyncProcessConfigProviderNames<Providers> = Providers extends readonly (infer P)[] ? P extends BrandedServiceProvider<infer Name, any, any> ? Name : never : never;
|
|
19
19
|
type SatisfyDependencies<Deps, SatisfiedNames extends string> = {
|
|
20
20
|
[K in keyof Deps as K extends SatisfiedNames ? never : K]: Deps[K];
|
|
@@ -44,7 +44,7 @@ export type AsyncProcessRef<Value, ArgParams, Params, Insertions, IsMethod, Sour
|
|
|
44
44
|
/**
|
|
45
45
|
* The settled read: never `undefined`, never a value while an
|
|
46
46
|
* exception is carried — it suspends instead, to the nearest
|
|
47
|
-
* `
|
|
47
|
+
* `pendingNode`.
|
|
48
48
|
*/
|
|
49
49
|
readonly settledValue: CraftSettledSignal<Exclude<Value, undefined>, Name, ResourceLikeAsyncProcessExceptionUnion<AsyncProcessExceptions>>;
|
|
50
50
|
} & ResourceLikeAsyncProcessExceptions<AsyncProcessExceptions> : {},
|
|
@@ -408,4 +408,3 @@ export declare function asyncProcess<Name extends string, AsyncProcesstate exten
|
|
|
408
408
|
loader: ExtractCraftException<AsyncProcesstate> | Extract<ExtractCraftGenExceptions<LoaderYielded>, AnyCraftException>;
|
|
409
409
|
}>(name: Name, AsyncProcessConfig: AsyncProcessConfig<AsyncProcesstate, AsyncProcessParams, AsyncProcessArgsParams, SourceParams, GroupIdentifier, ParamsYielded, MethodYielded, LoaderYielded, StreamYielded> & Config, insertion1: InsertionsResourcesFactory<NoInfer<GroupIdentifier>, NoInfer<StripCraftException<AsyncProcesstate>>, NoInfer<StripCraftException<AsyncProcessParams>>, NoInfer<Exceptions>, Insertion1, {}, Insertion1Yielded, Name>): NamedCraftPrimitiveGen<Name, AsyncProcessOutput<StripCraftException<AsyncProcesstate>, StripCraftException<AsyncProcessParams>, AsyncProcessArgsParams, SourceParams, GroupIdentifier, Insertion1, Exceptions, AsyncProcessTrackedDependencies<ParamsYielded, MethodYielded, LoaderYielded, StreamYielded, Insertion1Yielded, Providers, Insertion1>, false, MethodYielded, Name>>;
|
|
410
410
|
export {};
|
|
411
|
-
//# sourceMappingURL=async-process.d.ts.map
|
package/src/lib/async-process.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { assertInInjectionContext, computed, batch as craftBatch, DestroyRef, inject, Injector, isSignal, runInInjectionContext, signal, untracked, } from './host/craft-compat';
|
|
2
|
-
import { executeGeneratorCompatibleFactory, isGeneratorFunction, } from './craft-generator-runtime';
|
|
3
|
-
import { executeGeneratorCompatibleFactoryAsync } from './craft-program-runtime';
|
|
4
|
-
import { attachCraftSettledValue, createYieldableSettledValue, CraftNotSettled, } from './craft-settled';
|
|
5
|
-
import { toCraftStatus, } from './util/craft-resource-status';
|
|
6
|
-
import { resourceById } from './resource-by-id';
|
|
7
|
-
import { isSource } from './util/util';
|
|
8
|
-
import { methodParamsWrapperEqual, unwrapMethodParams, wrapMethodParams, } from './util/method-trigger-nonce';
|
|
9
|
-
import { craftResource } from './craft-resource';
|
|
10
|
-
import { preservedResource } from './preserved-resource';
|
|
11
|
-
import { isCraftException, } from './craft-exception';
|
|
12
|
-
import { CORRELATION_ID_SERVICE } from './correlation-id';
|
|
13
|
-
import { createNamedPrimitiveGen, } from './craft-primitive-gen';
|
|
14
|
-
import { takeUntilDestroyed } from './host/craft-compat';
|
|
15
|
-
import { createSchemaValidationRuntime, useSchemaValidationPolicy, } from './schema-validation';
|
|
16
|
-
import { APP_SNAPSHOT_REGISTRY, INSERTION_SNAPSHOT_REGISTRY, InsertionSnapshotRegistry, TAKE_APP_SNAPSHOT, triggerAndCollectInsertions, } from './take-app-snapshot';
|
|
17
|
-
import { createResourceExceptionsRuntime, enrichResourceException, } from './resource-exception';
|
|
18
|
-
import { ɵcreateHostTaggedInjector, ɵHOST_TAG_LIST } from './craft-service';
|
|
19
|
-
import { injectFnWrapper } from './fn-wrapper';
|
|
20
|
-
import { ɵprovidePrimitiveMethodRuntimeContext } from './primitive-method-runtime-context';
|
|
21
|
-
import { ɵcreatePrimitiveResourceByIdRuntimeContext, ɵcreatePrimitiveResourceRuntimeContext, ɵobservePrimitiveResourceRuntimeContext, } from './primitive-resource-runtime-context';
|
|
22
|
-
import { createYieldableInsertionMethod, isNonYieldableInsertionMethod, yieldableInvocation, } from './yieldable';
|
|
23
|
-
import { createYieldableReactiveFacade, deepYieldable, hasDeepYieldableInsertion, isYieldableReactiveValue, nameInsertedReactiveValue, } from './reactive-read';
|
|
24
|
-
import { craftUse } from './craft-use';
|
|
1
|
+
import { assertInInjectionContext, computed, batch as craftBatch, DestroyRef, inject, Injector, isSignal, runInInjectionContext, signal, untracked, } from './host/craft-compat.js';
|
|
2
|
+
import { executeGeneratorCompatibleFactory, isGeneratorFunction, } from './craft-generator-runtime.js';
|
|
3
|
+
import { executeGeneratorCompatibleFactoryAsync } from './craft-program-runtime.js';
|
|
4
|
+
import { attachCraftSettledValue, createYieldableSettledValue, CraftNotSettled, } from './craft-settled.js';
|
|
5
|
+
import { toCraftStatus, } from './util/craft-resource-status.js';
|
|
6
|
+
import { resourceById } from './resource-by-id.js';
|
|
7
|
+
import { isSource } from './util/util.js';
|
|
8
|
+
import { methodParamsWrapperEqual, unwrapMethodParams, wrapMethodParams, } from './util/method-trigger-nonce.js';
|
|
9
|
+
import { craftResource } from './craft-resource.js';
|
|
10
|
+
import { preservedResource } from './preserved-resource.js';
|
|
11
|
+
import { isCraftException, } from './craft-exception.js';
|
|
12
|
+
import { CORRELATION_ID_SERVICE } from './correlation-id.js';
|
|
13
|
+
import { createNamedPrimitiveGen, } from './craft-primitive-gen.js';
|
|
14
|
+
import { takeUntilDestroyed } from './host/craft-compat.js';
|
|
15
|
+
import { createSchemaValidationRuntime, useSchemaValidationPolicy, } from './schema-validation.js';
|
|
16
|
+
import { APP_SNAPSHOT_REGISTRY, INSERTION_SNAPSHOT_REGISTRY, InsertionSnapshotRegistry, TAKE_APP_SNAPSHOT, triggerAndCollectInsertions, } from './take-app-snapshot.js';
|
|
17
|
+
import { createResourceExceptionsRuntime, enrichResourceException, } from './resource-exception.js';
|
|
18
|
+
import { ɵcreateHostTaggedInjector, ɵHOST_TAG_LIST } from './craft-service.js';
|
|
19
|
+
import { injectFnWrapper } from './fn-wrapper.js';
|
|
20
|
+
import { ɵprovidePrimitiveMethodRuntimeContext } from './primitive-method-runtime-context.js';
|
|
21
|
+
import { ɵcreatePrimitiveResourceByIdRuntimeContext, ɵcreatePrimitiveResourceRuntimeContext, ɵobservePrimitiveResourceRuntimeContext, } from './primitive-resource-runtime-context.js';
|
|
22
|
+
import { createYieldableInsertionMethod, isNonYieldableInsertionMethod, yieldableInvocation, } from './yieldable.js';
|
|
23
|
+
import { createYieldableReactiveFacade, deepYieldable, hasDeepYieldableInsertion, isYieldableReactiveValue, nameInsertedReactiveValue, } from './reactive-read.js';
|
|
24
|
+
import { craftUse } from './craft-use.js';
|
|
25
25
|
const ASYNC_PROCESS_INVALID_YIELD_ERROR_MESSAGE = 'asyncProcess generators can only yield craftService dependencies or exposed dependency helpers.';
|
|
26
26
|
const ASYNC_PROCESS_APP_START_ERROR_MESSAGE = 'asyncProcess generators do not support onAppStart(...).';
|
|
27
27
|
export function asyncProcess(name,
|
|
@@ -699,4 +699,3 @@ function createAsyncProcessRef(name, AsyncProcessConfig, ...insertions) {
|
|
|
699
699
|
? deepYieldable(publicAsyncProcess)
|
|
700
700
|
: publicAsyncProcess);
|
|
701
701
|
}
|
|
702
|
-
//# sourceMappingURL=async-process.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InputSignalWithTransform } from '../host/craft-compat';
|
|
2
|
-
import type { CompleteServiceDependencyMapFromYielded, ExtractServiceHelperDependencyMap, SERVICE_HELPER_DEPENDENCIES } from '../craft-service';
|
|
3
|
-
import type { CRAFT_SERVICE_PROVIDER_BRAND, MergeObjectUnion, RequirementScope, Simplify } from '../craft-service.shared';
|
|
1
|
+
import type { InputSignalWithTransform } from '../host/craft-compat.js';
|
|
2
|
+
import type { CompleteServiceDependencyMapFromYielded, ExtractServiceHelperDependencyMap, SERVICE_HELPER_DEPENDENCIES } from '../craft-service.js';
|
|
3
|
+
import type { CRAFT_SERVICE_PROVIDER_BRAND, MergeObjectUnion, RequirementScope, Simplify } from '../craft-service.shared.js';
|
|
4
4
|
export type AngularBrandDeps = {
|
|
5
5
|
injected?: readonly unknown[];
|
|
6
6
|
importDeps?: readonly unknown[];
|
|
@@ -126,4 +126,3 @@ export type GetDeps<Input extends object> = Simplify<Omit<Input, 'missingProvide
|
|
|
126
126
|
export declare function deps(value?: AngularBrandDeps): AngularBrandDeps;
|
|
127
127
|
export declare function brandAngularSymbol<T extends object>(angularSymbol: T, _dependencyGroups?: AngularBrandDeps): T;
|
|
128
128
|
export {};
|
|
129
|
-
//# sourceMappingURL=branded-component.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type CraftServiceApi, type GetServiceYields, type ServiceTrackingMetadata } from './craft-service';
|
|
2
|
-
import { type TrackTag } from './host-tag';
|
|
3
|
-
import { type CorrelationIdMetadata } from './correlation-id';
|
|
4
|
-
import { SERVICE_YIELD_REQUEST_MARKER } from './craft-generator-runtime';
|
|
5
|
-
import type { Injector } from './host/craft-compat';
|
|
1
|
+
import { type CraftServiceApi, type GetServiceYields, type ServiceTrackingMetadata } from './craft-service.js';
|
|
2
|
+
import { type TrackTag } from './host-tag.js';
|
|
3
|
+
import { type CorrelationIdMetadata } from './correlation-id.js';
|
|
4
|
+
import { SERVICE_YIELD_REQUEST_MARKER } from './craft-generator-runtime.js';
|
|
5
|
+
import type { Injector } from './host/craft-compat.js';
|
|
6
6
|
type BrowserBoundaryDsl<Service extends object, Yielded = unknown> = {
|
|
7
7
|
[Key in keyof Service]: Service[Key] extends (...args: infer Args) => infer Result ? (...args: Args) => Generator<Yielded, Result, unknown> : never;
|
|
8
8
|
};
|
|
@@ -52,7 +52,7 @@ export interface StorageServiceApi {
|
|
|
52
52
|
length(): number;
|
|
53
53
|
}
|
|
54
54
|
/** Storage backend selected by the application through DI. */
|
|
55
|
-
declare const storageService: import("./craft-service").AbstractServiceApi<"StorageService", StorageServiceApi>;
|
|
55
|
+
declare const storageService: import("./craft-service.js").AbstractServiceApi<"StorageService", StorageServiceApi>;
|
|
56
56
|
export declare const StorageService: typeof storageService.StorageService;
|
|
57
57
|
export declare const StorageServiceRequirement: typeof storageService.StorageServiceRequirement;
|
|
58
58
|
export declare const provideStorageService: typeof storageService.provideStorageService;
|
|
@@ -162,4 +162,3 @@ export declare const BrowserCrypto: BrowserBoundaryDsl<BrowserCryptoServiceApi,
|
|
|
162
162
|
export declare const BrowserDocument: BrowserBoundaryDsl<BrowserDocumentServiceApi, GetServiceYields<typeof BrowserDocumentService>>;
|
|
163
163
|
export declare const BrowserWindow: BrowserBoundaryDsl<BrowserWindowServiceApi, GetServiceYields<typeof BrowserWindowService>>;
|
|
164
164
|
export {};
|
|
165
|
-
//# sourceMappingURL=browser-boundaries.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { abstract, craftService, ɵHOST_TAG_LIST, ɵTRACK_TAGS_LIST, } from './craft-service';
|
|
2
|
-
import { CORRELATION_ID_SERVICE, getCurrentStartCorrelationId, } from './correlation-id';
|
|
3
|
-
import { SERVICE_YIELD_REQUEST_MARKER } from './craft-generator-runtime';
|
|
4
|
-
import { CRAFT_PLATFORM } from './craft-platform';
|
|
5
|
-
import { getCurrentCraftInjector } from './host/craft-injector';
|
|
1
|
+
import { abstract, craftService, ɵHOST_TAG_LIST, ɵTRACK_TAGS_LIST, } from './craft-service.js';
|
|
2
|
+
import { CORRELATION_ID_SERVICE, getCurrentStartCorrelationId, } from './correlation-id.js';
|
|
3
|
+
import { SERVICE_YIELD_REQUEST_MARKER } from './craft-generator-runtime.js';
|
|
4
|
+
import { CRAFT_PLATFORM } from './craft-platform.js';
|
|
5
|
+
import { getCurrentCraftInjector } from './host/craft-injector.js';
|
|
6
6
|
/** Storage backend selected by the application through DI. */
|
|
7
7
|
const storageService = craftService({ name: 'StorageService', providedIn: 'abstract' }, abstract());
|
|
8
8
|
export const StorageService = storageService.StorageService;
|
|
@@ -547,4 +547,3 @@ export const BrowserWindow = {
|
|
|
547
547
|
alert: callBrowserWindow('alert'),
|
|
548
548
|
confirm: callBrowserWindow('confirm'),
|
|
549
549
|
};
|
|
550
|
-
//# sourceMappingURL=browser-boundaries.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InjectionToken } from './host/craft-compat';
|
|
1
|
+
import type { InjectionToken } from './host/craft-compat.js';
|
|
2
2
|
export type ServerFunctionToken<Value> = InjectionToken<Value>;
|
|
3
3
|
export type ServerPermissionRequirement = {
|
|
4
4
|
readonly kind: 'server-permission';
|
|
@@ -25,4 +25,3 @@ export declare function requireServerPermission(permission: string): ServerPermi
|
|
|
25
25
|
* elle parle. Le mode n'a plus lieu d'être : un générateur s'exécute à l'appel.
|
|
26
26
|
*/
|
|
27
27
|
export type ServerFunctionPipe = ServerPermissionRequirement;
|
|
28
|
-
//# sourceMappingURL=client-di-requirement.d.ts.map
|