@effect-app/vue 1.20.6 → 1.20.7
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 +10 -0
- package/dist/runtime.d.ts +13 -13
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/runtime.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const DefaultApiConfig: Config.Config<{
|
|
|
8
8
|
apiUrl: string;
|
|
9
9
|
headers: import("effect/Option").Option<import("effect/HashMap").HashMap<string, string>>;
|
|
10
10
|
}>;
|
|
11
|
-
export declare function makeApiLayers(config: ApiConfig): Layer.Layer<
|
|
11
|
+
export declare function makeApiLayers(config: ApiConfig): Layer.Layer<HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig, never, never>;
|
|
12
12
|
export declare function makeAppRuntime<R, E, A>(layer: Layer<A, E, R>): Effect.Effect<{
|
|
13
13
|
runtime: Runtime.Runtime<A> & {
|
|
14
14
|
runPromise: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, A>, options?: {
|
|
@@ -24,30 +24,30 @@ export declare function makeAppRuntime<R, E, A>(layer: Layer<A, E, R>): Effect.E
|
|
|
24
24
|
clean: Effect.Effect<void, never, never>;
|
|
25
25
|
}, E, R>;
|
|
26
26
|
export declare function initializeSync<E, A>(layer: Layer<A | ApiConfig | HttpClient.HttpClient, E, never>): {
|
|
27
|
-
runtime: Runtime.Runtime<
|
|
28
|
-
runPromise: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
27
|
+
runtime: Runtime.Runtime<HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A> & {
|
|
28
|
+
runPromise: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>, options?: {
|
|
29
29
|
readonly signal?: AbortSignal;
|
|
30
30
|
} | undefined) => Promise<A_1>;
|
|
31
|
-
runPromiseExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
31
|
+
runPromiseExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>, options?: {
|
|
32
32
|
readonly signal?: AbortSignal;
|
|
33
33
|
} | undefined) => Promise<Exit.Exit<A_1, E_1>>;
|
|
34
|
-
runSync: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
35
|
-
runSyncExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
36
|
-
runFork: <A_1, E_1>(self: Effect.Effect<A_1, E_1,
|
|
34
|
+
runSync: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>) => A_1;
|
|
35
|
+
runSyncExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>) => Exit.Exit<A_1, E_1>;
|
|
36
|
+
runFork: <A_1, E_1>(self: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>, options?: Runtime.RunForkOptions) => import("effect/Fiber").RuntimeFiber<A_1, E_1>;
|
|
37
37
|
};
|
|
38
38
|
clean: () => void;
|
|
39
39
|
};
|
|
40
40
|
export declare function initializeAsync<E, A>(layer: Layer<A | ApiConfig | HttpClient.HttpClient, E, never>): Promise<{
|
|
41
|
-
runtime: Runtime.Runtime<
|
|
42
|
-
runPromise: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
41
|
+
runtime: Runtime.Runtime<HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A> & {
|
|
42
|
+
runPromise: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>, options?: {
|
|
43
43
|
readonly signal?: AbortSignal;
|
|
44
44
|
} | undefined) => Promise<A_1>;
|
|
45
|
-
runPromiseExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
45
|
+
runPromiseExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>, options?: {
|
|
46
46
|
readonly signal?: AbortSignal;
|
|
47
47
|
} | undefined) => Promise<Exit.Exit<A_1, E_1>>;
|
|
48
|
-
runSync: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
49
|
-
runSyncExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1,
|
|
50
|
-
runFork: <A_1, E_1>(self: Effect.Effect<A_1, E_1,
|
|
48
|
+
runSync: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>) => A_1;
|
|
49
|
+
runSyncExit: <A_1, E_1>(effect: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>) => Exit.Exit<A_1, E_1>;
|
|
50
|
+
runFork: <A_1, E_1>(self: Effect.Effect<A_1, E_1, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, Scope.Scope> | ApiConfig | A>, options?: Runtime.RunForkOptions) => import("effect/Fiber").RuntimeFiber<A_1, E_1>;
|
|
51
51
|
};
|
|
52
52
|
clean: () => Promise<void>;
|
|
53
53
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/vue",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/effect-ts-app/libs/tree/main/packages/vue",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"@formatjs/intl": "^2.10.7",
|
|
9
9
|
"@tanstack/vue-query": "^5.59.9",
|
|
10
10
|
"query-string": "^9.1.1",
|
|
11
|
-
"@effect-app/vue": "1.20.
|
|
12
|
-
"
|
|
13
|
-
"@effect-app/core": "1.15.
|
|
14
|
-
"effect-app": "1.
|
|
11
|
+
"@effect-app/vue": "1.20.7",
|
|
12
|
+
"effect-app": "1.26.7",
|
|
13
|
+
"@effect-app/core": "1.15.7",
|
|
14
|
+
"@effect-app/schema": "1.17.7"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@effect/platform": "^0.68.2",
|