@effect-app/infra 0.74.7 → 0.75.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.
Files changed (196) hide show
  1. package/.cache/effect/095519d034161945a8d2616a506d3e7f35a9b3d868814f44c747429c60fc4e7f.content +36 -2
  2. package/.cache/effect/095519d034161945a8d2616a506d3e7f35a9b3d868814f44c747429c60fc4e7f.hash +1 -1
  3. package/.cache/effect/134218688132dfbdea493cbe1f26e73449f2759121df35ddd5448346b59c9a8d.content +24 -6
  4. package/.cache/effect/134218688132dfbdea493cbe1f26e73449f2759121df35ddd5448346b59c9a8d.hash +1 -1
  5. package/.cache/effect/14eb9da4ca6d22162888c7fdb7f39ab772d2a2dc6625db6031ecdb32ac89158f.content +75 -40
  6. package/.cache/effect/14eb9da4ca6d22162888c7fdb7f39ab772d2a2dc6625db6031ecdb32ac89158f.hash +1 -1
  7. package/.cache/effect/1bfd92946b11da4292f2ed99dc0e322462b60559148f9524abc20e26f70779e1.hash +1 -1
  8. package/.cache/effect/49c1bd9ec26e6df78b994d8df0bfe21b119803fa4aa46349bf4679fd0f1e7cda.content +3 -1
  9. package/.cache/effect/49c1bd9ec26e6df78b994d8df0bfe21b119803fa4aa46349bf4679fd0f1e7cda.hash +1 -1
  10. package/.cache/effect/58d4ccde8bd2db7829706db5bebd01b99900ee83f0f6a8413b53d17cbd69f510.content +1 -1
  11. package/.cache/effect/58d4ccde8bd2db7829706db5bebd01b99900ee83f0f6a8413b53d17cbd69f510.hash +1 -1
  12. package/.cache/effect/72a5a16a6b62b63cd71719c833091128207d7e6c823cb32293549b3dd58c451b.content +15 -7
  13. package/.cache/effect/72a5a16a6b62b63cd71719c833091128207d7e6c823cb32293549b3dd58c451b.hash +1 -1
  14. package/.cache/effect/7a9c33db6aedaf00093a132c1d4e48e9d043cef05e932b8a37da24d44e224248.hash +1 -1
  15. package/.cache/effect/8594f0f42afc0641b00e88998000cc47382a1d07da31f4a148f7976701ca22d5.hash +1 -1
  16. package/.cache/effect/c67d971634d2dc8118b40452b61c9a51620c35809be4a89982476aa80701d852.hash +1 -1
  17. package/.cache/effect/f38adf43700dab905456a534a0690eaf882cff2cd576c731f23d6d14a3c3d659.content +5 -1
  18. package/.cache/effect/f38adf43700dab905456a534a0690eaf882cff2cd576c731f23d6d14a3c3d659.hash +1 -1
  19. package/CHANGELOG.md +24 -0
  20. package/_cjs/_ext/Array.cjs +1 -1
  21. package/_cjs/api/defaultErrorHandler.cjs +3 -3
  22. package/_cjs/api/express/makeJsonSchema.cjs +2 -2
  23. package/_cjs/api/express/makeJsonSchema.test.cjs +2 -2
  24. package/_cjs/api/express/makeOpenApiSpecs.cjs +2 -2
  25. package/_cjs/api/express/schema/requestHandler.cjs +4 -4
  26. package/_cjs/api/express/schema/routing.cjs +2 -2
  27. package/_cjs/api/reportError.cjs +2 -2
  28. package/_cjs/api/routing.cjs +3 -3
  29. package/_cjs/api/setupRequest.cjs +1 -1
  30. package/_cjs/api/writeDocs.cjs +3 -3
  31. package/_cjs/api/writeDocs.cjs.map +1 -1
  32. package/_cjs/errorReporter.cjs +2 -2
  33. package/_cjs/errors.cjs +10 -8
  34. package/_cjs/errors.cjs.map +1 -1
  35. package/_cjs/instrument.cjs +1 -1
  36. package/_cjs/logger/jsonLogger.cjs +5 -5
  37. package/_cjs/logger/logFmtLogger.cjs +2 -2
  38. package/_cjs/logger/shared.cjs +5 -5
  39. package/_cjs/rateLimit.cjs +1 -1
  40. package/_cjs/services/Emailer/Sendgrid.cjs +5 -5
  41. package/_cjs/services/Emailer/Sendgrid.cjs.map +1 -1
  42. package/_cjs/services/Emailer/fake.cjs +2 -2
  43. package/_cjs/services/Operations/live.cjs +8 -8
  44. package/_cjs/services/Operations/service.cjs +2 -2
  45. package/_cjs/services/Operations/service.cjs.map +1 -1
  46. package/_cjs/services/QueueMaker/errors.cjs +3 -3
  47. package/_cjs/services/QueueMaker/memQueue.cjs +2 -2
  48. package/_cjs/services/QueueMaker/sbqueue.cjs +2 -2
  49. package/_cjs/services/Repository.cjs +2 -2
  50. package/_cjs/services/RepositoryBase.cjs +4 -4
  51. package/_cjs/services/RequestContextContainer.cjs +4 -4
  52. package/_cjs/services/Store/Cosmos.cjs +5 -5
  53. package/_cjs/services/Store/Disk.cjs +3 -3
  54. package/_cjs/services/Store/Memory.cjs +6 -6
  55. package/_cjs/services/Store/Redis.cjs +4 -4
  56. package/_cjs/services/Store/codeFilter.test.cjs +1 -1
  57. package/_cjs/services/Store/index.cjs +3 -3
  58. package/_cjs/services/Store/service.cjs +1 -1
  59. package/_cjs/services/Store/utils.cjs +3 -3
  60. package/_cjs/services/simpledb/cosmosdb.cjs +3 -3
  61. package/_cjs/services/simpledb/diskdb.cjs +2 -2
  62. package/_cjs/services/simpledb/memdb.cjs +3 -3
  63. package/_cjs/services/simpledb/mongodb.cjs +2 -2
  64. package/_cjs/services/simpledb/redisdb.cjs +2 -2
  65. package/_cjs/services/simpledb/shared.cjs +2 -2
  66. package/_cjs/services/simpledb/simpledb.cjs +4 -4
  67. package/_src/errors.ts +8 -9
  68. package/_src/logger/jsonLogger.ts +1 -1
  69. package/_src/logger/shared.ts +1 -1
  70. package/_src/services/Operations/service.ts +1 -1
  71. package/_src/services/RepositoryBase.ts +2 -2
  72. package/dist/RequestContext.d.ts +20 -20
  73. package/dist/_ext/Array.d.ts +1 -1
  74. package/dist/_ext/Array.d.ts.map +1 -1
  75. package/dist/_ext/Array.js +1 -1
  76. package/dist/api/codec.d.ts +1 -1
  77. package/dist/api/codec.d.ts.map +1 -1
  78. package/dist/api/defaultErrorHandler.d.ts +3 -3
  79. package/dist/api/defaultErrorHandler.d.ts.map +1 -1
  80. package/dist/api/defaultErrorHandler.js +3 -3
  81. package/dist/api/express/makeJsonSchema.d.ts +2 -2
  82. package/dist/api/express/makeJsonSchema.d.ts.map +1 -1
  83. package/dist/api/express/makeJsonSchema.js +2 -2
  84. package/dist/api/express/makeOpenApiSpecs.d.ts +1 -1
  85. package/dist/api/express/makeOpenApiSpecs.js +2 -2
  86. package/dist/api/express/schema/requestHandler.d.ts +9 -9
  87. package/dist/api/express/schema/requestHandler.d.ts.map +1 -1
  88. package/dist/api/express/schema/requestHandler.js +4 -4
  89. package/dist/api/express/schema/routing.d.ts +1 -1
  90. package/dist/api/express/schema/routing.js +2 -2
  91. package/dist/api/reportError.d.ts +7 -7
  92. package/dist/api/reportError.d.ts.map +1 -1
  93. package/dist/api/reportError.js +2 -2
  94. package/dist/api/routing.d.ts +7 -7
  95. package/dist/api/routing.d.ts.map +1 -1
  96. package/dist/api/routing.js +3 -3
  97. package/dist/api/setupRequest.d.ts +2 -2
  98. package/dist/api/setupRequest.d.ts.map +1 -1
  99. package/dist/api/setupRequest.js +1 -1
  100. package/dist/api/writeDocs.d.ts +1 -1
  101. package/dist/api/writeDocs.d.ts.map +1 -1
  102. package/dist/api/writeDocs.js +4 -4
  103. package/dist/errorReporter.d.ts +4 -4
  104. package/dist/errorReporter.d.ts.map +1 -1
  105. package/dist/errorReporter.js +2 -2
  106. package/dist/errors.d.ts +1 -1
  107. package/dist/errors.d.ts.map +1 -1
  108. package/dist/errors.js +10 -9
  109. package/dist/instrument.d.ts +2 -2
  110. package/dist/instrument.d.ts.map +1 -1
  111. package/dist/instrument.js +1 -1
  112. package/dist/logger/jsonLogger.d.ts +2 -2
  113. package/dist/logger/jsonLogger.d.ts.map +1 -1
  114. package/dist/logger/jsonLogger.js +5 -5
  115. package/dist/logger/logFmtLogger.d.ts +2 -2
  116. package/dist/logger/logFmtLogger.d.ts.map +1 -1
  117. package/dist/logger/logFmtLogger.js +2 -2
  118. package/dist/logger/shared.d.ts +2 -2
  119. package/dist/logger/shared.d.ts.map +1 -1
  120. package/dist/logger/shared.js +6 -6
  121. package/dist/rateLimit.d.ts +7 -7
  122. package/dist/rateLimit.d.ts.map +1 -1
  123. package/dist/rateLimit.js +1 -1
  124. package/dist/services/Emailer/Sendgrid.d.ts +2 -2
  125. package/dist/services/Emailer/Sendgrid.d.ts.map +1 -1
  126. package/dist/services/Emailer/Sendgrid.js +6 -6
  127. package/dist/services/Emailer/fake.d.ts +1 -1
  128. package/dist/services/Emailer/fake.d.ts.map +1 -1
  129. package/dist/services/Emailer/fake.js +2 -2
  130. package/dist/services/Emailer/service.d.ts +7 -7
  131. package/dist/services/Operations/live.d.ts +2 -2
  132. package/dist/services/Operations/live.d.ts.map +1 -1
  133. package/dist/services/Operations/live.js +8 -8
  134. package/dist/services/Operations/service.d.ts +10 -10
  135. package/dist/services/Operations/service.d.ts.map +1 -1
  136. package/dist/services/Operations/service.js +3 -3
  137. package/dist/services/QueueMaker/errors.d.ts +8 -8
  138. package/dist/services/QueueMaker/errors.d.ts.map +1 -1
  139. package/dist/services/QueueMaker/errors.js +3 -3
  140. package/dist/services/QueueMaker/memQueue.d.ts +4 -4
  141. package/dist/services/QueueMaker/memQueue.js +2 -2
  142. package/dist/services/QueueMaker/sbqueue.d.ts +5 -5
  143. package/dist/services/QueueMaker/sbqueue.d.ts.map +1 -1
  144. package/dist/services/QueueMaker/sbqueue.js +2 -2
  145. package/dist/services/QueueMaker/service.d.ts +3 -3
  146. package/dist/services/Repository.d.ts +34 -34
  147. package/dist/services/Repository.d.ts.map +1 -1
  148. package/dist/services/Repository.js +2 -2
  149. package/dist/services/RepositoryBase.d.ts +31 -31
  150. package/dist/services/RepositoryBase.d.ts.map +1 -1
  151. package/dist/services/RepositoryBase.js +4 -4
  152. package/dist/services/RequestContextContainer.d.ts +11 -11
  153. package/dist/services/RequestContextContainer.d.ts.map +1 -1
  154. package/dist/services/RequestContextContainer.js +4 -4
  155. package/dist/services/Store/Cosmos.d.ts +6 -6
  156. package/dist/services/Store/Cosmos.d.ts.map +1 -1
  157. package/dist/services/Store/Cosmos.js +5 -5
  158. package/dist/services/Store/Disk.d.ts +5 -5
  159. package/dist/services/Store/Disk.d.ts.map +1 -1
  160. package/dist/services/Store/Disk.js +3 -3
  161. package/dist/services/Store/Memory.d.ts +7 -7
  162. package/dist/services/Store/Memory.d.ts.map +1 -1
  163. package/dist/services/Store/Memory.js +6 -6
  164. package/dist/services/Store/Redis.d.ts +6 -6
  165. package/dist/services/Store/Redis.d.ts.map +1 -1
  166. package/dist/services/Store/Redis.js +4 -4
  167. package/dist/services/Store/index.d.ts +2 -2
  168. package/dist/services/Store/index.d.ts.map +1 -1
  169. package/dist/services/Store/index.js +3 -3
  170. package/dist/services/Store/service.d.ts +12 -12
  171. package/dist/services/Store/service.d.ts.map +1 -1
  172. package/dist/services/Store/service.js +1 -1
  173. package/dist/services/Store/utils.d.ts +2 -2
  174. package/dist/services/Store/utils.d.ts.map +1 -1
  175. package/dist/services/Store/utils.js +3 -3
  176. package/dist/services/simpledb/cosmosdb.d.ts +5 -5
  177. package/dist/services/simpledb/cosmosdb.d.ts.map +1 -1
  178. package/dist/services/simpledb/cosmosdb.js +3 -3
  179. package/dist/services/simpledb/diskdb.d.ts +5 -5
  180. package/dist/services/simpledb/diskdb.d.ts.map +1 -1
  181. package/dist/services/simpledb/diskdb.js +2 -2
  182. package/dist/services/simpledb/memdb.d.ts +6 -6
  183. package/dist/services/simpledb/memdb.d.ts.map +1 -1
  184. package/dist/services/simpledb/memdb.js +3 -3
  185. package/dist/services/simpledb/mongodb.d.ts +5 -5
  186. package/dist/services/simpledb/mongodb.d.ts.map +1 -1
  187. package/dist/services/simpledb/mongodb.js +2 -2
  188. package/dist/services/simpledb/redisdb.d.ts +11 -11
  189. package/dist/services/simpledb/redisdb.d.ts.map +1 -1
  190. package/dist/services/simpledb/redisdb.js +2 -2
  191. package/dist/services/simpledb/shared.d.ts +10 -10
  192. package/dist/services/simpledb/shared.js +2 -2
  193. package/dist/services/simpledb/simpledb.d.ts +8 -8
  194. package/dist/services/simpledb/simpledb.d.ts.map +1 -1
  195. package/dist/services/simpledb/simpledb.js +4 -4
  196. package/package.json +6 -7
