@effect-app/infra 0.204.0 → 0.204.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 0.204.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0354650]
8
+ - effect-app@0.178.0
9
+ - @effect-app/infra-adapters@0.136.4
10
+
3
11
  ## 0.204.0
4
12
 
5
13
  ### Minor Changes
@@ -5,7 +5,7 @@ import { ContextMapContainer } from "../services/Store/ContextMapContainer.js";
5
5
  /**
6
6
  * @tsplus fluent effect/io/Effect setupRequestContext
7
7
  */
8
- export declare function setupRequestContext<R, E, A>(self: Effect<A, E, R>, requestContext: RequestContext | string): Effect.Effect<A, E, ContextMapContainer | RequestContextContainer | Exclude<Exclude<R, import("effect/Tracer").ParentSpan>, never>>;
8
+ export declare function setupRequestContext<R, E, A>(self: Effect<A, E, R>, requestContext: RequestContext | string): Effect.Effect<A, E, RequestContextContainer | ContextMapContainer | Exclude<Exclude<R, import("effect/Tracer").ParentSpan>, never>>;
9
9
  /**
10
10
  * @tsplus fluent effect/io/Effect updateRequestContext
11
11
  */
@@ -13,6 +13,6 @@ export declare function makeMemQueue<Evt extends {
13
13
  _tag: string;
14
14
  }, EvtE, DrainEvtE>(queueName: string, queueDrainName: string, schema: S.Schema<Evt, EvtE>, drainSchema: S.Schema<DrainEvt, DrainEvtE>): Effect.Effect<{
15
15
  publish: (messages_0: Evt, ...messages_1: Evt[]) => Effect.Effect<Fiber.RuntimeFiber<void[], never>, never, never>;
16
- makeDrain: <DrainE, DrainR>(handleEvent: (ks: DrainEvt) => Effect<void, DrainE, DrainR>) => Effect.Effect<Fiber.RuntimeFiber<never, never>, never, import("../Store/ContextMapContainer.js").ContextMapContainer | import("effect/Scope").Scope | RequestContextContainer | Exclude<Exclude<Exclude<DrainR, Tracer.ParentSpan>, never>, Tracer.ParentSpan>>;
16
+ makeDrain: <DrainE, DrainR>(handleEvent: (ks: DrainEvt) => Effect<void, DrainE, DrainR>) => Effect.Effect<Fiber.RuntimeFiber<never, never>, never, import("effect/Scope").Scope | RequestContextContainer | import("../Store/ContextMapContainer.js").ContextMapContainer | Exclude<Exclude<Exclude<DrainR, Tracer.ParentSpan>, never>, Tracer.ParentSpan>>;
17
17
  }, never, RequestContextContainer | MemQueue>;
18
18
  //# sourceMappingURL=memQueue.d.ts.map
@@ -12,7 +12,7 @@ export declare function makeServiceBusQueue<Evt extends {
12
12
  id: StringId;
13
13
  _tag: string;
14
14
  }, EvtE, DrainEvtE>(_queueName: string, queueDrainName: string, schema: S.Schema<Evt, EvtE>, drainSchema: S.Schema<DrainEvt, DrainEvtE>): Effect.Effect<{
15
- makeDrain: <DrainE, DrainR>(handleEvent: (ks: DrainEvt) => Effect<void, DrainE, DrainR>) => Effect.Effect<void, never, import("../Store/ContextMapContainer.js").ContextMapContainer | import("effect/Scope").Scope | RequestContextContainer | Exclude<Exclude<Exclude<Exclude<DrainR, Tracer.ParentSpan>, never>, Tracer.ParentSpan>, import("@azure/service-bus").ServiceBusReceiver>>;
15
+ makeDrain: <DrainE, DrainR>(handleEvent: (ks: DrainEvt) => Effect<void, DrainE, DrainR>) => Effect.Effect<void, never, import("effect/Scope").Scope | RequestContextContainer | import("../Store/ContextMapContainer.js").ContextMapContainer | Exclude<Exclude<Exclude<Exclude<DrainR, Tracer.ParentSpan>, never>, Tracer.ParentSpan>, import("@azure/service-bus").ServiceBusReceiver>>;
16
16
  publish: (messages_0: Evt, ...messages_1: Evt[]) => Effect.Effect<import("effect/Fiber").RuntimeFiber<void, never>, never, never>;
17
17
  }, never, RequestContextContainer | import("@azure/service-bus").ServiceBusReceiver | import("@azure/service-bus").ServiceBusSender>;
18
18
  /**
@@ -174,7 +174,7 @@ export declare function makeRepo<PM extends {
174
174
  config?: Omit<StoreConfig<PM>, "partitionValue"> & {
175
175
  partitionValue?: (a: PM) => string;
176
176
  };
177
- }) => Effect.Effect<Repository<T, PM, Evt, ItemType>, E, R | StoreMaker | ContextMapContainer | RInitial | R2>;
177
+ }) => Effect.Effect<Repository<T, PM, Evt, ItemType>, E, StoreMaker | ContextMapContainer | R | RInitial | R2>;
178
178
  Where: (makeWhere: (f: {
179
179
  <TFieldName extends import("../filter/types/path/eager.js").Path<PM>, A extends import("../filter/types/path/eager.js").PathValue<PM, TFieldName>, Val>(path: TFieldName, value: (v: A) => Val): {
180
180
  key: string;
@@ -200,7 +200,7 @@ export declare function makeRepo<PM extends {
200
200
  value: A_1;
201
201
  readonly S: PM;
202
202
  };
203
- }) => Where | readonly [Where, ...Where[]], mode?: "or" | "and" | undefined) => Filter<PM>;
203
+ }) => Where | readonly [Where, ...Where[]], mode?: "and" | "or" | undefined) => Filter<PM>;
204
204
  Query: (fn: (f: QB.FilterTest<PM>, fields: QB.Filter<PM, never>) => QB.QueryBuilder<PM>) => QB.QueryBuilder<PM>;
205
205
  Q: Query<Omit<PM, "_etag">>;
206
206
  };
@@ -249,7 +249,7 @@ export declare function makeStore<PM extends {
249
249
  id: unknown;
250
250
  }>(name: ItemType, schema: Schema<T, E, R>, mapTo: (e: E, etag: string | undefined) => PM) => <RInitial = never, EInitial = never>(makeInitial?: Effect<readonly T[], EInitial, RInitial> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
251
251
  partitionValue?: (a: PM) => string;
252
- }) | undefined) => Effect.Effect<import("./Store.js").Store<PM, string>, EInitial, R | StoreMaker | RInitial>;
252
+ }) | undefined) => Effect.Effect<import("./Store.js").Store<PM, string>, EInitial, StoreMaker | R | RInitial>;
253
253
  export interface Repos<T extends {
254
254
  id: unknown;
255
255
  }, PM extends {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-app/infra",
3
- "version": "0.204.0",
3
+ "version": "0.204.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -18,11 +18,11 @@
18
18
  "proper-lockfile": "^4.1.2",
19
19
  "pure-rand": "6.0.4",
20
20
  "redlock": "^4.2.0",
21
- "@effect-app/infra-adapters": "0.136.3",
22
- "@effect-app/fluent-extensions": "0.142.0",
21
+ "@effect-app/infra-adapters": "0.136.4",
22
+ "effect-app": "0.178.0",
23
+ "@effect-app/core": "0.149.0",
23
24
  "@effect-app/schema": "0.201.2",
24
- "effect-app": "0.177.0",
25
- "@effect-app/core": "0.149.0"
25
+ "@effect-app/fluent-extensions": "0.142.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@babel/cli": "^7.23.9",