@effect-app/infra 0.105.0 → 0.106.0
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 +14 -0
- package/_cjs/api/writeDocs.cjs +1 -1
- package/dist/api/writeDocs.js +1 -1
- package/dist/errors.d.ts +7 -7
- package/dist/services/Operations/live.d.ts +1 -1
- package/dist/services/Operations/live.d.ts.map +1 -1
- package/dist/services/QueueMaker/sbqueue.d.ts +1 -1
- package/dist/services/QueueMaker/sbqueue.d.ts.map +1 -1
- package/dist/services/simpledb/shared.d.ts +3 -3
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 0.106.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1f6b9a1: update packages
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [1f6b9a1]
|
|
12
|
+
- @effect-app/infra-adapters@0.67.0
|
|
13
|
+
- @effect-app/prelude@0.80.0
|
|
14
|
+
- @effect-app/schema@0.73.0
|
|
15
|
+
- @effect-app/core@0.79.0
|
|
16
|
+
|
|
3
17
|
## 0.105.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/_cjs/api/writeDocs.cjs
CHANGED
|
@@ -7,7 +7,7 @@ exports.writeOpenapiDocs = writeOpenapiDocs;
|
|
|
7
7
|
exports.writeOpenapiDocsI = writeOpenapiDocsI;
|
|
8
8
|
var tsplus_module_1 = _interopRequireWildcard(require("effect/Effect"));
|
|
9
9
|
var tsplus_module_2 = _interopRequireWildcard(require("effect/Order"));
|
|
10
|
-
var tsplus_module_3 = _interopRequireWildcard(require("effect/
|
|
10
|
+
var tsplus_module_3 = _interopRequireWildcard(require("@effect-app/core/Array"));
|
|
11
11
|
var _utils = require("@effect-app/core/utils");
|
|
12
12
|
var _fileUtil = require("@effect-app/infra-adapters/fileUtil");
|
|
13
13
|
var Plutus = _interopRequireWildcard(require("@effect-app/infra-adapters/Openapi/atlas-plutus"));
|
package/dist/api/writeDocs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "effect/Effect";
|
|
2
2
|
import * as tsplus_module_2 from "effect/Order";
|
|
3
|
-
import * as tsplus_module_3 from "effect/
|
|
3
|
+
import * as tsplus_module_3 from "@effect-app/core/Array";
|
|
4
4
|
import { typedValuesOf } from "@effect-app/core/utils";
|
|
5
5
|
import { writeTextFile } from "@effect-app/infra-adapters/fileUtil";
|
|
6
6
|
import * as Plutus from "@effect-app/infra-adapters/Openapi/atlas-plutus";
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Data } from "effect/Data";
|
|
2
2
|
import { Cause } from "effect/Cause";
|
|
3
|
-
declare const NotFoundError_base: new <A extends Record<string, any
|
|
3
|
+
declare const NotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
4
4
|
readonly _tag: "NotFoundError";
|
|
5
5
|
} & Readonly<A>;
|
|
6
6
|
/** @tsplus type NotFoundError */
|
|
@@ -14,7 +14,7 @@ export declare class NotFoundError<T extends string = string> extends NotFoundEr
|
|
|
14
14
|
readonly id: string;
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
declare const ValidationError_base: new <A extends Record<string, any
|
|
17
|
+
declare const ValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
18
18
|
readonly _tag: "ValidationError";
|
|
19
19
|
} & Readonly<A>;
|
|
20
20
|
/** @tsplus type ValidationError */
|
|
@@ -22,7 +22,7 @@ export declare class ValidationError extends ValidationError_base<{
|
|
|
22
22
|
errors: ReadonlyArray<unknown>;
|
|
23
23
|
}> {
|
|
24
24
|
}
|
|
25
|
-
declare const NotLoggedInError_base: new <A extends Record<string, any
|
|
25
|
+
declare const NotLoggedInError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
26
26
|
readonly _tag: "NotLoggedInError";
|
|
27
27
|
} & Readonly<A>;
|
|
28
28
|
/** @tsplus type NotLoggedInError */
|
|
@@ -31,7 +31,7 @@ export declare class NotLoggedInError extends NotLoggedInError_base<{
|
|
|
31
31
|
}> {
|
|
32
32
|
constructor(message?: string);
|
|
33
33
|
}
|
|
34
|
-
declare const UnauthorizedError_base: new <A extends Record<string, any
|
|
34
|
+
declare const UnauthorizedError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
35
35
|
readonly _tag: "UnauthorizedError";
|
|
36
36
|
} & Readonly<A>;
|
|
37
37
|
/** @tsplus type UnauthorizedError */
|
|
@@ -40,7 +40,7 @@ export declare class UnauthorizedError extends UnauthorizedError_base<{
|
|
|
40
40
|
}> {
|
|
41
41
|
constructor(message?: string);
|
|
42
42
|
}
|
|
43
|
-
declare const LoginError_base: new <A extends Record<string, any
|
|
43
|
+
declare const LoginError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
44
44
|
readonly _tag: "NotLoggeInError";
|
|
45
45
|
} & Readonly<A>;
|
|
46
46
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class LoginError extends LoginError_base<{
|
|
|
52
52
|
}> {
|
|
53
53
|
constructor(message: string);
|
|
54
54
|
}
|
|
55
|
-
declare const InvalidStateError_base: new <A extends Record<string, any
|
|
55
|
+
declare const InvalidStateError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
56
56
|
readonly _tag: "InvalidStateError";
|
|
57
57
|
} & Readonly<A>;
|
|
58
58
|
/** @tsplus type InvalidStateError */
|
|
@@ -75,7 +75,7 @@ export declare class CauseException<E> extends Error {
|
|
|
75
75
|
};
|
|
76
76
|
toString(): string;
|
|
77
77
|
}
|
|
78
|
-
declare const OptimisticConcurrencyException_base: new <A extends Record<string, any
|
|
78
|
+
declare const OptimisticConcurrencyException_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
79
79
|
readonly _tag: "OptimisticConcurrencyException";
|
|
80
80
|
} & Readonly<A>;
|
|
81
81
|
/** @tsplus type OptimisticConcurrencyException */
|
|
@@ -3,5 +3,5 @@ import { Exit } from "effect/Exit";
|
|
|
3
3
|
* @tsplus static Operations.Ops Live
|
|
4
4
|
* @tsplus location "@effect-app/infra/services/Operations/live"
|
|
5
5
|
*/
|
|
6
|
-
export declare const Live: import("effect/Layer").Layer<
|
|
6
|
+
export declare const Live: import("effect/Layer").Layer<import("./service.js").OperationsId, never, import("./service.js").OperationsId>;
|
|
7
7
|
//# sourceMappingURL=live.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"live.d.ts","sourceRoot":"","sources":["../../../_src/services/Operations/live.ts"],"names":[],"mappings":";;;;;AAyGA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"live.d.ts","sourceRoot":"","sources":["../../../_src/services/Operations/live.ts"],"names":[],"mappings":";;;;;AAyGA,eAAO,MAAM,IAAI,+GAEQ,CAAA"}
|
|
@@ -20,5 +20,5 @@ export declare function makeServiceBusQueue<DrainR, Evt extends {
|
|
|
20
20
|
* @tsplus static QueueMaker.Ops makeServiceBusLayers
|
|
21
21
|
* @tsplus location "@effect-app/infra/services/QueueMaker/sbqueue"
|
|
22
22
|
*/
|
|
23
|
-
export declare function makeServiceBusLayers(url: string, queueName: string, queueDrainName: string): import("effect/Layer").Layer<
|
|
23
|
+
export declare function makeServiceBusLayers(url: string, queueName: string, queueDrainName: string): import("effect/Layer").Layer<import("@azure/service-bus").ServiceBusClient, never, import("@azure/service-bus").ServiceBusClient>;
|
|
24
24
|
//# sourceMappingURL=sbqueue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sbqueue.d.ts","sourceRoot":"","sources":["../../../_src/services/QueueMaker/sbqueue.ts"],"names":[],"mappings":";;;AAcA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;;;;;AAOvE,wBAAgB,mBAAmB,CACjC,MAAM,EACN,GAAG,SAAS;IAAE,EAAE,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAC1C,QAAQ,SAAS;IAAE,EAAE,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAC/C,IAAI,EACJ,MAAM,EAEN,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,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MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,qIAG1F"}
|
|
@@ -3,7 +3,7 @@ import { Effect } from "effect/Effect";
|
|
|
3
3
|
import { Option } from "@effect-app/core/Option";
|
|
4
4
|
import * as S from "@effect-app/schema";
|
|
5
5
|
import type { SchemaAny } from "@effect-app/schema";
|
|
6
|
-
declare const CouldNotAquireDbLockException_base: new <A extends Record<string, any
|
|
6
|
+
declare const CouldNotAquireDbLockException_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
7
7
|
readonly _tag: "CouldNotAquireDbLockException";
|
|
8
8
|
} & Readonly<A>;
|
|
9
9
|
export declare class CouldNotAquireDbLockException extends CouldNotAquireDbLockException_base<{
|
|
@@ -14,7 +14,7 @@ export declare class CouldNotAquireDbLockException extends CouldNotAquireDbLockE
|
|
|
14
14
|
}> {
|
|
15
15
|
constructor(type: string, id: string, error: Error);
|
|
16
16
|
}
|
|
17
|
-
declare const OptimisticLockException_base: new <A extends Record<string, any
|
|
17
|
+
declare const OptimisticLockException_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
18
18
|
readonly _tag: "OptimisticLockException";
|
|
19
19
|
} & Readonly<A>;
|
|
20
20
|
export declare class OptimisticLockException extends OptimisticLockException_base<{
|
|
@@ -24,7 +24,7 @@ export declare class OptimisticLockException extends OptimisticLockException_bas
|
|
|
24
24
|
}> {
|
|
25
25
|
constructor(type: string, id: string);
|
|
26
26
|
}
|
|
27
|
-
declare const ConnectionException_base: new <A extends Record<string, any
|
|
27
|
+
declare const ConnectionException_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<Omit<A, keyof import("effect/Equal").Equal>, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" | keyof import("effect/Equal").Equal ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
28
28
|
readonly _tag: "ConnectionException";
|
|
29
29
|
} & Readonly<A>;
|
|
30
30
|
export declare class ConnectionException extends ConnectionException_base<{
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.106.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@azure/cosmos": "^4.0.0",
|
|
8
8
|
"@azure/service-bus": "^7.9.3",
|
|
9
|
-
"effect": "^2.0.0-next.
|
|
9
|
+
"effect": "^2.0.0-next.58",
|
|
10
10
|
"@faker-js/faker": "^8.3.1",
|
|
11
11
|
"@sendgrid/helpers": "^7.7.0",
|
|
12
12
|
"@sendgrid/mail": "^7.7.0",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"proper-lockfile": "^4.1.2",
|
|
19
19
|
"pure-rand": "6.0.4",
|
|
20
20
|
"redlock": "^4.2.0",
|
|
21
|
-
"@effect-app/
|
|
22
|
-
"@effect-app/
|
|
23
|
-
"@effect-app/
|
|
24
|
-
"@effect-app/
|
|
21
|
+
"@effect-app/core": "0.79.0",
|
|
22
|
+
"@effect-app/schema": "0.73.0",
|
|
23
|
+
"@effect-app/prelude": "0.80.0",
|
|
24
|
+
"@effect-app/infra-adapters": "0.67.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@babel/cli": "^7.23.4",
|
|
28
|
-
"@sentry/node": "^7.
|
|
28
|
+
"@sentry/node": "^7.84.0",
|
|
29
29
|
"@types/express": "^4.17.21",
|
|
30
|
-
"@types/node": "~20.10.
|
|
30
|
+
"@types/node": "~20.10.1",
|
|
31
31
|
"@types/proper-lockfile": "^4.1.4",
|
|
32
32
|
"@types/redis": "^2.8.32",
|
|
33
33
|
"@types/redlock": "^4.0.7",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"ts-node": "^10.9.1",
|
|
40
40
|
"typescript": "npm:@effect-app/typescript@5.4.0-tsplus.202311222",
|
|
41
41
|
"vitest": "^0.34.6",
|
|
42
|
-
"@effect-app/compiler": "0.
|
|
42
|
+
"@effect-app/compiler": "0.39.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"express": "^4.18.2"
|