@@ -1,7 +1,7 @@
1
- import { Effect } from "@effect/io/Effect";
2
- import { Tag } from "@effect/data/Context";
3
- import { Layer } from "@effect/io/Layer";
4
- import { NonEmptyReadonlyArray } from "@effect/data/ReadonlyArray";
1
+ import { Effect } from "effect/Effect";
2
+ import { Tag } from "effect/Context";
3
+ import { Layer } from "effect/Layer";
4
+ import { NonEmptyReadonlyArray } from "effect/ReadonlyArray";
5
5
  import type { ParserEnv } from "@effect-app/schema/custom/Parser";
6
6
  import type { Repository, RequestCTX } from "./Repository.js";
7
7
  import type { RequestContextContainer } from "./RequestContextContainer.js";
@@ -20,17 +20,17 @@ export declare const RepositoryBase: <Service>() => <T extends {
20
20
  _etag: string | undefined;
21
21
  }, Evt, ItemType extends string>(itemType: ItemType) => ((abstract new () => {
22
22
  itemType: ItemType;
23
- find: (id: T["id"]) => import("@effect/io/Effect").Effect<ContextMap | RequestContextContainer, never, Opt<T>>;
24
- all: import("@effect/io/Effect").Effect<ContextMap, never, T[]>;
23
+ find: (id: T["id"]) => import("effect/Effect").Effect<ContextMap | RequestContextContainer, never, Opt<T>>;
24
+ all: import("effect/Effect").Effect<ContextMap, never, T[]>;
25
25
  saveAndPublish: (items: Iterable<T>, events?: Iterable<Evt> | undefined) => Effect<ContextMap | RequestContextContainer, InvalidStateError | OptimisticConcurrencyException, void>;
26
26
  utils: {
27
27
  mapReverse: (pm: PM, setEtag: (id: string, eTag: string | undefined) => void) => unknown;
28
28
  parse: (a: unknown, env?: ParserEnv | undefined) => T;
29
- all: import("@effect/io/Effect").Effect<ContextMap, never, PM[]>;
29
+ all: import("effect/Effect").Effect<ContextMap, never, PM[]>;
30
30
  filter: (filter: Filter<PM>, cursor?: {
31
31
  limit?: number;
32
32
  skip?: number;
33
- }) => import("@effect/io/Effect").Effect<ContextMap, never, PM[]>;
33
+ }) => import("effect/Effect").Effect<ContextMap, never, PM[]>;
34
34
  };
35
35
  removeAndPublish: (items: Iterable<T>, events?: Iterable<Evt> | undefined) => Effect<ContextMap | RequestContextContainer, never, void>;
36
36
  }) & {
@@ -60,10 +60,10 @@ export declare const RepositoryBase: <Service>() => <T extends {
60
60
  readonly S: PM;
61
61
  };
62
62
  }) => Where | readonly [Where, ...Where[]], mode?: "or" | "and") => Filter<PM>;
