@effect/ai-typesafe 4.0.1 → 4.0.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/ai-docs/package.json +2 -2
- package/ai-docs/tsconfig.json +2 -1
- package/dist/TypeSafeConfig.d.ts +6 -0
- package/dist/TypeSafeConfig.d.ts.map +1 -1
- package/dist/TypeSafeConfig.js +3 -0
- package/dist/TypeSafeConfig.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/TypeSafeConfig.ts +6 -0
- package/src/index.ts +2 -0
package/ai-docs/package.json
CHANGED
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@effect/sql-sqlite-wasm": "workspace:*",
|
|
28
28
|
"@effect/vitest": "workspace:*",
|
|
29
29
|
"effect": "workspace:*",
|
|
30
|
-
"hono": "^4.13.
|
|
31
|
-
"nodemailer": "^10.0.
|
|
30
|
+
"hono": "^4.13.12",
|
|
31
|
+
"nodemailer": "^10.0.14"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/nodemailer": "^8.0.2"
|
package/ai-docs/tsconfig.json
CHANGED
package/dist/TypeSafeConfig.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Scoped HTTP client customization for TypeSafe requests.
|
|
3
3
|
*
|
|
4
|
+
* @stability unstable
|
|
4
5
|
* @since 4.0.0
|
|
5
6
|
*/
|
|
6
7
|
import * as Context from "effect/Context";
|
|
@@ -12,6 +13,7 @@ declare const TypeSafeConfig_base: Context.ServiceClass<TypeSafeConfig, "@effect
|
|
|
12
13
|
*
|
|
13
14
|
* @see {@link withClientTransform} for scoping an HTTP client transformation
|
|
14
15
|
*
|
|
16
|
+
* @stability unstable
|
|
15
17
|
* @category services
|
|
16
18
|
* @since 4.0.0
|
|
17
19
|
*/
|
|
@@ -26,6 +28,7 @@ export declare class TypeSafeConfig extends TypeSafeConfig_base {
|
|
|
26
28
|
/**
|
|
27
29
|
* Types used by the `TypeSafeConfig` context service.
|
|
28
30
|
*
|
|
31
|
+
* @stability unstable
|
|
29
32
|
* @since 4.0.0
|
|
30
33
|
*/
|
|
31
34
|
export declare namespace TypeSafeConfig {
|
|
@@ -43,6 +46,7 @@ export declare namespace TypeSafeConfig {
|
|
|
43
46
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
44
47
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
45
48
|
*
|
|
49
|
+
* @stability unstable
|
|
46
50
|
* @category configuration
|
|
47
51
|
* @since 4.0.0
|
|
48
52
|
*/
|
|
@@ -51,6 +55,7 @@ export declare const withClientTransform: {
|
|
|
51
55
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
52
56
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
53
57
|
*
|
|
58
|
+
* @stability unstable
|
|
54
59
|
* @category configuration
|
|
55
60
|
* @since 4.0.0
|
|
56
61
|
*/
|
|
@@ -59,6 +64,7 @@ export declare const withClientTransform: {
|
|
|
59
64
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
60
65
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
61
66
|
*
|
|
67
|
+
* @stability unstable
|
|
62
68
|
* @category configuration
|
|
63
69
|
* @since 4.0.0
|
|
64
70
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSafeConfig.d.ts","sourceRoot":"","sources":["../src/TypeSafeConfig.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"TypeSafeConfig.d.ts","sourceRoot":"","sources":["../src/TypeSafeConfig.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC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*/
|
|
6
7
|
import * as Context from "effect/Context";
|
|
@@ -11,6 +12,7 @@ import { dual } from "effect/Function";
|
|
|
11
12
|
*
|
|
12
13
|
* @see {@link withClientTransform} for scoping an HTTP client transformation
|
|
13
14
|
*
|
|
15
|
+
* @stability unstable
|
|
14
16
|
* @category services
|
|
15
17
|
* @since 4.0.0
|
|
16
18
|
*/
|
|
@@ -26,6 +28,7 @@ export class TypeSafeConfig extends /*#__PURE__*/Context.Service()("@effect/ai-t
|
|
|
26
28
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
27
29
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
28
30
|
*
|
|
31
|
+
* @stability unstable
|
|
29
32
|
* @category configuration
|
|
30
33
|
* @since 4.0.0
|
|
31
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSafeConfig.js","names":[],"sources":["../src/TypeSafeConfig.ts"],"sourcesContent":[null],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"TypeSafeConfig.js","names":[],"sources":["../src/TypeSafeConfig.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;AAMA,OAAO,KAAK,OAAO,MAAM,gBAAgB;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe;AACvC,SAAS,IAAI,QAAQ,iBAAiB;AAGtC;;;;;;;;;AASA,OAAM,MAAO,cAAe,sBAAQ,OAAO,CAAC,OAAO,EAGhD,CAAC,oCAAoC,CAAC;EACvC;;;;;EAKA,OAAgB,cAAc,gBAA6D,MAAM,CAAC,GAAG,cACnG,MAAM,CAAC,OAAO,EAAS,eACvB,OAAO,CAAC,cAAc,CAAC,cAAc,CAAC,CACvC;;AAqBH;;;;;;;;AAQA,OAAO,MAAM,mBAAmB,gBAsB5B,IAAI,CAAC,CAAC,EAAE,CACV,IAA4B,EAC5B,eAAmD,KAEnD,MAAM,CAAC,OAAO,CACZ,cAAc,CAAC,cAAc,EAC5B,MAAM,IAAK,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE;EAAE,GAAG,MAAM;EAAE;AAAe,CAAE,CAAC,CACxF,CAAC","ignoreList":[]}
|
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
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;GAGG;AACH,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA;AAErD;;;GAGG;AACH,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA;AAErD;;;GAGG;AACH,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAA;AAEnE;;;GAGG;AACH,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @stability unstable
|
|
2
3
|
* @since 4.0.0
|
|
3
4
|
*/
|
|
4
5
|
// @barrel
|
|
@@ -8,6 +9,7 @@
|
|
|
8
9
|
*/
|
|
9
10
|
export * as TypeSafeClient from "./TypeSafeClient.js";
|
|
10
11
|
/**
|
|
12
|
+
* @stability unstable
|
|
11
13
|
* @since 4.0.0
|
|
12
14
|
*/
|
|
13
15
|
export * as TypeSafeConfig from "./TypeSafeConfig.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;AAKA;AAEA;;;;AAIA,OAAO,KAAK,cAAc,MAAM,qBAAqB;AAErD;;;;AAIA,OAAO,KAAK,cAAc,MAAM,qBAAqB;AAErD;;;;AAIA,OAAO,KAAK,qBAAqB,MAAM,4BAA4B;AAEnE;;;;AAIA,OAAO,KAAK,cAAc,MAAM,qBAAqB","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/ai-typesafe",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "A TypeSafe DecisionModel provider for Effect",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"provenance": true
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"effect": "^4.0.
|
|
50
|
+
"effect": "^4.0.2"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"effect": "^4.0.
|
|
53
|
+
"effect": "^4.0.2"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"codegen": "effect-utils codegen",
|
package/src/TypeSafeConfig.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Scoped HTTP client customization for TypeSafe requests.
|
|
3
3
|
*
|
|
4
|
+
* @stability unstable
|
|
4
5
|
* @since 4.0.0
|
|
5
6
|
*/
|
|
6
7
|
import * as Context from "effect/Context"
|
|
@@ -13,6 +14,7 @@ import type { HttpClient } from "effect/http/HttpClient"
|
|
|
13
14
|
*
|
|
14
15
|
* @see {@link withClientTransform} for scoping an HTTP client transformation
|
|
15
16
|
*
|
|
17
|
+
* @stability unstable
|
|
16
18
|
* @category services
|
|
17
19
|
* @since 4.0.0
|
|
18
20
|
*/
|
|
@@ -34,6 +36,7 @@ export class TypeSafeConfig extends Context.Service<
|
|
|
34
36
|
/**
|
|
35
37
|
* Types used by the `TypeSafeConfig` context service.
|
|
36
38
|
*
|
|
39
|
+
* @stability unstable
|
|
37
40
|
* @since 4.0.0
|
|
38
41
|
*/
|
|
39
42
|
export declare namespace TypeSafeConfig {
|
|
@@ -52,6 +55,7 @@ export declare namespace TypeSafeConfig {
|
|
|
52
55
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
53
56
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
54
57
|
*
|
|
58
|
+
* @stability unstable
|
|
55
59
|
* @category configuration
|
|
56
60
|
* @since 4.0.0
|
|
57
61
|
*/
|
|
@@ -60,6 +64,7 @@ export const withClientTransform: {
|
|
|
60
64
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
61
65
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
62
66
|
*
|
|
67
|
+
* @stability unstable
|
|
63
68
|
* @category configuration
|
|
64
69
|
* @since 4.0.0
|
|
65
70
|
*/
|
|
@@ -68,6 +73,7 @@ export const withClientTransform: {
|
|
|
68
73
|
* Transforms the TypeSafe HTTP client for requests made by the supplied effect.
|
|
69
74
|
* Replaces any existing scoped transform; compose them manually to apply both.
|
|
70
75
|
*
|
|
76
|
+
* @stability unstable
|
|
71
77
|
* @category configuration
|
|
72
78
|
* @since 4.0.0
|
|
73
79
|
*/
|
package/src/index.ts
CHANGED