@yassidev/nuxt-directus 0.0.6 → 0.0.7
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 +1 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/client.js +1 -1
- package/dist/runtime/constants.d.ts +1 -0
- package/dist/runtime/constants.js +1 -0
- package/dist/types.d.mts +1 -1
- package/package.json +1 -1
package/dist/module.d.mts
CHANGED
|
@@ -570,7 +570,6 @@ interface ModuleOptions {
|
|
|
570
570
|
alias?: string;
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
|
-
declare const NAME = "directus";
|
|
574
573
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
575
574
|
|
|
576
|
-
export {
|
|
575
|
+
export { _default as default };
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import { defineNuxtModule, useLogger, updateRuntimeConfig, hasNuxtModule, create
|
|
|
2
2
|
import { generateDirectusTypes } from 'directus-sdk-typegen';
|
|
3
3
|
import { fetchTranslations, syncTranslations } from '../dist/runtime/server.js';
|
|
4
4
|
import { readFileSync } from 'node:fs';
|
|
5
|
+
import { NAME } from '../dist/runtime/constants.js';
|
|
5
6
|
|
|
6
7
|
const JOIN_LEADING_SLASH_RE = /^\.?\//;
|
|
7
8
|
function hasTrailingSlash(input = "", respectQueryAndFragment) {
|
|
@@ -91,7 +92,6 @@ function createDefu(merger) {
|
|
|
91
92
|
}
|
|
92
93
|
const defu = createDefu();
|
|
93
94
|
|
|
94
|
-
const NAME = "directus";
|
|
95
95
|
const module = defineNuxtModule({
|
|
96
96
|
meta: { name: NAME },
|
|
97
97
|
setup(options, nuxt) {
|
|
@@ -243,4 +243,4 @@ function setupImage(config, nuxt, logger) {
|
|
|
243
243
|
logger.info(`Image alias has been registered: ${config.image.alias} -> ${config.url}`);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
export {
|
|
246
|
+
export { module as default };
|
package/dist/runtime/client.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NAME = "directus";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const NAME = "directus";
|
package/dist/types.d.mts
CHANGED