63
- flatMap<R1, E1, B>(f: (a: Service) => import("@effect/io/Effect").Effect<R1, E1, B>): import("@effect/io/Effect").Effect<Service | R1, E1, B>;
64
- map<B_1>(f: (a: Service) => B_1): import("@effect/io/Effect").Effect<Service, never, B_1>;
65
- makeLayer(svc: Service): import("@effect/io/Layer").Layer<never, never, Service>;
66
- }) & import("@effect/data/Context").Tag<Service, Service>;
63
+ flatMap<R1, E1, B>(f: (a: Service) => import("effect/Effect").Effect<R1, E1, B>): import("effect/Effect").Effect<Service | R1, E1, B>;
64
+ map<B_1>(f: (a: Service) => B_1): import("effect/Effect").Effect<Service, never, B_1>;
65
+ makeLayer(svc: Service): import("effect/Layer").Layer<never, never, Service>;
66
+ }) & import("effect/Context").Tag<Service, Service>;
67
67
  /**
68
68
  * A base implementation to create a repository.
69
69
  */
@@ -75,9 +75,9 @@ export declare function makeRepo<PM extends {
75
75
  }, ConstructorInput, Api, E extends {
76
76
  id: string;
77
77
  }>(name: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapFrom: (pm: Omit<PM, "_etag">) => E, mapTo: (e: E, etag: string | undefined) => PM) => {
78
- make: (publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("@effect/io/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
78
+ make: (publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("effect/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
79
79
  partitionValue?: ((a: PM) => string) | undefined;
80
- }) | undefined) => import("@effect/io/Effect").Effect<StoreMaker, never, Repository<T, PM, Evt, ItemType>>;
80
+ }) | undefined) => import("effect/Effect").Effect<StoreMaker, never, Repository<T, PM, Evt, ItemType>>;
81
81
  where: (makeWhere: (f: {
82
82
  <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): {
83
83
  key: string;
@@ -114,7 +114,7 @@ export declare function removeById<T extends {
114
114
  id: string;
115
115
  }, PM extends {
116
116
  id: string;
117
- }, Evt, ItemType extends string>(self: Repository<T, PM, Evt, ItemType>, id: T["id"]): import("@effect/io/Effect").Effect<RequestCTX, import("../errors.js").NotFoundError<ItemType>, void>;
117
+ }, Evt, ItemType extends string>(self: Repository<T, PM, Evt, ItemType>, id: T["id"]): import("effect/Effect").Effect<RequestCTX, import("../errors.js").NotFoundError<ItemType>, void>;
118
118
  export declare function makeWhere<PM extends {
119
119
  id: string;
120
120
  _etag: string | undefined;
@@ -151,9 +151,9 @@ export declare function makeStore<PM extends {
151
151
  id: string;
152
152
  }, ConstructorInput, Api, E extends {
153
153
  id: string;
154
- }>(name: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapTo: (e: E, etag: string | undefined) => PM) => (makeInitial?: import("@effect/io/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
154
+ }>(name: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapTo: (e: E, etag: string | undefined) => PM) => (makeInitial?: import("effect/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
155
155
  partitionValue?: ((a: PM) => string) | undefined;
156
- }) | undefined) => import("@effect/io/Effect").Effect<StoreMaker, never, import("./Store.js").Store<PM, string>>;
156
+ }) | undefined) => import("effect/Effect").Effect<StoreMaker, never, import("./Store.js").Store<PM, string>>;
157
157
  export declare const RepositoryBaseImpl: <Service>() => <PM extends {
158
158
  id: string;
159
159
  _etag: string | undefined;
@@ -161,10 +161,10 @@ export declare const RepositoryBaseImpl: <Service>() => <PM extends {
161
161
  id: string;
162
162
  }, ConstructorInput, Api, E extends {
163
163
  id: string;
164
- }>(itemType: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapFrom: (pm: Omit<PM, "_etag">) => E, mapTo: (e: E, etag: string | undefined) => PM) => (abstract new () => Repository<T, PM, Evt, ItemType>) & import("@effect/data/Context").Tag<Service, Service> & {
165
- make(publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("@effect/io/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
164
+ }>(itemType: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapFrom: (pm: Omit<PM, "_etag">) => E, mapTo: (e: E, etag: string | undefined) => PM) => (abstract new () => Repository<T, PM, Evt, ItemType>) & import("effect/Context").Tag<Service, Service> & {
165
+ make(publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("effect/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
166
166
  partitionValue?: ((a: PM) => string) | undefined;
167
- }) | undefined): import("@effect/io/Effect").Effect<StoreMaker, never, Repository<T, PM, Evt, ItemType>>;
167
+ }) | undefined): import("effect/Effect").Effect<StoreMaker, never, Repository<T, PM, Evt, ItemType>>;
168
168
  where: (makeWhere: (f: {
169
169
  <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): {
170
170
  key: string;
@@ -191,9 +191,9 @@ export declare const RepositoryBaseImpl: <Service>() => <PM extends {
191
191
  readonly S: PM;
192
192
  };
193
193
  }) => Where | readonly [Where, ...Where[]], mode?: "or" | "and") => Filter<PM>;
