abckit 0.0.39 → 0.0.40

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.
@@ -0,0 +1,34 @@
1
+ import type { Config } from './interface.js';
2
+ import * as z from 'zod';
3
+ declare const __VLS_export: <T extends z.ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
+ fieldName: string;
6
+ required?: boolean;
7
+ config?: Config<T>;
8
+ schema?: z.ZodArray<T>;
9
+ disabled?: boolean;
10
+ }> & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
17
+ fieldName: string;
18
+ required?: boolean;
19
+ config?: Config<T>;
20
+ schema?: z.ZodArray<T>;
21
+ disabled?: boolean;
22
+ }>, "required" | "disabled" | (Config<T> | undefined extends boolean | undefined ? (boolean & Config<T>) | undefined extends undefined ? never : "config" : never)>) => any;
23
+ };
24
+ emit: {};
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,34 @@
1
+ import type { Config } from './interface.js';
2
+ import * as z from 'zod';
3
+ declare const __VLS_export: <T extends z.ZodAny>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
+ fieldName: string;
6
+ required?: boolean;
7
+ config?: Config<T>;
8
+ schema?: z.ZodArray<T>;
9
+ disabled?: boolean;
10
+ }> & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
17
+ fieldName: string;
18
+ required?: boolean;
19
+ config?: Config<T>;
20
+ schema?: z.ZodArray<T>;
21
+ disabled?: boolean;
22
+ }>, "required" | "disabled" | (Config<T> | undefined extends boolean | undefined ? (boolean & Config<T>) | undefined extends undefined ? never : "config" : never)>) => any;
23
+ };
24
+ emit: {};
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,34 @@
1
+ import type { ZodObject, ZodRawShape } from 'zod';
2
+ import type { Config } from './interface.js';
3
+ declare const __VLS_export: <T extends ZodRawShape>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
+ fieldName: string;
6
+ required?: boolean;
7
+ config?: Config<T>;
8
+ schema?: ZodObject<T>;
9
+ disabled?: boolean;
10
+ }> & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
17
+ fieldName: string;
18
+ required?: boolean;
19
+ config?: Config<T>;
20
+ schema?: ZodObject<T>;
21
+ disabled?: boolean;
22
+ }>, "required" | "disabled" | (Config<T> | undefined extends boolean | undefined ? (boolean & Config<T>) | undefined extends undefined ? never : "config" : never)>) => any;
23
+ };
24
+ emit: {};
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,34 @@
1
+ import type { ZodObject, ZodRawShape } from 'zod';
2
+ import type { Config } from './interface.js';
3
+ declare const __VLS_export: <T extends ZodRawShape>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<{
5
+ fieldName: string;
6
+ required?: boolean;
7
+ config?: Config<T>;
8
+ schema?: ZodObject<T>;
9
+ disabled?: boolean;
10
+ }> & (typeof globalThis extends {
11
+ __VLS_PROPS_FALLBACK: infer P;
12
+ } ? P : {});
13
+ expose: (exposed: {}) => void;
14
+ attrs: any;
15
+ slots: {
16
+ default?: (props: import("vue").DefineProps<import("@vue/shared").LooseRequired<{
17
+ fieldName: string;
18
+ required?: boolean;
19
+ config?: Config<T>;
20
+ schema?: ZodObject<T>;
21
+ disabled?: boolean;
22
+ }>, "required" | "disabled" | (Config<T> | undefined extends boolean | undefined ? (boolean & Config<T>) | undefined extends undefined ? never : "config" : never)>) => any;
23
+ };
24
+ emit: {};
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: Awaited<typeof __VLS_setup>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -28,6 +28,9 @@ export declare function useAuth(): {
28
28
  readonly isPending: boolean;
29
29
  readonly isRefetching: boolean;
30
30
  readonly error: import("better-auth/client").BetterFetchError | null;
31
+ readonly refetch: (queryParams?: {
32
+ query?: import("better-auth").SessionQueryParams;
33
+ } | undefined) => Promise<void>;
31
34
  }, {
32
35
  readonly data: {
33
36
  readonly user: {
@@ -53,6 +56,9 @@ export declare function useAuth(): {
53
56
  readonly isPending: boolean;
54
57
  readonly isRefetching: boolean;
55
58
  readonly error: import("better-auth/client").BetterFetchError | null;
59
+ readonly refetch: (queryParams?: {
60
+ query?: import("better-auth").SessionQueryParams;
61
+ } | undefined) => Promise<void>;
56
62
  }>>;
57
63
  isLoading: import("vue").ComputedRef<boolean>;
58
64
  isAuthenticated: import("vue").ComputedRef<boolean>;
@@ -649,6 +655,9 @@ export declare function useAuth(): {
649
655
  readonly isPending: boolean;
650
656
  readonly isRefetching: boolean;
651
657
  readonly error: import("better-auth/client").BetterFetchError | null;
658
+ readonly refetch: (queryParams?: {
659
+ query?: import("better-auth").SessionQueryParams;
660
+ } | undefined) => Promise<void>;
652
661
  }, {
653
662
  readonly data: {
654
663
  readonly user: {
@@ -674,6 +683,9 @@ export declare function useAuth(): {
674
683
  readonly isPending: boolean;
675
684
  readonly isRefetching: boolean;
676
685
  readonly error: import("better-auth/client").BetterFetchError | null;
686
+ readonly refetch: (queryParams?: {
687
+ query?: import("better-auth").SessionQueryParams;
688
+ } | undefined) => Promise<void>;
677
689
  }>>;
678
690
  <F extends (...args: any) => any>(useFetch: F): Promise<{
679
691
  data: import("vue").Ref<{
@@ -1032,6 +1044,9 @@ export declare function getAuthClientExports(): {
1032
1044
  readonly isPending: boolean;
1033
1045
  readonly isRefetching: boolean;
1034
1046
  readonly error: import("better-auth/client").BetterFetchError | null;
1047
+ readonly refetch: (queryParams?: {
1048
+ query?: import("better-auth").SessionQueryParams;
1049
+ } | undefined) => Promise<void>;
1035
1050
  }, {
1036
1051
  readonly data: {
1037
1052
  readonly user: {
@@ -1057,6 +1072,9 @@ export declare function getAuthClientExports(): {
1057
1072
  readonly isPending: boolean;
1058
1073
  readonly isRefetching: boolean;
1059
1074
  readonly error: import("better-auth/client").BetterFetchError | null;
1075
+ readonly refetch: (queryParams?: {
1076
+ query?: import("better-auth").SessionQueryParams;
1077
+ } | undefined) => Promise<void>;
1060
1078
  }>>;
1061
1079
  <F extends (...args: any) => any>(useFetch: F): Promise<{
1062
1080
  data: import("vue").Ref<{
@@ -1698,6 +1716,9 @@ export declare function getAuthClientExports(): {
1698
1716
  readonly isPending: boolean;
1699
1717
  readonly isRefetching: boolean;
1700
1718
  readonly error: import("better-auth/client").BetterFetchError | null;
1719
+ readonly refetch: (queryParams?: {
1720
+ query?: import("better-auth").SessionQueryParams;
1721
+ } | undefined) => Promise<void>;
1701
1722
  }, {
1702
1723
  readonly data: {
1703
1724
  readonly user: {
@@ -1723,6 +1744,9 @@ export declare function getAuthClientExports(): {
1723
1744
  readonly isPending: boolean;
1724
1745
  readonly isRefetching: boolean;
1725
1746
  readonly error: import("better-auth/client").BetterFetchError | null;
1747
+ readonly refetch: (queryParams?: {
1748
+ query?: import("better-auth").SessionQueryParams;
1749
+ } | undefined) => Promise<void>;
1726
1750
  }>>;
1727
1751
  <F extends (...args: any) => any>(useFetch: F): Promise<{
1728
1752
  data: import("vue").Ref<{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "abckit",
3
3
  "type": "module",
4
- "version": "0.0.39",
4
+ "version": "0.0.40",
5
5
  "description": "Nuxt 4 module — UI components, auth, storage, GraphQL",
6
6
  "author": "productdevbook",
7
7
  "license": "MIT",
@@ -72,22 +72,22 @@
72
72
  "dist"
73
73
  ],
74
74
  "dependencies": {
75
- "@better-auth/oauth-provider": "^1.4.10",
76
- "@capacitor/android": "^8.0.0",
75
+ "@better-auth/oauth-provider": "^1.4.12",
76
+ "@capacitor/android": "^8.0.1",
77
77
  "@capacitor/app": "^8.0.0",
78
78
  "@capacitor/browser": "^8.0.0",
79
- "@capacitor/cli": "^8.0.0",
80
- "@capacitor/core": "^8.0.0",
79
+ "@capacitor/cli": "^8.0.1",
80
+ "@capacitor/core": "^8.0.1",
81
81
  "@capacitor/device": "^8.0.0",
82
82
  "@capacitor/geolocation": "^8.0.0",
83
83
  "@capacitor/haptics": "^8.0.0",
84
- "@capacitor/ios": "^8.0.0",
84
+ "@capacitor/ios": "^8.0.1",
85
85
  "@capacitor/network": "^8.0.0",
86
86
  "@capacitor/preferences": "^8.0.0",
87
87
  "@capacitor/push-notifications": "^8.0.0",
88
88
  "@capacitor/splash-screen": "^8.0.0",
89
89
  "@capacitor/status-bar": "^8.0.0",
90
- "@capgo/capacitor-social-login": "^8.2.11",
90
+ "@capgo/capacitor-social-login": "^8.2.13",
91
91
  "@graphql-tools/utils": "^11.0.0",
92
92
  "@ionic/vue": "^8.7.16",
93
93
  "@nuxt/icon": "^2.2.0",
@@ -101,8 +101,8 @@
101
101
  "@pinia/colada-nuxt": "^0.3.0",
102
102
  "@pinia/colada-plugin-auto-refetch": "^0.2.4",
103
103
  "@pinia/nuxt": "^0.11.3",
104
- "@polar-sh/sdk": "^0.42.1",
105
- "@sentry/nuxt": "^10.32.1",
104
+ "@polar-sh/sdk": "^0.42.2",
105
+ "@sentry/nuxt": "^10.33.0",
106
106
  "@sindresorhus/slugify": "^3.0.0",
107
107
  "@tailwindcss/typography": "^0.5.19",
108
108
  "@tanstack/vue-table": "^8.21.3",
@@ -112,9 +112,9 @@
112
112
  "@vueuse/nuxt": "^14.1.0",
113
113
  "@vueuse/router": "^14.1.0",
114
114
  "@vueuse/sound": "^2.1.3",
115
- "apiful": "^4.0.0",
115
+ "apiful": "^4.0.1",
116
116
  "aws4fetch": "^1.0.20",
117
- "better-auth": "^1.4.10",
117
+ "better-auth": "^1.4.12",
118
118
  "capacitor-native-settings": "^7.0.2",
119
119
  "class-variance-authority": "^0.7.1",
120
120
  "clsx": "^2.1.1",
@@ -132,7 +132,7 @@
132
132
  "graphql-yoga": "^5.18.0",
133
133
  "md-editor-v3": "^6.3.1",
134
134
  "nitro": "https://pkg.pr.new/nitrojs/nitro@99691fc",
135
- "nitro-graphql": "^1.8.0",
135
+ "nitro-graphql": "^2.0.0-beta.65",
136
136
  "notivue": "^2.4.5",
137
137
  "pg": "^8.16.3",
138
138
  "pinia": "^3.0.4",
@@ -141,7 +141,7 @@
141
141
  "tailwind-merge": "^3.4.0",
142
142
  "tailwindcss": "^4.1.18",
143
143
  "tw-animate-css": "^1.4.0",
144
- "unstorage": "^1.17.3",
144
+ "unstorage": "^2.0.0-alpha.5",
145
145
  "uuid": "^13.0.0",
146
146
  "vaul-vue": "^0.4.1",
147
147
  "vee-validate": "5.0.0-beta.0",
@@ -153,106 +153,27 @@
153
153
  "zod": "^4.3.5"
154
154
  },
155
155
  "devDependencies": {
156
- "@antfu/eslint-config": "^6.7.3",
156
+ "@antfu/eslint-config": "^7.0.0",
157
157
  "@nuxt/eslint": "latest",
158
+ "@nuxt/kit": "https://pkg.pr.new/@nuxt/kit@33005",
158
159
  "@nuxt/module-builder": "^1.0.2",
159
- "@nuxt/schema": "^4.2.2",
160
- "@types/node": "^25.0.6",
160
+ "@nuxt/schema": "https://pkg.pr.new/@nuxt/schema@33005",
161
+ "@types/node": "^25.0.8",
161
162
  "@types/pg": "^8.16.0",
162
163
  "eslint": "^9.39.2",
163
- "nuxt": "^4.2.2",
164
+ "nuxt": "https://pkg.pr.new/nuxt@33005",
164
165
  "shadcn-vue": "^2.4.3",
165
166
  "typescript": "^5.9.3",
166
167
  "vue": "^3.5.26"
167
168
  },
168
- "peerDependencies": {
169
- "@better-auth/oauth-provider": "^1.4.9",
170
- "@capacitor/android": "^8.0.0",
171
- "@capacitor/app": "^8.0.0",
172
- "@capacitor/browser": "^8.0.0",
173
- "@capacitor/cli": "^8.0.0",
174
- "@capacitor/core": "^8.0.0",
175
- "@capacitor/device": "^8.0.0",
176
- "@capacitor/geolocation": "^8.0.0",
177
- "@capacitor/haptics": "^8.0.0",
178
- "@capacitor/ios": "^8.0.0",
179
- "@capacitor/network": "^8.0.0",
180
- "@capacitor/preferences": "^8.0.0",
181
- "@capacitor/push-notifications": "^8.0.0",
182
- "@capacitor/splash-screen": "^8.0.0",
183
- "@capacitor/status-bar": "^8.0.0",
184
- "@capgo/capacitor-social-login": "^8.2.5",
185
- "@graphql-tools/utils": "^10.11.0",
186
- "@ionic/vue": "^8.7.15",
187
- "@nuxt/icon": "^2.1.1",
188
- "@nuxt/scripts": "^0.13.2",
189
- "@nuxtjs/color-mode": "^4.0.0",
190
- "@nuxtjs/i18n": "^10.2.1",
191
- "@nuxtjs/ionic": "^1.0.2",
192
- "@nuxtjs/tailwindcss": "7.0.0-beta.1",
193
- "@openfga/sdk": "^0.9.1",
194
- "@pinia/colada": "^0.20.0",
195
- "@pinia/colada-nuxt": "^0.3.0",
196
- "@pinia/colada-plugin-auto-refetch": "^0.2.4",
197
- "@pinia/nuxt": "^0.11.3",
198
- "@polar-sh/sdk": "^0.42.1",
199
- "@sentry/nuxt": "^10.32.1",
200
- "@sindresorhus/slugify": "^3.0.0",
201
- "@tailwindcss/typography": "^0.5.19",
202
- "@tanstack/vue-table": "^8.21.3",
203
- "@unovis/vue": "^1.6.2",
204
- "@vee-validate/nuxt": "5.0.0-beta.0",
205
- "@vueuse/core": "^14.1.0",
206
- "@vueuse/nuxt": "^14.1.0",
207
- "@vueuse/router": "^14.1.0",
208
- "@vueuse/sound": "^2.1.3",
209
- "apiful": "^4.0.0",
210
- "aws4fetch": "^1.0.20",
211
- "better-auth": "^1.4.9",
212
- "capacitor-native-settings": "^7.0.2",
213
- "class-variance-authority": "^0.7.1",
214
- "clsx": "^2.1.1",
215
- "consola": "^3.4.2",
216
- "dataloader": "^2.2.3",
217
- "date-fns": "^4.1.0",
218
- "defu": "^6.1.4",
219
- "drizzle-kit": "^0.31.8",
220
- "drizzle-orm": "^0.45.1",
221
- "drizzle-zod": "^0.8.3",
222
- "embla-carousel-vue": "^8.6.0",
223
- "graphql": "^16.12.0",
224
- "graphql-config": "^5.1.5",
225
- "graphql-scalars": "^1.25.0",
226
- "graphql-yoga": "^5.18.0",
227
- "md-editor-v3": "^6.2.1",
228
- "nitro-graphql": "^1.8.0",
229
- "nitro": "^3.0.0",
230
- "notivue": "^2.4.5",
231
- "nuxt": "^4.2.2",
232
- "pg": "^8.16.3",
233
- "pinia": "^3.0.4",
234
- "pinia-plugin-persistedstate": "^4.7.1",
235
- "reka-ui": "^2.7.0",
236
- "tailwind-merge": "^3.4.0",
237
- "tailwindcss": "^4.1.18",
238
- "tw-animate-css": "^1.4.0",
239
- "unstorage": "^1.17.3",
240
- "uuid": "^13.0.0",
241
- "vaul-vue": "^0.4.1",
242
- "vee-validate": "5.0.0-beta.0",
243
- "vite-tsconfig-paths": "^6.0.3",
244
- "vue": "^3.5.26",
245
- "vue-input-otp": "^0.3.2",
246
- "vue-router": "^4.6.4",
247
- "vue-sonner": "^2.0.9",
248
- "vue-tsc": "^3.2.1",
249
- "zod": "^4.2.1"
250
- },
251
169
  "resolutions": {
252
170
  "abckit": "workspace:*"
253
171
  },
254
172
  "overrides": {
255
- "entities": "7.0.0"
173
+ "@nuxt/kit": "https://pkg.pr.new/@nuxt/kit@33005",
174
+ "@nuxt/schema": "https://pkg.pr.new/@nuxt/schema@33005",
175
+ "entities": "7.0.0",
176
+ "nuxt": "https://pkg.pr.new/nuxt@33005"
256
177
  },
257
178
  "patchedDependencies": {
258
179
  "entities@7.0.0": "patches/entities@7.0.0.patch",