@yassidev/nuxt-directus 0.0.4 → 0.0.5
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 +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -3
- package/dist/runtime/helpers.js +1 -1
- package/dist/types.d.mts +1 -1
- package/package.json +1 -1
package/dist/module.d.mts
CHANGED
|
@@ -570,6 +570,7 @@ interface ModuleOptions {
|
|
|
570
570
|
alias?: string;
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
|
+
declare const NAME = "directus";
|
|
573
574
|
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
574
575
|
|
|
575
|
-
export { _default as default };
|
|
576
|
+
export { NAME, _default as default };
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -3,8 +3,6 @@ import { generateDirectusTypes } from 'directus-sdk-typegen';
|
|
|
3
3
|
import { readTranslations, updateTranslationsBatch, createTranslations, deleteTranslations, createDirectus, rest, staticToken } from '@directus/sdk';
|
|
4
4
|
import { readFileSync } from 'node:fs';
|
|
5
5
|
|
|
6
|
-
const NAME = "directus";
|
|
7
|
-
|
|
8
6
|
const JOIN_LEADING_SLASH_RE = /^\.?\//;
|
|
9
7
|
function hasTrailingSlash(input = "", respectQueryAndFragment) {
|
|
10
8
|
{
|
|
@@ -136,6 +134,7 @@ async function syncTranslations(locale, translations, config) {
|
|
|
136
134
|
]);
|
|
137
135
|
}
|
|
138
136
|
|
|
137
|
+
const NAME = "directus";
|
|
139
138
|
const module = defineNuxtModule({
|
|
140
139
|
meta: { name: NAME },
|
|
141
140
|
setup(options, nuxt) {
|
|
@@ -287,4 +286,4 @@ function setupImage(config, nuxt, logger) {
|
|
|
287
286
|
logger.info(`Image alias has been registered: ${config.image.alias} -> ${config.url}`);
|
|
288
287
|
}
|
|
289
288
|
|
|
290
|
-
export { module as default };
|
|
289
|
+
export { NAME, module as default };
|
package/dist/runtime/helpers.js
CHANGED
package/dist/types.d.mts
CHANGED