@effect-app/vue 0.131.0 → 0.134.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 +42 -0
- package/_cjs/query.cjs +2 -2
- package/_src/query.ts +7 -7
- package/dist/_global.d.ts +2 -0
- package/dist/form.d.ts +52 -0
- package/dist/hooks.d.ts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/query.d.ts +33 -0
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +2 -2
- package/dist/routeParams.d.ts +14 -0
- package/dist/runtime.d.ts +3 -3
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @effect-app/vue
|
|
2
2
|
|
|
3
|
+
## 0.134.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bs
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @effect-app/core@0.138.0
|
|
13
|
+
- @effect-app/fluent-extensions@0.132.0
|
|
14
|
+
- effect-app@0.162.0
|
|
15
|
+
- @effect-app/schema@0.190.0
|
|
16
|
+
- @effect-app/vue@0.134.0
|
|
17
|
+
|
|
18
|
+
## 0.133.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- 8794c23: bs
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [8794c23]
|
|
27
|
+
- effect-app@0.161.0
|
|
28
|
+
- @effect-app/vue@0.133.0
|
|
29
|
+
|
|
30
|
+
## 0.132.0
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- 797056c: update packages
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [797056c]
|
|
39
|
+
- @effect-app/fluent-extensions@0.131.0
|
|
40
|
+
- effect-app@0.160.0
|
|
41
|
+
- @effect-app/core@0.137.0
|
|
42
|
+
- @effect-app/vue@0.132.0
|
|
43
|
+
- @effect-app/schema@0.189.1
|
|
44
|
+
|
|
3
45
|
## 0.131.0
|
|
4
46
|
|
|
5
47
|
### Minor Changes
|
package/_cjs/query.cjs
CHANGED
|
@@ -19,7 +19,7 @@ q:
|
|
|
19
19
|
) => Effect<
|
|
20
20
|
FetchResponse<A>,
|
|
21
21
|
E,
|
|
22
|
-
ApiConfig | HttpClient.Default
|
|
22
|
+
ApiConfig | HttpClient.Client.Default
|
|
23
23
|
>
|
|
24
24
|
mapPath: (req: I) => string
|
|
25
25
|
name: string
|
|
@@ -28,7 +28,7 @@ q:
|
|
|
28
28
|
handler: Effect<
|
|
29
29
|
FetchResponse<A>,
|
|
30
30
|
E,
|
|
31
|
-
ApiConfig | HttpClient.Default
|
|
31
|
+
ApiConfig | HttpClient.Client.Default
|
|
32
32
|
>
|
|
33
33
|
mapPath: string
|
|
34
34
|
name: string
|
package/_src/query.ts
CHANGED
|
@@ -7,14 +7,14 @@ import { useQuery } from "@tanstack/vue-query"
|
|
|
7
7
|
import { Cause, Effect, Either, Option, Runtime } from "effect-app"
|
|
8
8
|
import { Done, Initial, isSuccess, Loading, Refreshing } from "effect-app/client"
|
|
9
9
|
import type { ApiConfig, FetchResponse, QueryResult } from "effect-app/client"
|
|
10
|
-
import type { HttpClient } from "effect-app/
|
|
10
|
+
import type { HttpClient } from "effect-app/http"
|
|
11
11
|
import { computed, ref } from "vue"
|
|
12
12
|
import type { ComputedRef, WatchSource } from "vue"
|
|
13
13
|
import { makeQueryKey, run } from "./internal.js"
|
|
14
14
|
|
|
15
15
|
export function useSafeQuery<E, A>(
|
|
16
16
|
self: {
|
|
17
|
-
handler: Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Default>
|
|
17
|
+
handler: Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Client.Default>
|
|
18
18
|
mapPath: string
|
|
19
19
|
name: string
|
|
20
20
|
},
|
|
@@ -26,7 +26,7 @@ export function useSafeQuery<E, A>(
|
|
|
26
26
|
]
|
|
27
27
|
export function useSafeQuery<Arg, E, A>(
|
|
28
28
|
self: {
|
|
29
|
-
handler: (arg: Arg) => Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Default>
|
|
29
|
+
handler: (arg: Arg) => Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Client.Default>
|
|
30
30
|
mapPath: (arg: Arg) => string
|
|
31
31
|
name: string
|
|
32
32
|
},
|
|
@@ -47,7 +47,7 @@ export function useSafeQuery(
|
|
|
47
47
|
) => Effect<
|
|
48
48
|
FetchResponse<A>,
|
|
49
49
|
E,
|
|
50
|
-
ApiConfig | HttpClient.Default
|
|
50
|
+
ApiConfig | HttpClient.Client.Default
|
|
51
51
|
>
|
|
52
52
|
mapPath: (req: I) => string
|
|
53
53
|
name: string
|
|
@@ -56,7 +56,7 @@ export function useSafeQuery(
|
|
|
56
56
|
handler: Effect<
|
|
57
57
|
FetchResponse<A>,
|
|
58
58
|
E,
|
|
59
|
-
ApiConfig | HttpClient.Default
|
|
59
|
+
ApiConfig | HttpClient.Client.Default
|
|
60
60
|
>
|
|
61
61
|
mapPath: string
|
|
62
62
|
name: string
|
|
@@ -82,7 +82,7 @@ export const useSafeQuery_ = <I, A, E>(
|
|
|
82
82
|
) => Effect<
|
|
83
83
|
FetchResponse<A>,
|
|
84
84
|
E,
|
|
85
|
-
ApiConfig | HttpClient.Default
|
|
85
|
+
ApiConfig | HttpClient.Client.Default
|
|
86
86
|
>
|
|
87
87
|
mapPath: (req: I) => string
|
|
88
88
|
name: string
|
|
@@ -91,7 +91,7 @@ export const useSafeQuery_ = <I, A, E>(
|
|
|
91
91
|
handler: Effect<
|
|
92
92
|
FetchResponse<A>,
|
|
93
93
|
E,
|
|
94
|
-
ApiConfig | HttpClient.Default
|
|
94
|
+
ApiConfig | HttpClient.Client.Default
|
|
95
95
|
>
|
|
96
96
|
mapPath: string
|
|
97
97
|
name: string
|
package/dist/form.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { S } from "effect-app";
|
|
2
|
+
import type { Schema } from "effect-app/schema";
|
|
3
|
+
import type { Ref } from "vue";
|
|
4
|
+
export declare function convertIn(v: string | null, type?: "text" | "float" | "int"): string;
|
|
5
|
+
export declare function convertOutInt(v: string, type?: "text" | "float" | "int"): string | number | null;
|
|
6
|
+
export declare function convertOut(v: string, set: (v: unknown | null) => void, type?: "text" | "float" | "int"): void;
|
|
7
|
+
export declare function buildFieldInfoFromFields<From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>>(fields: Schema<To, From, never>): { [K in keyof To]-?: FieldInfo<To[K]>; };
|
|
8
|
+
export interface FieldMetadata {
|
|
9
|
+
minLength: number | undefined;
|
|
10
|
+
maxLength: number | undefined;
|
|
11
|
+
required: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const f: unique symbol;
|
|
14
|
+
declare abstract class PhantomTypeParameter<Identifier extends keyof any, InstantiatedType> {
|
|
15
|
+
protected abstract readonly _: {
|
|
16
|
+
readonly [NameP in Identifier]: (_: InstantiatedType) => InstantiatedType;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface FieldInfo<Tout> extends PhantomTypeParameter<typeof f, {
|
|
20
|
+
out: Tout;
|
|
21
|
+
}> {
|
|
22
|
+
rules: ((v: string) => boolean | string)[];
|
|
23
|
+
metadata: FieldMetadata;
|
|
24
|
+
type: "text" | "float" | "int";
|
|
25
|
+
}
|
|
26
|
+
export declare const translate: Ref<{
|
|
27
|
+
(descriptor: import("@formatjs/intl").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | import("intl-messageformat").FormatXMLElementFn<string, string>> | undefined, opts?: import("intl-messageformat").Options | undefined): string;
|
|
28
|
+
<T extends unknown>(descriptor: import("@formatjs/intl").MessageDescriptor, values?: Record<string, import("intl-messageformat").PrimitiveType | T | import("intl-messageformat").FormatXMLElementFn<T>> | undefined, opts?: import("intl-messageformat").Options | undefined): string | T | (string | T)[];
|
|
29
|
+
}>;
|
|
30
|
+
export declare const customSchemaErrors: Ref<Map<S.AST.AST, (message: string, e: unknown, v: unknown) => string>>;
|
|
31
|
+
export declare const buildFormFromSchema: <From extends Record<PropertyKey, any>, To extends Record<PropertyKey, any>, OnSubmitA>(s: Schema<To, From, never>, state: Ref<From>, onSubmit: (a: To) => Promise<OnSubmitA>) => {
|
|
32
|
+
fields: { [K in keyof To]-?: FieldInfo<To[K]>; };
|
|
33
|
+
submit: <T extends Promise<{
|
|
34
|
+
valid: boolean;
|
|
35
|
+
}>>(e: T) => Promise<OnSubmitA | undefined>;
|
|
36
|
+
submitFromState: () => Promise<OnSubmitA | undefined>;
|
|
37
|
+
isDirty: Ref<boolean>;
|
|
38
|
+
isValid: Ref<boolean>;
|
|
39
|
+
};
|
|
40
|
+
export declare function getMetadataFromSchema(ast: S.AST.AST): {
|
|
41
|
+
type: "int" | "float" | "text";
|
|
42
|
+
minimum?: number;
|
|
43
|
+
maximum?: number;
|
|
44
|
+
exclusiveMinimum?: number;
|
|
45
|
+
exclusiveMaximum?: number;
|
|
46
|
+
minLength?: number;
|
|
47
|
+
maxLength?: number;
|
|
48
|
+
required: boolean;
|
|
49
|
+
description?: string;
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=form.d.ts.map
|
package/dist/hooks.d.ts
ADDED
package/dist/index.d.ts
ADDED
package/dist/query.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { QueryObserverOptions, QueryObserverResult, RefetchOptions } from "@tanstack/vue-query";
|
|
2
|
+
import { Effect } from "effect-app";
|
|
3
|
+
import type { ApiConfig, FetchResponse, QueryResult } from "effect-app/client";
|
|
4
|
+
import type { HttpClient } from "effect-app/http";
|
|
5
|
+
import type { ComputedRef, WatchSource } from "vue";
|
|
6
|
+
export declare function useSafeQuery<E, A>(self: {
|
|
7
|
+
handler: Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Client.Default>;
|
|
8
|
+
mapPath: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}, options?: QueryObserverOptions<any, any, any> | undefined): readonly [
|
|
11
|
+
ComputedRef<QueryResult<E, A>>,
|
|
12
|
+
ComputedRef<A | undefined>,
|
|
13
|
+
(options?: RefetchOptions | undefined) => Promise<QueryObserverResult<any, any>>
|
|
14
|
+
];
|
|
15
|
+
export declare function useSafeQuery<Arg, E, A>(self: {
|
|
16
|
+
handler: (arg: Arg) => Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Client.Default>;
|
|
17
|
+
mapPath: (arg: Arg) => string;
|
|
18
|
+
name: string;
|
|
19
|
+
}, arg: Arg | WatchSource<Arg>, options?: QueryObserverOptions<any, any, any> | undefined): readonly [
|
|
20
|
+
ComputedRef<QueryResult<E, A>>,
|
|
21
|
+
ComputedRef<A | undefined>,
|
|
22
|
+
(options?: RefetchOptions | undefined) => Promise<QueryObserverResult<any, any>>
|
|
23
|
+
];
|
|
24
|
+
export declare const useSafeQuery_: <I, A, E>(q: {
|
|
25
|
+
handler: (req: I) => Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Client.Default>;
|
|
26
|
+
mapPath: (req: I) => string;
|
|
27
|
+
name: string;
|
|
28
|
+
} | {
|
|
29
|
+
handler: Effect<FetchResponse<A>, E, ApiConfig | HttpClient.Client.Default>;
|
|
30
|
+
mapPath: string;
|
|
31
|
+
name: string;
|
|
32
|
+
}, arg?: I | WatchSource<I>, options?: QueryObserverOptions<any, any, any>) => readonly [ComputedRef<QueryResult<any, any>>, ComputedRef<any>, (options?: RefetchOptions | undefined) => Promise<QueryObserverResult<any, any>>];
|
|
33
|
+
//# sourceMappingURL=query.d.ts.map
|
package/dist/query.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../_src/query.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,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
|
15
|
+
ApiConfig | HttpClient.Client.Default
|
|
16
16
|
>
|
|
17
17
|
mapPath: (req: I) => string
|
|
18
18
|
name: string
|
|
@@ -21,7 +21,7 @@ q:
|
|
|
21
21
|
handler: Effect<
|
|
22
22
|
FetchResponse<A>,
|
|
23
23
|
E,
|
|
24
|
-
ApiConfig | HttpClient.Default
|
|
24
|
+
ApiConfig | HttpClient.Client.Default
|
|
25
25
|
>
|
|
26
26
|
mapPath: string
|
|
27
27
|
name: string
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Option, S } from "effect-app";
|
|
2
|
+
import type { REST, Schema } from "effect-app/schema";
|
|
3
|
+
import type { ParsedQuery } from "query-string";
|
|
4
|
+
export declare function getQueryParam(search: ParsedQuery, param: string): string | null | undefined;
|
|
5
|
+
export declare const getQueryParamO: (search: ParsedQuery, param: string) => Option.Option<string>;
|
|
6
|
+
export declare const parseOpt: <E, A>(t: REST.ReqRes<A, E, never>) => (u: unknown, overrideOptions?: S.AST.ParseOptions | undefined) => Option.None<A> | Option.Some<A>;
|
|
7
|
+
export declare const parseOptUnknown: <E, A>(t: REST.ReqRes<A, E, never>) => (u: unknown, overrideOptions?: S.AST.ParseOptions | undefined) => Option.None<A> | Option.Some<A>;
|
|
8
|
+
export declare function parseRouteParamsOption<NER extends Record<string, Schema<any, any, never>>>(query: Record<string, any>, t: NER): {
|
|
9
|
+
[K in keyof NER]: Option<Schema.To<NER[K]>>;
|
|
10
|
+
};
|
|
11
|
+
export declare function parseRouteParams<NER extends Record<string, Schema<any, any, never>>>(query: Record<string, any>, t: NER): {
|
|
12
|
+
[K in keyof NER]: Schema.To<NER[K]>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=routeParams.d.ts.map
|
package/dist/runtime.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare function makeAppRuntime<R, E, A>(layer: Layer<A, E, R>): Effect.E
|
|
|
14
14
|
runPromiseExit: <A_2, E_2>(effect: Effect.Effect<A_2, E_2, A>) => Promise<Exit.Exit<A_2, E_2>>;
|
|
15
15
|
runSync: <A_3, E_3>(effect: Effect.Effect<A_3, E_3, A>) => A_3;
|
|
16
16
|
runSyncExit: <A_4, E_4>(effect: Effect.Effect<A_4, E_4, A>) => Exit.Exit<A_4, E_4>;
|
|
17
|
-
runFork: <
|
|
17
|
+
runFork: <A_5, E_5>(self: Effect.Effect<A_5, E_5, A>, options?: Runtime.RunForkOptions | undefined) => import("effect/Fiber").RuntimeFiber<A_5, E_5>;
|
|
18
18
|
};
|
|
19
19
|
clean: Effect.Effect<void, never, never>;
|
|
20
20
|
}, E, R>;
|
|
@@ -24,7 +24,7 @@ export declare function initializeSync<E, A>(layer: Layer<A | ApiConfig | HttpCl
|
|
|
24
24
|
runPromiseExit: <A_2, E_2>(effect: Effect.Effect<A_2, E_2, HttpClient.Client.Default | ApiConfig | A>) => Promise<Exit.Exit<A_2, E_2>>;
|
|
25
25
|
runSync: <A_3, E_3>(effect: Effect.Effect<A_3, E_3, HttpClient.Client.Default | ApiConfig | A>) => A_3;
|
|
26
26
|
runSyncExit: <A_4, E_4>(effect: Effect.Effect<A_4, E_4, HttpClient.Client.Default | ApiConfig | A>) => Exit.Exit<A_4, E_4>;
|
|
27
|
-
runFork: <
|
|
27
|
+
runFork: <A_5, E_5>(self: Effect.Effect<A_5, E_5, HttpClient.Client.Default | ApiConfig | A>, options?: Runtime.RunForkOptions | undefined) => import("effect/Fiber").RuntimeFiber<A_5, E_5>;
|
|
28
28
|
};
|
|
29
29
|
clean: () => void;
|
|
30
30
|
};
|
|
@@ -34,7 +34,7 @@ export declare function initializeAsync<E, A>(layer: Layer<A | ApiConfig | HttpC
|
|
|
34
34
|
runPromiseExit: <A_2, E_2>(effect: Effect.Effect<A_2, E_2, HttpClient.Client.Default | ApiConfig | A>) => Promise<Exit.Exit<A_2, E_2>>;
|
|
35
35
|
runSync: <A_3, E_3>(effect: Effect.Effect<A_3, E_3, HttpClient.Client.Default | ApiConfig | A>) => A_3;
|
|
36
36
|
runSyncExit: <A_4, E_4>(effect: Effect.Effect<A_4, E_4, HttpClient.Client.Default | ApiConfig | A>) => Exit.Exit<A_4, E_4>;
|
|
37
|
-
runFork: <
|
|
37
|
+
runFork: <A_5, E_5>(self: Effect.Effect<A_5, E_5, HttpClient.Client.Default | ApiConfig | A>, options?: Runtime.RunForkOptions | undefined) => import("effect/Fiber").RuntimeFiber<A_5, E_5>;
|
|
38
38
|
};
|
|
39
39
|
clean: () => Promise<void>;
|
|
40
40
|
}>;
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.134.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/effect-ts-app/libs/tree/main/packages/vue",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@effect/platform": "^0.
|
|
9
|
-
"@effect/platform-browser": "^0.
|
|
8
|
+
"@effect/platform": "^0.45.1",
|
|
9
|
+
"@effect/platform-browser": "^0.30.1",
|
|
10
10
|
"@effect/schema": "^0.62.6",
|
|
11
11
|
"@formatjs/intl": "^2.10.0",
|
|
12
12
|
"@tanstack/vue-query": "^5.20.5",
|
|
13
13
|
"effect": "^2.3.5",
|
|
14
14
|
"query-string": "^8.2.0",
|
|
15
15
|
"vue": "^3.4.19",
|
|
16
|
-
"@effect-app/core": "0.
|
|
17
|
-
"@effect-app/fluent-extensions": "0.
|
|
18
|
-
"@effect-app/vue": "0.
|
|
19
|
-
"@effect-app/schema": "0.
|
|
20
|
-
"effect-app": "0.
|
|
16
|
+
"@effect-app/core": "0.138.0",
|
|
17
|
+
"@effect-app/fluent-extensions": "0.132.0",
|
|
18
|
+
"@effect-app/vue": "0.134.0",
|
|
19
|
+
"@effect-app/schema": "0.190.0",
|
|
20
|
+
"effect-app": "0.162.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@babel/cli": "^7.23.9",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"typescript": "npm:@effect-app/typescript@5.4.0-tsplus.20240124",
|
|
29
29
|
"vite": "^5.1.1",
|
|
30
30
|
"vitest": "^1.2.2",
|
|
31
|
-
"@effect-app/compiler": "0.
|
|
31
|
+
"@effect-app/compiler": "0.63.0"
|
|
32
32
|
},
|
|
33
33
|
"typesVersions": {
|
|
34
34
|
"*": {
|