abckit 0.0.39 → 0.0.41
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/dist/module.d.mts +9 -14
- package/dist/module.mjs +4 -40
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.d.vue.ts +34 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldArray.vue.d.ts +34 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.d.vue.ts +34 -0
- package/dist/runtime/components/ui/auto-form/AutoFormFieldObject.vue.d.ts +34 -0
- package/dist/runtime/composables/useAuth.d.ts +24 -0
- package/dist/runtime/server/plugins/s3-storage.js +9 -11
- package/package.json +22 -101
package/dist/module.d.mts
CHANGED
|
@@ -155,20 +155,6 @@ declare module '@nuxt/schema' {
|
|
|
155
155
|
interface AppConfig extends BreadcrumbsConfig, SetupConfig {
|
|
156
156
|
}
|
|
157
157
|
interface RuntimeConfig {
|
|
158
|
-
dragonfly: {
|
|
159
|
-
host: string;
|
|
160
|
-
port: number;
|
|
161
|
-
password: string;
|
|
162
|
-
url?: string;
|
|
163
|
-
};
|
|
164
|
-
s3: {
|
|
165
|
-
accessKeyId: string;
|
|
166
|
-
secretAccessKey: string;
|
|
167
|
-
endpoint: string;
|
|
168
|
-
bucket: string;
|
|
169
|
-
region: string;
|
|
170
|
-
publicUrl: string;
|
|
171
|
-
};
|
|
172
158
|
polar: {
|
|
173
159
|
accessToken: string;
|
|
174
160
|
checkoutSuccessUrl: string;
|
|
@@ -204,6 +190,15 @@ declare module '@nuxt/schema' {
|
|
|
204
190
|
};
|
|
205
191
|
}
|
|
206
192
|
}
|
|
193
|
+
declare module 'nitro/types' {
|
|
194
|
+
interface NitroRuntimeConfig {
|
|
195
|
+
modules: {
|
|
196
|
+
redis: boolean;
|
|
197
|
+
s3: boolean;
|
|
198
|
+
disk: boolean;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
}
|
|
207
202
|
|
|
208
203
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
209
204
|
|
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { addTypeTemplate, addServerScanDir, addRouteMiddleware, defineNuxtModule, createResolver } from '@nuxt/kit';
|
|
1
|
+
import { updateRuntimeConfig, addTypeTemplate, addServerScanDir, addRouteMiddleware, defineNuxtModule, createResolver } from '@nuxt/kit';
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { join } from 'node:path';
|
|
4
4
|
import { networkInterfaces } from 'node:os';
|
|
@@ -79,26 +79,6 @@ const VITE_EXCLUDE_PACKAGES = [
|
|
|
79
79
|
"@capacitor/haptics",
|
|
80
80
|
"@unovis/vue"
|
|
81
81
|
];
|
|
82
|
-
const DRAGONFLY_DEFAULTS = {
|
|
83
|
-
host: "dragonfly",
|
|
84
|
-
port: 6379,
|
|
85
|
-
password: "",
|
|
86
|
-
url: ""
|
|
87
|
-
};
|
|
88
|
-
const S3_DEFAULTS = {
|
|
89
|
-
accessKeyId: "",
|
|
90
|
-
secretAccessKey: "",
|
|
91
|
-
endpoint: "",
|
|
92
|
-
bucket: "",
|
|
93
|
-
region: "auto",
|
|
94
|
-
publicUrl: ""
|
|
95
|
-
};
|
|
96
|
-
const POLAR_DEFAULTS = {
|
|
97
|
-
accessToken: "",
|
|
98
|
-
checkoutSuccessUrl: "/checkout/success",
|
|
99
|
-
server: "sandbox",
|
|
100
|
-
webhookSecret: ""
|
|
101
|
-
};
|
|
102
82
|
const IMGPROXY_DEFAULTS = {
|
|
103
83
|
storageUrl: "",
|
|
104
84
|
cdnDomains: []
|
|
@@ -171,11 +151,6 @@ declare module 'h3' {
|
|
|
171
151
|
|
|
172
152
|
export {}
|
|
173
153
|
`;
|
|
174
|
-
const GRAPHQL_SCALARS = {
|
|
175
|
-
Timestamp: "string",
|
|
176
|
-
File: "File",
|
|
177
|
-
Decimal: "string"
|
|
178
|
-
};
|
|
179
154
|
|
|
180
155
|
const isMobileBuild = process.env.MOBILE_BUILD === "true" || process.env.NUXT_PUBLIC_MOBILE_DEV === "true";
|
|
181
156
|
const isMobileDev = process.env.MOBILE_DEV === "true" || process.env.NUXT_PUBLIC_MOBILE_DEV === "true";
|
|
@@ -203,9 +178,6 @@ function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
|
|
|
203
178
|
oauthProvider: options.auth?.oauthProvider ?? false
|
|
204
179
|
}
|
|
205
180
|
};
|
|
206
|
-
nuxt.options.runtimeConfig.dragonfly = defu(nuxt.options.runtimeConfig.dragonfly, DRAGONFLY_DEFAULTS);
|
|
207
|
-
nuxt.options.runtimeConfig.s3 = defu(nuxt.options.runtimeConfig.s3, S3_DEFAULTS);
|
|
208
|
-
nuxt.options.runtimeConfig.polar = defu(nuxt.options.runtimeConfig.polar, POLAR_DEFAULTS);
|
|
209
181
|
nuxt.options.runtimeConfig.imgproxy = defu(nuxt.options.runtimeConfig.imgproxy, IMGPROXY_DEFAULTS);
|
|
210
182
|
nuxt.options.runtimeConfig.storage = defu(nuxt.options.runtimeConfig.storage, STORAGE_DEFAULTS);
|
|
211
183
|
nuxt.options.runtimeConfig.public = defu(nuxt.options.runtimeConfig.public, {
|
|
@@ -214,6 +186,9 @@ function setupRuntimeConfig(nuxt, options, isSentryEnabled) {
|
|
|
214
186
|
debug: nuxt.options.dev,
|
|
215
187
|
imgproxy: IMGPROXY_DEFAULTS
|
|
216
188
|
});
|
|
189
|
+
updateRuntimeConfig({
|
|
190
|
+
modules: options.modules
|
|
191
|
+
});
|
|
217
192
|
}
|
|
218
193
|
function setupAppHead(nuxt) {
|
|
219
194
|
const siteUrl = nuxt.options.runtimeConfig.public.siteUrl;
|
|
@@ -254,20 +229,9 @@ function setupNitro(nuxt, resolve, isGraphqlEnabled) {
|
|
|
254
229
|
tasks: true,
|
|
255
230
|
asyncContext: true
|
|
256
231
|
});
|
|
257
|
-
nuxt.options.nitro.esbuild = defu(nuxt.options.nitro.esbuild, {
|
|
258
|
-
options: { target: "esnext" }
|
|
259
|
-
});
|
|
260
232
|
if (isGraphqlEnabled) {
|
|
261
233
|
nuxt.options.nitro.modules = nuxt.options.nitro.modules || [];
|
|
262
234
|
nuxt.options.nitro.modules.push("nitro-graphql");
|
|
263
|
-
nuxt.options.nitro.graphql = defu(nuxt.options.nitro.graphql, {
|
|
264
|
-
framework: "graphql-yoga",
|
|
265
|
-
codegen: {
|
|
266
|
-
server: { scalars: GRAPHQL_SCALARS },
|
|
267
|
-
client: { scalars: GRAPHQL_SCALARS }
|
|
268
|
-
},
|
|
269
|
-
scaffold: false
|
|
270
|
-
});
|
|
271
235
|
}
|
|
272
236
|
nuxt.options.ionic = defu(nuxt.options.ionic, {
|
|
273
237
|
integrations: { icons: false },
|
|
@@ -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<{
|
|
@@ -7,26 +7,24 @@ import s3Driver from "unstorage/drivers/s3";
|
|
|
7
7
|
export default definePlugin(() => {
|
|
8
8
|
const config = useRuntimeConfig();
|
|
9
9
|
const storage = useStorage();
|
|
10
|
-
const storageConfig = config.
|
|
10
|
+
const storageConfig = config.modules;
|
|
11
11
|
if (storageConfig.redis) {
|
|
12
12
|
const dragonflyUrl = process.env.NUXT_DRAGONFLY_URL || process.env.DRAGONFLY_URL || process.env.REDIS_URL;
|
|
13
|
-
const dragonflyConfig = config.dragonfly || {};
|
|
14
13
|
const dragonflyDriver = dragonflyUrl ? redisDriver({ url: dragonflyUrl }) : redisDriver({
|
|
15
|
-
host:
|
|
16
|
-
port:
|
|
17
|
-
password:
|
|
14
|
+
host: process.env.NUXT_DRAGONFLY_HOST || process.env.DRAGONFLY_HOST || "dragonfly",
|
|
15
|
+
port: Number.parseInt(process.env.NUXT_DRAGONFLY_PORT || process.env.DRAGONFLY_PORT || "6379", 10),
|
|
16
|
+
password: process.env.NUXT_DRAGONFLY_PASSWORD || process.env.DRAGONFLY_PASSWORD || "",
|
|
18
17
|
db: 0
|
|
19
18
|
});
|
|
20
19
|
storage.mount("redis", dragonflyDriver);
|
|
21
20
|
}
|
|
22
21
|
if (storageConfig.s3) {
|
|
23
|
-
const s3Config = config.s3;
|
|
24
22
|
const driver = s3Driver({
|
|
25
|
-
accessKeyId:
|
|
26
|
-
secretAccessKey:
|
|
27
|
-
endpoint:
|
|
28
|
-
bucket:
|
|
29
|
-
region:
|
|
23
|
+
accessKeyId: process.env.NITRO_S3_ACCESS_KEY_ID,
|
|
24
|
+
secretAccessKey: process.env.NITRO_S3_SECRET_ACCESS_KEY,
|
|
25
|
+
endpoint: process.env.NITRO_S3_ENDPOINT,
|
|
26
|
+
bucket: process.env.NITRO_S3_BUCKET,
|
|
27
|
+
region: process.env.NITRO_S3_REGION
|
|
30
28
|
});
|
|
31
29
|
storage.mount("r2", driver);
|
|
32
30
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abckit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.41",
|
|
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.
|
|
76
|
-
"@capacitor/android": "^8.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.
|
|
80
|
-
"@capacitor/core": "^8.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.
|
|
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.
|
|
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.
|
|
105
|
-
"@sentry/nuxt": "^10.
|
|
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.
|
|
115
|
+
"apiful": "^4.0.1",
|
|
116
116
|
"aws4fetch": "^1.0.20",
|
|
117
|
-
"better-auth": "^1.4.
|
|
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": "^
|
|
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": "^
|
|
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": "^
|
|
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": "
|
|
160
|
-
"@types/node": "^25.0.
|
|
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": "
|
|
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
|
-
"
|
|
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",
|