194
- flatMap: <R1, E1, B>(f: (a: Service) => import("@effect/io/Effect").Effect<R1, E1, B>) => import("@effect/io/Effect").Effect<Service | R1, E1, B>;
195
- makeLayer: (svc: Service) => import("@effect/io/Layer").Layer<never, never, Service>;
196
- map: <B_1>(f: (a: Service) => B_1) => import("@effect/io/Effect").Effect<Service, never, B_1>;
194
+ flatMap: <R1, E1, B>(f: (a: Service) => import("effect/Effect").Effect<R1, E1, B>) => import("effect/Effect").Effect<Service | R1, E1, B>;
195
+ makeLayer: (svc: Service) => import("effect/Layer").Layer<never, never, Service>;
196
+ map: <B_1>(f: (a: Service) => B_1) => import("effect/Effect").Effect<Service, never, B_1>;
197
197
  };
198
198
  export declare const RepositoryDefaultImpl: <Service>() => <PM extends {
199
199
  id: string;
@@ -202,14 +202,14 @@ export declare const RepositoryDefaultImpl: <Service>() => <PM extends {
202
202
  id: string;
203
203
  }, ConstructorInput, Api, E extends {
204
204
  id: string;
205
- }>(itemType: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapFrom: (pm: Omit<PM, "_etag">) => E, mapTo: (e: E, etag: string | undefined) => PM) => import("@effect/data/Context").Tag<Service, Service> & {
205
+ }>(itemType: ItemType, schema: Schema.Schema<unknown, T, ConstructorInput, E, Api>, mapFrom: (pm: Omit<PM, "_etag">) => E, mapTo: (e: E, etag: string | undefined) => PM) => import("effect/Context").Tag<Service, Service> & {
206
206
  new (impl: Repository<T, PM, Evt, ItemType>): Repository<T, PM, Evt, ItemType>;
207
- make(publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("@effect/io/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
207
+ make(publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("effect/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
208
208
  partitionValue?: ((a: PM) => string) | undefined;
209
- }) | undefined): import("@effect/io/Effect").Effect<StoreMaker, never, Repository<T, PM, Evt, ItemType>>;
210
- toLayer(publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("@effect/io/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
209
+ }) | undefined): import("effect/Effect").Effect<StoreMaker, never, Repository<T, PM, Evt, ItemType>>;
210
+ toLayer(publishEvents: (evt: readonly [Evt, ...Evt[]]) => Effect<RequestCTX, never, void>, makeInitial?: import("effect/Effect").Effect<never, never, readonly T[]> | undefined, config?: (Omit<StoreConfig<PM>, "partitionValue"> & {
211
211
  partitionValue?: ((a: PM) => string) | undefined;
212
- }) | undefined): import("@effect/io/Layer").Layer<StoreMaker, never, Service>;
212
+ }) | undefined): import("effect/Layer").Layer<StoreMaker, never, Service>;
213
213
  where: (makeWhere: (f: {
214
214
  <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): {
215
215
  key: string;
@@ -236,9 +236,9 @@ export declare const RepositoryDefaultImpl: <Service>() => <PM extends {
236
236
  readonly S: PM;
237
237
  };
238
238
  }) => Where | readonly [Where, ...Where[]], mode?: "or" | "and") => Filter<PM>;
239
- flatMap: <R1, E1, B>(f: (a: Service) => import("@effect/io/Effect").Effect<R1, E1, B>) => import("@effect/io/Effect").Effect<Service | R1, E1, B>;
240
- makeLayer: (svc: Service) => import("@effect/io/Layer").Layer<never, never, Service>;
241
- map: <B_1>(f: (a: Service) => B_1) => import("@effect/io/Effect").Effect<Service, never, B_1>;
239
+ flatMap: <R1, E1, B>(f: (a: Service) => import("effect/Effect").Effect<R1, E1, B>) => import("effect/Effect").Effect<Service | R1, E1, B>;
240
+ makeLayer: (svc: Service) => import("effect/Layer").Layer<never, never, Service>;
241
+ map: <B_1>(f: (a: Service) => B_1) => import("effect/Effect").Effect<Service, never, B_1>;
242
242
  repo: Repository<T, PM, Evt, ItemType>;
243
243
  };
244
244
  //# sourceMappingURL=RepositoryBase.d.ts.map
@@ -1 +1 @@
1
- {"version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,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;MAWrE,KAAK,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,SAClC,IAAI,GAAG,KAAK,gBAWtB;AASD,wBAAgB,SAAS,CACvB,EAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE;QAIlC,MAAM;;QAGN,MAAM;oGAIF,MAAM,GAAG,SAAS,KAAK,EAAE;0BAkBpB,EAAE,KAAK,MAAM;6GA0BzC;AAED,eAAO,MAAM,kBAAkB;QAEV,MAAM;WAAS,MAAM,GAAG,SAAS;;QAGV,MAAM;;QAA2C,MAAM;+IAI3E,MAAM,GAAG,SAAS;2DAGgB,OAAO,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC;qCAGrD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;UA9FjC,KAAK,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,SAClC,IAAI,GAAG,KAAK;;;;CA2GtB,CAAA;AAED,eAAO,MAAM,qBAAqB;QAEb,MAAM;WAAS,MAAM,GAAG,SAAS;;QAGV,MAAM;;QAA2C,MAAM;+IAI3E,MAAM,GAAG,SAAS;;2DAMgB,OAAO,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC;qCAGrD,MAAM;;8DAIgB,OAAO,UAAU,EAAE,KAAK,EAAE,IAAI,CAAC;qCAGrD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;UAvIjC,KAAK,GAAG,SAAS,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC,SAClC,IAAI,GAAG,KAAK;;;;;CAoKtB,CAAA"}
@@ -1,13 +1,13 @@
1
- import * as tsplus_module_1 from "@effect/io/Effect";
2
- import * as tsplus_module_2 from "@effect/io/Layer";
1
+ import * as tsplus_module_1 from "effect/Effect";
2
+ import * as tsplus_module_2 from "effect/Layer";
3
3
  import * as tsplus_module_3 from "@effect-app/prelude/service";
4
4
  import * as tsplus_module_4 from "@effect-app/prelude/schema";
5
5
  import * as tsplus_module_5 from "@effect-app/schema/custom/_api/condemn";
6
6
  import * as tsplus_module_6 from "@effect-app/prelude/_ext/misc";
7
7
  import * as tsplus_module_7 from "@effect-app/core/Array";
8
- import * as tsplus_module_8 from "@effect/data/Chunk";
8
+ import * as tsplus_module_8 from "effect/Chunk";
9
9
  import * as tsplus_module_9 from "@effect-app/core/Effect";
10
- import * as tsplus_module_10 from "@effect/data/Option";
10
+ import * as tsplus_module_10 from "effect/Option";
11
11
  import * as tsplus_module_11 from "@effect-app/core/_ext/Iterable";
12
12
  import * as tsplus_module_12 from "@effect-app/infra/services/Repository";
13
13
  import * as tsplus_module_13 from "@effect-app/core/Function";
@@ -1,14 +1,14 @@
1
1
  import { TagClass } from "@effect-app/prelude/service";
2
- import { Effect } from "@effect/io/Effect";
3
- import { Context } from "@effect/data/Context";
2
+ import { Effect } from "effect/Effect";
3
+ import { Context } from "effect/Context";
4
4
  import { Option } from "@effect-app/core/Option";
5
- import { Ref } from "@effect/io/Ref";
5
+ import { Ref } from "effect/Ref";
6
6
  import { RequestContext } from "../RequestContext.js";
