@hostlink/nuxt-light 0.0.85 → 0.0.87
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 +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/lib/getModelField.d.ts +2 -0
- package/dist/runtime/lib/getModelField.mjs +2 -0
- package/dist/runtime/lib/getModelFields.d.ts +2 -1
- package/dist/runtime/lib/getModelFields.mjs +1 -1
- package/dist/runtime/lib/index.d.ts +4 -3
- package/dist/runtime/lib/index.mjs +5 -3
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -59,7 +59,8 @@ const module = defineNuxtModule({
|
|
|
59
59
|
{ name: "getSV", from: SystemValue },
|
|
60
60
|
{ name: "getModelColumns", from },
|
|
61
61
|
{ name: "getModelFields", from },
|
|
62
|
-
{ name: "getModelField", from }
|
|
62
|
+
{ name: "getModelField", from },
|
|
63
|
+
{ name: "getGQLFields", from }
|
|
63
64
|
]);
|
|
64
65
|
addPlugin({
|
|
65
66
|
src: resolver.resolve("./runtime/plugin"),
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: (model: string, names: string[]) => any;
|
|
2
|
+
export default _default;
|
|
@@ -15,10 +15,11 @@ import listObject from "./listObject";
|
|
|
15
15
|
import loadObject from "./loadObject";
|
|
16
16
|
import isGranted from "./isGranted";
|
|
17
17
|
import GQLFieldBuilder from "./GQLFieldBuilder";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
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";
|
|
23
23
|
declare const getApiBase: () => {};
|
|
24
|
-
|
|
24
|
+
import { getGQLFields } from '@hostlink/light';
|
|
25
|
+
export { addObject, f, getApiUrl, getCurrentUser, getObject, list, listData, m, q, removeObject, t, updateObject, notify, getID, deleteObject, listObject, isGranted, getApiBase, loadObject, GQLFieldBuilder, getModelField, getModelFields, getModelColumns, getGQLFields };
|
|
@@ -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
|
|
21
|
-
import
|
|
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({
|
|
@@ -32,6 +32,7 @@ const getApiBase = () => {
|
|
|
32
32
|
const config = useRuntimeConfig();
|
|
33
33
|
return config?.public?.apiBase ?? "/api/";
|
|
34
34
|
};
|
|
35
|
+
import { getGQLFields } from "@hostlink/light";
|
|
35
36
|
export {
|
|
36
37
|
addObject,
|
|
37
38
|
f,
|
|
@@ -55,5 +56,6 @@ export {
|
|
|
55
56
|
GQLFieldBuilder,
|
|
56
57
|
getModelField,
|
|
57
58
|
getModelFields,
|
|
58
|
-
getModelColumns
|
|
59
|
+
getModelColumns,
|
|
60
|
+
getGQLFields
|
|
59
61
|
};
|