@holo-js/adapter-nuxt 0.3.23 → 0.3.24
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
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as nuxt_schema from 'nuxt/schema';
|
|
1
2
|
import { LoadedHoloConfig, HoloConfigMap } from '@holo-js/config';
|
|
2
3
|
|
|
3
4
|
type ModuleOptions = Record<string, never>;
|
|
@@ -137,13 +138,7 @@ declare function finalizeStorageSetup(storageModule: StorageModule, opts: NuxtOp
|
|
|
137
138
|
resolve(path: string): string;
|
|
138
139
|
}, s3Driver: string): void;
|
|
139
140
|
declare function applyStorageRuntimeConfig(runtimeConfig: Record<string, unknown>, normalized: HoloStorageRuntimeConfig | undefined): void;
|
|
140
|
-
declare const _default:
|
|
141
|
-
meta?: {
|
|
142
|
-
name?: string;
|
|
143
|
-
};
|
|
144
|
-
defaults?: Partial<ModuleOptions> | undefined;
|
|
145
|
-
setup: (options: ModuleOptions, nuxt: unknown) => void | Promise<void>;
|
|
146
|
-
};
|
|
141
|
+
declare const _default: nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
147
142
|
|
|
148
143
|
declare const moduleInternals: {
|
|
149
144
|
addViteOptimizeDeps: typeof addViteOptimizeDeps;
|
package/dist/module.json
CHANGED
|
@@ -271,7 +271,10 @@ export function useForm(schemaDefinition, options = {}) {
|
|
|
271
271
|
void version.value;
|
|
272
272
|
return currentForm().fields;
|
|
273
273
|
},
|
|
274
|
-
values
|
|
274
|
+
get values() {
|
|
275
|
+
void version.value;
|
|
276
|
+
return values;
|
|
277
|
+
},
|
|
275
278
|
get errors() {
|
|
276
279
|
void version.value;
|
|
277
280
|
return currentForm().errors;
|
|
@@ -18,9 +18,11 @@ export default defineNitroPlugin((nitroApp) => {
|
|
|
18
18
|
createError: createNuxtAuthorizationError
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
|
-
nitroApp.
|
|
21
|
+
const onRequest = nitroApp.h3App.options.onRequest;
|
|
22
|
+
nitroApp.h3App.options.onRequest = async (event) => {
|
|
22
23
|
await project;
|
|
23
|
-
|
|
24
|
+
return await onRequest?.(event);
|
|
25
|
+
};
|
|
24
26
|
nitroApp.hooks.hook("close", async () => {
|
|
25
27
|
try {
|
|
26
28
|
await (await project).runtime.shutdown();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/adapter-nuxt",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.24",
|
|
4
4
|
"description": "Holo-JS Framework - Nuxt adapter",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,21 +38,22 @@
|
|
|
38
38
|
"test": "vitest --run"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@holo-js/adapter-shared": "^0.3.
|
|
41
|
+
"@holo-js/adapter-shared": "^0.3.24",
|
|
42
42
|
"@nuxt/kit": "^4.4.4",
|
|
43
|
-
"@holo-js/config": "^0.3.
|
|
44
|
-
"@holo-js/core": "^0.3.
|
|
45
|
-
"@holo-js/db": "^0.3.
|
|
46
|
-
"@holo-js/validation": "^0.3.
|
|
43
|
+
"@holo-js/config": "^0.3.24",
|
|
44
|
+
"@holo-js/core": "^0.3.24",
|
|
45
|
+
"@holo-js/db": "^0.3.24",
|
|
46
|
+
"@holo-js/validation": "^0.3.24",
|
|
47
47
|
"h3": "^1.15.11",
|
|
48
48
|
"nitropack": "^2.13.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"
|
|
52
|
-
"@holo-js/
|
|
53
|
-
"@holo-js/
|
|
54
|
-
"@holo-js/
|
|
55
|
-
"@holo-js/storage
|
|
51
|
+
"vue": "^3.5.13",
|
|
52
|
+
"@holo-js/broadcast": "^0.3.24",
|
|
53
|
+
"@holo-js/forms": "^0.3.24",
|
|
54
|
+
"@holo-js/realtime": "^0.3.24",
|
|
55
|
+
"@holo-js/storage": "^0.3.24",
|
|
56
|
+
"@holo-js/storage-s3": "^0.3.24"
|
|
56
57
|
},
|
|
57
58
|
"peerDependenciesMeta": {
|
|
58
59
|
"@holo-js/broadcast": {
|
|
@@ -72,14 +73,16 @@
|
|
|
72
73
|
}
|
|
73
74
|
},
|
|
74
75
|
"devDependencies": {
|
|
75
|
-
"
|
|
76
|
-
"@holo-js/
|
|
77
|
-
"@holo-js/
|
|
76
|
+
"vue": "^3.5.13",
|
|
77
|
+
"@holo-js/broadcast": "^0.3.24",
|
|
78
|
+
"@holo-js/realtime": "^0.3.24",
|
|
79
|
+
"@holo-js/storage-s3": "^0.3.24",
|
|
78
80
|
"@nuxt/module-builder": "^1.0.2",
|
|
79
81
|
"@types/node": "^22.10.2",
|
|
80
82
|
"nuxt": "^4.4.4",
|
|
81
83
|
"typescript": "^5.7.2",
|
|
82
|
-
"vitest": "^4.1.5"
|
|
84
|
+
"vitest": "^4.1.5",
|
|
85
|
+
"@nuxt/nitro-server": "^4.4.4"
|
|
83
86
|
},
|
|
84
87
|
"engines": {
|
|
85
88
|
"node": "^22.12.0 || ^24.0.0 || ^26.0.0"
|