7
7
  declare const RequestContextContainer_base: (abstract new () => {}) & {
8
- flatMap<R1, E1, B>(f: (a: RequestContextContainer) => import("@effect/io/Effect").Effect<R1, E1, B>): import("@effect/io/Effect").Effect<RequestContextContainer | R1, E1, B>;
9
- map<B_1>(f: (a: RequestContextContainer) => B_1): import("@effect/io/Effect").Effect<RequestContextContainer, never, B_1>;
10
- makeLayer(svc: RequestContextContainer): import("@effect/io/Layer").Layer<never, never, RequestContextContainer>;
11
- } & import("@effect/data/Context").Tag<RequestContextContainer, RequestContextContainer>;
8
+ flatMap<R1, E1, B>(f: (a: RequestContextContainer) => import("effect/Effect").Effect<R1, E1, B>): import("effect/Effect").Effect<RequestContextContainer | R1, E1, B>;
9
+ map<B_1>(f: (a: RequestContextContainer) => B_1): import("effect/Effect").Effect<RequestContextContainer, never, B_1>;
10
+ makeLayer(svc: RequestContextContainer): import("effect/Layer").Layer<never, never, RequestContextContainer>;
11
+ } & import("effect/Context").Tag<RequestContextContainer, RequestContextContainer>;
12
12
  /**
13
13
  * @tsplus companion RequestContextContainer.Ops
14
14
  */
@@ -16,13 +16,13 @@ export declare abstract class RequestContextContainer extends RequestContextCont
16
16
  abstract readonly requestContext: Effect<never, never, RequestContext>;
17
17
  abstract readonly update: (f: (rc: RequestContext) => RequestContext) => Effect<never, never, void>;
18
18
  static get get(): Effect<RequestContextContainer, never, RequestContext>;
19
- static get getOption(): import("@effect/io/Effect").Effect<never, never, import("@effect/data/Option").Option<RequestContext>>;
19
+ static get getOption(): import("effect/Effect").Effect<never, never, import("effect/Option").Option<RequestContext>>;
20
20
  }
21
21
  export declare class RequestContextContainerImpl extends RequestContextContainer {
22
22
  #private;
23
23
  constructor(inp: RequestContext.ConstructorInput);
24
- get requestContext(): import("@effect/io/Effect").Effect<never, never, RequestContext>;
25
- update: (f: (a: RequestContext) => RequestContext) => import("@effect/io/Effect").Effect<never, never, RequestContext>;
24
+ get requestContext(): import("effect/Effect").Effect<never, never, RequestContext>;
25
+ update: (f: (a: RequestContext) => RequestContext) => import("effect/Effect").Effect<never, never, RequestContext>;
26
26
  }
27
27
  /**
28
28
  * @tsplus static RequestContextContainer.Ops live
@@ -33,6 +33,6 @@ export declare function live(inp: RequestContext.ConstructorInput): RequestConte
33
33
  * @tsplus static RequestContext.Ops Tag
34
34
  * @tsplus location "@effect-app/infra/services/RequestContextContainer"
35
35
  */
36
- export declare const RCTag: import("@effect/data/Context").Tag<RequestContext, RequestContext>;
36
+ export declare const RCTag: import("effect/Context").Tag<RequestContext, RequestContext>;
37
37
  export {};
38
38
  //# sourceMappingURL=RequestContextContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestContextContainer.d.ts","sourceRoot":"","sources":["../../_src/services/RequestContextContainer.ts"],"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AAA;IACnG,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,uBAAuB,EAAE,KAAK,EAAE,cAAc,CAAC,CAEvE;IACD,MAAM,KAAK,SAAS,iGAQnB;CACF;AAED,qBAAa,2BAA4B,SAAQ,uBAAuB;;gBAE1D,GAAG,EAAE,cAAc,CAAC,gBAAgB;IAKhD,IAAa,cAAc,iEAE1B;IAEQ,MAAM,UAAW,cAAc,KAAK,cAAc,kEAA8B;CAC1F;;;;;AAKD,wBAAgB,IAAI,CAAC,GAAG,EAAE,cAAc,CAAC,gBAAgB,+BAExD;;;;;AAGD,eAAO,MAAM,KAAK,8DAAwB,CAAA"}
@@ -11,11 +11,11 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
11
11
  };
12
12
  var _RequestContextContainerImpl_ref;
13
13
  import * as tsplus_module_1 from "@effect-app/prelude/service";
14
- import * as tsplus_module_2 from "@effect/data/Option";
15
- import * as tsplus_module_3 from "@effect/io/Effect";
14
+ import * as tsplus_module_2 from "effect/Option";
15
+ import * as tsplus_module_3 from "effect/Effect";
16
16
  import * as tsplus_module_4 from "@effect-app/core/Option";
17
- import * as tsplus_module_5 from "@effect/data/Context";
18
- import * as tsplus_module_6 from "@effect/io/Ref";
17
+ import * as tsplus_module_5 from "effect/Context";
18
+ import * as tsplus_module_6 from "effect/Ref";
19
19
  import { RequestContext } from "../RequestContext.js";
20
20
  /**
21
21
  * @tsplus companion RequestContextContainer.Ops
@@ -1,11 +1,11 @@
1
- import { Effect } from "@effect/io/Effect";
2
- import { NonEmptyReadonlyArray } from "@effect/data/ReadonlyArray";
3
- import { Config } from "@effect/io/Config";
1
+ import { Effect } from "effect/Effect";
2
+ import { NonEmptyReadonlyArray } from "effect/ReadonlyArray";
3
+ import { Config } from "effect/Config";
4
4
  import { CosmosClient } from "@effect-app/infra-adapters/cosmos-client";
5
5
  import type { FilterJoinSelect, JoinFindFilter, LegacyFilter, PersistenceModelType, StorageConfig, Store, StoreConfig, StoreWhereFilter, SupportedValues } from "./service.js";
6
6
  import { StoreMaker } from "./service.js";
7
- export declare function makeCosmosStore({ prefix }: StorageConfig): import("@effect/io/Effect").Effect<CosmosClient, never, {
8
- make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("@effect/io/Effect").Effect<never, never, Iterable<PM>> | undefined, config?: StoreConfig<PM> | undefined) => import("@effect/io/Effect").Effect<never, never, Store<PM, Id>>;
7
+ export declare function makeCosmosStore({ prefix }: StorageConfig): import("effect/Effect").Effect<CosmosClient, never, {
8
+ make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("effect/Effect").Effect<never, never, Iterable<PM>> | undefined, config?: StoreConfig<PM> | undefined) => import("effect/Effect").Effect<never, never, Store<PM, Id>>;
9
9
  }>;
10
10
  /**
11
11
  * @deprecated: should build Select into Where query
@@ -51,5 +51,5 @@ export declare function buildCosmosQuery<PM>(filter: LegacyFilter<PM> | StoreWhe
51
51
  value: string | number | boolean | readonly SupportedValues[] | null;
52
52
  }[];
53
53
  };
54
- export declare function CosmosStoreLive(config: Config<StorageConfig>): import("@effect/io/Layer").Layer<CosmosClient, import("@effect/io/ConfigError").ConfigError, StoreMaker>;
54
+ export declare function CosmosStoreLive(config: Config<StorageConfig>): import("effect/Layer").Layer<CosmosClient, import("effect/ConfigError").ConfigError, StoreMaker>;
55
55
  //# sourceMappingURL=Cosmos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cosmos.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Cosmos.ts"],"names":[],"mappings":";;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAA;AAGvE,OAAO,KAAK,EAEV,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,eAAe,EAChB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,wBAAgB,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AAKD,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,oGAE5D"}
@@ -1,14 +1,14 @@
1
- import * as tsplus_module_1 from "@effect/io/Effect";
2
- import * as tsplus_module_2 from "@effect/data/Option";
1
+ import * as tsplus_module_1 from "effect/Effect";
2
+ import * as tsplus_module_2 from "effect/Option";
3
3
  import * as tsplus_module_3 from "@effect-app/core/Array";
4
- import * as tsplus_module_4 from "@effect/data/Chunk";
4
+ import * as tsplus_module_4 from "effect/Chunk";
5
5
  import * as tsplus_module_5 from "@effect-app/core/_ext/Iterable";
6
6
  import * as tsplus_module_6 from "@effect-app/infra/instrument";
7
7
  import * as tsplus_module_7 from "@effect-app/prelude/utils";
8
8
  import * as tsplus_module_8 from "@effect-app/core/Effect";
9
- import * as tsplus_module_9 from "@effect/data/Equivalence";
9
+ import * as tsplus_module_9 from "effect/Equivalence";
10
10
  import * as tsplus_module_10 from "@effect-app/core/_ext/ord.ext";
11
- import * as tsplus_module_11 from "@effect/io/Layer";
11
+ import * as tsplus_module_11 from "effect/Layer";
12
12
  /* eslint-disable @typescript-eslint/no-explicit-any */
