@omni-graph/omni-model 0.2.1-10-gbe28baf

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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # OmniModel NPM Package
2
+ Refer to [wiki](wiki.omnigraph.io) for more information.
3
+ ```
@@ -0,0 +1,2 @@
1
+ export * from './testFunctions';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/functions/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./testFunctions"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/functions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAA+B"}
@@ -0,0 +1,2 @@
1
+ export declare function testAdd(a: number, b: number): number;
2
+ //# sourceMappingURL=testFunctions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testFunctions.d.ts","sourceRoot":"","sources":["../../src/functions/testFunctions.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,CAAC,CAAC,EAAC,MAAM,EAAE,CAAC,EAAC,MAAM,GAAG,MAAM,CAElD"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.testAdd = testAdd;
4
+ function testAdd(a, b) {
5
+ return a + b;
6
+ }
7
+ //# sourceMappingURL=testFunctions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testFunctions.js","sourceRoot":"","sources":["../../src/functions/testFunctions.ts"],"names":[],"mappings":";;AAAA,0BAEC;AAFD,SAAgB,OAAO,CAAC,CAAQ,EAAE,CAAQ;IACtC,OAAO,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './types';
2
+ export * from './functions';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./functions"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,8CAA4B"}
@@ -0,0 +1,2 @@
1
+ export { TestRecommendations } from './recommmendations/testRecommendations';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,wCAAwC,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestRecommendations = void 0;
4
+ var testRecommendations_1 = require("./recommmendations/testRecommendations");
5
+ Object.defineProperty(exports, "TestRecommendations", { enumerable: true, get: function () { return testRecommendations_1.TestRecommendations; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,8EAA2E;AAAnE,0HAAA,mBAAmB,OAAA"}
@@ -0,0 +1,5 @@
1
+ export declare class TestRecommendations {
2
+ name?: string;
3
+ age?: number;
4
+ }
5
+ //# sourceMappingURL=testRecommendations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testRecommendations.d.ts","sourceRoot":"","sources":["../../../src/types/recommmendations/testRecommendations.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestRecommendations = void 0;
4
+ class TestRecommendations {
5
+ }
6
+ exports.TestRecommendations = TestRecommendations;
7
+ //# sourceMappingURL=testRecommendations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testRecommendations.js","sourceRoot":"","sources":["../../../src/types/recommmendations/testRecommendations.ts"],"names":[],"mappings":";;;AAAA,MAAa,mBAAmB;CAG/B;AAHD,kDAGC"}
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@omni-graph/omni-model",
3
+ "version": "0.2.1-10-gbe28baf",
4
+ "description": "Models for the OmniGraph Services & Frontend",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "README.md",
10
+ "package.json",
11
+ "dist/**/*"
12
+ ],
13
+ "platform": "node",
14
+ "keywords": [
15
+ "models",
16
+ "omnigraph"
17
+ ],
18
+ "author": "OmniGraph A/S",
19
+ "license": "MIT",
20
+ "devDependencies": {
21
+ "@vitest/coverage-istanbul": "^3.0.6",
22
+ "@vitest/coverage-v8": "3.0.6",
23
+ "typedoc": "^0.27.7",
24
+ "typescript": "^5.7.3",
25
+ "vitest": "^3.0.6"
26
+ },
27
+ "scripts": {
28
+ "build": "tsc",
29
+ "build:watch": "tsc -w",
30
+ "test:unit": "vitest",
31
+ "test:coverage": "vitest run --coverage --config ./vitest.config.ts",
32
+ "docs": "typedoc",
33
+ "lint": "tsc --noEmit && eslint --fix ./src"
34
+ }
35
+ }