@effect-app/infra 4.0.0-beta.331 → 4.0.0-beta.332
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/CHANGELOG.md +7 -0
- package/dist/ClusterCosmos.d.ts +32 -29
- package/dist/ClusterCosmos.d.ts.map +1 -1
- package/dist/ClusterCosmos.js +22 -10
- package/dist/ClusterServiceBus.d.ts +7 -7
- package/dist/ClusterServiceBus.d.ts.map +1 -1
- package/dist/ClusterServiceBus.js +6 -6
- package/dist/SQL/Model.d.ts +3 -3
- package/dist/SQL/Model.d.ts.map +1 -1
- package/dist/SQL/Model.js +7 -7
- package/dist/Store/Memory.js +2 -2
- package/dist/Store/SQL/Pg.d.ts +1 -1
- package/dist/Store/SQL/Pg.d.ts.map +1 -1
- package/dist/Store/SQL/Pg.js +2 -2
- package/dist/Store/SQL.d.ts +1 -1
- package/dist/Store/SQL.d.ts.map +1 -1
- package/dist/Store/SQL.js +2 -2
- package/dist/Store/index.d.ts +1 -1
- package/dist/Store/index.d.ts.map +1 -1
- package/dist/WorkflowEngineCosmos.d.ts +1 -1
- package/dist/WorkflowEngineCosmos.d.ts.map +1 -1
- package/dist/WorkflowEngineCosmos.js +3 -3
- package/dist/WorkflowEngineSqlite.d.ts +2 -2
- package/dist/WorkflowEngineSqlite.d.ts.map +1 -1
- package/dist/WorkflowEngineSqlite.js +4 -4
- package/dist/arbs.js +2 -2
- package/dist/internal/auth.d.ts +1 -1
- package/dist/internal/auth.d.ts.map +1 -1
- package/dist/internal/health.d.ts +1 -1
- package/dist/internal/health.d.ts.map +1 -1
- package/dist/logger.d.ts +4 -4
- package/dist/routing/middleware/middleware.d.ts +1 -1
- package/dist/routing/middleware/middleware.d.ts.map +1 -1
- package/dist/routing/middleware/middleware.js +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/routing.d.ts.map +1 -1
- package/dist/routing.js +2 -2
- package/docs/workflow-engine.md +1 -1
- package/package.json +5 -5
- package/src/ClusterCosmos.ts +34 -14
- package/src/ClusterServiceBus.ts +11 -11
- package/src/SQL/Model.ts +6 -6
- package/src/Store/Memory.ts +1 -1
- package/src/Store/SQL/Pg.ts +1 -1
- package/src/Store/SQL.ts +1 -1
- package/src/Store/index.ts +1 -1
- package/src/WorkflowEngineCosmos.ts +2 -2
- package/src/WorkflowEngineSqlite.ts +3 -3
- package/src/arbs.ts +1 -1
- package/src/routing/middleware/middleware.ts +1 -1
- package/src/routing.ts +1 -1
- package/test/cluster-cosmos.test.ts +26 -4
- package/test/cluster-servicebus.test.ts +3 -3
- package/test/cluster-sqlite.test.ts +2 -2
- package/test/controller.test.ts +2 -2
- package/test/dist/controller.test.d.ts.map +1 -1
- package/test/dist/fixtures.d.ts +1 -1
- package/test/dist/rpc-multi-middleware.test.d.ts.map +1 -1
- package/test/requires.test.ts +2 -2
- package/test/router-generator.test.ts +1 -1
- package/test/routing-interruptibility.test.ts +1 -1
- package/test/rpc-context-map-streaming.test.ts +3 -3
- package/test/rpc-e2e-invalidation.test.ts +3 -3
- package/test/rpc-multi-middleware.test.ts +2 -2
- package/test/rpc-stream-fullstack.test.ts +3 -3
- package/test/workflow-engine-cosmos.test.ts +1 -1
- package/test/workflow-engine-sqlite.test.ts +2 -2
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import { assert, describe, it } from "@effect/vitest"
|
|
19
19
|
import { Context, Duration, Effect, Exit, Layer, Option, Redacted, Schema } from "effect"
|
|
20
|
-
import { Activity, DurableDeferred, Workflow, WorkflowEngine } from "effect/
|
|
20
|
+
import { Activity, DurableDeferred, Workflow, WorkflowEngine } from "effect/workflow"
|
|
21
21
|
import { CosmosClient, CosmosClientLayer } from "../src/cosmos-client.js"
|
|
22
22
|
import { layerCosmos } from "../src/WorkflowEngineCosmos.js"
|
|
23
23
|
|
|
@@ -9,8 +9,8 @@ import * as S from "effect-app/Schema"
|
|
|
9
9
|
import * as Duration from "effect/Duration"
|
|
10
10
|
import * as Exit from "effect/Exit"
|
|
11
11
|
import * as Schema from "effect/Schema"
|
|
12
|
-
import { SqlClient } from "effect/
|
|
13
|
-
import { Activity, DurableDeferred, Workflow } from "effect/
|
|
12
|
+
import { SqlClient } from "effect/sql"
|
|
13
|
+
import { Activity, DurableDeferred, Workflow } from "effect/workflow"
|
|
14
14
|
import { layerSqlite } from "../src/WorkflowEngineSqlite.js"
|
|
15
15
|
|
|
16
16
|
// --- Shared mutable counter service -----------------------------------
|