@hostlink/nuxt-light 0.0.85 → 0.0.86

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.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "0.0.85"
4
+ "version": "0.0.86"
5
5
  }
@@ -0,0 +1,2 @@
1
+ import { getModelField } from "@hostlink/light";
2
+ export default getModelField;
@@ -0,0 +1,2 @@
1
+ import { getModelField } from "@hostlink/light";
2
+ export default getModelField;
@@ -1 +1,2 @@
1
- export declare const getModelFields: (model: string, names: string[]) => any;
1
+ declare const _default: (model: string, names: string[]) => any;
2
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import { getModelField } from "@hostlink/light";
2
- export const getModelFields = (model, names) => {
2
+ export default (model, names) => {
3
3
  let fields = [];
4
4
  for (let name of names) {
5
5
  const field = getModelField(model, name);
@@ -15,8 +15,8 @@ import listObject from "./listObject";
15
15
  import loadObject from "./loadObject";
16
16
  import isGranted from "./isGranted";
17
17
  import GQLFieldBuilder from "./GQLFieldBuilder";
18
- import { getModelField } from "@hostlink/light";
19
- import { getModelFields } from './getModelFields';
18
+ import getModelField from './getModelField';
19
+ import getModelFields from './getModelFields';
20
20
  import getModelColumns from './getModelColumns';
21
21
  declare const notify: (message: string, color?: string) => void;
22
22
  import getID from "./getID";
@@ -17,8 +17,8 @@ import listObject from "./listObject.mjs";
17
17
  import loadObject from "./loadObject.mjs";
18
18
  import isGranted from "./isGranted.mjs";
19
19
  import GQLFieldBuilder from "./GQLFieldBuilder.mjs";
20
- import { getModelField } from "@hostlink/light";
21
- import { getModelFields } from "./getModelFields.mjs";
20
+ import getModelField from "./getModelField.mjs";
21
+ import getModelFields from "./getModelFields.mjs";
22
22
  import getModelColumns from "./getModelColumns.mjs";
23
23
  const notify = function(message, color = "green") {
24
24
  Notify.create({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "0.0.85",
3
+ "version": "0.0.86",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": "@hostlink/nuxt-light",
6
6
  "license": "MIT",