effect-app 0.156.0 → 0.156.2
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 +19 -0
- package/_cjs/index.cjs +4 -1
- package/_cjs/index.cjs.map +1 -1
- package/_src/index.ts +1 -0
- package/dist/client/fetch.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @effect-app/prelude
|
|
2
2
|
|
|
3
|
+
## 0.156.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [963b8d0]
|
|
8
|
+
- @effect-app/core@0.133.2
|
|
9
|
+
- @effect-app/fluent-extensions@0.128.2
|
|
10
|
+
- @effect-app/schema@0.187.2
|
|
11
|
+
|
|
12
|
+
## 0.156.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- b9e1e73: ext
|
|
17
|
+
- Updated dependencies [b9e1e73]
|
|
18
|
+
- @effect-app/core@0.133.1
|
|
19
|
+
- @effect-app/fluent-extensions@0.128.1
|
|
20
|
+
- @effect-app/schema@0.187.1
|
|
21
|
+
|
|
3
22
|
## 0.156.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/_cjs/index.cjs
CHANGED
|
@@ -5,9 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
copy: true,
|
|
8
|
+
SecretURL: true,
|
|
8
9
|
S: true
|
|
9
10
|
};
|
|
10
|
-
exports.S = void 0;
|
|
11
|
+
exports.SecretURL = exports.S = void 0;
|
|
11
12
|
Object.defineProperty(exports, "copy", {
|
|
12
13
|
enumerable: true,
|
|
13
14
|
get: function () {
|
|
@@ -28,6 +29,8 @@ Object.keys(_core).forEach(function (key) {
|
|
|
28
29
|
});
|
|
29
30
|
});
|
|
30
31
|
var _utils = require("@effect-app/core/utils");
|
|
32
|
+
var _SecretURL = _interopRequireWildcard(require("effect-app/Config/SecretURL"));
|
|
33
|
+
exports.SecretURL = _SecretURL;
|
|
31
34
|
var _S = _interopRequireWildcard(require("effect-app/schema"));
|
|
32
35
|
exports.S = _S;
|
|
33
36
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
package/_cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["require","_core","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_utils","
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["require","_core","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_utils","_SecretURL","_interopRequireWildcard","SecretURL","_S","S","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","i","set"],"sources":["../_src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;AAAAA,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,KAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,KAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,KAAA,CAAAI,GAAA;IAAA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AA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAU,GAAA,CAAAb,CAAA,EAAAO,CAAA,GAAAA,CAAA"}
|
package/_src/index.ts
CHANGED
package/dist/client/fetch.d.ts
CHANGED
|
@@ -15,12 +15,12 @@ export declare function fetchApi(method: Method, path: string, body?: unknown):
|
|
|
15
15
|
status: number;
|
|
16
16
|
body: unknown;
|
|
17
17
|
headers: import("@effect/platform/Http/Headers").Headers;
|
|
18
|
-
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | HttpResponseError<unknown>,
|
|
18
|
+
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | HttpResponseError<unknown>, import("@effect/platform/Http/Client").Client.Default | ApiConfig>;
|
|
19
19
|
export declare function fetchApi2S<RequestR, RequestFrom, RequestTo, ResponseR, ResponseFrom, ResponseTo>(request: Schema<RequestTo, RequestFrom, RequestR>, response: Schema<ResponseTo, ResponseFrom, ResponseR>): (method: Method, path: Path) => (req: RequestTo) => import("effect/Effect").Effect<{
|
|
20
20
|
body: ResponseTo;
|
|
21
21
|
headers: Headers;
|
|
22
22
|
status: number;
|
|
23
|
-
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | ResponseError | import("@effect/schema/ParseResult").ParseError | HttpResponseError<unknown>,
|
|
23
|
+
}, import("@effect/platform/Http/Body").BodyError | InvalidStateError | ValidationError | NotLoggedInError | UnauthorizedError | OptimisticConcurrencyException | NotFoundError<ItemType> | HttpRequestError | ResponseError | import("@effect/schema/ParseResult").ParseError | HttpResponseError<unknown>, import("@effect/platform/Http/Client").Client.Default | ApiConfig | RequestR | ResponseR>;
|
|
24
24
|
export declare function fetchApi3S<RequestA, RequestE, ResponseE = unknown, ResponseA = void>({ Request, Response }: {
|
|
25
25
|
Request: REST.RequestSchemed<RequestA, RequestE>;
|
|
26
26
|
Response: REST.ReqRes<ResponseA, ResponseE, any>;
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../_src/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAA;AAEtC,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,KAAK,CAAC,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../_src/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAA;AAEtC,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAA;AACxD,OAAO,KAAK,CAAC,MAAM,mBAAmB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "@effect-app/fluent-extensions";
|
|
2
2
|
export * from "@effect-app/core";
|
|
3
3
|
export { copy } from "@effect-app/core/utils";
|
|
4
|
+
export * as SecretURL from "effect-app/Config/SecretURL";
|
|
4
5
|
export * as S from "effect-app/schema";
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9fc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sK0JBQStCLENBQUE7QUFFdEMsY0FBYyxrQkFBa0IsQ0FBQTtBQUNoQyxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sd0JBQXdCLENBQUE7QUFDN0MsT0FBTyxLQUFLLFNBQVMsTUFBTSw2QkFBNkIsQ0FBQTtBQUN4RCxPQUFPLEtBQUssQ0FBQyxNQUFNLG1CQUFtQixDQUFBIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-app",
|
|
3
|
-
"version": "0.156.
|
|
3
|
+
"version": "0.156.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"ts-pattern": "^5.0.6",
|
|
17
17
|
"uuid": "^9.0.1",
|
|
18
18
|
"validator": "^13.11.0",
|
|
19
|
-
"@effect-app/core": "0.133.
|
|
20
|
-
"@effect-app/fluent-extensions": "0.128.
|
|
21
|
-
"@effect-app/schema": "0.187.
|
|
19
|
+
"@effect-app/core": "0.133.2",
|
|
20
|
+
"@effect-app/fluent-extensions": "0.128.2",
|
|
21
|
+
"@effect-app/schema": "0.187.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@babel/cli": "^7.23.9",
|