@shware/workflow 5.0.0 → 5.0.1
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/_virtual/_rolldown/runtime.cjs +1 -2
- package/dist/apns-relay.cjs +1 -2
- package/dist/apns-relay.d.cts +0 -2
- package/dist/apns-relay.d.cts.map +1 -1
- package/dist/apns-relay.d.mts +0 -2
- package/dist/apns-relay.d.mts.map +1 -1
- package/dist/apns-relay.mjs +1 -2
- package/dist/apns.cjs +1 -2
- package/dist/apns.d.cts +0 -2
- package/dist/apns.d.cts.map +1 -1
- package/dist/apns.d.mts +0 -2
- package/dist/apns.d.mts.map +1 -1
- package/dist/apns.mjs +1 -2
- package/dist/aws/engine-step.cjs +1 -2
- package/dist/aws/engine-step.d.cts +0 -2
- package/dist/aws/engine-step.d.cts.map +1 -1
- package/dist/aws/engine-step.d.mts +0 -2
- package/dist/aws/engine-step.d.mts.map +1 -1
- package/dist/aws/engine-step.mjs +1 -2
- package/dist/aws/function-url.cjs +1 -2
- package/dist/aws/function-url.d.cts +0 -2
- package/dist/aws/function-url.d.cts.map +1 -1
- package/dist/aws/function-url.d.mts +0 -2
- package/dist/aws/function-url.d.mts.map +1 -1
- package/dist/aws/function-url.mjs +1 -2
- package/dist/aws/index.cjs +1 -2
- package/dist/aws/index.d.cts +0 -2
- package/dist/aws/index.d.cts.map +1 -1
- package/dist/aws/index.d.mts +0 -2
- package/dist/aws/index.d.mts.map +1 -1
- package/dist/aws/index.mjs +1 -2
- package/dist/aws/instances.cjs +1 -2
- package/dist/aws/instances.d.cts +0 -2
- package/dist/aws/instances.d.cts.map +1 -1
- package/dist/aws/instances.d.mts +0 -2
- package/dist/aws/instances.d.mts.map +1 -1
- package/dist/aws/instances.mjs +1 -2
- package/dist/aws/lambda-api.cjs +1 -2
- package/dist/aws/lambda-api.d.cts +0 -2
- package/dist/aws/lambda-api.d.cts.map +1 -1
- package/dist/aws/lambda-api.d.mts +0 -2
- package/dist/aws/lambda-api.d.mts.map +1 -1
- package/dist/aws/lambda-api.mjs +1 -2
- package/dist/client.cjs +1 -2
- package/dist/client.d.cts +0 -2
- package/dist/client.d.cts.map +1 -1
- package/dist/client.d.mts +0 -2
- package/dist/client.d.mts.map +1 -1
- package/dist/client.mjs +1 -2
- package/dist/cloudflare/bindings.cjs +1 -2
- package/dist/cloudflare/bindings.d.cts +0 -2
- package/dist/cloudflare/bindings.d.cts.map +1 -1
- package/dist/cloudflare/bindings.d.mts +0 -2
- package/dist/cloudflare/bindings.d.mts.map +1 -1
- package/dist/cloudflare/bindings.mjs +1 -2
- package/dist/cloudflare/runner.cjs +1 -2
- package/dist/cloudflare/runner.d.cts +0 -2
- package/dist/cloudflare/runner.d.cts.map +1 -1
- package/dist/cloudflare/runner.d.mts +0 -2
- package/dist/cloudflare/runner.d.mts.map +1 -1
- package/dist/cloudflare/runner.mjs +1 -2
- package/dist/cloudflare/worker.cjs +1 -2
- package/dist/cloudflare/worker.d.cts +0 -2
- package/dist/cloudflare/worker.d.cts.map +1 -1
- package/dist/cloudflare/worker.d.mts +0 -2
- package/dist/cloudflare/worker.d.mts.map +1 -1
- package/dist/cloudflare/worker.mjs +1 -2
- package/dist/cloudflare/workers.d.cts +0 -2
- package/dist/cloudflare/workers.d.cts.map +1 -1
- package/dist/cloudflare/workers.d.mts +0 -2
- package/dist/cloudflare/workers.d.mts.map +1 -1
- package/dist/config.cjs +1 -2
- package/dist/config.d.cts +0 -2
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +0 -2
- package/dist/config.d.mts.map +1 -1
- package/dist/config.mjs +1 -2
- package/dist/contract.cjs +1 -2
- package/dist/contract.d.cts +0 -2
- package/dist/contract.d.cts.map +1 -1
- package/dist/contract.d.mts +0 -2
- package/dist/contract.d.mts.map +1 -1
- package/dist/contract.mjs +1 -2
- package/dist/dsl/action.cjs +1 -2
- package/dist/dsl/action.d.cts +0 -2
- package/dist/dsl/action.d.cts.map +1 -1
- package/dist/dsl/action.d.mts +0 -2
- package/dist/dsl/action.d.mts.map +1 -1
- package/dist/dsl/action.mjs +1 -2
- package/dist/dsl/base.cjs +1 -2
- package/dist/dsl/base.d.cts +0 -2
- package/dist/dsl/base.d.cts.map +1 -1
- package/dist/dsl/base.d.mts +0 -2
- package/dist/dsl/base.d.mts.map +1 -1
- package/dist/dsl/base.mjs +1 -2
- package/dist/dsl/bundle.cjs +1 -2
- package/dist/dsl/bundle.d.cts +0 -2
- package/dist/dsl/bundle.d.cts.map +1 -1
- package/dist/dsl/bundle.d.mts +0 -2
- package/dist/dsl/bundle.d.mts.map +1 -1
- package/dist/dsl/bundle.mjs +1 -2
- package/dist/dsl/condition.cjs +1 -2
- package/dist/dsl/condition.d.cts +0 -2
- package/dist/dsl/condition.d.cts.map +1 -1
- package/dist/dsl/condition.d.mts +0 -2
- package/dist/dsl/condition.d.mts.map +1 -1
- package/dist/dsl/condition.mjs +1 -2
- package/dist/dsl/flow.cjs +1 -2
- package/dist/dsl/flow.d.cts +0 -2
- package/dist/dsl/flow.d.cts.map +1 -1
- package/dist/dsl/flow.d.mts +0 -2
- package/dist/dsl/flow.d.mts.map +1 -1
- package/dist/dsl/flow.mjs +1 -2
- package/dist/dsl/refs.cjs +1 -2
- package/dist/dsl/refs.d.cts +0 -2
- package/dist/dsl/refs.d.cts.map +1 -1
- package/dist/dsl/refs.d.mts +0 -2
- package/dist/dsl/refs.d.mts.map +1 -1
- package/dist/dsl/refs.mjs +1 -2
- package/dist/dsl/template.cjs +1 -2
- package/dist/dsl/template.d.cts +0 -2
- package/dist/dsl/template.d.cts.map +1 -1
- package/dist/dsl/template.d.mts +0 -2
- package/dist/dsl/template.d.mts.map +1 -1
- package/dist/dsl/template.mjs +1 -2
- package/dist/dsl/trigger.cjs +1 -2
- package/dist/dsl/trigger.d.cts +0 -2
- package/dist/dsl/trigger.d.cts.map +1 -1
- package/dist/dsl/trigger.d.mts +0 -2
- package/dist/dsl/trigger.d.mts.map +1 -1
- package/dist/dsl/trigger.mjs +1 -2
- package/dist/dsl/workflow.cjs +1 -2
- package/dist/dsl/workflow.d.cts +0 -2
- package/dist/dsl/workflow.d.cts.map +1 -1
- package/dist/dsl/workflow.d.mts +0 -2
- package/dist/dsl/workflow.d.mts.map +1 -1
- package/dist/dsl/workflow.mjs +1 -2
- package/dist/email-context.cjs +1 -2
- package/dist/email-context.d.cts +0 -2
- package/dist/email-context.d.cts.map +1 -1
- package/dist/email-context.d.mts +0 -2
- package/dist/email-context.d.mts.map +1 -1
- package/dist/email-context.mjs +1 -2
- package/dist/email-sender.cjs +1 -2
- package/dist/email-sender.d.cts +0 -2
- package/dist/email-sender.d.cts.map +1 -1
- package/dist/email-sender.d.mts +0 -2
- package/dist/email-sender.d.mts.map +1 -1
- package/dist/email-sender.mjs +1 -2
- package/dist/email.cjs +1 -2
- package/dist/email.d.cts +0 -2
- package/dist/email.d.cts.map +1 -1
- package/dist/email.d.mts +0 -2
- package/dist/email.d.mts.map +1 -1
- package/dist/email.mjs +1 -2
- package/dist/engine/actions.cjs +1 -2
- package/dist/engine/actions.d.cts +0 -2
- package/dist/engine/actions.d.cts.map +1 -1
- package/dist/engine/actions.d.mts +0 -2
- package/dist/engine/actions.d.mts.map +1 -1
- package/dist/engine/actions.mjs +1 -2
- package/dist/engine/bucket.cjs +1 -2
- package/dist/engine/bucket.d.cts +0 -2
- package/dist/engine/bucket.d.cts.map +1 -1
- package/dist/engine/bucket.d.mts +0 -2
- package/dist/engine/bucket.d.mts.map +1 -1
- package/dist/engine/bucket.mjs +1 -2
- package/dist/engine/condition.cjs +1 -2
- package/dist/engine/condition.d.cts +0 -2
- package/dist/engine/condition.d.cts.map +1 -1
- package/dist/engine/condition.d.mts +0 -2
- package/dist/engine/condition.d.mts.map +1 -1
- package/dist/engine/condition.mjs +1 -2
- package/dist/engine/duration.cjs +1 -2
- package/dist/engine/duration.d.cts +0 -2
- package/dist/engine/duration.d.cts.map +1 -1
- package/dist/engine/duration.d.mts +0 -2
- package/dist/engine/duration.d.mts.map +1 -1
- package/dist/engine/duration.mjs +1 -2
- package/dist/engine/interpreter.cjs +1 -2
- package/dist/engine/interpreter.d.cts +0 -2
- package/dist/engine/interpreter.d.cts.map +1 -1
- package/dist/engine/interpreter.d.mts +0 -2
- package/dist/engine/interpreter.d.mts.map +1 -1
- package/dist/engine/interpreter.mjs +1 -2
- package/dist/engine/ports.d.cts +0 -2
- package/dist/engine/ports.d.cts.map +1 -1
- package/dist/engine/ports.d.mts +0 -2
- package/dist/engine/ports.d.mts.map +1 -1
- package/dist/engine/recipient.cjs +1 -2
- package/dist/engine/recipient.d.cts +0 -2
- package/dist/engine/recipient.d.cts.map +1 -1
- package/dist/engine/recipient.d.mts +0 -2
- package/dist/engine/recipient.d.mts.map +1 -1
- package/dist/engine/recipient.mjs +1 -2
- package/dist/engine/retry.cjs +1 -2
- package/dist/engine/retry.d.cts +0 -2
- package/dist/engine/retry.d.cts.map +1 -1
- package/dist/engine/retry.d.mts +0 -2
- package/dist/engine/retry.d.mts.map +1 -1
- package/dist/engine/retry.mjs +1 -2
- package/dist/engine/time-scale.cjs +1 -2
- package/dist/engine/time-scale.d.cts +0 -2
- package/dist/engine/time-scale.d.cts.map +1 -1
- package/dist/engine/time-scale.d.mts +0 -2
- package/dist/engine/time-scale.d.mts.map +1 -1
- package/dist/engine/time-scale.mjs +1 -2
- package/dist/engine/time-window.cjs +1 -2
- package/dist/engine/time-window.d.cts +0 -2
- package/dist/engine/time-window.d.cts.map +1 -1
- package/dist/engine/time-window.d.mts +0 -2
- package/dist/engine/time-window.d.mts.map +1 -1
- package/dist/engine/time-window.mjs +1 -2
- package/dist/fcm.cjs +1 -2
- package/dist/fcm.d.cts +0 -2
- package/dist/fcm.d.cts.map +1 -1
- package/dist/fcm.d.mts +0 -2
- package/dist/fcm.d.mts.map +1 -1
- package/dist/fcm.mjs +1 -2
- package/dist/hash.cjs +1 -2
- package/dist/hash.d.cts +0 -2
- package/dist/hash.d.cts.map +1 -1
- package/dist/hash.d.mts +0 -2
- package/dist/hash.d.mts.map +1 -1
- package/dist/hash.mjs +1 -2
- package/dist/host/auth.cjs +1 -2
- package/dist/host/auth.d.cts +0 -2
- package/dist/host/auth.d.cts.map +1 -1
- package/dist/host/auth.d.mts +0 -2
- package/dist/host/auth.d.mts.map +1 -1
- package/dist/host/auth.mjs +1 -2
- package/dist/host/channels.cjs +1 -2
- package/dist/host/channels.d.cts +0 -2
- package/dist/host/channels.d.cts.map +1 -1
- package/dist/host/channels.d.mts +0 -2
- package/dist/host/channels.d.mts.map +1 -1
- package/dist/host/channels.mjs +1 -2
- package/dist/host/execute.cjs +1 -2
- package/dist/host/execute.d.cts +0 -2
- package/dist/host/execute.d.cts.map +1 -1
- package/dist/host/execute.d.mts +0 -2
- package/dist/host/execute.d.mts.map +1 -1
- package/dist/host/execute.mjs +1 -2
- package/dist/host/fresh-read.cjs +1 -2
- package/dist/host/fresh-read.d.cts +0 -2
- package/dist/host/fresh-read.d.cts.map +1 -1
- package/dist/host/fresh-read.d.mts +0 -2
- package/dist/host/fresh-read.d.mts.map +1 -1
- package/dist/host/fresh-read.mjs +1 -2
- package/dist/host/http.cjs +1 -2
- package/dist/host/http.d.cts +0 -2
- package/dist/host/http.d.cts.map +1 -1
- package/dist/host/http.d.mts +0 -2
- package/dist/host/http.d.mts.map +1 -1
- package/dist/host/http.mjs +1 -2
- package/dist/host/ingest.cjs +1 -2
- package/dist/host/ingest.d.cts +0 -2
- package/dist/host/ingest.d.cts.map +1 -1
- package/dist/host/ingest.d.mts +0 -2
- package/dist/host/ingest.d.mts.map +1 -1
- package/dist/host/ingest.mjs +1 -2
- package/dist/host/journey-host.cjs +1 -2
- package/dist/host/journey-host.d.cts +0 -2
- package/dist/host/journey-host.d.cts.map +1 -1
- package/dist/host/journey-host.d.mts +0 -2
- package/dist/host/journey-host.d.mts.map +1 -1
- package/dist/host/journey-host.mjs +1 -2
- package/dist/host/platform.cjs +1 -2
- package/dist/host/platform.d.cts +0 -2
- package/dist/host/platform.d.cts.map +1 -1
- package/dist/host/platform.d.mts +0 -2
- package/dist/host/platform.d.mts.map +1 -1
- package/dist/host/platform.mjs +1 -2
- package/dist/host/senders.cjs +1 -2
- package/dist/host/senders.d.cts +0 -2
- package/dist/host/senders.d.cts.map +1 -1
- package/dist/host/senders.d.mts +0 -2
- package/dist/host/senders.d.mts.map +1 -1
- package/dist/host/senders.mjs +1 -2
- package/dist/http2-client.cjs +1 -2
- package/dist/http2-client.d.cts +0 -2
- package/dist/http2-client.d.cts.map +1 -1
- package/dist/http2-client.d.mts +0 -2
- package/dist/http2-client.d.mts.map +1 -1
- package/dist/http2-client.mjs +1 -2
- package/dist/ir.cjs +1 -2
- package/dist/ir.d.cts +0 -2
- package/dist/ir.d.cts.map +1 -1
- package/dist/ir.d.mts +0 -2
- package/dist/ir.d.mts.map +1 -1
- package/dist/ir.mjs +1 -2
- package/dist/jwt.cjs +1 -2
- package/dist/jwt.d.cts +0 -2
- package/dist/jwt.d.cts.map +1 -1
- package/dist/jwt.d.mts +0 -2
- package/dist/jwt.d.mts.map +1 -1
- package/dist/jwt.mjs +1 -2
- package/dist/plan.cjs +1 -2
- package/dist/plan.d.cts +0 -2
- package/dist/plan.d.cts.map +1 -1
- package/dist/plan.d.mts +0 -2
- package/dist/plan.d.mts.map +1 -1
- package/dist/plan.mjs +1 -2
- package/dist/postgres-js.cjs +1 -2
- package/dist/postgres-js.d.cts +0 -2
- package/dist/postgres-js.d.cts.map +1 -1
- package/dist/postgres-js.d.mts +0 -2
- package/dist/postgres-js.d.mts.map +1 -1
- package/dist/postgres-js.mjs +1 -2
- package/dist/provenance.cjs +1 -2
- package/dist/provenance.d.cts +0 -2
- package/dist/provenance.d.cts.map +1 -1
- package/dist/provenance.d.mts +0 -2
- package/dist/provenance.d.mts.map +1 -1
- package/dist/provenance.mjs +1 -2
- package/dist/push.cjs +1 -2
- package/dist/push.d.cts +0 -2
- package/dist/push.d.cts.map +1 -1
- package/dist/push.d.mts +0 -2
- package/dist/push.d.mts.map +1 -1
- package/dist/push.mjs +1 -2
- package/dist/react-email.cjs +1 -2
- package/dist/react-email.d.cts +0 -2
- package/dist/react-email.d.cts.map +1 -1
- package/dist/react-email.d.mts +0 -2
- package/dist/react-email.d.mts.map +1 -1
- package/dist/react-email.mjs +1 -2
- package/dist/reporting/classify.cjs +1 -2
- package/dist/reporting/classify.d.cts +0 -2
- package/dist/reporting/classify.d.cts.map +1 -1
- package/dist/reporting/classify.d.mts +0 -2
- package/dist/reporting/classify.d.mts.map +1 -1
- package/dist/reporting/classify.mjs +1 -2
- package/dist/reporting/observer.cjs +1 -2
- package/dist/reporting/observer.d.cts +0 -2
- package/dist/reporting/observer.d.cts.map +1 -1
- package/dist/reporting/observer.d.mts +0 -2
- package/dist/reporting/observer.d.mts.map +1 -1
- package/dist/reporting/observer.mjs +1 -2
- package/dist/reporting/tracking.cjs +1 -2
- package/dist/reporting/tracking.d.cts +0 -2
- package/dist/reporting/tracking.d.cts.map +1 -1
- package/dist/reporting/tracking.d.mts +0 -2
- package/dist/reporting/tracking.d.mts.map +1 -1
- package/dist/reporting/tracking.mjs +1 -2
- package/dist/runtime.cjs +1 -2
- package/dist/runtime.d.cts +0 -2
- package/dist/runtime.d.cts.map +1 -1
- package/dist/runtime.d.mts +0 -2
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +1 -2
- package/dist/store/erasure.cjs +1 -2
- package/dist/store/erasure.d.cts +0 -2
- package/dist/store/erasure.d.cts.map +1 -1
- package/dist/store/erasure.d.mts +0 -2
- package/dist/store/erasure.d.mts.map +1 -1
- package/dist/store/erasure.mjs +1 -2
- package/dist/store/facts.cjs +1 -2
- package/dist/store/facts.d.cts +0 -2
- package/dist/store/facts.d.cts.map +1 -1
- package/dist/store/facts.d.mts +0 -2
- package/dist/store/facts.d.mts.map +1 -1
- package/dist/store/facts.mjs +1 -2
- package/dist/store/index.cjs +1 -2
- package/dist/store/index.d.cts +0 -2
- package/dist/store/index.d.cts.map +1 -1
- package/dist/store/index.d.mts +0 -2
- package/dist/store/index.d.mts.map +1 -1
- package/dist/store/index.mjs +1 -2
- package/dist/store/postgres-reporting.cjs +1 -2
- package/dist/store/postgres-reporting.d.cts +0 -2
- package/dist/store/postgres-reporting.d.cts.map +1 -1
- package/dist/store/postgres-reporting.d.mts +0 -2
- package/dist/store/postgres-reporting.d.mts.map +1 -1
- package/dist/store/postgres-reporting.mjs +1 -2
- package/dist/store/postgres.cjs +1 -2
- package/dist/store/postgres.d.cts +0 -2
- package/dist/store/postgres.d.cts.map +1 -1
- package/dist/store/postgres.d.mts +0 -2
- package/dist/store/postgres.d.mts.map +1 -1
- package/dist/store/postgres.mjs +1 -2
- package/dist/store/sql.cjs +1 -2
- package/dist/store/sql.d.cts +0 -2
- package/dist/store/sql.d.cts.map +1 -1
- package/dist/store/sql.d.mts +0 -2
- package/dist/store/sql.d.mts.map +1 -1
- package/dist/store/sql.mjs +1 -2
- package/dist/store/tables.cjs +1 -2
- package/dist/store/tables.d.cts +0 -2
- package/dist/store/tables.d.cts.map +1 -1
- package/dist/store/tables.d.mts +0 -2
- package/dist/store/tables.d.mts.map +1 -1
- package/dist/store/tables.mjs +1 -2
- package/dist/store/user-lock.cjs +1 -2
- package/dist/store/user-lock.d.cts +0 -2
- package/dist/store/user-lock.d.cts.map +1 -1
- package/dist/store/user-lock.d.mts +0 -2
- package/dist/store/user-lock.d.mts.map +1 -1
- package/dist/store/user-lock.mjs +1 -2
- package/dist/templates.cjs +1 -2
- package/dist/templates.d.cts +0 -2
- package/dist/templates.d.cts.map +1 -1
- package/dist/templates.d.mts +0 -2
- package/dist/templates.d.mts.map +1 -1
- package/dist/templates.mjs +1 -2
- package/dist/transports/cloudflare-email.cjs +1 -2
- package/dist/transports/cloudflare-email.d.cts +0 -2
- package/dist/transports/cloudflare-email.d.cts.map +1 -1
- package/dist/transports/cloudflare-email.d.mts +0 -2
- package/dist/transports/cloudflare-email.d.mts.map +1 -1
- package/dist/transports/cloudflare-email.mjs +1 -2
- package/dist/transports/ses.cjs +1 -2
- package/dist/transports/ses.d.cts +0 -2
- package/dist/transports/ses.d.cts.map +1 -1
- package/dist/transports/ses.d.mts +0 -2
- package/dist/transports/ses.d.mts.map +1 -1
- package/dist/transports/ses.mjs +1 -2
- package/dist/transports/sigv4.cjs +1 -2
- package/dist/transports/sigv4.d.cts +0 -2
- package/dist/transports/sigv4.d.cts.map +1 -1
- package/dist/transports/sigv4.d.mts +0 -2
- package/dist/transports/sigv4.d.mts.map +1 -1
- package/dist/transports/sigv4.mjs +1 -2
- package/dist/webhooks.cjs +1 -2
- package/dist/webhooks.d.cts +0 -2
- package/dist/webhooks.d.cts.map +1 -1
- package/dist/webhooks.d.mts +0 -2
- package/dist/webhooks.d.mts.map +1 -1
- package/dist/webhooks.mjs +1 -2
- package/dist/webpush.cjs +1 -2
- package/dist/webpush.d.cts +0 -2
- package/dist/webpush.d.cts.map +1 -1
- package/dist/webpush.d.mts +0 -2
- package/dist/webpush.d.mts.map +1 -1
- package/dist/webpush.mjs +1 -2
- package/package.json +5 -5
package/dist/host/ingest.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TriggerIR } from "../ir.mjs";
|
|
2
2
|
import { BundleVersion, JourneyStore, ProfileProps } from "../store/index.mjs";
|
|
3
3
|
import { JourneyEnv } from "./platform.mjs";
|
|
4
|
-
//#region src/host/ingest.d.ts
|
|
5
4
|
export interface IngestInput {
|
|
6
5
|
userId: string;
|
|
7
6
|
event: string;
|
|
@@ -181,5 +180,4 @@ export declare class BundleIntegrityError extends Error {
|
|
|
181
180
|
* compiled into it; without one it is forced, whatever is live.
|
|
182
181
|
*/
|
|
183
182
|
export declare function deployBundle(env: JourneyEnv, bundle: unknown, store: JourneyStore, version?: BundleVersion): Promise<DeployResult>;
|
|
184
|
-
//#endregion
|
|
185
183
|
//# sourceMappingURL=ingest.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest.d.mts","names":[],"sources":["../../src/host/ingest.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ingest.d.mts","names":[],"sources":["../../src/host/ingest.ts"],"mappings":";;;iBA6CiB;EACf;EACA;EACA,UAAU;EACV;;;;;;;;;;;;;;;EAeA;;iBAGe;;EAEf;;EAEA;EACA;EACA;;wBAGoB,YACpB,KAAK,YACL,OAAO,aACP,OAAO,eACN,QAAQ;;;;;;wBAwCW,gBACpB,KAAK,YACL,OAAO,cACP,gBACA,4BACC;;;;;;;;;wBA0EmB,uBACpB,KAAK,YACL,OAAO,cACP,gBACA,aACC;iBA0Fc;EACf;;EAEA;;EAEA;IAAS;IAAiB;;;;qBAIf;;;;;;;wBAQS,iBAAiB,KAAK,YAAY,OAAO,eAAe;iBAkB7D;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;;wBASoB,mBACpB,KAAK,YACL,OAAO,cACP;EAAQ;EAA4B;EAA4B;IAC/D,QAAQ;;;;;;;;;wBAsCW,cACpB,KAAK,YACL,OAAO,cACP,eACC,QAAQ;iBAgFM;EACf;EACA,OAAO;EACP;EACA;;;;;;;wBAQoB,aACpB,KAAK,YACL,gBACA,OAAO,cACP,OAAO,eACN,QAAQ;iBAiBM;EACf;EACA;EACA;EACA;;;;;;;wBAQoB,eACpB,KAAK,YACL,QAAQ,oBACR,OAAO,eACN;EAAU;EAAU;;;;;;;;;;;wBA2FD,WACpB,KAAK,YACL,gBACA,OAAO,cACP,eACC;EAAU;EAAU;EAAiB;;;;;;;wBAUlB,aACpB,KAAK,YACL,eACA,OAAO,eACN;EAAU;EAAU;;;wBAQD,aACpB,KAAK,YACL,eACA,OAAO,eACN;EAAU;EAAU;;iBASN;EACf;;;;;;;;EAQA;IAAY;IAAkB,SAAS;;;;;;EAKvC;;;qBAIW,6BAA6B;EACxC,YAAY;;;;;;;;wBA8CQ,aACpB,KAAK,YACL,iBACA,OAAO,cACP,UAAU,gBACT,QAAQ"}
|
package/dist/host/ingest.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { DEVICES_UPDATED_EVENT, evaluateCondition, matchesWhere, profileUpdatedE
|
|
|
6
6
|
import { JourneyFactSource } from "../store/facts.mjs";
|
|
7
7
|
import { SchemaMismatchError } from "../store/index.mjs";
|
|
8
8
|
import { InstanceNotFoundError, WAKE_EVENT_TYPE } from "./platform.mjs";
|
|
9
|
-
|
|
9
|
+
// src/host/ingest.ts
|
|
10
10
|
/**
|
|
11
11
|
* Ingest: what the host does with what comes in, HTTP aside (that is `http.ts`). An incoming
|
|
12
12
|
* event does four things: it is stored, it wakes waiting instances, it is matched against event
|
|
@@ -495,7 +495,6 @@ async function deployBundle(env, bundle, store, version) {
|
|
|
495
495
|
applied
|
|
496
496
|
};
|
|
497
497
|
}
|
|
498
|
-
//#endregion
|
|
499
498
|
export { BundleIntegrityError, SWEEP_PAGE_SIZE, deployBundle, forgetUser, identifyUser, ingestEvent, refreshSegmentTriggers, registerDevice, removeDevice, sweepMaintenance, sweepSegments, sweepSegmentsPaged, unbindDevice, wakeSubscribers };
|
|
500
499
|
|
|
501
500
|
//# sourceMappingURL=ingest.mjs.map
|
|
@@ -16,7 +16,7 @@ const require_host_channels = require("./channels.cjs");
|
|
|
16
16
|
const require_host_http = require("./http.cjs");
|
|
17
17
|
let zod_mini = require("zod/mini");
|
|
18
18
|
zod_mini = require_runtime.__toESM(zod_mini, 1);
|
|
19
|
-
|
|
19
|
+
// src/host/journey-host.ts
|
|
20
20
|
/** The host's environment failed its schema (`env` option). */
|
|
21
21
|
var EnvValidationError = class extends Error {
|
|
22
22
|
issues;
|
|
@@ -193,7 +193,6 @@ function createJourneyHost(options, platform = {}) {
|
|
|
193
193
|
applyOwnBundle
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
|
-
//#endregion
|
|
197
196
|
exports.EnvValidationError = EnvValidationError;
|
|
198
197
|
exports.createJourneyHost = createJourneyHost;
|
|
199
198
|
|
|
@@ -9,7 +9,6 @@ import { JourneyEnv, JourneyParams } from "./platform.cjs";
|
|
|
9
9
|
import { JourneyRunParts } from "./execute.cjs";
|
|
10
10
|
import { SweepResult } from "./ingest.cjs";
|
|
11
11
|
import * as core from "zod/v4/core";
|
|
12
|
-
//#region src/host/journey-host.d.ts
|
|
13
12
|
/**
|
|
14
13
|
* What a journey host is, apart from the runtime it runs on: the validated environment, the
|
|
15
14
|
* store lease, the outlets a run is wired to, the HTTP API (`http.ts`, with the host's parts
|
|
@@ -106,5 +105,4 @@ export interface JourneyPlatform {
|
|
|
106
105
|
apnsFetch?: typeof fetch;
|
|
107
106
|
}
|
|
108
107
|
export declare function createJourneyHost<Env extends JourneyEnv>(options: JourneyHostOptions<Env>, platform?: JourneyPlatform): JourneyHost<Env>;
|
|
109
|
-
//#endregion
|
|
110
108
|
//# sourceMappingURL=journey-host.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey-host.d.cts","names":[],"sources":["../../src/host/journey-host.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"journey-host.d.cts","names":[],"sources":["../../src/host/journey-host.ts"],"mappings":";;;;;;;;;;;;;;;;;iBAuCiB,mBAAmB,YAAY;;;;;;;;EAQ9C,QAAQ;;;;;;;;EAQR,QAAQ,KAAK,KAAK;IAAY;QAAqB,eAAe;;;;;;EAMlE,SAAS,KAAK,QAAQ;;;;;;;EAOtB,YAAY,KAAK,KAAK,OAAO,iBAAiB;;EAE9C,YAAY,KAAK,KAAK,OAAO,iBAAiB;;EAE9C,WAAW,KAAK,KAAK,QAAQ,kBAAkB;;;;;;;EAO/C,MAAM,KAAK;;EAEX;;;;;;;;;;;EAWA,YAAY,UAAU;;;qBAIX,2BAA2B;WAEjB;WADH;EAClB,YAAqB;;iBAKN,YAAY,YAAY;EACvC,QAAQ;;EAER,SAAS,KAAK,MAAM;;EAEpB,MAAM,KAAK,MAAM,SAAS;;EAE1B,UAAU;;EAEV,SAAS,KAAK,KAAK,OAAO,cAAc,QAAQ,gBAAgB;;EAEhE,OAAO,SAAS,SAAS,KAAK,KAAK,OAAO,eAAe,QAAQ;;EAEjE,MAAM,KAAK,MAAM,QAAQ;;;;;;EAMzB,eAAe,KAAK,KAAK,SAAS,4BAA4B;;;iBAI/C;;EAEf,mBAAmB;;wBAqCL,kBAAkB,YAAY,YAC5C,SAAS,mBAAmB,MAC5B,WAAU,kBACT,YAAY"}
|
|
@@ -9,7 +9,6 @@ import { JourneyEnv, JourneyParams } from "./platform.mjs";
|
|
|
9
9
|
import { JourneyRunParts } from "./execute.mjs";
|
|
10
10
|
import { SweepResult } from "./ingest.mjs";
|
|
11
11
|
import * as core from "zod/v4/core";
|
|
12
|
-
//#region src/host/journey-host.d.ts
|
|
13
12
|
/**
|
|
14
13
|
* What a journey host is, apart from the runtime it runs on: the validated environment, the
|
|
15
14
|
* store lease, the outlets a run is wired to, the HTTP API (`http.ts`, with the host's parts
|
|
@@ -106,5 +105,4 @@ export interface JourneyPlatform {
|
|
|
106
105
|
apnsFetch?: typeof fetch;
|
|
107
106
|
}
|
|
108
107
|
export declare function createJourneyHost<Env extends JourneyEnv>(options: JourneyHostOptions<Env>, platform?: JourneyPlatform): JourneyHost<Env>;
|
|
109
|
-
//#endregion
|
|
110
108
|
//# sourceMappingURL=journey-host.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey-host.d.mts","names":[],"sources":["../../src/host/journey-host.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"journey-host.d.mts","names":[],"sources":["../../src/host/journey-host.ts"],"mappings":";;;;;;;;;;;;;;;;;iBAuCiB,mBAAmB,YAAY;;;;;;;;EAQ9C,QAAQ;;;;;;;;EAQR,QAAQ,KAAK,KAAK;IAAY;QAAqB,eAAe;;;;;;EAMlE,SAAS,KAAK,QAAQ;;;;;;;EAOtB,YAAY,KAAK,KAAK,OAAO,iBAAiB;;EAE9C,YAAY,KAAK,KAAK,OAAO,iBAAiB;;EAE9C,WAAW,KAAK,KAAK,QAAQ,kBAAkB;;;;;;;EAO/C,MAAM,KAAK;;EAEX;;;;;;;;;;;EAWA,YAAY,UAAU;;;qBAIX,2BAA2B;WAEjB;WADH;EAClB,YAAqB;;iBAKN,YAAY,YAAY;EACvC,QAAQ;;EAER,SAAS,KAAK,MAAM;;EAEpB,MAAM,KAAK,MAAM,SAAS;;EAE1B,UAAU;;EAEV,SAAS,KAAK,KAAK,OAAO,cAAc,QAAQ,gBAAgB;;EAEhE,OAAO,SAAS,SAAS,KAAK,KAAK,OAAO,eAAe,QAAQ;;EAEjE,MAAM,KAAK,MAAM,QAAQ;;;;;;EAMzB,eAAe,KAAK,KAAK,SAAS,4BAA4B;;;iBAI/C;;EAEf,mBAAmB;;wBAqCL,kBAAkB,YAAY,YAC5C,SAAS,mBAAmB,MAC5B,WAAU,kBACT,YAAY"}
|
|
@@ -13,7 +13,7 @@ import { reportingObserver } from "../reporting/observer.mjs";
|
|
|
13
13
|
import { channelsFromConfig, createProviderCache, runtimeFromConfig } from "./channels.mjs";
|
|
14
14
|
import { serve } from "./http.mjs";
|
|
15
15
|
import * as z from "zod/mini";
|
|
16
|
-
|
|
16
|
+
// src/host/journey-host.ts
|
|
17
17
|
/** The host's environment failed its schema (`env` option). */
|
|
18
18
|
var EnvValidationError = class extends Error {
|
|
19
19
|
issues;
|
|
@@ -190,7 +190,6 @@ function createJourneyHost(options, platform = {}) {
|
|
|
190
190
|
applyOwnBundle
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
//#endregion
|
|
194
193
|
export { EnvValidationError, createJourneyHost };
|
|
195
194
|
|
|
196
195
|
//# sourceMappingURL=journey-host.mjs.map
|
package/dist/host/platform.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/host/platform.ts
|
|
3
3
|
/**
|
|
4
4
|
* The runtime does not know the instance: the only lookup failure that lets the host drop the
|
|
5
5
|
* instance's wakes, or count it as stopped. Every `WorkflowBindingLike.get` answers it this way.
|
|
@@ -14,7 +14,6 @@ var InstanceNotFoundError = class extends Error {
|
|
|
14
14
|
};
|
|
15
15
|
/** The event type the host uses to wake waiting instances (sendEvent's `type`). */
|
|
16
16
|
const WAKE_EVENT_TYPE = "wake";
|
|
17
|
-
//#endregion
|
|
18
17
|
exports.InstanceNotFoundError = InstanceNotFoundError;
|
|
19
18
|
exports.WAKE_EVENT_TYPE = WAKE_EVENT_TYPE;
|
|
20
19
|
|
package/dist/host/platform.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ExecutionStart } from "../store/index.cjs";
|
|
2
2
|
import { EmailBindingLike } from "../cloudflare/bindings.cjs";
|
|
3
|
-
//#region src/host/platform.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* The runtime port: what the host needs from the platform it runs on, whichever one that is.
|
|
6
5
|
* Cloudflare's Workflow binding satisfies it (`cloudflareJourneyBinding`), the AWS adapter's
|
|
@@ -116,5 +115,4 @@ export interface JourneyEnv {
|
|
|
116
115
|
/** Development only: the HTTP/2 relay `wrangler dev` sends APNs requests through (see `@shware/workflow/apns-relay`). */
|
|
117
116
|
APNS_RELAY_ORIGIN?: string;
|
|
118
117
|
}
|
|
119
|
-
//#endregion
|
|
120
118
|
//# sourceMappingURL=platform.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.cts","names":[],"sources":["../../src/host/platform.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"platform.d.cts","names":[],"sources":["../../src/host/platform.ts"],"mappings":";;;;;;;iBASiB;EACf;EACA,UAAU;IAAS;IAAc;MAAsB;;EAEvD,cAAc;;EAEd,WAAW;IAAU;;;;iBAIN;EACf,OAAO;IAAW;IAAY;MAAoB,QAAQ;;EAE1D,IAAI,aAAa,QAAQ;;;;;;;EAOzB,MAAM;IACJ;IACA,QAAQ;IACR;;IAEA;MACE,QAAQ;;EAEZ,QAAQ;IAAS;IAAkB;MAAmB;;;;;EAKtD,aAAa;;;;;;qBAOF,8BAA8B;WAG9B;WAFO;EAClB,YACW,oBACT,UAAU;;;qBAOD;;iBAGI;EACf;;EAEA;EACA;EACA;IAAW;IAAe,SAAS;;GAClC;;;iBAIc;;EAEf,SAAS;;EAET;;;;;;EAMA;;;;;EAKA;;EAEA;;EAEA,QAAQ;;EAER;;EAEA;;EAEA;EACA;;;;;;;EAOA;IAAwB;IAAY;IAAc;;;EAElD"}
|
package/dist/host/platform.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ExecutionStart } from "../store/index.mjs";
|
|
2
2
|
import { EmailBindingLike } from "../cloudflare/bindings.mjs";
|
|
3
|
-
//#region src/host/platform.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* The runtime port: what the host needs from the platform it runs on, whichever one that is.
|
|
6
5
|
* Cloudflare's Workflow binding satisfies it (`cloudflareJourneyBinding`), the AWS adapter's
|
|
@@ -116,5 +115,4 @@ export interface JourneyEnv {
|
|
|
116
115
|
/** Development only: the HTTP/2 relay `wrangler dev` sends APNs requests through (see `@shware/workflow/apns-relay`). */
|
|
117
116
|
APNS_RELAY_ORIGIN?: string;
|
|
118
117
|
}
|
|
119
|
-
//#endregion
|
|
120
118
|
//# sourceMappingURL=platform.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.mts","names":[],"sources":["../../src/host/platform.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"platform.d.mts","names":[],"sources":["../../src/host/platform.ts"],"mappings":";;;;;;;iBASiB;EACf;EACA,UAAU;IAAS;IAAc;MAAsB;;EAEvD,cAAc;;EAEd,WAAW;IAAU;;;;iBAIN;EACf,OAAO;IAAW;IAAY;MAAoB,QAAQ;;EAE1D,IAAI,aAAa,QAAQ;;;;;;;EAOzB,MAAM;IACJ;IACA,QAAQ;IACR;;IAEA;MACE,QAAQ;;EAEZ,QAAQ;IAAS;IAAkB;MAAmB;;;;;EAKtD,aAAa;;;;;;qBAOF,8BAA8B;WAG9B;WAFO;EAClB,YACW,oBACT,UAAU;;;qBAOD;;iBAGI;EACf;;EAEA;EACA;EACA;IAAW;IAAe,SAAS;;GAClC;;;iBAIc;;EAEf,SAAS;;EAET;;;;;;EAMA;;;;;EAKA;;EAEA;;EAEA,QAAQ;;EAER;;EAEA;;EAEA;EACA;;;;;;;EAOA;IAAwB;IAAY;IAAc;;;EAElD"}
|
package/dist/host/platform.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/host/platform.ts
|
|
2
2
|
/**
|
|
3
3
|
* The runtime does not know the instance: the only lookup failure that lets the host drop the
|
|
4
4
|
* instance's wakes, or count it as stopped. Every `WorkflowBindingLike.get` answers it this way.
|
|
@@ -13,7 +13,6 @@ var InstanceNotFoundError = class extends Error {
|
|
|
13
13
|
};
|
|
14
14
|
/** The event type the host uses to wake waiting instances (sendEvent's `type`). */
|
|
15
15
|
const WAKE_EVENT_TYPE = "wake";
|
|
16
|
-
//#endregion
|
|
17
16
|
export { InstanceNotFoundError, WAKE_EVENT_TYPE };
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=platform.mjs.map
|
package/dist/host/senders.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_engine_retry = require("../engine/retry.cjs");
|
|
3
|
-
|
|
3
|
+
// src/host/senders.ts
|
|
4
4
|
/** Development sender: structured logs, for eyeballing the pipeline. */
|
|
5
5
|
var LogMessageSender = class {
|
|
6
6
|
async send(message) {
|
|
@@ -63,7 +63,6 @@ function routeByPlatform(senders) {
|
|
|
63
63
|
return senders[platform].send(message);
|
|
64
64
|
} };
|
|
65
65
|
}
|
|
66
|
-
//#endregion
|
|
67
66
|
exports.LogMessageSender = LogMessageSender;
|
|
68
67
|
exports.WebhookMessageSender = WebhookMessageSender;
|
|
69
68
|
exports.routeByChannel = routeByChannel;
|
package/dist/host/senders.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MessageSender, OutboundMessage } from "../engine/ports.cjs";
|
|
2
2
|
import "../engine/index.cjs";
|
|
3
|
-
//#region src/host/senders.d.ts
|
|
4
3
|
/** Development sender: structured logs, for eyeballing the pipeline. */
|
|
5
4
|
export declare class LogMessageSender implements MessageSender {
|
|
6
5
|
send(message: OutboundMessage): Promise<void>;
|
|
@@ -32,5 +31,4 @@ export declare function routeByChannel(senders: Partial<Record<OutboundMessage['
|
|
|
32
31
|
* rather than guessing or retrying the same configuration.
|
|
33
32
|
*/
|
|
34
33
|
export declare function routeByPlatform(senders: Record<string, MessageSender>): MessageSender;
|
|
35
|
-
//#endregion
|
|
36
34
|
//# sourceMappingURL=senders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"senders.d.cts","names":[],"sources":["../../src/host/senders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"senders.d.cts","names":[],"sources":["../../src/host/senders.ts"],"mappings":";;;qBAIa,4BAA4B;EACjC,KAAK,SAAS,kBAAkB;;;;;;;;;qBAa3B,gCAAgC;mBAExB;mBACA;EAFnB,YACmB,aACA,mBAAkB;EAG/B,KAAK,SAAS,kBAAkB;;;;;;;wBAsBxB,eACd,SAAS,QAAQ,OAAO,4BAA4B,kBACnD;;;;;;;;wBAmBa,gBAAgB,SAAS,eAAe,iBAAiB"}
|
package/dist/host/senders.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MessageSender, OutboundMessage } from "../engine/ports.mjs";
|
|
2
2
|
import "../engine/index.mjs";
|
|
3
|
-
//#region src/host/senders.d.ts
|
|
4
3
|
/** Development sender: structured logs, for eyeballing the pipeline. */
|
|
5
4
|
export declare class LogMessageSender implements MessageSender {
|
|
6
5
|
send(message: OutboundMessage): Promise<void>;
|
|
@@ -32,5 +31,4 @@ export declare function routeByChannel(senders: Partial<Record<OutboundMessage['
|
|
|
32
31
|
* rather than guessing or retrying the same configuration.
|
|
33
32
|
*/
|
|
34
33
|
export declare function routeByPlatform(senders: Record<string, MessageSender>): MessageSender;
|
|
35
|
-
//#endregion
|
|
36
34
|
//# sourceMappingURL=senders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"senders.d.mts","names":[],"sources":["../../src/host/senders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"senders.d.mts","names":[],"sources":["../../src/host/senders.ts"],"mappings":";;;qBAIa,4BAA4B;EACjC,KAAK,SAAS,kBAAkB;;;;;;;;;qBAa3B,gCAAgC;mBAExB;mBACA;EAFnB,YACmB,aACA,mBAAkB;EAG/B,KAAK,SAAS,kBAAkB;;;;;;;wBAsBxB,eACd,SAAS,QAAQ,OAAO,4BAA4B,kBACnD;;;;;;;;wBAmBa,gBAAgB,SAAS,eAAe,iBAAiB"}
|
package/dist/host/senders.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PermanentError, isRetryableStatus } from "../engine/retry.mjs";
|
|
2
|
-
|
|
2
|
+
// src/host/senders.ts
|
|
3
3
|
/** Development sender: structured logs, for eyeballing the pipeline. */
|
|
4
4
|
var LogMessageSender = class {
|
|
5
5
|
async send(message) {
|
|
@@ -62,7 +62,6 @@ function routeByPlatform(senders) {
|
|
|
62
62
|
return senders[platform].send(message);
|
|
63
63
|
} };
|
|
64
64
|
}
|
|
65
|
-
//#endregion
|
|
66
65
|
export { LogMessageSender, WebhookMessageSender, routeByChannel, routeByPlatform };
|
|
67
66
|
|
|
68
67
|
//# sourceMappingURL=senders.mjs.map
|
package/dist/http2-client.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let node_http2 = require("node:http2");
|
|
3
|
-
|
|
3
|
+
// src/http2-client.ts
|
|
4
4
|
function http2Sessions() {
|
|
5
5
|
const sessions = /* @__PURE__ */ new Map();
|
|
6
6
|
return {
|
|
@@ -83,7 +83,6 @@ function http2Fetch(pool = http2Sessions(), options = {}) {
|
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
//#endregion
|
|
87
86
|
exports.http2Fetch = http2Fetch;
|
|
88
87
|
exports.http2Sessions = http2Sessions;
|
|
89
88
|
|
package/dist/http2-client.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ClientHttp2Session } from "node:http2";
|
|
2
|
-
//#region src/http2-client.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A Node HTTP/2 client: one session per origin, reused while it lives. APNs speaks HTTP/2 only
|
|
5
4
|
* and Node's `fetch` does not negotiate it, so a Node host (a Lambda, the development relay)
|
|
@@ -43,5 +42,4 @@ export declare function http2Fetch(pool?: Http2Sessions, options?: {
|
|
|
43
42
|
*/
|
|
44
43
|
timeoutMs?: number;
|
|
45
44
|
}): typeof fetch;
|
|
46
|
-
//#endregion
|
|
47
45
|
//# sourceMappingURL=http2-client.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http2-client.d.cts","names":[],"sources":["../src/http2-client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"http2-client.d.cts","names":[],"sources":["../src/http2-client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAuBiB;EACf,QAAQ,iBAAiB;;;;;EAKzB,QAAQ,gBAAgB,SAAS;EACjC;;wBAGc,iBAAiB;;;;;;wBAgCjB,WACd,OAAM,eACN;;;;;;EAME;WAEM"}
|
package/dist/http2-client.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ClientHttp2Session } from "node:http2";
|
|
2
|
-
//#region src/http2-client.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* A Node HTTP/2 client: one session per origin, reused while it lives. APNs speaks HTTP/2 only
|
|
5
4
|
* and Node's `fetch` does not negotiate it, so a Node host (a Lambda, the development relay)
|
|
@@ -43,5 +42,4 @@ export declare function http2Fetch(pool?: Http2Sessions, options?: {
|
|
|
43
42
|
*/
|
|
44
43
|
timeoutMs?: number;
|
|
45
44
|
}): typeof fetch;
|
|
46
|
-
//#endregion
|
|
47
45
|
//# sourceMappingURL=http2-client.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http2-client.d.mts","names":[],"sources":["../src/http2-client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"http2-client.d.mts","names":[],"sources":["../src/http2-client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAuBiB;EACf,QAAQ,iBAAiB;;;;;EAKzB,QAAQ,gBAAgB,SAAS;EACjC;;wBAGc,iBAAiB;;;;;;wBAgCjB,WACd,OAAM,eACN;;;;;;EAME;WAEM"}
|
package/dist/http2-client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { connect } from "node:http2";
|
|
2
|
-
|
|
2
|
+
// src/http2-client.ts
|
|
3
3
|
function http2Sessions() {
|
|
4
4
|
const sessions = /* @__PURE__ */ new Map();
|
|
5
5
|
return {
|
|
@@ -82,7 +82,6 @@ function http2Fetch(pool = http2Sessions(), options = {}) {
|
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
//#endregion
|
|
86
85
|
export { http2Fetch, http2Sessions };
|
|
87
86
|
|
|
88
87
|
//# sourceMappingURL=http2-client.mjs.map
|
package/dist/ir.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_runtime = require("./_virtual/_rolldown/runtime.cjs");
|
|
3
3
|
let zod_mini = require("zod/mini");
|
|
4
4
|
zod_mini = require_runtime.__toESM(zod_mini, 1);
|
|
5
|
-
|
|
5
|
+
// src/ir.ts
|
|
6
6
|
/**
|
|
7
7
|
* IR (Intermediate Representation) — what the DSL compiles to: serializable
|
|
8
8
|
* JSON. It is the three-way contract between the engine that interprets it,
|
|
@@ -339,7 +339,6 @@ const BundleIR = zod_mini.object({
|
|
|
339
339
|
templates: zod_mini.array(TemplateIR),
|
|
340
340
|
actions: zod_mini.array(ActionIR)
|
|
341
341
|
});
|
|
342
|
-
//#endregion
|
|
343
342
|
exports.ActionIR = ActionIR;
|
|
344
343
|
exports.BundleIR = BundleIR;
|
|
345
344
|
exports.ChannelIR = ChannelIR;
|
package/dist/ir.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as z from "zod/mini";
|
|
2
|
-
//#region src/ir.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* IR (Intermediate Representation) — what the DSL compiles to: serializable
|
|
5
4
|
* JSON. It is the three-way contract between the engine that interprets it,
|
|
@@ -473,6 +472,5 @@ export declare const BundleIR: z.ZodMiniObject<{
|
|
|
473
472
|
}, z.core.$strip>>;
|
|
474
473
|
}, z.core.$strip>;
|
|
475
474
|
export type BundleIR = z.infer<typeof BundleIR>;
|
|
476
|
-
//#endregion
|
|
477
475
|
export {};
|
|
478
476
|
//# sourceMappingURL=ir.d.cts.map
|
package/dist/ir.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir.d.cts","names":[],"sources":["../src/ir.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ir.d.cts","names":[],"sources":["../src/ir.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6Ca;qBAIA,UAAQ,EAAA,uBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA;YACT,WAAW,EAAE,aAAa;;qBAUzB,YAAU,EAAA;;;GAAkD,EAAA,KAAA;YAC7D,aAAa,EAAE,aAAa;;qBAG3B,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;YACU,oBAAoB,EAAE,aAAa;;qBAGlC,aAAW,EAAA,uBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,2BAAA,EAAA;;;GAAyC,EAAA,KAAA;YACrD,cAAc,EAAE,aAAa;qBAE5B,WAAS,EAAA;;;;;;;;;YACV,YAAY,EAAE,aAAa;qBAE1B,WAAS,EAAA;;;;;;;;;YACV,YAAY,EAAE,aAAa;;;;;;;qBAU1B,aAAW,EAAA;;;;GAItB,EAAA,KAAA;YACU,cAAc,EAAE,aAAa;;qBAG5B,YAAU,EAAA;;;;;;GAErB,EAAA,KAAA;YACU,aAAa,EAAE,aAAa;qBAI3B,oBAAkB,EAAA;;;;;;;;;;;;;;;;YAgBnB,qBAAqB,EAAE,aAAa;;;;;;;;;;;;;;;;;UAkBtC;EACR,OAAO;;YAGG,eACP;EAAoB;EAAa,YAAY;MAC7C;EAAoB;EAAY,YAAY;MAC5C;EAAoB;EAAa,WAAW;;;CAE5C;EAAoB;EAAiB;MACrC;EACC;EACA;EACA,IAAI;EACJ,QAAQ;EACR,SAAS;MAEV;;EAEC;EACA;EACA,IAAI;EACJ,QAAQ;EACR,SAAS;MAEV;EACC;EACA;;EAEA,QAAQ;EACR,SAAS;EACT;;;;;;;CAOD;EAAoB;EAAmB,SAAS;;qBAIxC,aAAa,EAAE,YAAY;;;;;;qBAyC3B,WAAS,EAAA,2BAAA,EAAA;;;;;;;;;;;;;GAUpB,EAAA,KAAA;YACU,YAAY,EAAE,aAAa;UAI7B;;EAER;;EAEA;;EAEA,OAAO;;YAGG,UACP;EACC;EACA,SAAS;EACT;EACA,OAAO,eAAe;;;;;EAKtB;MAED;EAAe;EAAe,UAAU;MACxC;EAAe;EAAsB,KAAK;EAAY,KAAK;MAC3D;EACC;EACA,MAAM;EACN;EACA;MAED;EACC;EACA,WAAW;EACX,SAAS;EACT,iCAAiC;MAElC;EACC;EACA;IAAS;IAA4B,WAAW;IAAa,MAAM;;;EAEnE,YAAY;MAEb;EACC;;EAEA;EACA,WAAW;MAEZ;EACC;;;;;;;EAOA;;;;;;;EAOA;IAAQ;IAAc;IAAgB,MAAM;;MAE7C;;EAEC;EACA;MAED;EAAe;EAAoB;EAAe,SAAS,eAAe;MAC1E;EACC;;EAEA;;EAEA,MAAM,eAAe;;qBAKd,QAAQ,EAAE,YAAY;qBAoEtB,QAAM,EAAA;;;;;;;GAIjB,EAAA,KAAA;YACU,SAAS,EAAE,aAAa;;;;;;qBAOvB,QAAM,EAAA;;;;;;;;GAUjB,EAAA,KAAA;YACU,SAAS,EAAE,aAAa;qBAEvB,YAAU,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUrB,EAAA,KAAA;YACU,aAAa,EAAE,aAAa;qBAE3B,WAAS,EAAA;;;;;;;;;;;;;;GAQpB,EAAA,KAAA;YACU,YAAY,EAAE,aAAa;;qBAG1B,YAAU,EAAA;;;;;;;;;;;;GAIrB,EAAA,KAAA;YACU,aAAa,EAAE,aAAa;;;;;;qBAO3B,UAAQ,EAAA;;;GAGnB,EAAA,KAAA;YACU,WAAW,EAAE,aAAa;;;;;;qBAOzB,UAAQ,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,EAAA,KAAA;YACU,WAAW,EAAE,aAAa"}
|
package/dist/ir.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as z from "zod/mini";
|
|
2
|
-
//#region src/ir.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* IR (Intermediate Representation) — what the DSL compiles to: serializable
|
|
5
4
|
* JSON. It is the three-way contract between the engine that interprets it,
|
|
@@ -473,6 +472,5 @@ export declare const BundleIR: z.ZodMiniObject<{
|
|
|
473
472
|
}, z.core.$strip>>;
|
|
474
473
|
}, z.core.$strip>;
|
|
475
474
|
export type BundleIR = z.infer<typeof BundleIR>;
|
|
476
|
-
//#endregion
|
|
477
475
|
export {};
|
|
478
476
|
//# sourceMappingURL=ir.d.mts.map
|
package/dist/ir.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir.d.mts","names":[],"sources":["../src/ir.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ir.d.mts","names":[],"sources":["../src/ir.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6Ca;qBAIA,UAAQ,EAAA,uBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA;YACT,WAAW,EAAE,aAAa;;qBAUzB,YAAU,EAAA;;;GAAkD,EAAA,KAAA;YAC7D,aAAa,EAAE,aAAa;;qBAG3B,mBAAiB,EAAA;;;GAG5B,EAAA,KAAA;YACU,oBAAoB,EAAE,aAAa;;qBAGlC,aAAW,EAAA,uBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,uBAAA,EAAA,2BAAA,EAAA;;;GAAyC,EAAA,KAAA;YACrD,cAAc,EAAE,aAAa;qBAE5B,WAAS,EAAA;;;;;;;;;YACV,YAAY,EAAE,aAAa;qBAE1B,WAAS,EAAA;;;;;;;;;YACV,YAAY,EAAE,aAAa;;;;;;;qBAU1B,aAAW,EAAA;;;;GAItB,EAAA,KAAA;YACU,cAAc,EAAE,aAAa;;qBAG5B,YAAU,EAAA;;;;;;GAErB,EAAA,KAAA;YACU,aAAa,EAAE,aAAa;qBAI3B,oBAAkB,EAAA;;;;;;;;;;;;;;;;YAgBnB,qBAAqB,EAAE,aAAa;;;;;;;;;;;;;;;;;UAkBtC;EACR,OAAO;;YAGG,eACP;EAAoB;EAAa,YAAY;MAC7C;EAAoB;EAAY,YAAY;MAC5C;EAAoB;EAAa,WAAW;;;CAE5C;EAAoB;EAAiB;MACrC;EACC;EACA;EACA,IAAI;EACJ,QAAQ;EACR,SAAS;MAEV;;EAEC;EACA;EACA,IAAI;EACJ,QAAQ;EACR,SAAS;MAEV;EACC;EACA;;EAEA,QAAQ;EACR,SAAS;EACT;;;;;;;CAOD;EAAoB;EAAmB,SAAS;;qBAIxC,aAAa,EAAE,YAAY;;;;;;qBAyC3B,WAAS,EAAA,2BAAA,EAAA;;;;;;;;;;;;;GAUpB,EAAA,KAAA;YACU,YAAY,EAAE,aAAa;UAI7B;;EAER;;EAEA;;EAEA,OAAO;;YAGG,UACP;EACC;EACA,SAAS;EACT;EACA,OAAO,eAAe;;;;;EAKtB;MAED;EAAe;EAAe,UAAU;MACxC;EAAe;EAAsB,KAAK;EAAY,KAAK;MAC3D;EACC;EACA,MAAM;EACN;EACA;MAED;EACC;EACA,WAAW;EACX,SAAS;EACT,iCAAiC;MAElC;EACC;EACA;IAAS;IAA4B,WAAW;IAAa,MAAM;;;EAEnE,YAAY;MAEb;EACC;;EAEA;EACA,WAAW;MAEZ;EACC;;;;;;;EAOA;;;;;;;EAOA;IAAQ;IAAc;IAAgB,MAAM;;MAE7C;;EAEC;EACA;MAED;EAAe;EAAoB;EAAe,SAAS,eAAe;MAC1E;EACC;;EAEA;;EAEA,MAAM,eAAe;;qBAKd,QAAQ,EAAE,YAAY;qBAoEtB,QAAM,EAAA;;;;;;;GAIjB,EAAA,KAAA;YACU,SAAS,EAAE,aAAa;;;;;;qBAOvB,QAAM,EAAA;;;;;;;;GAUjB,EAAA,KAAA;YACU,SAAS,EAAE,aAAa;qBAEvB,YAAU,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUrB,EAAA,KAAA;YACU,aAAa,EAAE,aAAa;qBAE3B,WAAS,EAAA;;;;;;;;;;;;;;GAQpB,EAAA,KAAA;YACU,YAAY,EAAE,aAAa;;qBAG1B,YAAU,EAAA;;;;;;;;;;;;GAIrB,EAAA,KAAA;YACU,aAAa,EAAE,aAAa;;;;;;qBAO3B,UAAQ,EAAA;;;GAGnB,EAAA,KAAA;YACU,WAAW,EAAE,aAAa;;;;;;qBAOzB,UAAQ,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,EAAA,KAAA;YACU,WAAW,EAAE,aAAa"}
|
package/dist/ir.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/mini";
|
|
2
|
-
|
|
2
|
+
// src/ir.ts
|
|
3
3
|
/**
|
|
4
4
|
* IR (Intermediate Representation) — what the DSL compiles to: serializable
|
|
5
5
|
* JSON. It is the three-way contract between the engine that interprets it,
|
|
@@ -336,7 +336,6 @@ const BundleIR = z.object({
|
|
|
336
336
|
templates: z.array(TemplateIR),
|
|
337
337
|
actions: z.array(ActionIR)
|
|
338
338
|
});
|
|
339
|
-
//#endregion
|
|
340
339
|
export { ActionIR, BundleIR, ChannelIR, ConditionIR, DurationIR, GoalIR, IR_VERSION, MetaIR, NodeIR, NodeMetaIR, PropValueIR, PropertyOperatorIR, ScalarIR, SegmentIR, SourceLocIR, TemplateIR, TriggerIR, UserPropertyRefIR, WeekdayIR, WorkflowIR };
|
|
341
340
|
|
|
342
341
|
//# sourceMappingURL=ir.mjs.map
|
package/dist/jwt.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let node_buffer = require("node:buffer");
|
|
3
|
-
|
|
3
|
+
// src/jwt.ts
|
|
4
4
|
/**
|
|
5
5
|
* The byte-level helpers the token signers share (`fcm.ts`, `apns.ts`, `webpush.ts`): JWT
|
|
6
6
|
* base64url and PEM → DER for WebCrypto's `importKey('pkcs8', …)`.
|
|
@@ -11,7 +11,6 @@ function pemToDer(pem) {
|
|
|
11
11
|
const der = node_buffer.Buffer.from(body, "base64");
|
|
12
12
|
return der.buffer.slice(der.byteOffset, der.byteOffset + der.byteLength);
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
exports.base64url = base64url;
|
|
16
15
|
exports.pemToDer = pemToDer;
|
|
17
16
|
|
package/dist/jwt.d.cts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
//#region src/jwt.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* The byte-level helpers the token signers share (`fcm.ts`, `apns.ts`, `webpush.ts`): JWT
|
|
4
3
|
* base64url and PEM → DER for WebCrypto's `importKey('pkcs8', …)`.
|
|
5
4
|
*/
|
|
6
5
|
export declare const base64url: (bytes: Uint8Array | string) => string;
|
|
7
6
|
export declare function pemToDer(pem: string): ArrayBuffer;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=jwt.d.cts.map
|
package/dist/jwt.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.d.cts","names":[],"sources":["../src/jwt.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"jwt.d.cts","names":[],"sources":["../src/jwt.ts"],"mappings":";;;;qBAOa,YAAS,OAAW;wBAGjB,SAAS,cAAc"}
|
package/dist/jwt.d.mts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
//#region src/jwt.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* The byte-level helpers the token signers share (`fcm.ts`, `apns.ts`, `webpush.ts`): JWT
|
|
4
3
|
* base64url and PEM → DER for WebCrypto's `importKey('pkcs8', …)`.
|
|
5
4
|
*/
|
|
6
5
|
export declare const base64url: (bytes: Uint8Array | string) => string;
|
|
7
6
|
export declare function pemToDer(pem: string): ArrayBuffer;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=jwt.d.mts.map
|
package/dist/jwt.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwt.d.mts","names":[],"sources":["../src/jwt.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"jwt.d.mts","names":[],"sources":["../src/jwt.ts"],"mappings":";;;;qBAOa,YAAS,OAAW;wBAGjB,SAAS,cAAc"}
|
package/dist/jwt.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Buffer } from "node:buffer";
|
|
2
|
-
|
|
2
|
+
// src/jwt.ts
|
|
3
3
|
/**
|
|
4
4
|
* The byte-level helpers the token signers share (`fcm.ts`, `apns.ts`, `webpush.ts`): JWT
|
|
5
5
|
* base64url and PEM → DER for WebCrypto's `importKey('pkcs8', …)`.
|
|
@@ -10,7 +10,6 @@ function pemToDer(pem) {
|
|
|
10
10
|
const der = Buffer.from(body, "base64");
|
|
11
11
|
return der.buffer.slice(der.byteOffset, der.byteOffset + der.byteLength);
|
|
12
12
|
}
|
|
13
|
-
//#endregion
|
|
14
13
|
export { base64url, pemToDer };
|
|
15
14
|
|
|
16
15
|
//# sourceMappingURL=jwt.mjs.map
|
package/dist/plan.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_hash = require("./hash.cjs");
|
|
3
|
-
|
|
3
|
+
// src/plan.ts
|
|
4
4
|
/** Whether a status warrants human attention (metadata-only edits do not). */
|
|
5
5
|
function isSemanticChange(status) {
|
|
6
6
|
return status === "added" || status === "removed" || status === "changed";
|
|
@@ -210,7 +210,6 @@ function plan(local, deployed) {
|
|
|
210
210
|
].some((change) => isSemanticChange(change.status))
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
|
-
//#endregion
|
|
214
213
|
exports.isSemanticChange = isSemanticChange;
|
|
215
214
|
exports.plan = plan;
|
|
216
215
|
|
package/dist/plan.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BundleIR, NodeIR } from "./ir.cjs";
|
|
2
|
-
//#region src/plan.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Plan — the diff between local definitions and what is deployed (terraform
|
|
5
4
|
* plan, same mental model).
|
|
@@ -64,5 +63,4 @@ export interface BundlePlan {
|
|
|
64
63
|
* if (changes.hasChanges) { ... }
|
|
65
64
|
*/
|
|
66
65
|
export declare function plan(local: BundleIR, deployed?: BundleIR): BundlePlan;
|
|
67
|
-
//#endregion
|
|
68
66
|
//# sourceMappingURL=plan.d.cts.map
|
package/dist/plan.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.cts","names":[],"sources":["../src/plan.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plan.d.cts","names":[],"sources":["../src/plan.ts"],"mappings":";;;;;;;;;;;;;;;;YAmBY;;wBAGI,iBAAiB,QAAQ;iBAIxB;EACf;EACA;;EAEA,MAAM;;iBAGS;;EAEf;EACA,QAAQ;;EAER;;EAEA;;EAEA;;;;;;;EAOA,OAAO;;iBAGQ;;EAEf;EACA,QAAQ;EACR;EACA;;iBAGe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,SAAS;;EAET;;;;;;;;wBA2Nc,KAAK,OAAO,UAAU,WAAW,WAAW"}
|
package/dist/plan.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BundleIR, NodeIR } from "./ir.mjs";
|
|
2
|
-
//#region src/plan.d.ts
|
|
3
2
|
/**
|
|
4
3
|
* Plan — the diff between local definitions and what is deployed (terraform
|
|
5
4
|
* plan, same mental model).
|
|
@@ -64,5 +63,4 @@ export interface BundlePlan {
|
|
|
64
63
|
* if (changes.hasChanges) { ... }
|
|
65
64
|
*/
|
|
66
65
|
export declare function plan(local: BundleIR, deployed?: BundleIR): BundlePlan;
|
|
67
|
-
//#endregion
|
|
68
66
|
//# sourceMappingURL=plan.d.mts.map
|
package/dist/plan.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.d.mts","names":[],"sources":["../src/plan.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plan.d.mts","names":[],"sources":["../src/plan.ts"],"mappings":";;;;;;;;;;;;;;;;YAmBY;;wBAGI,iBAAiB,QAAQ;iBAIxB;EACf;EACA;;EAEA,MAAM;;iBAGS;;EAEf;EACA,QAAQ;;EAER;;EAEA;;EAEA;;;;;;;EAOA,OAAO;;iBAGQ;;EAEf;EACA,QAAQ;EACR;EACA;;iBAGe;EACf,WAAW;EACX,UAAU;EACV,WAAW;EACX,SAAS;;EAET;;;;;;;;wBA2Nc,KAAK,OAAO,UAAU,WAAW,WAAW"}
|
package/dist/plan.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fullHash, stripMeta, stripProvenance } from "./hash.mjs";
|
|
2
|
-
|
|
2
|
+
// src/plan.ts
|
|
3
3
|
/** Whether a status warrants human attention (metadata-only edits do not). */
|
|
4
4
|
function isSemanticChange(status) {
|
|
5
5
|
return status === "added" || status === "removed" || status === "changed";
|
|
@@ -209,7 +209,6 @@ function plan(local, deployed) {
|
|
|
209
209
|
].some((change) => isSemanticChange(change.status))
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
|
-
//#endregion
|
|
213
212
|
export { isSemanticChange, plan };
|
|
214
213
|
|
|
215
214
|
//# sourceMappingURL=plan.mjs.map
|
package/dist/postgres-js.cjs
CHANGED
|
@@ -3,7 +3,7 @@ const require_runtime = require("./_virtual/_rolldown/runtime.cjs");
|
|
|
3
3
|
const require_store_postgres = require("./store/postgres.cjs");
|
|
4
4
|
let postgres = require("postgres");
|
|
5
5
|
postgres = require_runtime.__toESM(postgres, 1);
|
|
6
|
-
|
|
6
|
+
// src/postgres-js.ts
|
|
7
7
|
/**
|
|
8
8
|
* `@shware/workflow/postgres-js` — the Postgres store over postgres.js
|
|
9
9
|
* (`postgres` is an optional peer dependency; import this subpath only when
|
|
@@ -35,7 +35,6 @@ function postgresJsStore(connectionString, options = {}) {
|
|
|
35
35
|
close: () => sql.end({ timeout: 5 })
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
38
|
exports.postgresJsClient = postgresJsClient;
|
|
40
39
|
exports.postgresJsStore = postgresJsStore;
|
|
41
40
|
|
package/dist/postgres-js.d.cts
CHANGED
|
@@ -2,7 +2,6 @@ import { SqlClientLike } from "./store/sql.cjs";
|
|
|
2
2
|
import { PostgresJourneyStoreOptions } from "./store/postgres.cjs";
|
|
3
3
|
import { StoreLease } from "./store/index.cjs";
|
|
4
4
|
import postgres from "postgres";
|
|
5
|
-
//#region src/postgres-js.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* `@shware/workflow/postgres-js` — the Postgres store over postgres.js
|
|
8
7
|
* (`postgres` is an optional peer dependency; import this subpath only when
|
|
@@ -24,5 +23,4 @@ export interface PostgresJsStoreOptions extends PostgresJourneyStoreOptions {
|
|
|
24
23
|
* and Hyperdrive keeps the real pool next to the database.
|
|
25
24
|
*/
|
|
26
25
|
export declare function postgresJsStore(connectionString: string, options?: PostgresJsStoreOptions): Required<StoreLease>;
|
|
27
|
-
//#endregion
|
|
28
26
|
//# sourceMappingURL=postgres-js.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres-js.d.cts","names":[],"sources":["../src/postgres-js.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"postgres-js.d.cts","names":[],"sources":["../src/postgres-js.ts"],"mappings":";;;;;;;;;;wBAegB,iBACd,KAAK,SAAS,MAAM,SAAS,gBAC7B,0BACC;iBAWc,+BAA+B;;;;;;EAM9C,aAAa,SAAS,QAAQ;;;;;;;wBAQhB,gBACd,0BACA,UAAS,yBACR,SAAS"}
|
package/dist/postgres-js.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import { SqlClientLike } from "./store/sql.mjs";
|
|
|
2
2
|
import { PostgresJourneyStoreOptions } from "./store/postgres.mjs";
|
|
3
3
|
import { StoreLease } from "./store/index.mjs";
|
|
4
4
|
import postgres from "postgres";
|
|
5
|
-
//#region src/postgres-js.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* `@shware/workflow/postgres-js` — the Postgres store over postgres.js
|
|
8
7
|
* (`postgres` is an optional peer dependency; import this subpath only when
|
|
@@ -24,5 +23,4 @@ export interface PostgresJsStoreOptions extends PostgresJourneyStoreOptions {
|
|
|
24
23
|
* and Hyperdrive keeps the real pool next to the database.
|
|
25
24
|
*/
|
|
26
25
|
export declare function postgresJsStore(connectionString: string, options?: PostgresJsStoreOptions): Required<StoreLease>;
|
|
27
|
-
//#endregion
|
|
28
26
|
//# sourceMappingURL=postgres-js.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres-js.d.mts","names":[],"sources":["../src/postgres-js.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"postgres-js.d.mts","names":[],"sources":["../src/postgres-js.ts"],"mappings":";;;;;;;;;;wBAegB,iBACd,KAAK,SAAS,MAAM,SAAS,gBAC7B,0BACC;iBAWc,+BAA+B;;;;;;EAM9C,aAAa,SAAS,QAAQ;;;;;;;wBAQhB,gBACd,0BACA,UAAS,yBACR,SAAS"}
|
package/dist/postgres-js.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PostgresJourneyStore } from "./store/postgres.mjs";
|
|
2
2
|
import postgres from "postgres";
|
|
3
|
-
|
|
3
|
+
// src/postgres-js.ts
|
|
4
4
|
/**
|
|
5
5
|
* `@shware/workflow/postgres-js` — the Postgres store over postgres.js
|
|
6
6
|
* (`postgres` is an optional peer dependency; import this subpath only when
|
|
@@ -32,7 +32,6 @@ function postgresJsStore(connectionString, options = {}) {
|
|
|
32
32
|
close: () => sql.end({ timeout: 5 })
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
//#endregion
|
|
36
35
|
export { postgresJsClient, postgresJsStore };
|
|
37
36
|
|
|
38
37
|
//# sourceMappingURL=postgres-js.mjs.map
|