13
13
  import { CosmosClient } from "@effect-app/infra-adapters/cosmos-client";
14
14
  import { omit } from "@effect-app/prelude/utils";
@@ -1,13 +1,13 @@
1
- import { Effect } from "@effect/io/Effect";
2
- import { Config } from "@effect/io/Config";
1
+ import { Effect } from "effect/Effect";
2
+ import { Config } from "effect/Config";
3
3
  import type { PersistenceModelType, StorageConfig, Store, StoreConfig } from "./service.js";
4
4
  import { StoreMaker } from "./service.js";
5
5
  /**
6
6
  * The Disk-backed store, flushes writes in background, but keeps the data in memory
7
7
  * and should therefore be as fast as the Memory Store.
8
8
  */
9
- export declare function makeDiskStore({ prefix }: StorageConfig, dir: string): import("@effect/io/Effect").Effect<never, never, {
10
- make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("@effect/io/Effect").Effect<never, never, Iterable<PM>> | undefined, config?: StoreConfig<PM> | undefined) => import("@effect/io/Effect").Effect<never, never, Store<PM, Id>>;
9
+ export declare function makeDiskStore({ prefix }: StorageConfig, dir: string): import("effect/Effect").Effect<never, never, {
10
+ make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("effect/Effect").Effect<never, never, Iterable<PM>> | undefined, config?: StoreConfig<PM> | undefined) => import("effect/Effect").Effect<never, never, Store<PM, Id>>;
11
11
  }>;
12
- export declare function DiskStoreLive(config: Config<StorageConfig>, dir: string): import("@effect/io/Layer").Layer<never, import("@effect/io/ConfigError").ConfigError, StoreMaker>;
12
+ export declare function DiskStoreLive(config: Config<StorageConfig>, dir: string): import("effect/Layer").Layer<never, import("effect/ConfigError").ConfigError, StoreMaker>;
13
13
  //# sourceMappingURL=Disk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Disk.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Disk.ts"],"names":[],"mappings":";;AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC3F,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AA4DzC;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM;yEAOtD,MAAM;GAyCnB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,qGAKvE"}
1
+ {"version":3,"file":"Disk.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Disk.ts"],"names":[],"mappings":";;AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC3F,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AA4DzC;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM;yEAOtD,MAAM;GAyCnB;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,6FAKvE"}
@@ -1,7 +1,7 @@
1
- import * as tsplus_module_1 from "@effect/io/Effect";
1
+ import * as tsplus_module_1 from "effect/Effect";
2
2
  import * as tsplus_module_2 from "@effect-app/core/Function";
3
- import * as tsplus_module_3 from "@effect/io/FiberRef";
4
- import * as tsplus_module_4 from "@effect/io/Layer";
3
+ import * as tsplus_module_3 from "effect/FiberRef";
4
+ import * as tsplus_module_4 from "effect/Layer";
5
5
  /* eslint-disable @typescript-eslint/no-explicit-any */
6
6
  import * as fu from "@effect-app/infra-adapters/fileUtil";
7
7
  import fs from "fs";
@@ -1,5 +1,5 @@
1
- import { Effect } from "@effect/io/Effect";
2
- import { NonEmptyReadonlyArray, NonEmptyArray } from "@effect/data/ReadonlyArray";
1
+ import { Effect } from "effect/Effect";
2
+ import { NonEmptyReadonlyArray, NonEmptyArray } from "effect/ReadonlyArray";
3
3
  import { RequestContextContainer } from "../RequestContextContainer.js";
4
4
  import type { Filter, PersistenceModelType, Store, StoreConfig } from "./service.js";
5
5
  import { StoreMaker } from "./service.js";
@@ -9,11 +9,11 @@ export declare function memFilter<T extends {
9
9
  skip?: number;
10
10
  limit?: number;
11
11
  }): (c: T[]) => T[];
12
- export declare const storeId: import("@effect/io/FiberRef").FiberRef<string>;
13
- export declare const restoreFromRequestContext: import("@effect/io/Effect").Effect<RequestContextContainer, never, void>;
14
- export declare function makeMemoryStoreInt<Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: Effect<never, never, Iterable<PM>>): import("@effect/io/Effect").Effect<never, never, Store<PM, Id>>;
12
+ export declare const storeId: import("effect/FiberRef").FiberRef<string>;
13
+ export declare const restoreFromRequestContext: import("effect/Effect").Effect<RequestContextContainer, never, void>;
14
+ export declare function makeMemoryStoreInt<Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: Effect<never, never, Iterable<PM>>): import("effect/Effect").Effect<never, never, Store<PM, Id>>;
15
15
  export declare const makeMemoryStore: () => {
16
- make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("@effect/io/Effect").Effect<never, never, Iterable<PM>> | undefined, config?: StoreConfig<PM> | undefined) => import("@effect/io/Effect").Effect<never, never, Store<PM, Id>>;
16
+ make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("effect/Effect").Effect<never, never, Iterable<PM>> | undefined, config?: StoreConfig<PM> | undefined) => import("effect/Effect").Effect<never, never, Store<PM, Id>>;
17
17
  };
18
- export declare const MemoryStoreLive: import("@effect/io/Layer").Layer<never, never, StoreMaker>;
18
+ export declare const MemoryStoreLive: import("effect/Layer").Layer<never, never, StoreMaker>;
19
19
  //# sourceMappingURL=Memory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Memory.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Memory.ts"],"names":[],"mappings":";;AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,KAAK,EAAE,MAAM,EAAoB,oBAAoB,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACtG,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,wBAAgB,SAAS,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,OACnG,CAAC,EAAE,KAAG,CAAC,EAAE,CAetB;AAED,eAAO,MAAM,OAAO,gDAAiC,CAAA;AACrD,eAAO,MAAM,yBAAyB,0EAErC,CAAA;AAeD,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,SAAS,oBAAoB,CAAC,EAAE,CAAC,EACvF,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,mEAqD1C;AAED,eAAO,MAAM,eAAe;yEAElB,MAAM;CAkCd,CAAA;AAEF,eAAO,MAAM,eAAe,4DAA0C,CAAA"}
