druxt-schema 0.7.9 → 0.7.10
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/CHANGELOG.md +7 -0
- package/dist/druxt-schema.esm.js +2 -2
- package/dist/druxt-schema.ssr.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/druxt-schema.esm.js
CHANGED
|
@@ -220,7 +220,7 @@ class DruxtSchema {
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
const DruxtSchemaNuxtModule = function(
|
|
223
|
+
const DruxtSchemaNuxtModule = function() {
|
|
224
224
|
if (typeof this.options === "undefined" || !this.options.druxt) {
|
|
225
225
|
throw new TypeError("Druxt settings missing.");
|
|
226
226
|
}
|
|
@@ -235,7 +235,7 @@ const DruxtSchemaNuxtModule = function(moduleOptions = {}) {
|
|
|
235
235
|
fileName: "store/druxt-schema.js",
|
|
236
236
|
options
|
|
237
237
|
});
|
|
238
|
-
this.nuxt.hook("builder:prepared", async (
|
|
238
|
+
this.nuxt.hook("builder:prepared", async () => {
|
|
239
239
|
const druxtSchema = new DruxtSchema(options.baseUrl, options);
|
|
240
240
|
const { schemas } = await druxtSchema.get();
|
|
241
241
|
for (const name in schemas) {
|
package/dist/druxt-schema.ssr.js
CHANGED
|
@@ -228,7 +228,7 @@ class DruxtSchema {
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
const DruxtSchemaNuxtModule = function(
|
|
231
|
+
const DruxtSchemaNuxtModule = function() {
|
|
232
232
|
if (typeof this.options === "undefined" || !this.options.druxt) {
|
|
233
233
|
throw new TypeError("Druxt settings missing.");
|
|
234
234
|
}
|
|
@@ -243,7 +243,7 @@ const DruxtSchemaNuxtModule = function(moduleOptions = {}) {
|
|
|
243
243
|
fileName: "store/druxt-schema.js",
|
|
244
244
|
options
|
|
245
245
|
});
|
|
246
|
-
this.nuxt.hook("builder:prepared", async (
|
|
246
|
+
this.nuxt.hook("builder:prepared", async () => {
|
|
247
247
|
const druxtSchema = new DruxtSchema(options.baseUrl, options);
|
|
248
248
|
const { schemas } = await druxtSchema.get();
|
|
249
249
|
for (const name in schemas) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "druxt-schema",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "Drupal Content Entity schema generator for Druxt with support for View and Form displays.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drupal",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"consola": "^2.15.0",
|
|
35
35
|
"drupal-jsonapi-params": "^1.2.2",
|
|
36
|
-
"druxt": "^0.
|
|
36
|
+
"druxt": "^0.10.0"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
39
|
"vue": "^2.6.14",
|