@supatype/vue 0.3.6 → 0.8.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +17 -0
- package/.turbo/turbo-typecheck.log +2 -2
- package/LICENSE +1 -1
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +2 -1
- package/dist/context.js.map +1 -1
- package/dist/useAuth.d.ts +9 -1
- package/dist/useAuth.d.ts.map +1 -1
- package/dist/useAuth.js +7 -10
- package/dist/useAuth.js.map +1 -1
- package/dist/useFunction.d.ts.map +1 -1
- package/dist/useFunction.js +17 -10
- package/dist/useFunction.js.map +1 -1
- package/dist/useMutation.d.ts +2 -1
- package/dist/useMutation.d.ts.map +1 -1
- package/dist/useMutation.js +3 -27
- package/dist/useMutation.js.map +1 -1
- package/dist/useQuery.d.ts.map +1 -1
- package/dist/useQuery.js +7 -4
- package/dist/useQuery.js.map +1 -1
- package/dist/useSubscription.d.ts +7 -5
- package/dist/useSubscription.d.ts.map +1 -1
- package/dist/useSubscription.js +15 -44
- package/dist/useSubscription.js.map +1 -1
- package/package.json +7 -4
- package/src/context.ts +3 -2
- package/src/useAuth.ts +16 -12
- package/src/useFunction.ts +15 -10
- package/src/useMutation.ts +5 -27
- package/src/useQuery.ts +9 -6
- package/src/useSubscription.ts +20 -56
- package/tests/tsconfig.json +9 -0
- package/tests/useAuth-oauth.test.ts +36 -0
- package/tests/useAuth-signup.test.ts +35 -0
- package/tests/useSubscription-status.test.ts +39 -0
- package/tsconfig.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
> @supatype/vue@0.8.0 test /home/runner/work/supatype/supatype/packages/vue
|
|
3
|
+
> vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[1m[46m RUN [49m[22m [36mv4.0.18 [39m[90m/home/runner/work/supatype/supatype/packages/vue[39m
|
|
7
|
+
|
|
8
|
+
[32m✓[39m tests/useAuth-oauth.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 109[2mms[22m[39m
|
|
9
|
+
[32m✓[39m tests/useAuth-signup.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 99[2mms[22m[39m
|
|
10
|
+
[32m✓[39m tests/useSubscription-status.test.ts [2m([22m[2m2 tests[22m[2m)[22m[33m 491[2mms[22m[39m
|
|
11
|
+
[33m[2m✓[22m[39m reads connecting from the swap until the new socket acknowledges the join [33m 415[2mms[22m[39m
|
|
12
|
+
|
|
13
|
+
[2m Test Files [22m [1m[32m3 passed[39m[22m[90m (3)[39m
|
|
14
|
+
[2m Tests [22m [1m[32m7 passed[39m[22m[90m (7)[39m
|
|
15
|
+
[2m Start at [22m 21:33:35
|
|
16
|
+
[2m Duration [22m 6.31s[2m (transform 6.37s, setup 0ms, import 11.17s, tests 699ms, environment 1ms)[22m
|
|
17
|
+
|
package/LICENSE
CHANGED
package/dist/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,KAAK,CAAA;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,MAAM,EAAE,MAAM,KAAK,CAAA;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAGjG,uGAAuG;AACvG,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,SAAS,CAAsB,CAAA;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,CAAC,SAAS,CAAC,CAI9C,CAAA;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,SAAS,SAAS,WAAW,GAAG,iBAAiB,KAAK,cAAc,CAAC,SAAS,CAAC,CAM1G"}
|
package/dist/context.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
15
|
import { inject } from "vue";
|
|
16
|
+
import { isClientFor } from "@supatype/client/bindings";
|
|
16
17
|
/** Typed at `AnyClient`, narrowed on read. See `AnyClient` for why it is neither generic nor `any`. */
|
|
17
18
|
export const SUPATYPE_KEY = Symbol("supatype");
|
|
18
19
|
/**
|
|
@@ -33,7 +34,7 @@ export const supatypePlugin = {
|
|
|
33
34
|
*/
|
|
34
35
|
export function useSupatype() {
|
|
35
36
|
const client = inject(SUPATYPE_KEY);
|
|
36
|
-
if (!client) {
|
|
37
|
+
if (!client || !isClientFor(client)) {
|
|
37
38
|
throw new Error("useSupatype() requires the supatypePlugin to be installed on the Vue app.");
|
|
38
39
|
}
|
|
39
40
|
return client;
|
package/dist/context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,MAAM,EAAkC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,MAAM,EAAkC,MAAM,KAAK,CAAA;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAEvD,uGAAuG;AACvG,MAAM,CAAC,MAAM,YAAY,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAA;AAEvE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD,OAAO,CAAC,GAAG,EAAE,MAAM;QACjB,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;IACnC,CAAC;CACF,CAAA;AAED;;;GAGG;AACH,MAAM,UAAU,WAAW;IACzB,MAAM,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC,CAAA;IACnC,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,CAAY,MAAM,CAAC,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CAAC,2EAA2E,CAAC,CAAA;IAC9F,CAAC;IACD,OAAO,MAAM,CAAA;AACf,CAAC"}
|
package/dist/useAuth.d.ts
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
-
import type { AugmentedDatabase, AnyDatabase, SupatypeError, User, Session } from "@supatype/client";
|
|
2
|
+
import type { AugmentedDatabase, AnyDatabase, AuthRedirectError, SupatypeError, User, Session } from "@supatype/client";
|
|
3
3
|
export interface UseAuthReturn {
|
|
4
4
|
user: Ref<User | null>;
|
|
5
5
|
session: Ref<Session | null>;
|
|
6
6
|
loading: Ref<boolean>;
|
|
7
|
+
/** The sign-in the auth server refused and reported in the page's URL, or null. */
|
|
8
|
+
error: Ref<AuthRedirectError | null>;
|
|
7
9
|
signIn: (email: string, password: string) => Promise<{
|
|
8
10
|
error: SupatypeError | null;
|
|
9
11
|
}>;
|
|
12
|
+
/** A null `data.session` with a user means the project wants the email confirmed first. */
|
|
10
13
|
signUp: (email: string, password: string) => Promise<{
|
|
14
|
+
data: {
|
|
15
|
+
session: Session | null;
|
|
16
|
+
user: User | null;
|
|
17
|
+
};
|
|
11
18
|
error: SupatypeError | null;
|
|
12
19
|
}>;
|
|
13
20
|
signOut: () => Promise<{
|
|
14
21
|
error: SupatypeError | null;
|
|
15
22
|
}>;
|
|
23
|
+
/** Send the browser to the provider; a refusal (provider not enabled) is returned instead. */
|
|
16
24
|
signInWithOAuth: (provider: string) => Promise<{
|
|
17
25
|
error: SupatypeError | null;
|
|
18
26
|
}>;
|
package/dist/useAuth.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../src/useAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAmB,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../src/useAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAmB,MAAM,kBAAkB,CAAA;AAIxI,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAA;IACtB,OAAO,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,CAAA;IAC5B,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,mFAAmF;IACnF,KAAK,EAAE,GAAG,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAA;IACpC,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IACrF,2FAA2F;IAC3F,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;QACnD,IAAI,EAAE;YAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;YAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAA;SAAE,CAAA;QACpD,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAC5B,CAAC,CAAA;IACF,OAAO,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IACvD,8FAA8F;IAC9F,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IAC/E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;CAC3E;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,OAAO,CAAC,SAAS,SAAS,WAAW,GAAG,iBAAiB,KAAK,aAAa,CAuD1F"}
|
package/dist/useAuth.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ref, onMounted, onUnmounted } from "vue";
|
|
2
|
+
import { startOAuthRedirect } from "@supatype/client/bindings";
|
|
2
3
|
import { useSupatype } from "./context.js";
|
|
3
4
|
/**
|
|
4
5
|
* Authentication composable for Supatype.
|
|
@@ -26,10 +27,12 @@ export function useAuth() {
|
|
|
26
27
|
const user = ref(null);
|
|
27
28
|
const session = ref(null);
|
|
28
29
|
const loading = ref(true);
|
|
30
|
+
const error = ref(null);
|
|
29
31
|
let unsubscribe = null;
|
|
30
32
|
onMounted(async () => {
|
|
31
|
-
//
|
|
33
|
+
// Initial session, once the client has finished any sign-in the page's URL carries
|
|
32
34
|
try {
|
|
35
|
+
error.value = (await client.auth.initialize()).error;
|
|
33
36
|
const { data } = await client.auth.getSession();
|
|
34
37
|
if (data.session) {
|
|
35
38
|
session.value = data.session;
|
|
@@ -54,22 +57,16 @@ export function useAuth() {
|
|
|
54
57
|
const { error } = await client.auth.signInWithPassword({ email, password });
|
|
55
58
|
return { error };
|
|
56
59
|
};
|
|
57
|
-
const signUp =
|
|
58
|
-
const { error } = await client.auth.signUp({ email, password });
|
|
59
|
-
return { error };
|
|
60
|
-
};
|
|
60
|
+
const signUp = (email, password) => client.auth.signUp({ email, password });
|
|
61
61
|
const signOut = async () => {
|
|
62
62
|
const { error } = await client.auth.signOut();
|
|
63
63
|
return { error };
|
|
64
64
|
};
|
|
65
|
-
const signInWithOAuth =
|
|
66
|
-
const { error } = await client.auth.signInWithOAuth({ provider });
|
|
67
|
-
return { error };
|
|
68
|
-
};
|
|
65
|
+
const signInWithOAuth = (provider) => startOAuthRedirect(client.auth, provider);
|
|
69
66
|
const resetPassword = async (email) => {
|
|
70
67
|
const { error } = await client.auth.resetPasswordForEmail(email);
|
|
71
68
|
return { error };
|
|
72
69
|
};
|
|
73
|
-
return { user, session, loading, signIn, signUp, signOut, signInWithOAuth, resetPassword };
|
|
70
|
+
return { user, session, loading, error, signIn, signUp, signOut, signInWithOAuth, resetPassword };
|
|
74
71
|
}
|
|
75
72
|
//# sourceMappingURL=useAuth.js.map
|
package/dist/useAuth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAuth.js","sourceRoot":"","sources":["../src/useAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAY,MAAM,KAAK,CAAA;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"useAuth.js","sourceRoot":"","sources":["../src/useAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAY,MAAM,KAAK,CAAA;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAoB1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,OAAO;IACrB,MAAM,MAAM,GAAG,WAAW,EAAa,CAAA;IACvC,MAAM,IAAI,GAAG,GAAG,CAAc,IAAI,CAAqB,CAAA;IACvD,MAAM,OAAO,GAAG,GAAG,CAAiB,IAAI,CAAwB,CAAA;IAChE,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,CAAA;IACzB,MAAM,KAAK,GAAG,GAAG,CAA2B,IAAI,CAAkC,CAAA;IAElF,IAAI,WAAW,GAAwB,IAAI,CAAA;IAE3C,SAAS,CAAC,KAAK,IAAI,EAAE;QACnB,mFAAmF;QACnF,IAAI,CAAC;YACH,KAAK,CAAC,KAAK,GAAG,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAA;YACpD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAA;YAC/C,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBACjB,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAA;gBAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAA;YAChC,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,oCAAoC;QACtC,CAAC;QACD,OAAO,CAAC,KAAK,GAAG,KAAK,CAAA;QAErB,4BAA4B;QAC5B,MAAM,EAAE,IAAI,EAAE,EAAE,YAAY,EAAE,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,KAAsB,EAAE,UAA0B,EAAE,EAAE;YACtH,OAAO,CAAC,KAAK,GAAG,UAAU,CAAA;YAC1B,IAAI,CAAC,KAAK,GAAG,UAAU,EAAE,IAAI,IAAI,IAAI,CAAA;QACvC,CAAC,CAAC,CAAA;QACF,WAAW,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,WAAW,EAAE,CAAA;IAChD,CAAC,CAAC,CAAA;IAEF,WAAW,CAAC,GAAG,EAAE;QACf,WAAW,EAAE,EAAE,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,MAAM,MAAM,GAAG,KAAK,EAAE,KAAa,EAAE,QAAgB,EAAE,EAAE;QACvD,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAA;QAC3E,OAAO,EAAE,KAAK,EAAE,CAAA;IAClB,CAAC,CAAA;IAED,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,QAAgB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAA;IAE3F,MAAM,OAAO,GAAG,KAAK,IAAI,EAAE;QACzB,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAA;QAC7C,OAAO,EAAE,KAAK,EAAE,CAAA;IAClB,CAAC,CAAA;IAED,MAAM,eAAe,GAAG,CAAC,QAAgB,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;IAEvF,MAAM,aAAa,GAAG,KAAK,EAAE,KAAa,EAAE,EAAE;QAC5C,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAA;QAChE,OAAO,EAAE,KAAK,EAAE,CAAA;IAClB,CAAC,CAAA;IAED,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,CAAA;AACnG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFunction.d.ts","sourceRoot":"","sources":["../src/useFunction.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useFunction.d.ts","sourceRoot":"","sources":["../src/useFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAIrF,MAAM,WAAW,iBAAiB,CAAC,SAAS;IAC1C,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IAC5F,IAAI,EAAE,GAAG,CAAC,SAAS,GAAG,IAAI,CAAC,CAAA;IAC3B,KAAK,EAAE,GAAG,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IAChC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CACzB,SAAS,GAAG,OAAO,EACnB,SAAS,SAAS,WAAW,GAAG,iBAAiB,EAEjD,YAAY,EAAE,MAAM,GACnB,iBAAiB,CAAC,SAAS,CAAC,CAyB9B"}
|
package/dist/useFunction.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ref } from "vue";
|
|
1
|
+
import { ref, shallowRef } from "vue";
|
|
2
2
|
import { useSupatype } from "./context.js";
|
|
3
|
+
import { isCallerValue } from "@supatype/client/bindings";
|
|
3
4
|
/**
|
|
4
5
|
* Edge function invocation composable.
|
|
5
6
|
*
|
|
@@ -18,20 +19,26 @@ import { useSupatype } from "./context.js";
|
|
|
18
19
|
*/
|
|
19
20
|
export function useFunction(functionName) {
|
|
20
21
|
const client = useSupatype();
|
|
21
|
-
|
|
22
|
+
// Shallow: an answer is replaced whole, and `ref` would type it as `UnwrapRef<TResponse>`.
|
|
23
|
+
const data = shallowRef(null);
|
|
22
24
|
const error = ref(null);
|
|
23
25
|
const loading = ref(false);
|
|
24
26
|
const invoke = async (body) => {
|
|
25
27
|
loading.value = true;
|
|
26
28
|
error.value = null;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
try {
|
|
30
|
+
const result = await client.functions.invoke(functionName, {
|
|
31
|
+
...(body !== undefined ? { body } : {}),
|
|
32
|
+
});
|
|
33
|
+
const answer = { data: isCallerValue(result.data) ? result.data : null, error: result.error };
|
|
34
|
+
data.value = answer.data;
|
|
35
|
+
if (answer.error)
|
|
36
|
+
error.value = answer.error;
|
|
37
|
+
return answer;
|
|
38
|
+
}
|
|
39
|
+
finally {
|
|
40
|
+
loading.value = false;
|
|
41
|
+
}
|
|
35
42
|
};
|
|
36
43
|
return { invoke, data, error, loading };
|
|
37
44
|
}
|
package/dist/useFunction.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFunction.js","sourceRoot":"","sources":["../src/useFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"useFunction.js","sourceRoot":"","sources":["../src/useFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAY,MAAM,KAAK,CAAA;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AASzD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,WAAW,CAIzB,YAAoB;IAEpB,MAAM,MAAM,GAAG,WAAW,EAAa,CAAA;IACvC,2FAA2F;IAC3F,MAAM,IAAI,GAAG,UAAU,CAAmB,IAAI,CAAC,CAAA;IAC/C,MAAM,KAAK,GAAG,GAAG,CAAuB,IAAI,CAAC,CAAA;IAC7C,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,CAAA;IAE1B,MAAM,MAAM,GAAG,KAAK,EAAE,IAAc,EAAE,EAAE;QACtC,OAAO,CAAC,KAAK,GAAG,IAAI,CAAA;QACpB,KAAK,CAAC,KAAK,GAAG,IAAI,CAAA;QAElB,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE;gBACzD,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aACxC,CAAC,CAAA;YACF,MAAM,MAAM,GAAG,EAAE,IAAI,EAAE,aAAa,CAAY,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,CAAA;YACxG,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,IAAI,CAAA;YACxB,IAAI,MAAM,CAAC,KAAK;gBAAE,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;YAC5C,OAAO,MAAM,CAAA;QACf,CAAC;gBAAS,CAAC;YACT,OAAO,CAAC,KAAK,GAAG,KAAK,CAAA;QACvB,CAAC;IACH,CAAC,CAAA;IAED,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAA;AACzC,CAAC"}
|
package/dist/useMutation.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
2
|
import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client";
|
|
3
|
-
|
|
3
|
+
import { type MutationOperation } from "@supatype/client/bindings";
|
|
4
|
+
export type { MutationOperation };
|
|
4
5
|
export interface MutationOptions {
|
|
5
6
|
filter?: Record<string, unknown> | undefined;
|
|
6
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMutation.d.ts","sourceRoot":"","sources":["../src/useMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"useMutation.d.ts","sourceRoot":"","sources":["../src/useMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,iBAAiB,EAAa,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAEhG,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAE/E,YAAY,EAAE,iBAAiB,EAAE,CAAA;AAEjC,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;CAC7C;AAED,MAAM,WAAW,iBAAiB,CAAC,IAAI;IACrC,MAAM,EAAE,CACN,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS,EACtE,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,KAClC,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IAClE,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,KAAK,EAAE,GAAG,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;CACjC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CACzB,SAAS,SAAS,WAAW,GAAG,iBAAiB,EACjD,MAAM,SAAS,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,EAC1G,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAEnD,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,iBAAiB,GAC3B,iBAAiB,CAAC,IAAI,CAAC,CA4BzB"}
|
package/dist/useMutation.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ref } from "vue";
|
|
2
2
|
import { useSupatype } from "./context.js";
|
|
3
|
+
import { runMutation } from "@supatype/client/bindings";
|
|
3
4
|
/**
|
|
4
5
|
* Mutation composable for insert, update, delete, and upsert operations.
|
|
5
6
|
*
|
|
@@ -24,33 +25,8 @@ export function useMutation(table, operation) {
|
|
|
24
25
|
loading.value = true;
|
|
25
26
|
error.value = null;
|
|
26
27
|
try {
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
let result;
|
|
30
|
-
if (operation === "insert") {
|
|
31
|
-
result = await tableClient.insert(data);
|
|
32
|
-
}
|
|
33
|
-
else if (operation === "upsert") {
|
|
34
|
-
result = await tableClient.upsert(data);
|
|
35
|
-
}
|
|
36
|
-
else if (operation === "update") {
|
|
37
|
-
let q = tableClient.update(data);
|
|
38
|
-
if (options?.filter) {
|
|
39
|
-
for (const [col, val] of Object.entries(options.filter)) {
|
|
40
|
-
q = q.eq(col, val);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
result = await q;
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
let q = tableClient.delete();
|
|
47
|
-
if (options?.filter) {
|
|
48
|
-
for (const [col, val] of Object.entries(options.filter)) {
|
|
49
|
-
q = q.eq(col, val);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
result = await q;
|
|
53
|
-
}
|
|
28
|
+
const outcome = await runMutation(client, table, operation, data, options?.filter);
|
|
29
|
+
const result = { data: outcome.data, error: outcome.error };
|
|
54
30
|
if (result.error)
|
|
55
31
|
error.value = result.error;
|
|
56
32
|
return result;
|
package/dist/useMutation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMutation.js","sourceRoot":"","sources":["../src/useMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,MAAM,KAAK,CAAA;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"useMutation.js","sourceRoot":"","sources":["../src/useMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAY,MAAM,KAAK,CAAA;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,WAAW,EAA0B,MAAM,2BAA2B,CAAA;AAiB/E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,WAAW,CAKzB,KAAa,EACb,SAA4B;IAE5B,MAAM,MAAM,GAAG,WAAW,EAAa,CAAA;IACvC,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,CAAA;IAC1B,MAAM,KAAK,GAAG,GAAG,CAAuB,IAAI,CAAC,CAAA;IAE7C,MAAM,MAAM,GAAG,KAAK,EAClB,IAAsE,EACtE,OAAqC,EACrC,EAAE;QACF,OAAO,CAAC,KAAK,GAAG,IAAI,CAAA;QACpB,KAAK,CAAC,KAAK,GAAG,IAAI,CAAA;QAElB,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,MAAM,WAAW,CAAO,MAAmB,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;YACrG,MAAM,MAAM,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAA;YAE3D,IAAI,MAAM,CAAC,KAAK;gBAAE,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;YAC5C,OAAO,MAAM,CAAA;QACf,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,GAAG,GAAG,EAAE,OAAO,EAAE,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;YACzE,KAAK,CAAC,KAAK,GAAG,GAAG,CAAA;YACjB,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,CAAA;QACnC,CAAC;gBAAS,CAAC;YACT,OAAO,CAAC,KAAK,GAAG,KAAK,CAAA;QACvB,CAAC;IACH,CAAC,CAAA;IAED,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA;AACnC,CAAC"}
|
package/dist/useQuery.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useQuery.d.ts","sourceRoot":"","sources":["../src/useQuery.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useQuery.d.ts","sourceRoot":"","sources":["../src/useQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9E,OAAO,KAAK,EAAE,iBAAiB,EAAa,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAKhG,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;IAC5C,KAAK,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS,CAAA;IAC3D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,OAAO,GAAG,SAAS,CAAA;CAC7C;AAED,MAAM,WAAW,cAAc,CAAC,IAAI;IAClC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAA;IACxB,KAAK,EAAE,GAAG,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IAChC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,QAAQ,CACtB,SAAS,SAAS,WAAW,GAAG,iBAAiB,EACjD,MAAM,SAAS,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,EAC1G,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAEnD,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,GACpC,cAAc,CAAC,IAAI,CAAC,CAqEtB"}
|
package/dist/useQuery.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ref, onMounted, onUnmounted, watch } from "vue";
|
|
1
|
+
import { ref, shallowRef, onMounted, onUnmounted, watch } from "vue";
|
|
2
2
|
import { onIdentityChange } from "@supatype/client";
|
|
3
3
|
import { useSupatype } from "./context.js";
|
|
4
|
+
import { isRowsOf } from "@supatype/client/bindings";
|
|
4
5
|
/**
|
|
5
6
|
* Reactive data fetching composable for Supatype tables.
|
|
6
7
|
*
|
|
@@ -18,7 +19,8 @@ import { useSupatype } from "./context.js";
|
|
|
18
19
|
*/
|
|
19
20
|
export function useQuery(table, options) {
|
|
20
21
|
const client = useSupatype();
|
|
21
|
-
|
|
22
|
+
// Shallow: each fetch replaces the rows whole, and `ref` would type them as `UnwrapRef<TRow>`.
|
|
23
|
+
const data = shallowRef(null);
|
|
22
24
|
const error = ref(null);
|
|
23
25
|
const loading = ref(false);
|
|
24
26
|
const fetchData = async () => {
|
|
@@ -32,7 +34,8 @@ export function useQuery(table, options) {
|
|
|
32
34
|
loading.value = true;
|
|
33
35
|
error.value = null;
|
|
34
36
|
try {
|
|
35
|
-
//
|
|
37
|
+
// Through the untyped client: the generated row types do not survive a table name known
|
|
38
|
+
// only at run time, so the rows are typed as `TRow` once they arrive.
|
|
36
39
|
let query = client.from(table).select(options?.columns);
|
|
37
40
|
if (options?.filter) {
|
|
38
41
|
for (const [col, val] of Object.entries(options.filter)) {
|
|
@@ -51,7 +54,7 @@ export function useQuery(table, options) {
|
|
|
51
54
|
query = query.range(options.offset, options.offset + (options.limit ?? 100) - 1);
|
|
52
55
|
}
|
|
53
56
|
const result = await query;
|
|
54
|
-
data.value = result.data;
|
|
57
|
+
data.value = isRowsOf(result.data) ? result.data : null;
|
|
55
58
|
if (result.error) {
|
|
56
59
|
error.value = result.error;
|
|
57
60
|
}
|
package/dist/useQuery.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useQuery.js","sourceRoot":"","sources":["../src/useQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAY,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"useQuery.js","sourceRoot":"","sources":["../src/useQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAY,MAAM,KAAK,CAAA;AAE9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAkBpD;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,QAAQ,CAKtB,KAAa,EACb,OAAqC;IAErC,MAAM,MAAM,GAAG,WAAW,EAAa,CAAA;IACvC,+FAA+F;IAC/F,MAAM,IAAI,GAAG,UAAU,CAAgB,IAAI,CAAC,CAAA;IAC5C,MAAM,KAAK,GAAG,GAAG,CAAuB,IAAI,CAAC,CAAA;IAC7C,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,CAAA;IAE1B,MAAM,SAAS,GAAG,KAAK,IAAI,EAAE;QAC3B,gBAAgB;QAChB,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,CAAA;QAChC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,MAAM,SAAS,GAAG,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAA;YACxE,IAAI,CAAC,SAAS;gBAAE,OAAM;QACxB,CAAC;QAED,OAAO,CAAC,KAAK,GAAG,IAAI,CAAA;QACpB,KAAK,CAAC,KAAK,GAAG,IAAI,CAAA;QAElB,IAAI,CAAC;YACH,wFAAwF;YACxF,sEAAsE;YACtE,IAAI,KAAK,GAAI,MAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;YAEtE,IAAI,OAAO,EAAE,MAAM,EAAE,CAAC;gBACpB,KAAK,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;oBACxD,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;gBAC5B,CAAC;YACH,CAAC;YAED,IAAI,OAAO,EAAE,KAAK,EAAE,CAAC;gBACnB,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE;oBACxC,SAAS,EAAE,OAAO,CAAC,KAAK,CAAC,SAAS,IAAI,IAAI;iBAC3C,CAAC,CAAA;YACJ,CAAC;YAED,IAAI,OAAO,EAAE,KAAK,KAAK,SAAS,EAAE,CAAC;gBACjC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;YACpC,CAAC;YAED,IAAI,OAAO,EAAE,MAAM,KAAK,SAAS,EAAE,CAAC;gBAClC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;YAClF,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,KAAK,CAAA;YAC1B,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;YAC7D,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;gBACjB,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;YAC5B,CAAC;QACH,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,KAAK,CAAC,KAAK,GAAG,EAAE,OAAO,EAAE,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE,CAAA;QAC7E,CAAC;gBAAS,CAAC;YACT,OAAO,CAAC,KAAK,GAAG,KAAK,CAAA;QACvB,CAAC;IACH,CAAC,CAAA;IAED,SAAS,CAAC,SAAS,CAAC,CAAA;IAEpB,8FAA8F;IAC9F,oDAAoD;IACpD,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,KAAK,SAAS,EAAE,CAAC,CAAC,CAAA;IAElE,gCAAgC;IAChC,IAAI,OAAO,EAAE,OAAO,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAC7D,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;YAChC,IAAI,MAAM;gBAAE,SAAS,EAAE,CAAA;QACzB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,CAAA;AACrD,CAAC"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
2
|
import type { AugmentedDatabase, AnyDatabase, SupatypeError, RealtimeEvent } from "@supatype/client";
|
|
3
|
+
import { type SubscriptionState, type TableWatchOptions } from "@supatype/client/bindings";
|
|
3
4
|
export type SubscriptionEvent = RealtimeEvent;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
filter?: string | undefined;
|
|
7
|
-
}
|
|
5
|
+
/** Which changes to receive. The same options `watchTable` takes, since they go straight to it. */
|
|
6
|
+
export type UseSubscriptionOptions = TableWatchOptions;
|
|
8
7
|
export interface UseSubscriptionReturn<TRow> {
|
|
9
8
|
data: Ref<TRow[] | null>;
|
|
10
9
|
error: Ref<SupatypeError | null>;
|
|
11
|
-
status: Ref<
|
|
10
|
+
status: Ref<SubscriptionState>;
|
|
12
11
|
}
|
|
13
12
|
/**
|
|
14
13
|
* Real-time subscription composable.
|
|
15
14
|
*
|
|
15
|
+
* The channel, the status and the row merge are `watchTable`'s, shared with the Svelte and Solid
|
|
16
|
+
* bindings; this only puts what it reports into refs.
|
|
17
|
+
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```vue
|
|
18
20
|
* <script setup>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSubscription.d.ts","sourceRoot":"","sources":["../src/useSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useSubscription.d.ts","sourceRoot":"","sources":["../src/useSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AACpG,OAAO,EAAc,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAGtG,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAA;AAE7C,mGAAmG;AACnG,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAA;AAEtD,MAAM,WAAW,qBAAqB,CAAC,IAAI;IACzC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAA;IACxB,KAAK,EAAE,GAAG,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IAChC,MAAM,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;CAC/B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAC7B,SAAS,SAAS,WAAW,GAAG,iBAAiB,EACjD,MAAM,SAAS,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,EAC1G,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAEnD,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,sBAAsB,GAAG,SAAS,GAC3C,qBAAqB,CAAC,IAAI,CAAC,CA0B7B"}
|
package/dist/useSubscription.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { ref, onMounted, onUnmounted } from "vue";
|
|
1
|
+
import { ref, shallowRef, onMounted, onUnmounted } from "vue";
|
|
2
|
+
import { watchTable } from "@supatype/client/bindings";
|
|
2
3
|
import { useSupatype } from "./context.js";
|
|
3
4
|
/**
|
|
4
5
|
* Real-time subscription composable.
|
|
5
6
|
*
|
|
7
|
+
* The channel, the status and the row merge are `watchTable`'s, shared with the Svelte and Solid
|
|
8
|
+
* bindings; this only puts what it reports into refs.
|
|
9
|
+
*
|
|
6
10
|
* @example
|
|
7
11
|
* ```vue
|
|
8
12
|
* <script setup>
|
|
@@ -17,54 +21,21 @@ import { useSupatype } from "./context.js";
|
|
|
17
21
|
*/
|
|
18
22
|
export function useSubscription(table, options) {
|
|
19
23
|
const client = useSupatype();
|
|
20
|
-
|
|
24
|
+
// Shallow: each change replaces the rows whole, and `ref` would type them as `UnwrapRef<TRow>`.
|
|
25
|
+
const data = shallowRef(null);
|
|
21
26
|
const error = ref(null);
|
|
22
27
|
const status = ref("connecting");
|
|
23
28
|
let unsubscribe = null;
|
|
24
29
|
onMounted(() => {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
const channel = client.realtime.channel(`public:${table}`);
|
|
35
|
-
channel.on("postgres_changes", channelOpts, (payload) => {
|
|
36
|
-
if (!data.value)
|
|
37
|
-
data.value = [];
|
|
38
|
-
if (payload.eventType === "INSERT") {
|
|
39
|
-
data.value = [...data.value, payload.new];
|
|
40
|
-
}
|
|
41
|
-
else if (payload.eventType === "UPDATE") {
|
|
42
|
-
data.value = data.value.map((row) => {
|
|
43
|
-
const r = row;
|
|
44
|
-
const n = payload.new;
|
|
45
|
-
return r["id"] === n["id"] ? payload.new : row;
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
else if (payload.eventType === "DELETE") {
|
|
49
|
-
const old = payload.old;
|
|
50
|
-
data.value = data.value.filter((row) => row["id"] !== old["id"]);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
channel.subscribe((newStatus) => {
|
|
54
|
-
if (newStatus === "SUBSCRIBED") {
|
|
55
|
-
status.value = "connected";
|
|
56
|
-
}
|
|
57
|
-
else if (newStatus === "CHANNEL_ERROR") {
|
|
58
|
-
status.value = "error";
|
|
59
|
-
error.value = { message: "Subscription error" };
|
|
60
|
-
}
|
|
61
|
-
else if (newStatus === "CLOSED") {
|
|
62
|
-
status.value = "disconnected";
|
|
63
|
-
}
|
|
30
|
+
unsubscribe = watchTable(client.realtime, table, options, {
|
|
31
|
+
rows: (rows) => {
|
|
32
|
+
data.value = rows;
|
|
33
|
+
},
|
|
34
|
+
status: (view) => {
|
|
35
|
+
status.value = view.status;
|
|
36
|
+
error.value = view.error;
|
|
37
|
+
},
|
|
64
38
|
});
|
|
65
|
-
unsubscribe = () => {
|
|
66
|
-
channel.unsubscribe();
|
|
67
|
-
};
|
|
68
39
|
});
|
|
69
40
|
onUnmounted(() => {
|
|
70
41
|
unsubscribe?.();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSubscription.js","sourceRoot":"","sources":["../src/useSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAY,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"useSubscription.js","sourceRoot":"","sources":["../src/useSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAY,MAAM,KAAK,CAAA;AAEvE,OAAO,EAAE,UAAU,EAAkD,MAAM,2BAA2B,CAAA;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAa1C;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,eAAe,CAK7B,KAAa,EACb,OAA4C;IAE5C,MAAM,MAAM,GAAG,WAAW,EAAa,CAAA;IACvC,gGAAgG;IAChG,MAAM,IAAI,GAAG,UAAU,CAAgB,IAAI,CAAC,CAAA;IAC5C,MAAM,KAAK,GAAG,GAAG,CAAuB,IAAI,CAAC,CAAA;IAC7C,MAAM,MAAM,GAAG,GAAG,CAAoB,YAAY,CAAC,CAAA;IAEnD,IAAI,WAAW,GAAwB,IAAI,CAAA;IAE3C,SAAS,CAAC,GAAG,EAAE;QACb,WAAW,GAAG,UAAU,CAAO,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;YAC9D,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE;gBACb,IAAI,CAAC,KAAK,GAAG,IAAI,CAAA;YACnB,CAAC;YACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;gBACf,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAA;gBAC1B,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;YAC1B,CAAC;SACF,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,WAAW,CAAC,GAAG,EAAE;QACf,WAAW,EAAE,EAAE,CAAA;IACjB,CAAC,CAAC,CAAA;IAEF,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;AAChC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supatype/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Vue composables for Supatype, useQuery, useMutation, useAuth, useSubscription",
|
|
6
6
|
"type": "module",
|
|
@@ -14,16 +14,19 @@
|
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"vue": "^3.3.0",
|
|
17
|
-
"@supatype/client": "0.
|
|
17
|
+
"@supatype/client": "0.8.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
+
"@types/node": "^22",
|
|
20
21
|
"typescript": "^5",
|
|
22
|
+
"vitest": "^4.0.18",
|
|
21
23
|
"vue": "^3.5.0",
|
|
22
|
-
"@supatype/client": "0.
|
|
24
|
+
"@supatype/client": "0.8.0"
|
|
23
25
|
},
|
|
24
26
|
"scripts": {
|
|
25
27
|
"build": "tsc --project tsconfig.json",
|
|
26
|
-
"typecheck": "tsc --project tsconfig.json --noEmit",
|
|
28
|
+
"typecheck": "tsc --project tests/tsconfig.json --noEmit",
|
|
29
|
+
"test": "vitest run",
|
|
27
30
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
28
31
|
}
|
|
29
32
|
}
|
package/src/context.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { inject, type InjectionKey, type Plugin } from "vue"
|
|
17
17
|
import type { AugmentedDatabase, AnyClient, SupatypeClient, AnyDatabase } from "@supatype/client"
|
|
18
|
+
import { isClientFor } from "@supatype/client/bindings"
|
|
18
19
|
|
|
19
20
|
/** Typed at `AnyClient`, narrowed on read. See `AnyClient` for why it is neither generic nor `any`. */
|
|
20
21
|
export const SUPATYPE_KEY: InjectionKey<AnyClient> = Symbol("supatype")
|
|
@@ -38,8 +39,8 @@ export const supatypePlugin: Plugin<[AnyClient]> = {
|
|
|
38
39
|
*/
|
|
39
40
|
export function useSupatype<TDatabase extends AnyDatabase = AugmentedDatabase>(): SupatypeClient<TDatabase> {
|
|
40
41
|
const client = inject(SUPATYPE_KEY)
|
|
41
|
-
if (!client) {
|
|
42
|
+
if (!client || !isClientFor<TDatabase>(client)) {
|
|
42
43
|
throw new Error("useSupatype() requires the supatypePlugin to be installed on the Vue app.")
|
|
43
44
|
}
|
|
44
|
-
return client
|
|
45
|
+
return client
|
|
45
46
|
}
|
package/src/useAuth.ts
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { ref, onMounted, onUnmounted, type Ref } from "vue"
|
|
2
|
-
import type { AugmentedDatabase, AnyDatabase, SupatypeError, User, Session, AuthChangeEvent } from "@supatype/client"
|
|
2
|
+
import type { AugmentedDatabase, AnyDatabase, AuthRedirectError, SupatypeError, User, Session, AuthChangeEvent } from "@supatype/client"
|
|
3
|
+
import { startOAuthRedirect } from "@supatype/client/bindings"
|
|
3
4
|
import { useSupatype } from "./context.js"
|
|
4
5
|
|
|
5
6
|
export interface UseAuthReturn {
|
|
6
7
|
user: Ref<User | null>
|
|
7
8
|
session: Ref<Session | null>
|
|
8
9
|
loading: Ref<boolean>
|
|
10
|
+
/** The sign-in the auth server refused and reported in the page's URL, or null. */
|
|
11
|
+
error: Ref<AuthRedirectError | null>
|
|
9
12
|
signIn: (email: string, password: string) => Promise<{ error: SupatypeError | null }>
|
|
10
|
-
|
|
13
|
+
/** A null `data.session` with a user means the project wants the email confirmed first. */
|
|
14
|
+
signUp: (email: string, password: string) => Promise<{
|
|
15
|
+
data: { session: Session | null; user: User | null }
|
|
16
|
+
error: SupatypeError | null
|
|
17
|
+
}>
|
|
11
18
|
signOut: () => Promise<{ error: SupatypeError | null }>
|
|
19
|
+
/** Send the browser to the provider; a refusal (provider not enabled) is returned instead. */
|
|
12
20
|
signInWithOAuth: (provider: string) => Promise<{ error: SupatypeError | null }>
|
|
13
21
|
resetPassword: (email: string) => Promise<{ error: SupatypeError | null }>
|
|
14
22
|
}
|
|
@@ -39,12 +47,14 @@ export function useAuth<TDatabase extends AnyDatabase = AugmentedDatabase>(): Us
|
|
|
39
47
|
const user = ref<User | null>(null) as Ref<User | null>
|
|
40
48
|
const session = ref<Session | null>(null) as Ref<Session | null>
|
|
41
49
|
const loading = ref(true)
|
|
50
|
+
const error = ref<AuthRedirectError | null>(null) as Ref<AuthRedirectError | null>
|
|
42
51
|
|
|
43
52
|
let unsubscribe: (() => void) | null = null
|
|
44
53
|
|
|
45
54
|
onMounted(async () => {
|
|
46
|
-
//
|
|
55
|
+
// Initial session, once the client has finished any sign-in the page's URL carries
|
|
47
56
|
try {
|
|
57
|
+
error.value = (await client.auth.initialize()).error
|
|
48
58
|
const { data } = await client.auth.getSession()
|
|
49
59
|
if (data.session) {
|
|
50
60
|
session.value = data.session
|
|
@@ -72,25 +82,19 @@ export function useAuth<TDatabase extends AnyDatabase = AugmentedDatabase>(): Us
|
|
|
72
82
|
return { error }
|
|
73
83
|
}
|
|
74
84
|
|
|
75
|
-
const signUp =
|
|
76
|
-
const { error } = await client.auth.signUp({ email, password })
|
|
77
|
-
return { error }
|
|
78
|
-
}
|
|
85
|
+
const signUp = (email: string, password: string) => client.auth.signUp({ email, password })
|
|
79
86
|
|
|
80
87
|
const signOut = async () => {
|
|
81
88
|
const { error } = await client.auth.signOut()
|
|
82
89
|
return { error }
|
|
83
90
|
}
|
|
84
91
|
|
|
85
|
-
const signInWithOAuth =
|
|
86
|
-
const { error } = await client.auth.signInWithOAuth({ provider })
|
|
87
|
-
return { error }
|
|
88
|
-
}
|
|
92
|
+
const signInWithOAuth = (provider: string) => startOAuthRedirect(client.auth, provider)
|
|
89
93
|
|
|
90
94
|
const resetPassword = async (email: string) => {
|
|
91
95
|
const { error } = await client.auth.resetPasswordForEmail(email)
|
|
92
96
|
return { error }
|
|
93
97
|
}
|
|
94
98
|
|
|
95
|
-
return { user, session, loading, signIn, signUp, signOut, signInWithOAuth, resetPassword }
|
|
99
|
+
return { user, session, loading, error, signIn, signUp, signOut, signInWithOAuth, resetPassword }
|
|
96
100
|
}
|
package/src/useFunction.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ref, type Ref } from "vue"
|
|
1
|
+
import { ref, shallowRef, type Ref } from "vue"
|
|
2
2
|
import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client"
|
|
3
3
|
import { useSupatype } from "./context.js"
|
|
4
|
+
import { isCallerValue } from "@supatype/client/bindings"
|
|
4
5
|
|
|
5
6
|
export interface UseFunctionReturn<TResponse> {
|
|
6
7
|
invoke: (body?: unknown) => Promise<{ data: TResponse | null; error: SupatypeError | null }>
|
|
@@ -32,7 +33,8 @@ export function useFunction<
|
|
|
32
33
|
functionName: string,
|
|
33
34
|
): UseFunctionReturn<TResponse> {
|
|
34
35
|
const client = useSupatype<TDatabase>()
|
|
35
|
-
|
|
36
|
+
// Shallow: an answer is replaced whole, and `ref` would type it as `UnwrapRef<TResponse>`.
|
|
37
|
+
const data = shallowRef<TResponse | null>(null)
|
|
36
38
|
const error = ref<SupatypeError | null>(null)
|
|
37
39
|
const loading = ref(false)
|
|
38
40
|
|
|
@@ -40,14 +42,17 @@ export function useFunction<
|
|
|
40
42
|
loading.value = true
|
|
41
43
|
error.value = null
|
|
42
44
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
try {
|
|
46
|
+
const result = await client.functions.invoke(functionName, {
|
|
47
|
+
...(body !== undefined ? { body } : {}),
|
|
48
|
+
})
|
|
49
|
+
const answer = { data: isCallerValue<TResponse>(result.data) ? result.data : null, error: result.error }
|
|
50
|
+
data.value = answer.data
|
|
51
|
+
if (answer.error) error.value = answer.error
|
|
52
|
+
return answer
|
|
53
|
+
} finally {
|
|
54
|
+
loading.value = false
|
|
55
|
+
}
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
return { invoke, data, error, loading }
|
package/src/useMutation.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ref, type Ref } from "vue"
|
|
2
|
-
import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client"
|
|
2
|
+
import type { AugmentedDatabase, AnyClient, AnyDatabase, SupatypeError } from "@supatype/client"
|
|
3
3
|
import { useSupatype } from "./context.js"
|
|
4
|
+
import { runMutation, type MutationOperation } from "@supatype/client/bindings"
|
|
4
5
|
|
|
5
|
-
export type MutationOperation
|
|
6
|
+
export type { MutationOperation }
|
|
6
7
|
|
|
7
8
|
export interface MutationOptions {
|
|
8
9
|
filter?: Record<string, unknown> | undefined
|
|
@@ -53,31 +54,8 @@ export function useMutation<
|
|
|
53
54
|
error.value = null
|
|
54
55
|
|
|
55
56
|
try {
|
|
56
|
-
|
|
57
|
-
const
|
|
58
|
-
let result: { data: TRow[] | null; error: SupatypeError | null }
|
|
59
|
-
|
|
60
|
-
if (operation === "insert") {
|
|
61
|
-
result = await tableClient.insert(data)
|
|
62
|
-
} else if (operation === "upsert") {
|
|
63
|
-
result = await tableClient.upsert(data)
|
|
64
|
-
} else if (operation === "update") {
|
|
65
|
-
let q = tableClient.update(data)
|
|
66
|
-
if (options?.filter) {
|
|
67
|
-
for (const [col, val] of Object.entries(options.filter)) {
|
|
68
|
-
q = q.eq(col, val)
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
result = await q
|
|
72
|
-
} else {
|
|
73
|
-
let q = tableClient.delete()
|
|
74
|
-
if (options?.filter) {
|
|
75
|
-
for (const [col, val] of Object.entries(options.filter)) {
|
|
76
|
-
q = q.eq(col, val)
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
result = await q
|
|
80
|
-
}
|
|
57
|
+
const outcome = await runMutation<TRow>(client as AnyClient, table, operation, data, options?.filter)
|
|
58
|
+
const result = { data: outcome.data, error: outcome.error }
|
|
81
59
|
|
|
82
60
|
if (result.error) error.value = result.error
|
|
83
61
|
return result
|
package/src/useQuery.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ref, onMounted, onUnmounted, watch, type Ref } from "vue"
|
|
2
|
-
import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client"
|
|
1
|
+
import { ref, shallowRef, onMounted, onUnmounted, watch, type Ref } from "vue"
|
|
2
|
+
import type { AugmentedDatabase, AnyClient, AnyDatabase, SupatypeError } from "@supatype/client"
|
|
3
3
|
import { onIdentityChange } from "@supatype/client"
|
|
4
4
|
import { useSupatype } from "./context.js"
|
|
5
|
+
import { isRowsOf } from "@supatype/client/bindings"
|
|
5
6
|
|
|
6
7
|
export interface UseQueryOptions {
|
|
7
8
|
columns?: string | undefined
|
|
@@ -43,7 +44,8 @@ export function useQuery<
|
|
|
43
44
|
options?: UseQueryOptions | undefined,
|
|
44
45
|
): UseQueryReturn<TRow> {
|
|
45
46
|
const client = useSupatype<TDatabase>()
|
|
46
|
-
|
|
47
|
+
// Shallow: each fetch replaces the rows whole, and `ref` would type them as `UnwrapRef<TRow>`.
|
|
48
|
+
const data = shallowRef<TRow[] | null>(null)
|
|
47
49
|
const error = ref<SupatypeError | null>(null)
|
|
48
50
|
const loading = ref(false)
|
|
49
51
|
|
|
@@ -59,8 +61,9 @@ export function useQuery<
|
|
|
59
61
|
error.value = null
|
|
60
62
|
|
|
61
63
|
try {
|
|
62
|
-
//
|
|
63
|
-
|
|
64
|
+
// Through the untyped client: the generated row types do not survive a table name known
|
|
65
|
+
// only at run time, so the rows are typed as `TRow` once they arrive.
|
|
66
|
+
let query = (client as AnyClient).from(table).select(options?.columns)
|
|
64
67
|
|
|
65
68
|
if (options?.filter) {
|
|
66
69
|
for (const [col, val] of Object.entries(options.filter)) {
|
|
@@ -83,7 +86,7 @@ export function useQuery<
|
|
|
83
86
|
}
|
|
84
87
|
|
|
85
88
|
const result = await query
|
|
86
|
-
data.value = result.data
|
|
89
|
+
data.value = isRowsOf<TRow>(result.data) ? result.data : null
|
|
87
90
|
if (result.error) {
|
|
88
91
|
error.value = result.error
|
|
89
92
|
}
|
package/src/useSubscription.ts
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { ref, onMounted, onUnmounted, type Ref } from "vue"
|
|
2
|
-
import type { AugmentedDatabase, AnyDatabase, SupatypeError,
|
|
1
|
+
import { ref, shallowRef, onMounted, onUnmounted, type Ref } from "vue"
|
|
2
|
+
import type { AugmentedDatabase, AnyDatabase, SupatypeError, RealtimeEvent } from "@supatype/client"
|
|
3
|
+
import { watchTable, type SubscriptionState, type TableWatchOptions } from "@supatype/client/bindings"
|
|
3
4
|
import { useSupatype } from "./context.js"
|
|
4
5
|
|
|
5
6
|
export type SubscriptionEvent = RealtimeEvent
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
filter?: string | undefined
|
|
10
|
-
}
|
|
8
|
+
/** Which changes to receive. The same options `watchTable` takes, since they go straight to it. */
|
|
9
|
+
export type UseSubscriptionOptions = TableWatchOptions
|
|
11
10
|
|
|
12
11
|
export interface UseSubscriptionReturn<TRow> {
|
|
13
12
|
data: Ref<TRow[] | null>
|
|
14
13
|
error: Ref<SupatypeError | null>
|
|
15
|
-
status: Ref<
|
|
14
|
+
status: Ref<SubscriptionState>
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
18
|
* Real-time subscription composable.
|
|
20
19
|
*
|
|
20
|
+
* The channel, the status and the row merge are `watchTable`'s, shared with the Svelte and Solid
|
|
21
|
+
* bindings; this only puts what it reports into refs.
|
|
22
|
+
*
|
|
21
23
|
* @example
|
|
22
24
|
* ```vue
|
|
23
25
|
* <script setup>
|
|
@@ -39,61 +41,23 @@ export function useSubscription<
|
|
|
39
41
|
options?: UseSubscriptionOptions | undefined,
|
|
40
42
|
): UseSubscriptionReturn<TRow> {
|
|
41
43
|
const client = useSupatype<TDatabase>()
|
|
42
|
-
|
|
44
|
+
// Shallow: each change replaces the rows whole, and `ref` would type them as `UnwrapRef<TRow>`.
|
|
45
|
+
const data = shallowRef<TRow[] | null>(null)
|
|
43
46
|
const error = ref<SupatypeError | null>(null)
|
|
44
|
-
const status = ref<
|
|
47
|
+
const status = ref<SubscriptionState>("connecting")
|
|
45
48
|
|
|
46
49
|
let unsubscribe: (() => void) | null = null
|
|
47
50
|
|
|
48
51
|
onMounted(() => {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
schema: "public",
|
|
58
|
-
table,
|
|
59
|
-
}
|
|
60
|
-
if (options?.filter) {
|
|
61
|
-
channelOpts.filter = options.filter
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
const channel = client.realtime.channel<TRow>(`public:${table}`)
|
|
65
|
-
|
|
66
|
-
channel.on("postgres_changes", channelOpts, (payload: RealtimePayload<TRow>) => {
|
|
67
|
-
if (!data.value) data.value = []
|
|
68
|
-
|
|
69
|
-
if (payload.eventType === "INSERT") {
|
|
70
|
-
data.value = [...data.value, payload.new as TRow]
|
|
71
|
-
} else if (payload.eventType === "UPDATE") {
|
|
72
|
-
data.value = data.value.map((row) => {
|
|
73
|
-
const r = row as Record<string, unknown>
|
|
74
|
-
const n = payload.new as Record<string, unknown>
|
|
75
|
-
return r["id"] === n["id"] ? (payload.new as TRow) : row
|
|
76
|
-
})
|
|
77
|
-
} else if (payload.eventType === "DELETE") {
|
|
78
|
-
const old = payload.old as Record<string, unknown>
|
|
79
|
-
data.value = data.value.filter((row) => (row as Record<string, unknown>)["id"] !== old["id"])
|
|
80
|
-
}
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
channel.subscribe((newStatus: ChannelStatus) => {
|
|
84
|
-
if (newStatus === "SUBSCRIBED") {
|
|
85
|
-
status.value = "connected"
|
|
86
|
-
} else if (newStatus === "CHANNEL_ERROR") {
|
|
87
|
-
status.value = "error"
|
|
88
|
-
error.value = { message: "Subscription error" }
|
|
89
|
-
} else if (newStatus === "CLOSED") {
|
|
90
|
-
status.value = "disconnected"
|
|
91
|
-
}
|
|
52
|
+
unsubscribe = watchTable<TRow>(client.realtime, table, options, {
|
|
53
|
+
rows: (rows) => {
|
|
54
|
+
data.value = rows
|
|
55
|
+
},
|
|
56
|
+
status: (view) => {
|
|
57
|
+
status.value = view.status
|
|
58
|
+
error.value = view.error
|
|
59
|
+
},
|
|
92
60
|
})
|
|
93
|
-
|
|
94
|
-
unsubscribe = () => {
|
|
95
|
-
channel.unsubscribe()
|
|
96
|
-
}
|
|
97
61
|
})
|
|
98
62
|
|
|
99
63
|
onUnmounted(() => {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `useAuth` starts an OAuth sign-in and shows the server's refusal, as every binding must.
|
|
3
|
+
*
|
|
4
|
+
* `signInWithOAuth` used to drop the URL the client returned, so the browser never left the page,
|
|
5
|
+
* and a refusal sent back in the redirect URL had nowhere to show. Lifecycle hooks run directly:
|
|
6
|
+
* what is under test is the composable's wiring, not Vue's mounting.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { vi } from "vitest"
|
|
10
|
+
import { describeOAuthBinding, type OAuthBindingHarness } from "../../client/tests/helpers/oauth-binding.js"
|
|
11
|
+
|
|
12
|
+
const lifecycle = vi.hoisted(() => ({ unmount: [] as Array<() => void>, harness: null as OAuthBindingHarness | null }))
|
|
13
|
+
|
|
14
|
+
vi.mock("vue", async (importOriginal) => ({
|
|
15
|
+
...(await importOriginal<typeof import("vue")>()),
|
|
16
|
+
onMounted: (fn: () => void) => fn(),
|
|
17
|
+
onUnmounted: (fn: () => void) => lifecycle.unmount.push(fn),
|
|
18
|
+
}))
|
|
19
|
+
|
|
20
|
+
vi.mock("../src/context.js", () => ({
|
|
21
|
+
useSupatype: () => ({ auth: lifecycle.harness?.auth }),
|
|
22
|
+
}))
|
|
23
|
+
|
|
24
|
+
import { useAuth } from "../src/useAuth.js"
|
|
25
|
+
|
|
26
|
+
describeOAuthBinding(
|
|
27
|
+
"useAuth",
|
|
28
|
+
(harness) => {
|
|
29
|
+
lifecycle.harness = harness
|
|
30
|
+
const auth = useAuth()
|
|
31
|
+
return { error: () => auth.error?.value, signInWithOAuth: auth.signInWithOAuth }
|
|
32
|
+
},
|
|
33
|
+
() => {
|
|
34
|
+
for (const fn of lifecycle.unmount.splice(0)) fn()
|
|
35
|
+
},
|
|
36
|
+
)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `useAuth` stays signed out after a sign-up that waits for email confirmation, and returns what
|
|
3
|
+
* the app needs to say so. Lifecycle hooks run directly: what is under test is the composable's
|
|
4
|
+
* wiring over a real AuthClient, not Vue's mounting.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import { vi } from "vitest"
|
|
8
|
+
import type { AuthClient } from "../../client/src/auth.js"
|
|
9
|
+
import { describeSignUpBinding } from "../../client/tests/helpers/signup-binding.js"
|
|
10
|
+
|
|
11
|
+
const lifecycle = vi.hoisted(() => ({ unmount: [] as Array<() => void>, auth: null as AuthClient | null }))
|
|
12
|
+
|
|
13
|
+
vi.mock("vue", async (importOriginal) => ({
|
|
14
|
+
...(await importOriginal<typeof import("vue")>()),
|
|
15
|
+
onMounted: (fn: () => void) => fn(),
|
|
16
|
+
onUnmounted: (fn: () => void) => lifecycle.unmount.push(fn),
|
|
17
|
+
}))
|
|
18
|
+
|
|
19
|
+
vi.mock("../src/context.js", () => ({
|
|
20
|
+
useSupatype: () => ({ auth: lifecycle.auth }),
|
|
21
|
+
}))
|
|
22
|
+
|
|
23
|
+
import { useAuth } from "../src/useAuth.js"
|
|
24
|
+
|
|
25
|
+
describeSignUpBinding(
|
|
26
|
+
"useAuth",
|
|
27
|
+
(auth) => {
|
|
28
|
+
lifecycle.auth = auth
|
|
29
|
+
const state = useAuth()
|
|
30
|
+
return { user: () => state.user.value, signUp: state.signUp }
|
|
31
|
+
},
|
|
32
|
+
() => {
|
|
33
|
+
for (const fn of lifecycle.unmount.splice(0)) fn()
|
|
34
|
+
},
|
|
35
|
+
)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `useSubscription`'s status follows the realtime socket swap that signing in causes.
|
|
3
|
+
*
|
|
4
|
+
* It read "connected" from the moment the anon socket joined, through the swap, until well after
|
|
5
|
+
* the signed-in socket had joined, because the swap reported nothing and the composable ignored
|
|
6
|
+
* the SUBSCRIBING it would have reported. An insert made in that window never arrived.
|
|
7
|
+
*
|
|
8
|
+
* The lifecycle hooks run directly: what is under test is how the composable wires the channel,
|
|
9
|
+
* not Vue's mounting.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import { vi } from "vitest"
|
|
13
|
+
import { describeStatusAcrossSignIn, type SocketSwapHarness } from "../../client/tests/helpers/socket-swap.js"
|
|
14
|
+
|
|
15
|
+
const lifecycle = vi.hoisted(() => ({ unmount: [] as Array<() => void>, harness: null as SocketSwapHarness | null }))
|
|
16
|
+
|
|
17
|
+
vi.mock("vue", async (importOriginal) => ({
|
|
18
|
+
...(await importOriginal<typeof import("vue")>()),
|
|
19
|
+
onMounted: (fn: () => void) => fn(),
|
|
20
|
+
onUnmounted: (fn: () => void) => lifecycle.unmount.push(fn),
|
|
21
|
+
}))
|
|
22
|
+
|
|
23
|
+
vi.mock("../src/context.js", () => ({
|
|
24
|
+
useSupatype: () => ({ realtime: lifecycle.harness?.realtime }),
|
|
25
|
+
}))
|
|
26
|
+
|
|
27
|
+
import { useSubscription } from "../src/useSubscription.js"
|
|
28
|
+
|
|
29
|
+
describeStatusAcrossSignIn(
|
|
30
|
+
"useSubscription",
|
|
31
|
+
(harness) => {
|
|
32
|
+
lifecycle.harness = harness
|
|
33
|
+
const { status, error } = useSubscription("task")
|
|
34
|
+
return { status: () => status.value, error: () => error.value }
|
|
35
|
+
},
|
|
36
|
+
() => {
|
|
37
|
+
for (const fn of lifecycle.unmount.splice(0)) fn()
|
|
38
|
+
},
|
|
39
|
+
)
|
package/tsconfig.json
CHANGED
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@vue+shared@3.5.30/node_modules/@vue/shared/dist/shared.d.ts","../../node_modules/.pnpm/@babel+types@7.29.7/node_modules/@babel/types/lib/index.d.ts","../../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/.pnpm/@vue+compiler-core@3.5.30/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../node_modules/.pnpm/@vue+compiler-dom@3.5.30/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@vue+runtime-dom@3.5.30/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../node_modules/.pnpm/vue@3.5.30_typescript@5.9.3/node_modules/vue/dist/vue.d.mts","../client/dist/query-cache.d.ts","../client/dist/types.d.ts","../client/dist/auth.d.ts","../client/dist/query.d.ts","../client/dist/storage.d.ts","../client/dist/realtime.d.ts","../client/dist/pkce.d.ts","../client/dist/identity.d.ts","../client/dist/errors.d.ts","../client/dist/exact-values.d.ts","../client/dist/field-kinds-registry.d.ts","../client/dist/fetch-with-retry.d.ts","../client/dist/retry.d.ts","../client/dist/error-codes-doc.d.ts","../client/dist/serverless-docs.d.ts","../client/dist/preview.d.ts","../client/dist/index.d.ts","./src/context.ts","./src/useQuery.ts","./src/useMutation.ts","./src/useAuth.ts","./src/useSubscription.ts","./src/useFunction.ts","./src/index.ts"],"fileIdsList":[[60],[59,60,61],[62],[59],[59,64,65,67],[64,65,66,67],[63,67],[70],[78],[71],[69,70,71,72,73,74,75,76,77,79,80,81,82,83,84],[69,70],[72],[80],[69],[68,85],[86,87,88,89,90,91],[68,85,86]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"f468b74459f1ad4473b36a36d49f2b255f3c6b5d536c81239c2b2971df089eaf","impliedFormat":1},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"524a409ad72186b7f6cb16898c349465cfa876f641d6cb6137b3123d5cfca619","impliedFormat":1},{"version":"ebe84ad8344962b7117a3b95065f47383215020eaf1b626463863b45b4d16e62","impliedFormat":1},{"version":"de5abbc02627403ac5796572520dc2b42df54f1257e7218a9ef37509d9b56972","impliedFormat":1},{"version":"bc41b74f965a6bf0a038e32753c6920aad2f2fed97cd32a105e9677070ed50e5","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"88ad1af02cacc61bf79683b021d326eeafc91231660a06495c5046d4649ec3a2","impliedFormat":1},{"version":"c0191592be8eb7906f99ac4b8798d80a585b94001ea1a5f50d6ce5b0d13a5c62","impliedFormat":99},{"version":"6d811b90bfadc04ebeec6bb19fc2166f54bd527e5857893b9715546f27a7598f","impliedFormat":99},{"version":"6950a997ae1e2f8fecd954ee0ab79a18a38812fd09006ab2967b64aeb5effa0b","impliedFormat":99},{"version":"a7d21a74613ecd461885c8cf29ee6b3eb47aeeb0d807b56067ad93bf6239c108","impliedFormat":99},{"version":"04df4cf619cbff7652bec40ff8d23cb1834b40430c1e14353db27bcf6fb55658","impliedFormat":99},{"version":"4356ae6f3922d70d3f57614e5367a44131bb1cb4521b951ff5bc07724377c384","impliedFormat":99},{"version":"f5b2a5bb9373954132b0e4d5a53d34f8e079f5f17b203fb0fb5e28231bb2fe31","impliedFormat":99},{"version":"5e42b1db10cc88f088e5e4749e97e57bad97d0e1bb963110f6dc2ea0b8c954ca","impliedFormat":99},{"version":"545f86d2cfc0dd394875274312e038bacc2c6ae32c9b4c51b3fb80deea3ef987","impliedFormat":99},{"version":"2590a1c2be99e2e3767588ce4ccc76bcc229cfe95d2132685cc22a5c4253206e","impliedFormat":99},{"version":"917a6221a45e3ce278e2e968e90a0da7926aa7334e91a43d737cb3209f88ccda","impliedFormat":99},{"version":"5fde5727aa1a9fc43005eb2a9c37c21c9f7608e99346fae2d29957ed2c3f5b27","impliedFormat":99},{"version":"ccbb4f957666793ea28e67b0748ba838841e641330b661bae31a5974612c73fd","impliedFormat":99},{"version":"9143a4409f10ae9f6362706e00e3b7ed082d4b2af0125aab31ecd30a6fefab13","impliedFormat":99},{"version":"0a1cc7a231379fab5652cc44ccc109a1efec0f92b68273b306d259f228d52fe9","impliedFormat":99},{"version":"2d177f86bfbb9344d4545d4db67f3c55f8c2d4d669a2be4e32eeb439aae7b1b8","impliedFormat":99},{"version":"4cb0a2644a82e5603500af9888ebcc963abf982c86ab614baf94dbf4ccade688","impliedFormat":99},{"version":"9e6e5a36c24910d75f1c7787e3bfceb705739f956d62ad0e8d57ddc68a7e60bc","impliedFormat":99},{"version":"3d64ad8688cf660b8fa50447ef4425a8757219703fa08b605195c7ced48305e0","signature":"06df6c334c4c19a41ffd4d943fa2ea8adba75061729f1e76b7db93cb97f9f3b2","impliedFormat":99},{"version":"bc4370d8590a1135b2afe063fda779981e729c5a188a069884fcd24ab206514e","signature":"24986c18b85ed8df822cde0ff1561c659befb3ed1b092137e8a68cf5cd7babd0","impliedFormat":99},{"version":"333339418942028f069bc296773817d5467f09336ddb127d97ab1d63b02ed993","signature":"4e68caa64fda319ae3b623a4fbc8fcaa6e4b044c08acaf3bf05c4e1c80b8abb7","impliedFormat":99},{"version":"f752dd75f52435e894de73e3f17720d4eb7ae90cf7dc83a4ddad856b788390a5","signature":"aad6c1fda10eedccbb145473989ef22efd6d4e96e56b2df16ab5375590fe2d18","impliedFormat":99},{"version":"7f22546ba7800495a1699826673596ce4a94ca37c3eb52c764591a347b9918a5","signature":"cd2b9074c08ab085aab109d2d88e9bda70e3b6ad10e50077bd32bb545ebc9628","impliedFormat":99},{"version":"7a6f6d618ee445371eaebfda950aec8dbf3588f1e3e5e9cd6ee4b746921b4945","signature":"a6945746441056efc28a73dffd402190a4ca13668fc2456ef424897f3c4215ec","impliedFormat":99},{"version":"b1ffb696af2f6eb5804a0cf08259ab10b0135780344bee7885765b3f79356e2f","signature":"7bd8eadb0f99ab15357c9d2521bf3362a5e1a598514b459e5767f4f9b597a00a","impliedFormat":99}],"root":[[86,92]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[61,1],[62,2],[63,3],[64,4],[65,5],[67,6],[68,7],[71,8],[79,9],[76,10],[85,11],[69,8],[72,12],[74,13],[81,14],[73,8],[70,15],[86,16],[92,17],[89,18],[91,18],[88,18],[87,18],[90,18]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../ts-reset.d.ts","../../node_modules/.pnpm/@vue+shared@3.5.30/node_modules/@vue/shared/dist/shared.d.ts","../../node_modules/.pnpm/@babel+types@7.29.7/node_modules/@babel/types/lib/index.d.ts","../../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/.pnpm/@vue+compiler-core@3.5.30/node_modules/@vue/compiler-core/dist/compiler-core.d.ts","../../node_modules/.pnpm/@vue+compiler-dom@3.5.30/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts","../../node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts","../../node_modules/.pnpm/@vue+runtime-core@3.5.30/node_modules/@vue/runtime-core/dist/runtime-core.d.ts","../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@vue+runtime-dom@3.5.30/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts","../../node_modules/.pnpm/vue@3.5.30_typescript@5.9.3/node_modules/vue/dist/vue.d.mts","../client/dist/select-types.d.ts","../client/dist/query-cache.d.ts","../client/dist/types.d.ts","../client/dist/fetch-with-retry.d.ts","../client/dist/auth.d.ts","../client/dist/filters.d.ts","../client/dist/query.d.ts","../client/dist/storage.d.ts","../client/dist/realtime.d.ts","../client/dist/table-subscription.d.ts","../client/dist/pkce.d.ts","../client/dist/identity.d.ts","../client/dist/errors.d.ts","../client/dist/exact-values.d.ts","../client/dist/field-kinds-registry.d.ts","../client/dist/draft-models-registry.d.ts","../client/dist/retry.d.ts","../client/dist/error-codes-doc.d.ts","../client/dist/serverless-docs.d.ts","../client/dist/preview.d.ts","../client/dist/graphql-document.d.ts","../client/dist/graphql-json.d.ts","../client/dist/graphql-transport.d.ts","../client/dist/index.d.ts","../client/dist/auth-redirect.d.ts","../client/dist/caller-types.d.ts","../client/dist/mutation-request.d.ts","../client/dist/live-preview.d.ts","../client/dist/bindings.d.ts","./src/context.ts","./src/useQuery.ts","./src/useMutation.ts","./src/useAuth.ts","./src/useSubscription.ts","./src/useFunction.ts","./src/index.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/web-globals/events.d.ts","../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/web-globals/navigator.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/web-globals/storage.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/inspector.generated.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/sqlite.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@22.19.13/node_modules/@types/node/index.d.ts"],"fileIdsList":[[61,111,160,177,178],[111,160,177,178],[111,157,158,160,177,178],[111,159,160,177,178],[160,177,178],[111,160,165,177,178,195],[111,160,161,166,171,177,178,180,192,203],[111,160,161,162,171,177,178,180],[106,107,108,111,160,177,178],[111,160,163,177,178,204],[111,160,164,165,172,177,178,181],[111,160,165,177,178,192,200],[111,160,166,168,171,177,178,180],[111,159,160,167,177,178],[111,160,168,169,177,178],[111,160,170,171,177,178],[111,159,160,171,177,178],[111,160,171,172,173,177,178,192,203],[111,160,171,172,173,177,178,187,192,195],[111,153,160,168,171,174,177,178,180,192,203],[111,160,171,172,174,175,177,178,180,192,200,203],[111,160,174,176,177,178,192,200,203],[109,110,111,112,113,114,115,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209],[111,160,171,177,178],[111,160,177,178,179,203],[111,160,168,171,177,178,180,192],[111,160,177,178,181],[111,160,177,178,182],[111,159,160,177,178,183],[111,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209],[111,160,177,178,185],[111,160,177,178,186],[111,160,171,177,178,187,188],[111,160,177,178,187,189,204,206],[111,160,172,177,178],[111,160,171,177,178,192,193,195],[111,160,177,178,194,195],[111,160,177,178,192,193],[111,160,177,178,195],[111,160,177,178,196],[111,157,160,177,178,192,197,203],[111,160,171,177,178,198,199],[111,160,177,178,198,199],[111,160,165,177,178,180,192,200],[111,160,177,178,201],[111,160,177,178,180,202],[111,160,174,177,178,186,203],[111,160,165,177,178,204],[111,160,177,178,192,205],[111,160,177,178,179,206],[111,160,177,178,207],[111,153,160,177,178],[111,153,160,171,173,177,178,183,192,195,203,205,206,208],[111,160,177,178,192,209],[60,61,62,111,160,177,178],[63,111,160,177,178],[60,111,160,177,178],[60,65,66,68,111,160,177,178],[65,66,67,68,111,160,177,178],[111,125,129,160,177,178,203],[111,125,160,177,178,192,203],[111,120,160,177,178],[111,122,125,160,177,178,200,203],[111,160,177,178,180,200],[111,160,177,178,210],[111,120,160,177,178,210],[111,122,125,160,177,178,180,203],[111,117,118,121,124,160,171,177,178,192,203],[111,125,132,160,177,178],[111,117,123,160,177,178],[111,125,146,147,160,177,178],[111,121,125,160,177,178,195,203,210],[111,146,160,177,178,210],[111,119,120,160,177,178,210],[111,125,160,177,178],[111,119,120,121,122,123,124,125,126,127,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,147,148,149,150,151,152,160,177,178],[111,125,140,160,177,178],[111,125,132,133,160,177,178],[111,123,125,133,134,160,177,178],[111,124,160,177,178],[111,117,120,125,160,177,178],[111,125,129,133,134,160,177,178],[111,129,160,177,178],[111,123,125,128,160,177,178,203],[111,117,122,125,132,160,177,178],[111,160,177,178,192],[111,120,125,146,160,177,178,208,210],[64,68,111,160,177,178],[72,111,160,177,178],[72,73,111,160,177,178],[79,94,95,96,97,111,160,177,178],[72,93,111,160,177,178],[83,111,160,177,178],[90,111,160,177,178],[72,73,76,91,111,160,177,178],[74,111,160,177,178],[70,71,72,73,74,76,77,78,79,80,81,82,84,85,86,87,88,89,91,92,111,160,177,178],[70,71,72,73,75,111,160,177,178],[76,111,160,177,178],[73,111,160,177,178],[72,78,111,160,177,178],[70,71,111,160,177,178],[69,93,98,111,160,177,178],[99,100,101,102,103,104,111,160,177,178],[69,93,98,99,111,160,177,178]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"15bab0fff998f77b6e108e361807ef924179b6123aaad7c94646879074e3b1eb","affectsGlobalScope":true,"impliedFormat":1},{"version":"f468b74459f1ad4473b36a36d49f2b255f3c6b5d536c81239c2b2971df089eaf","impliedFormat":1},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"524a409ad72186b7f6cb16898c349465cfa876f641d6cb6137b3123d5cfca619","impliedFormat":1},{"version":"ebe84ad8344962b7117a3b95065f47383215020eaf1b626463863b45b4d16e62","impliedFormat":1},{"version":"de5abbc02627403ac5796572520dc2b42df54f1257e7218a9ef37509d9b56972","impliedFormat":1},{"version":"bc41b74f965a6bf0a038e32753c6920aad2f2fed97cd32a105e9677070ed50e5","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"88ad1af02cacc61bf79683b021d326eeafc91231660a06495c5046d4649ec3a2","impliedFormat":1},{"version":"c0191592be8eb7906f99ac4b8798d80a585b94001ea1a5f50d6ce5b0d13a5c62","impliedFormat":99},{"version":"6d7e2e5bbb8d950ac95afc421abf303862d31efbc1b96f7666ce1894b301ea15","impliedFormat":99},{"version":"6d811b90bfadc04ebeec6bb19fc2166f54bd527e5857893b9715546f27a7598f","impliedFormat":99},{"version":"78ab8003a5d6902c2ec1a710d19960f8d40761881458e6024714282f3f4c41dd","impliedFormat":99},{"version":"28683f6633f7a4a4175b0f5fe9d368af8e904a4b58e4fbeab71456f871705a18","impliedFormat":99},{"version":"7c971b1afedf099ede70d8da5f0ced1f1a7f92085a73ecaf65cb7327e463c3ee","impliedFormat":99},{"version":"01b7367b12aaf639bb876eefb9bae25d441a6ead1d2e4cb4f6dee6c8e17557cc","impliedFormat":99},{"version":"2e80e4660990382c6e3355c544627487c8548104eb5aa383dded7870a41443db","impliedFormat":99},{"version":"97f7607bc3483613d9d6b464b5b876d973eac1f2ec7eb65115ab1320903ae0cf","impliedFormat":99},{"version":"9e0df4b9675ea7d65448a78bb2818f4a2d982fb9cfda8963230db8d2d6bdf20f","impliedFormat":99},{"version":"607f7d1bdac5950af9b04233e45a3ec4443d5f5ed1d89f96c35088b0f57a7e83","impliedFormat":99},{"version":"5e42b1db10cc88f088e5e4749e97e57bad97d0e1bb963110f6dc2ea0b8c954ca","impliedFormat":99},{"version":"545f86d2cfc0dd394875274312e038bacc2c6ae32c9b4c51b3fb80deea3ef987","impliedFormat":99},{"version":"c875342f3a7a25f8efa15c8898af7d26c50be90c10dc44967ba9496f68638891","impliedFormat":99},{"version":"d0c12e47bd10372f73f67f078213327dcc65515773b4bd7be184b5ee68f17b09","impliedFormat":99},{"version":"fbabe42cd78d8c77ff2f2b959c50a6f9db42e9c4edc4e408ddc5634cdb6c6b81","impliedFormat":99},{"version":"6ffcb78f82098b708e68c1a3fde1e82505b1d9c4d4edd6136b6937151c6db8aa","impliedFormat":99},{"version":"9143a4409f10ae9f6362706e00e3b7ed082d4b2af0125aab31ecd30a6fefab13","impliedFormat":99},{"version":"28a54a7112bf676145d5489b10aab4b5329994e418d78da0aeb29387b0bbf366","impliedFormat":99},{"version":"2d177f86bfbb9344d4545d4db67f3c55f8c2d4d669a2be4e32eeb439aae7b1b8","impliedFormat":99},{"version":"4cb0a2644a82e5603500af9888ebcc963abf982c86ab614baf94dbf4ccade688","impliedFormat":99},{"version":"30291a2d1621b206d2ce27f2377dcaaf93d883e1f07a439eb196acbeb9a77488","impliedFormat":99},{"version":"e298b59cb235761a73d9ca3bb726db56bc6afed829a7f1e814680462ac3fd7bb","impliedFormat":99},{"version":"da9f23fd70b051d05322870461cb690446b148a8136a861077a091865c4dfd35","impliedFormat":99},{"version":"26c40c40b270da167285fdb837801d0411ce86e213e097f9533b78e9c12e2164","impliedFormat":99},{"version":"2cded70360a52a37d6f29e767f970eb55e411d361f942c7b5679710b6ae8455a","impliedFormat":99},{"version":"1c902e696a01758fca67e7749898b6edeaf1e7eaf531d54aa862ec33dadc491d","impliedFormat":99},{"version":"d6f3f690a78ebede1cd428931303dcf92514829b59e7855106e024feb7a2b233","impliedFormat":99},{"version":"7be060dfdf4a9765e1a8d57fbae92b3f9cdcd2fccc63cf92a120464ed3de162d","impliedFormat":99},{"version":"8338ea8cec009c320c9213244b8f2ce5af93a0f020f4919144bfa80006c5f6ce","impliedFormat":99},{"version":"a27261800660d9cc158317773b2630b694b20a757e488b37387e2d528de8279a","signature":"06df6c334c4c19a41ffd4d943fa2ea8adba75061729f1e76b7db93cb97f9f3b2","impliedFormat":99},{"version":"373134c7c19ca66ff1e0b8708d6aebb1642cb7adb1d306b72182752d837fa124","signature":"24986c18b85ed8df822cde0ff1561c659befb3ed1b092137e8a68cf5cd7babd0","impliedFormat":99},{"version":"00d5f1fd15ac197cca73fb3edad7b75eb145af48371d8d183028309004951e43","signature":"6f4b9f81f09ae1af888efd74efc5d4c7b9cf3f940dabb38226f6d229ad674e61","impliedFormat":99},{"version":"49048505b13a1cc1acf61d3b93422893fce1d2e7085f959e5f3104da96fb8abe","signature":"f68b2e1cd934ab587833cc2a51b2269b1cd9ab7abf00d7e5397f327053e2a09b","impliedFormat":99},{"version":"9ae7f3bb22c474996e4f1af7d5aabe91fb67862039cf8bab1124d8fe60211540","signature":"2304ee6aed26d0249f2d3680971d79a29dc436dede8d4642585c018b2bc672c3","impliedFormat":99},{"version":"53f1eb7e47e7bbd473e83b5d21a303044201b86650e14c9907cefc3ec2201449","signature":"a6945746441056efc28a73dffd402190a4ca13668fc2456ef424897f3c4215ec","impliedFormat":99},{"version":"b1ffb696af2f6eb5804a0cf08259ab10b0135780344bee7885765b3f79356e2f","signature":"7bd8eadb0f99ab15357c9d2521bf3362a5e1a598514b459e5767f4f9b597a00a","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"f949f7f6c7802a338039cfc2156d1fe285cdd1e092c64437ebe15ae8edc854e0","impliedFormat":1},{"version":"6b4e081d55ac24fc8a4631d5dd77fe249fa25900abd7d046abb87d90e3b45645","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"83e63d6ccf8ec004a3bb6d58b9bb0104f60e002754b1e968024b320730cc5311","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"f27524f4bef4b6519c604bdb23bf4465bddcccbf3f003abb901acbd0d7404d99","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b039f55681caaf111d5eb84d292b9bee9e0131d0db1ad0871eef0964f533c73","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"9f663c2f91127ef7024e8ca4b3b4383ff2770e5f826696005de382282794b127","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1}],"root":[59,[99,105]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[62,1],[61,2],[157,3],[158,3],[159,4],[111,5],[160,6],[161,7],[162,8],[106,2],[109,9],[107,2],[108,2],[163,10],[164,11],[165,12],[166,13],[167,14],[168,15],[169,15],[170,16],[171,17],[172,18],[173,19],[112,2],[110,2],[174,20],[175,21],[176,22],[210,23],[177,24],[178,2],[179,25],[180,26],[181,27],[182,28],[183,29],[184,30],[185,31],[186,32],[187,33],[188,33],[189,34],[190,2],[191,35],[192,36],[194,37],[193,38],[195,39],[196,40],[197,41],[198,42],[199,43],[200,44],[201,45],[202,46],[203,47],[204,48],[205,49],[206,50],[207,51],[113,2],[114,2],[115,2],[154,52],[155,2],[156,2],[208,53],[209,54],[63,55],[64,56],[65,57],[66,58],[68,59],[60,2],[116,2],[67,2],[57,2],[58,2],[10,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[21,2],[22,2],[4,2],[23,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[38,2],[35,2],[36,2],[37,2],[39,2],[7,2],[40,2],[45,2],[46,2],[41,2],[42,2],[43,2],[44,2],[8,2],[50,2],[47,2],[48,2],[49,2],[51,2],[9,2],[52,2],[53,2],[54,2],[56,2],[55,2],[1,2],[132,60],[142,61],[131,60],[152,62],[123,63],[122,64],[151,65],[145,66],[150,67],[125,68],[139,69],[124,70],[148,71],[120,72],[119,65],[149,73],[121,74],[126,75],[127,2],[130,75],[117,2],[153,76],[143,77],[134,78],[135,79],[137,80],[133,81],[136,82],[146,65],[128,83],[129,84],[138,85],[118,86],[141,77],[140,75],[144,2],[147,87],[69,88],[94,89],[74,90],[98,91],[95,92],[85,2],[87,2],[82,89],[83,2],[73,2],[84,93],[75,2],[90,2],[91,94],[92,95],[81,96],[93,97],[97,2],[96,92],[80,2],[89,2],[71,89],[76,98],[78,99],[86,100],[70,89],[88,2],[77,90],[79,101],[72,102],[99,103],[105,104],[102,105],[104,105],[101,105],[100,105],[103,105],[59,2]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
|