1
+ {"version":3,"file":"Memory.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Memory.ts"],"names":[],"mappings":";;AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,KAAK,EAAE,MAAM,EAAoB,oBAAoB,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACtG,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,wBAAgB,SAAS,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,OACnG,CAAC,EAAE,KAAG,CAAC,EAAE,CAetB;AAED,eAAO,MAAM,OAAO,4CAAiC,CAAA;AACrD,eAAO,MAAM,yBAAyB,sEAErC,CAAA;AAeD,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,SAAS,oBAAoB,CAAC,EAAE,CAAC,EACvF,IAAI,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,+DAqD1C;AAED,eAAO,MAAM,eAAe;yEAElB,MAAM;CAkCd,CAAA;AAEF,eAAO,MAAM,eAAe,wDAA0C,CAAA"}
@@ -1,10 +1,10 @@
1
- import * as tsplus_module_1 from "@effect/data/ReadonlyArray";
1
+ import * as tsplus_module_1 from "effect/ReadonlyArray";
2
2
  import * as tsplus_module_2 from "@effect-app/core/Array";
3
- import * as tsplus_module_3 from "@effect/data/Option";
4
- import * as tsplus_module_4 from "@effect/io/FiberRef";
5
- import * as tsplus_module_5 from "@effect/io/Effect";
6
- import * as tsplus_module_6 from "@effect/data/Chunk";
7
- import * as tsplus_module_7 from "@effect/io/Ref";
3
+ import * as tsplus_module_3 from "effect/Option";
4
+ import * as tsplus_module_4 from "effect/FiberRef";
5
+ import * as tsplus_module_5 from "effect/Effect";
6
+ import * as tsplus_module_6 from "effect/Chunk";
7
+ import * as tsplus_module_7 from "effect/Ref";
8
8
  import * as tsplus_module_8 from "@effect-app/core/_ext/Iterable";
9
9
  /* eslint-disable @typescript-eslint/no-explicit-any */
10
10
  import { RequestContextContainer } from "../RequestContextContainer.js";
@@ -1,11 +1,11 @@
1
- import { Effect } from "@effect/io/Effect";
2
- import { NonEmptyReadonlyArray, NonEmptyArray } from "@effect/data/ReadonlyArray";
3
- import { Config } from "@effect/io/Config";
1
+ import { Effect } from "effect/Effect";
2
+ import { NonEmptyReadonlyArray, NonEmptyArray } from "effect/ReadonlyArray";
3
+ import { Config } from "effect/Config";
4
4
  import { RedisClient } from "@effect-app/infra-adapters/redis-client";
5
5
  import type { PersistenceModelType, StorageConfig, Store, StoreConfig } from "./service.js";
6
6
  import { StoreMaker } from "./service.js";
7
- export declare function makeRedisStore({ prefix }: StorageConfig): import("@effect/io/Effect").Effect<RedisClient, never, {
8
- make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("@effect/io/Effect").Effect<never, never, Iterable<PM>> | undefined, _config?: StoreConfig<PM> | undefined) => import("@effect/io/Effect").Effect<never, never, Store<PM, Id>>;
7
+ export declare function makeRedisStore({ prefix }: StorageConfig): import("effect/Effect").Effect<RedisClient, never, {
8
+ make: <Id extends string, PM extends PersistenceModelType<Id>>(name: string, seed?: import("effect/Effect").Effect<never, never, Iterable<PM>> | undefined, _config?: StoreConfig<PM> | undefined) => import("effect/Effect").Effect<never, never, Store<PM, Id>>;
9
9
  }>;
10
- export declare function RedisStoreLive(config: Config<StorageConfig>): import("@effect/io/Layer").Layer<RedisClient, import("@effect/io/ConfigError").ConfigError, StoreMaker>;
10
+ export declare function RedisStoreLive(config: Config<StorageConfig>): import("effect/Layer").Layer<RedisClient, import("effect/ConfigError").ConfigError, StoreMaker>;
11
11
  //# sourceMappingURL=Redis.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Redis.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Redis.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;AAIrE,OAAO,KAAK,EAA4B,oBAAoB,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACrH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,aAAa;yEAK1C,MAAM;GA8EnB;AACD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,2GAE3D"}
1
+ {"version":3,"file":"Redis.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/Redis.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAA;AAIrE,OAAO,KAAK,EAA4B,oBAAoB,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACrH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,aAAa;yEAK1C,MAAM;GA8EnB;AACD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,mGAE3D"}
@@ -1,9 +1,9 @@
1
- import * as tsplus_module_1 from "@effect/io/Effect";
2
- import * as tsplus_module_2 from "@effect/data/Option";
1
+ import * as tsplus_module_1 from "effect/Effect";
2
+ import * as tsplus_module_2 from "effect/Option";
3
3
  import * as tsplus_module_3 from "@effect-app/prelude/_ext/misc";
4
- import * as tsplus_module_4 from "@effect/data/ReadonlyArray";
4
+ import * as tsplus_module_4 from "effect/ReadonlyArray";
5
5
  import * as tsplus_module_5 from "@effect-app/core/_ext/Iterable";
6
- import * as tsplus_module_6 from "@effect/io/Layer";
6
+ import * as tsplus_module_6 from "effect/Layer";
7
7
  /* eslint-disable @typescript-eslint/no-explicit-any */
8
8
  import { RedisClient } from "@effect-app/infra-adapters/redis-client";
9
9
  import { NotFoundError } from "../../errors.js";
@@ -1,10 +1,10 @@
1
- import { Config } from "@effect/io/Config";
1
+ import { Config } from "effect/Config";
2
2
  import type { StorageConfig } from "./service.js";
3
3
  import { StoreMaker } from "./service.js";
4
4
  /**
5
5
  * @tsplus static StoreMaker.Ops Live
6
6
  * @tsplus location "@effect-app/infra/services/Store/index"
7
7
  */
8
- export declare function StoreMakerLive(config: Config<StorageConfig>): import("@effect/io/Layer").Layer<never, import("@effect/io/ConfigError").ConfigError, StoreMaker>;
8
+ export declare function StoreMakerLive(config: Config<StorageConfig>): import("effect/Layer").Layer<never, import("effect/ConfigError").ConfigError, StoreMaker>;
9
9
  export * from "./service.js";
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/index.ts"],"names":[],"mappings":";AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;;;;;AAKzC,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,qGA8B3D;AAmBD,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/index.ts"],"names":[],"mappings":";AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;;;;;AAKzC,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC,6FA8B3D;AAmBD,cAAc,cAAc,CAAA"}
@@ -1,6 +1,6 @@
1
- import * as tsplus_module_1 from "@effect/io/ConfigSecret";
2
- import * as tsplus_module_2 from "@effect/io/Effect";
3
- import * as tsplus_module_3 from "@effect/io/Layer";
1
+ import * as tsplus_module_1 from "effect/ConfigSecret";
2
+ import * as tsplus_module_2 from "effect/Effect";
3
+ import * as tsplus_module_3 from "effect/Layer";
4
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
5
5
  import * as CosmosClient from "@effect-app/infra-adapters/cosmos-client";
6
6
  import * as RedisClient from "@effect-app/infra-adapters/redis-client";
@@ -1,8 +1,8 @@
1
- import { Effect } from "@effect/io/Effect";
1
+ import { Effect } from "effect/Effect";
2
2
  import { Option } from "@effect-app/core/Option";
3
- import { NonEmptyReadonlyArray } from "@effect/data/ReadonlyArray";
3
+ import { NonEmptyReadonlyArray } from "effect/ReadonlyArray";
4
4
  import { TagClass } from "@effect-app/prelude/service";
5
- import { ConfigSecret } from "@effect/io/ConfigSecret";
5
+ import { ConfigSecret } from "effect/ConfigSecret";
6
6
  import type { UniqueKey } from "@azure/cosmos";
7
7
  import type { ParserEnv } from "@effect-app/schema/custom/Parser";
8
8
  import type { OptimisticConcurrencyException } from "../../errors.js";
@@ -88,10 +88,10 @@ export interface Store<PM extends PersistenceModelType<Id>, Id extends string> {
88
88
  remove: (e: PM) => Effect<never, never, void>;
89
89
  }
90
90
  declare const StoreMaker_base: (abstract new () => {}) & {
91
- flatMap<R1, E1, B>(f: (a: StoreMaker) => import("@effect/io/Effect").Effect<R1, E1, B>): import("@effect/io/Effect").Effect<StoreMaker | R1, E1, B>;
92
- map<B_1>(f: (a: StoreMaker) => B_1): import("@effect/io/Effect").Effect<StoreMaker, never, B_1>;
93
- makeLayer(svc: StoreMaker): import("@effect/io/Layer").Layer<never, never, StoreMaker>;
94
- } & import("@effect/data/Context").Tag<StoreMaker, StoreMaker>;
91
+ flatMap<R1, E1, B>(f: (a: StoreMaker) => import("effect/Effect").Effect<R1, E1, B>): import("effect/Effect").Effect<StoreMaker | R1, E1, B>;
92
+ map<B_1>(f: (a: StoreMaker) => B_1): import("effect/Effect").Effect<StoreMaker, never, B_1>;
93
+ makeLayer(svc: StoreMaker): import("effect/Layer").Layer<never, never, StoreMaker>;
94
+ } & import("effect/Context").Tag<StoreMaker, StoreMaker>;
95
95
  /**
96
96
  * @tsplus type StoreMaker
97
97
  * @tsplus companion StoreMaker.Ops
@@ -103,12 +103,12 @@ export declare abstract class StoreMaker extends StoreMaker_base {
103
103
  * @tsplus static ContextMap.Ops Make
104
104
  * @tsplus location "@effect-app/infra/services/Store/service"
105
105
  */
106
- export declare const makeMap: import("@effect/io/Effect").Effect<never, never, ContextMap>;
106
+ export declare const makeMap: import("effect/Effect").Effect<never, never, ContextMap>;
107
107
  declare const ContextMap_base: (abstract new () => {}) & {
108
- flatMap<R1, E1, B>(f: (a: ContextMap) => import("@effect/io/Effect").Effect<R1, E1, B>): import("@effect/io/Effect").Effect<ContextMap | R1, E1, B>;
109
- map<B_1>(f: (a: ContextMap) => B_1): import("@effect/io/Effect").Effect<ContextMap, never, B_1>;
110
- makeLayer(svc: ContextMap): import("@effect/io/Layer").Layer<never, never, ContextMap>;
111
- } & import("@effect/data/Context").Tag<ContextMap, ContextMap>;
108
+ flatMap<R1, E1, B>(f: (a: ContextMap) => import("effect/Effect").Effect<R1, E1, B>): import("effect/Effect").Effect<ContextMap | R1, E1, B>;
109
+ map<B_1>(f: (a: ContextMap) => B_1): import("effect/Effect").Effect<ContextMap, never, B_1>;
110
+ makeLayer(svc: ContextMap): import("effect/Layer").Layer<never, never, ContextMap>;
111
+ } & import("effect/Context").Tag<ContextMap, ContextMap>;
112
112
  /**
113
113
  * @tsplus type ContextMap
114
114
  * @tsplus companion Context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EAAE,EAAE,CAAC,CAAC,CAAA;CACzC;;;;;AAKD,eAAO,MAAM,OAAO,0DA+DlB,CAAA;;;;;;AAEF;;;GAGG;AACH,8BAAsB,UAAW,SAAQ,eAAsB;IAC7D,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAA;IAChD,QAAQ,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAC5D,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;CAC9B;AAED,MAAM,WAAW,oBAAoB,CAAC,EAAE,SAAS,MAAM;IACrD,EAAE,EAAE,EAAE,CAAA;IACN,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,YAAY,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf"}
@@ -1,5 +1,5 @@
1
1
  import * as tsplus_module_1 from "@effect-app/prelude/service";
2
- import * as tsplus_module_2 from "@effect/io/Effect";
2
+ import * as tsplus_module_2 from "effect/Effect";
3
3
  /**
4
4
  * @tsplus type StoreMaker
5
5
  * @tsplus companion StoreMaker.Ops
@@ -2,10 +2,10 @@ import { Option } from "@effect-app/core/Option";
2
2
  import { OptimisticConcurrencyException } from "../../errors.js";
3
3
  import type { Filter, FilterJoinSelect, PersistenceModelType } from "./service.js";
4
4
  export declare const makeETag: <E extends PersistenceModelType<Id>, Id extends string>({ _etag, ...e }: E) => E;
5
- export declare const makeUpdateETag: (name: string) => <E extends PersistenceModelType<Id>, Id extends string>(e: E, current: import("@effect/data/Option").Option<E>) => import("@effect/io/Effect").Effect<never, OptimisticConcurrencyException, E>;
5
+ export declare const makeUpdateETag: (name: string) => <E extends PersistenceModelType<Id>, Id extends string>(e: E, current: import("effect/Option").Option<E>) => import("effect/Effect").Effect<never, OptimisticConcurrencyException, E>;
6
6
  export declare function codeFilter<E extends {
7
7
  id: string;
8
- }, NE extends E>(filter: Filter<NE>): (x: E) => import("@effect/data/Option").None<NE> | import("@effect/data/Option").Some<NE>;
8
+ }, NE extends E>(filter: Filter<NE>): (x: E) => import("effect/Option").None<NE> | import("effect/Option").Some<NE>;
9
9
  export declare function codeFilterJoinSelect<E extends {
10
10
  id: string;
11
11
  }, NE>(filter: FilterJoinSelect): (x: E) => (NE & {
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/utils.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,oBAAoB,EAAoB,MAAM,cAAc,CAAA;AAIpG,eAAO,MAAM,QAAQ,kFAMV,CAAA;AACX,eAAO,MAAM,cAAc,SAClB,MAAM,oMAeT,CAAA;AAEN,wBAAgB,UAAU,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,OACxE,CAAC,qFA8Gb;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,EAAE,EAC/D,MAAM,EAAE,gBAAgB,OAEb,CAAC;;KAkBb"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../_src/services/Store/utils.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,oBAAoB,EAAoB,MAAM,cAAc,CAAA;AAIpG,eAAO,MAAM,QAAQ,kFAMV,CAAA;AACX,eAAO,MAAM,cAAc,SAClB,MAAM,0LAeT,CAAA;AAEN,wBAAgB,UAAU,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,OACxE,CAAC,yEA8Gb;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,EAAE,EAC/D,MAAM,EAAE,gBAAgB,OAEb,CAAC;;KAkBb"}
@@ -1,8 +1,8 @@
1
1
  import * as tsplus_module_1 from "@effect-app/prelude/_ext/misc";
2
- import * as tsplus_module_2 from "@effect/data/Option";
3
- import * as tsplus_module_3 from "@effect/io/Effect";
2
+ import * as tsplus_module_2 from "effect/Option";
3
+ import * as tsplus_module_3 from "effect/Effect";
4
4
  import * as tsplus_module_4 from "@effect-app/core/Option";
5
- import * as tsplus_module_5 from "@effect/data/ReadonlyArray";
5
+ import * as tsplus_module_5 from "effect/ReadonlyArray";
6
6
  import { get } from "@effect-app/prelude/utils";
7
7
  import { OptimisticConcurrencyException } from "../../errors.js";
8
8
  import objectHash from "object-hash";