@elqnt/kg 2.0.7 → 2.1.1

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.
Files changed (53) hide show
  1. package/dist/api/index.d.mts +110 -0
  2. package/dist/api/index.d.ts +110 -0
  3. package/dist/api/index.js +64 -0
  4. package/dist/api/index.js.map +1 -0
  5. package/dist/api/index.mjs +64 -0
  6. package/dist/chunk-3AS6C7FW.mjs +217 -0
  7. package/dist/chunk-3AS6C7FW.mjs.map +1 -0
  8. package/dist/chunk-4XIW5GLO.js +217 -0
  9. package/dist/chunk-4XIW5GLO.js.map +1 -0
  10. package/dist/{chunk-2OYIMLE4.js → chunk-67SUELDR.js} +4 -2
  11. package/dist/chunk-67SUELDR.js.map +1 -0
  12. package/dist/chunk-7HNJUCVW.js +577 -0
  13. package/dist/chunk-7HNJUCVW.js.map +1 -0
  14. package/dist/chunk-EW3NQGUZ.mjs +577 -0
  15. package/dist/chunk-EW3NQGUZ.mjs.map +1 -0
  16. package/dist/chunk-NJNBEGDB.mjs +2 -0
  17. package/dist/chunk-NJNBEGDB.mjs.map +1 -0
  18. package/dist/{chunk-IXLQ6ZMR.mjs → chunk-RDIQ7HTM.mjs} +3 -1
  19. package/dist/{chunk-IXLQ6ZMR.mjs.map → chunk-RDIQ7HTM.mjs.map} +1 -1
  20. package/dist/{chunk-WEMVDZJ3.js → chunk-UCKE66GB.js} +4 -2
  21. package/dist/chunk-UCKE66GB.js.map +1 -0
  22. package/dist/{chunk-EF7YJ7LL.mjs → chunk-VUSVP6OI.mjs} +3 -1
  23. package/dist/{chunk-EF7YJ7LL.mjs.map → chunk-VUSVP6OI.mjs.map} +1 -1
  24. package/dist/chunk-W4XVBGE7.js +2 -0
  25. package/dist/chunk-W4XVBGE7.js.map +1 -0
  26. package/dist/hooks/index.d.mts +89 -0
  27. package/dist/hooks/index.d.ts +89 -0
  28. package/dist/hooks/index.js +16 -0
  29. package/dist/hooks/index.js.map +1 -0
  30. package/dist/hooks/index.mjs +16 -0
  31. package/dist/hooks/index.mjs.map +1 -0
  32. package/dist/index.d.mts +3 -0
  33. package/dist/index.d.ts +3 -0
  34. package/dist/index.js +75 -4
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +75 -4
  37. package/dist/index.mjs.map +1 -1
  38. package/dist/models/index.js +5 -4
  39. package/dist/models/index.js.map +1 -1
  40. package/dist/models/index.mjs +4 -3
  41. package/dist/models/kg-designer.js +4 -3
  42. package/dist/models/kg-designer.js.map +1 -1
  43. package/dist/models/kg-designer.mjs +2 -1
  44. package/dist/models/kg.js +4 -3
  45. package/dist/models/kg.js.map +1 -1
  46. package/dist/models/kg.mjs +2 -1
  47. package/package.json +34 -20
  48. package/dist/chunk-2OYIMLE4.js.map +0 -1
  49. package/dist/chunk-J3XZF6JO.mjs +0 -1
  50. package/dist/chunk-RDWVE6B2.js +0 -1
  51. package/dist/chunk-RDWVE6B2.js.map +0 -1
  52. package/dist/chunk-WEMVDZJ3.js.map +0 -1
  53. /package/dist/{chunk-J3XZF6JO.mjs.map → api/index.mjs.map} +0 -0
@@ -1,4 +1,5 @@
1
- import "../chunk-J3XZF6JO.mjs";
1
+ "use client";
2
+ import "../chunk-NJNBEGDB.mjs";
2
3
  import {
3
4
  KGDBCreate,
4
5
  KGDesignerEdgeCreate,
@@ -22,7 +23,7 @@ import {
22
23
  KGIngestNodeSync,
23
24
  KGSyncJobList,
24
25
  KGSyncJobUpdate
25
- } from "../chunk-IXLQ6ZMR.mjs";
26
+ } from "../chunk-RDIQ7HTM.mjs";
26
27
  import {
27
28
  DuplicatePolicyCreate,
28
29
  DuplicatePolicyCreateIf,
@@ -41,7 +42,7 @@ import {
41
42
  KGFieldQueryOperatorSimilar,
42
43
  KGRelationshipDirectionIncoming,
43
44
  KGRelationshipDirectionOutgoing
44
- } from "../chunk-EF7YJ7LL.mjs";
45
+ } from "../chunk-VUSVP6OI.mjs";
45
46
  export {
46
47
  DuplicatePolicyCreate,
47
48
  DuplicatePolicyCreateIf,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
4
 
@@ -21,8 +21,8 @@
21
21
 
22
22
 
23
23
 
24
- var _chunk2OYIMLE4js = require('../chunk-2OYIMLE4.js');
25
24
 
25
+ var _chunk67SUELDRjs = require('../chunk-67SUELDR.js');
26
26
 
27
27
 
28
28
 
@@ -45,5 +45,6 @@ var _chunk2OYIMLE4js = require('../chunk-2OYIMLE4.js');
45
45
 
46
46
 
47
47
 
48
- exports.KGDBCreate = _chunk2OYIMLE4js.KGDBCreate; exports.KGDesignerEdgeCreate = _chunk2OYIMLE4js.KGDesignerEdgeCreate; exports.KGDesignerEdgeDelete = _chunk2OYIMLE4js.KGDesignerEdgeDelete; exports.KGDesignerEdgeGet = _chunk2OYIMLE4js.KGDesignerEdgeGet; exports.KGDesignerEdgeList = _chunk2OYIMLE4js.KGDesignerEdgeList; exports.KGDesignerEdgeUpdate = _chunk2OYIMLE4js.KGDesignerEdgeUpdate; exports.KGDesignerNodeCreate = _chunk2OYIMLE4js.KGDesignerNodeCreate; exports.KGDesignerNodeDelete = _chunk2OYIMLE4js.KGDesignerNodeDelete; exports.KGDesignerNodeGet = _chunk2OYIMLE4js.KGDesignerNodeGet; exports.KGDesignerNodeList = _chunk2OYIMLE4js.KGDesignerNodeList; exports.KGDesignerNodeUpdate = _chunk2OYIMLE4js.KGDesignerNodeUpdate; exports.KGDocumentDelete = _chunk2OYIMLE4js.KGDocumentDelete; exports.KGGraphCreate = _chunk2OYIMLE4js.KGGraphCreate; exports.KGGraphDelete = _chunk2OYIMLE4js.KGGraphDelete; exports.KGGraphGet = _chunk2OYIMLE4js.KGGraphGet; exports.KGGraphList = _chunk2OYIMLE4js.KGGraphList; exports.KGGraphOptimize = _chunk2OYIMLE4js.KGGraphOptimize; exports.KGGraphUpdate = _chunk2OYIMLE4js.KGGraphUpdate; exports.KGIngestBatchSync = _chunk2OYIMLE4js.KGIngestBatchSync; exports.KGIngestNodeSync = _chunk2OYIMLE4js.KGIngestNodeSync; exports.KGSyncJobList = _chunk2OYIMLE4js.KGSyncJobList; exports.KGSyncJobUpdate = _chunk2OYIMLE4js.KGSyncJobUpdate;
48
+
49
+ exports.KGDBCreate = _chunk67SUELDRjs.KGDBCreate; exports.KGDesignerEdgeCreate = _chunk67SUELDRjs.KGDesignerEdgeCreate; exports.KGDesignerEdgeDelete = _chunk67SUELDRjs.KGDesignerEdgeDelete; exports.KGDesignerEdgeGet = _chunk67SUELDRjs.KGDesignerEdgeGet; exports.KGDesignerEdgeList = _chunk67SUELDRjs.KGDesignerEdgeList; exports.KGDesignerEdgeUpdate = _chunk67SUELDRjs.KGDesignerEdgeUpdate; exports.KGDesignerNodeCreate = _chunk67SUELDRjs.KGDesignerNodeCreate; exports.KGDesignerNodeDelete = _chunk67SUELDRjs.KGDesignerNodeDelete; exports.KGDesignerNodeGet = _chunk67SUELDRjs.KGDesignerNodeGet; exports.KGDesignerNodeList = _chunk67SUELDRjs.KGDesignerNodeList; exports.KGDesignerNodeUpdate = _chunk67SUELDRjs.KGDesignerNodeUpdate; exports.KGDocumentDelete = _chunk67SUELDRjs.KGDocumentDelete; exports.KGGraphCreate = _chunk67SUELDRjs.KGGraphCreate; exports.KGGraphDelete = _chunk67SUELDRjs.KGGraphDelete; exports.KGGraphGet = _chunk67SUELDRjs.KGGraphGet; exports.KGGraphList = _chunk67SUELDRjs.KGGraphList; exports.KGGraphOptimize = _chunk67SUELDRjs.KGGraphOptimize; exports.KGGraphUpdate = _chunk67SUELDRjs.KGGraphUpdate; exports.KGIngestBatchSync = _chunk67SUELDRjs.KGIngestBatchSync; exports.KGIngestNodeSync = _chunk67SUELDRjs.KGIngestNodeSync; exports.KGSyncJobList = _chunk67SUELDRjs.KGSyncJobList; exports.KGSyncJobUpdate = _chunk67SUELDRjs.KGSyncJobUpdate;
49
50
  //# sourceMappingURL=kg-designer.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/models/kg-designer.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m1CAAC","file":"/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/models/kg-designer.js"}
1
+ {"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/models/kg-designer.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m1CAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/models/kg-designer.js"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import {
2
3
  KGDBCreate,
3
4
  KGDesignerEdgeCreate,
@@ -21,7 +22,7 @@ import {
21
22
  KGIngestNodeSync,
22
23
  KGSyncJobList,
23
24
  KGSyncJobUpdate
24
- } from "../chunk-IXLQ6ZMR.mjs";
25
+ } from "../chunk-RDIQ7HTM.mjs";
25
26
  export {
26
27
  KGDBCreate,
27
28
  KGDesignerEdgeCreate,
package/dist/models/kg.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
4
 
@@ -16,8 +16,8 @@
16
16
 
17
17
 
18
18
 
19
- var _chunkWEMVDZJ3js = require('../chunk-WEMVDZJ3.js');
20
19
 
20
+ var _chunkUCKE66GBjs = require('../chunk-UCKE66GB.js');
21
21
 
22
22
 
23
23
 
@@ -35,5 +35,6 @@ var _chunkWEMVDZJ3js = require('../chunk-WEMVDZJ3.js');
35
35
 
36
36
 
37
37
 
38
- exports.DuplicatePolicyCreate = _chunkWEMVDZJ3js.DuplicatePolicyCreate; exports.DuplicatePolicyCreateIf = _chunkWEMVDZJ3js.DuplicatePolicyCreateIf; exports.DuplicatePolicyFail = _chunkWEMVDZJ3js.DuplicatePolicyFail; exports.DuplicatePolicyIgnore = _chunkWEMVDZJ3js.DuplicatePolicyIgnore; exports.DuplicatePolicyReplace = _chunkWEMVDZJ3js.DuplicatePolicyReplace; exports.KGFieldQueryOperatorArrayContains = _chunkWEMVDZJ3js.KGFieldQueryOperatorArrayContains; exports.KGFieldQueryOperatorEqual = _chunkWEMVDZJ3js.KGFieldQueryOperatorEqual; exports.KGFieldQueryOperatorGreater = _chunkWEMVDZJ3js.KGFieldQueryOperatorGreater; exports.KGFieldQueryOperatorGreaterOrEqual = _chunkWEMVDZJ3js.KGFieldQueryOperatorGreaterOrEqual; exports.KGFieldQueryOperatorIn = _chunkWEMVDZJ3js.KGFieldQueryOperatorIn; exports.KGFieldQueryOperatorLess = _chunkWEMVDZJ3js.KGFieldQueryOperatorLess; exports.KGFieldQueryOperatorLessOrEqual = _chunkWEMVDZJ3js.KGFieldQueryOperatorLessOrEqual; exports.KGFieldQueryOperatorLike = _chunkWEMVDZJ3js.KGFieldQueryOperatorLike; exports.KGFieldQueryOperatorNotEqual = _chunkWEMVDZJ3js.KGFieldQueryOperatorNotEqual; exports.KGFieldQueryOperatorSimilar = _chunkWEMVDZJ3js.KGFieldQueryOperatorSimilar; exports.KGRelationshipDirectionIncoming = _chunkWEMVDZJ3js.KGRelationshipDirectionIncoming; exports.KGRelationshipDirectionOutgoing = _chunkWEMVDZJ3js.KGRelationshipDirectionOutgoing;
38
+
39
+ exports.DuplicatePolicyCreate = _chunkUCKE66GBjs.DuplicatePolicyCreate; exports.DuplicatePolicyCreateIf = _chunkUCKE66GBjs.DuplicatePolicyCreateIf; exports.DuplicatePolicyFail = _chunkUCKE66GBjs.DuplicatePolicyFail; exports.DuplicatePolicyIgnore = _chunkUCKE66GBjs.DuplicatePolicyIgnore; exports.DuplicatePolicyReplace = _chunkUCKE66GBjs.DuplicatePolicyReplace; exports.KGFieldQueryOperatorArrayContains = _chunkUCKE66GBjs.KGFieldQueryOperatorArrayContains; exports.KGFieldQueryOperatorEqual = _chunkUCKE66GBjs.KGFieldQueryOperatorEqual; exports.KGFieldQueryOperatorGreater = _chunkUCKE66GBjs.KGFieldQueryOperatorGreater; exports.KGFieldQueryOperatorGreaterOrEqual = _chunkUCKE66GBjs.KGFieldQueryOperatorGreaterOrEqual; exports.KGFieldQueryOperatorIn = _chunkUCKE66GBjs.KGFieldQueryOperatorIn; exports.KGFieldQueryOperatorLess = _chunkUCKE66GBjs.KGFieldQueryOperatorLess; exports.KGFieldQueryOperatorLessOrEqual = _chunkUCKE66GBjs.KGFieldQueryOperatorLessOrEqual; exports.KGFieldQueryOperatorLike = _chunkUCKE66GBjs.KGFieldQueryOperatorLike; exports.KGFieldQueryOperatorNotEqual = _chunkUCKE66GBjs.KGFieldQueryOperatorNotEqual; exports.KGFieldQueryOperatorSimilar = _chunkUCKE66GBjs.KGFieldQueryOperatorSimilar; exports.KGRelationshipDirectionIncoming = _chunkUCKE66GBjs.KGRelationshipDirectionIncoming; exports.KGRelationshipDirectionOutgoing = _chunkUCKE66GBjs.KGRelationshipDirectionOutgoing;
39
40
  //# sourceMappingURL=kg.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/models/kg.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m3CAAC","file":"/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/models/kg.js"}
1
+ {"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/models/kg.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,m3CAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/models/kg.js"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import {
2
3
  DuplicatePolicyCreate,
3
4
  DuplicatePolicyCreateIf,
@@ -16,7 +17,7 @@ import {
16
17
  KGFieldQueryOperatorSimilar,
17
18
  KGRelationshipDirectionIncoming,
18
19
  KGRelationshipDirectionOutgoing
19
- } from "../chunk-EF7YJ7LL.mjs";
20
+ } from "../chunk-VUSVP6OI.mjs";
20
21
  export {
21
22
  DuplicatePolicyCreate,
22
23
  DuplicatePolicyCreateIf,
package/package.json CHANGED
@@ -1,46 +1,53 @@
1
1
  {
2
2
  "name": "@elqnt/kg",
3
- "version": "2.0.7",
4
- "description": "Knowledge graph functionality for Eloquent platform",
3
+ "version": "2.1.1",
4
+ "description": "Knowledge graph functionality for Eloquent platform - models, API, and hooks",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./dist/index.d.ts",
10
11
  "import": "./dist/index.mjs",
11
- "require": "./dist/index.js",
12
- "types": "./dist/index.d.ts"
12
+ "require": "./dist/index.js"
13
13
  },
14
14
  "./models": {
15
+ "types": "./dist/models/index.d.ts",
15
16
  "import": "./dist/models/index.mjs",
16
- "require": "./dist/models/index.js",
17
- "types": "./dist/models/index.d.ts"
17
+ "require": "./dist/models/index.js"
18
18
  },
19
19
  "./models/kg": {
20
+ "types": "./dist/models/kg.d.ts",
20
21
  "import": "./dist/models/kg.mjs",
21
- "require": "./dist/models/kg.js",
22
- "types": "./dist/models/kg.d.ts"
22
+ "require": "./dist/models/kg.js"
23
23
  },
24
24
  "./models/kg-designer": {
25
+ "types": "./dist/models/kg-designer.d.ts",
25
26
  "import": "./dist/models/kg-designer.mjs",
26
- "require": "./dist/models/kg-designer.js",
27
- "types": "./dist/models/kg-designer.d.ts"
27
+ "require": "./dist/models/kg-designer.js"
28
+ },
29
+ "./api": {
30
+ "types": "./dist/api/index.d.ts",
31
+ "import": "./dist/api/index.mjs",
32
+ "require": "./dist/api/index.js"
33
+ },
34
+ "./hooks": {
35
+ "types": "./dist/hooks/index.d.ts",
36
+ "import": "./dist/hooks/index.mjs",
37
+ "require": "./dist/hooks/index.js"
28
38
  }
29
39
  },
30
- "files": ["dist"],
31
- "scripts": {
32
- "build": "tsup",
33
- "dev": "tsup --watch",
34
- "clean": "rm -rf dist",
35
- "typecheck": "tsc --noEmit"
36
- },
40
+ "files": [
41
+ "dist"
42
+ ],
37
43
  "repository": {
38
44
  "type": "git",
39
45
  "url": "git+https://github.com/Blazi-Commerce/eloquent-packages.git",
40
46
  "directory": "packages/kg"
41
47
  },
42
48
  "dependencies": {
43
- "@elqnt/types": "^2.0.0"
49
+ "@elqnt/types": "2.0.9",
50
+ "@elqnt/api-client": "1.0.3"
44
51
  },
45
52
  "peerDependencies": {
46
53
  "react": "^18.0.0 || ^19.0.0"
@@ -49,6 +56,13 @@
49
56
  "@types/react": "^19.0.0",
50
57
  "react": "^19.0.0",
51
58
  "tsup": "^8.0.0",
52
- "typescript": "^5.0.0"
59
+ "typescript": "^5.0.0",
60
+ "@elqnt/api-client": "1.0.3"
61
+ },
62
+ "scripts": {
63
+ "build": "tsup",
64
+ "dev": "tsup --watch",
65
+ "clean": "rm -rf dist",
66
+ "typecheck": "tsc --noEmit"
53
67
  }
54
- }
68
+ }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/chunk-2OYIMLE4.js","../models/kg-designer.ts"],"names":[],"mappings":"AAAA;ACuDO,IAAM,cAAA,EAAgB,iBAAA;AACtB,IAAM,cAAA,EAAgB,mBAAA;AACtB,IAAM,cAAA,EAAgB,mBAAA;AACtB,IAAM,WAAA,EAAa,gBAAA;AACnB,IAAM,YAAA,EAAc,eAAA;AAIpB,IAAM,qBAAA,EAAuB,yBAAA;AAC7B,IAAM,qBAAA,EAAuB,2BAAA;AAC7B,IAAM,qBAAA,EAAuB,2BAAA;AAC7B,IAAM,kBAAA,EAAoB,wBAAA;AAC1B,IAAM,mBAAA,EAAqB,uBAAA;AAI3B,IAAM,qBAAA,EAAuB,yBAAA;AAC7B,IAAM,qBAAA,EAAuB,2BAAA;AAC7B,IAAM,qBAAA,EAAuB,2BAAA;AAC7B,IAAM,kBAAA,EAAoB,wBAAA;AAC1B,IAAM,mBAAA,EAAqB,uBAAA;AAI3B,IAAM,WAAA,EAAa,cAAA;AAInB,IAAM,iBAAA,EAAmB,2BAAA;AAIzB,IAAM,gBAAA,EAAkB,oBAAA;AACxB,IAAM,cAAA,EAAgB,kBAAA;AAItB,IAAM,gBAAA,EAAkB,mBAAA;AAKxB,IAAM,iBAAA,EAAmB,cAAA;AACzB,IAAM,kBAAA,EAAoB,eAAA;AD3EjC;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,69BAAC","file":"/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/chunk-2OYIMLE4.js","sourcesContent":[null,"// Code generated by tygo. DO NOT EDIT.\n\n//////////\n// source: designer-models.go\n\n/**\n * GraphNodeDefinition represents a node type in the knowledge graph\n */\nexport interface GraphNodeDefinition {\n label: string;\n description: string;\n schema: { [key: string]: any};\n createdAt: string /* RFC3339 */;\n updatedAt: string /* RFC3339 */;\n}\n/**\n * GraphEdgeDefinition represents an edge type in the knowledge graph\n */\nexport interface GraphEdgeDefinition {\n label: string;\n description: string;\n fromNode: string;\n toNode: string;\n schema: { [key: string]: any};\n createdAt: string /* RFC3339 */;\n updatedAt: string /* RFC3339 */;\n}\n/**\n * Request/Response types\n */\nexport interface GraphNodeRequest {\n node: GraphNodeDefinition;\n}\nexport interface GraphNodeResponse {\n node?: GraphNodeDefinition;\n nodes?: GraphNodeDefinition[];\n success: boolean;\n error?: string;\n}\nexport interface GraphEdgeRequest {\n edge: GraphEdgeDefinition;\n}\nexport interface GraphEdgeResponse {\n edge?: GraphEdgeDefinition;\n edges?: GraphEdgeDefinition[];\n success: boolean;\n error?: string;\n}\n\n//////////\n// source: subjects.go\n\n/**\n * KG Graph management subjects (multi-graph support)\n */\nexport const KGGraphCreate = \"kg.graph.create\";\nexport const KGGraphUpdate = \"kg.graph.update.*\";\nexport const KGGraphDelete = \"kg.graph.delete.*\";\nexport const KGGraphGet = \"kg.graph.get.*\";\nexport const KGGraphList = \"kg.graph.list\";\n/**\n * KG Designer Node subjects\n */\nexport const KGDesignerNodeCreate = \"kg.designer.node.create\";\nexport const KGDesignerNodeUpdate = \"kg.designer.node.update.*\";\nexport const KGDesignerNodeDelete = \"kg.designer.node.delete.*\";\nexport const KGDesignerNodeGet = \"kg.designer.node.get.*\";\nexport const KGDesignerNodeList = \"kg.designer.node.list\";\n/**\n * KG Designer Edge subjects\n */\nexport const KGDesignerEdgeCreate = \"kg.designer.edge.create\";\nexport const KGDesignerEdgeUpdate = \"kg.designer.edge.update.*\";\nexport const KGDesignerEdgeDelete = \"kg.designer.edge.delete.*\";\nexport const KGDesignerEdgeGet = \"kg.designer.edge.get.*\";\nexport const KGDesignerEdgeList = \"kg.designer.edge.list\";\n/**\n * KG Database subjects\n */\nexport const KGDBCreate = \"kg.db.create\";\n/**\n * KG Document subjects\n */\nexport const KGDocumentDelete = \"kg_ingest.document.delete\";\n/**\n * KG Sync Job subjects\n */\nexport const KGSyncJobUpdate = \"kg.sync.job.update\";\nexport const KGSyncJobList = \"kg.sync.job.list\";\n/**\n * KG Optimization subjects\n */\nexport const KGGraphOptimize = \"kg.graph.optimize\";\n/**\n * Synchronous ingest subjects (bypass JetStream for direct ClickHouse insertion)\n * Use kg.sync.* pattern to avoid overlap with kg.ingest.> JetStream stream\n */\nexport const KGIngestNodeSync = \"kg.sync.node\";\nexport const KGIngestBatchSync = \"kg.sync.batch\";\n"]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=chunk-J3XZF6JO.mjs.map
@@ -1 +0,0 @@
1
- "use strict";//# sourceMappingURL=chunk-RDWVE6B2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/chunk-RDWVE6B2.js"],"names":[],"mappings":"AAAA","file":"/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/chunk-RDWVE6B2.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/chunk-WEMVDZJ3.js","../models/kg.ts"],"names":[],"mappings":"AAAA;ACmGO,IAAM,wBAAA,EAA2C,kBAAA;AACjD,IAAM,sBAAA,EAAyC,QAAA;AAC/C,IAAM,uBAAA,EAA0C,SAAA;AAChD,IAAM,oBAAA,EAAuC,MAAA;AAC7C,IAAM,sBAAA,EAAyC,QAAA;AAiC/C,IAAM,0BAAA,EAAkD,IAAA;AACxD,IAAM,6BAAA,EAAqD,KAAA;AAC3D,IAAM,4BAAA,EAAoD,IAAA;AAC1D,IAAM,yBAAA,EAAiD,IAAA;AACvD,IAAM,mCAAA,EAA2D,KAAA;AACjE,IAAM,gCAAA,EAAwD,KAAA;AAC9D,IAAM,yBAAA,EAAiD,MAAA;AACvD,IAAM,4BAAA,EAAoD,SAAA;AAK1D,IAAM,uBAAA,EAA+C,IAAA;AACrD,IAAM,kCAAA,EAA0D,eAAA;AAEhE,IAAM,gCAAA,EAA2D,UAAA;AACjE,IAAM,gCAAA,EAA2D,UAAA;ADtIxE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,klCAAC","file":"/home/runner/work/eloquent-packages/eloquent-packages/packages/kg/dist/chunk-WEMVDZJ3.js","sourcesContent":[null,"// Code generated by tygo. DO NOT EDIT.\nimport { ResponseMetadata } from \"@elqnt/types\";\n\n//////////\n// source: kg-models.go\n\n/**\n * Graph represents a knowledge graph within an organization\n */\nexport interface Graph {\n id: string;\n name: string;\n description: string;\n isDefault: boolean;\n createdAt: string /* RFC3339 */;\n updatedAt: string /* RFC3339 */;\n}\n/**\n * CreateGraphRequest is the request to create a new graph\n */\nexport interface CreateGraphRequest {\n id?: string; // Optional: if provided, use as graph ID (must be valid UUID)\n name: string;\n description: string;\n}\n/**\n * CreateGraphResult is the response for creating a graph\n */\nexport interface CreateGraphResult {\n graph?: Graph;\n success: boolean;\n error?: string;\n metadata?: ResponseMetadata;\n}\n/**\n * GetGraphResult is the response for getting a single graph\n */\nexport interface GetGraphResult {\n graph?: Graph;\n success: boolean;\n error?: string;\n metadata?: ResponseMetadata;\n}\n/**\n * ListGraphsResult is the response for listing graphs\n */\nexport interface ListGraphsResult {\n graphs?: Graph[];\n success: boolean;\n error?: string;\n metadata?: ResponseMetadata;\n}\n/**\n * UpdateGraphResult is the response for updating a graph\n */\nexport interface UpdateGraphResult {\n graph?: Graph;\n success: boolean;\n error?: string;\n metadata?: ResponseMetadata;\n}\n/**\n * DeleteGraphResult is the response for deleting a graph\n */\nexport interface DeleteGraphResult {\n success: boolean;\n error?: string;\n metadata?: ResponseMetadata;\n}\nexport interface KGNode {\n id: string;\n label: string;\n fields: { [key: string]: any};\n relationships?: KGEdge[];\n score?: number /* float64 */;\n}\nexport interface KGEdge {\n id: string;\n label: string;\n fields: { [key: string]: any};\n from: string;\n to: string;\n}\n/**\n * KGNodeIngestRequest represents a request to ingest a node into the knowledge graph.\n * Note: graphId should be passed via NATS header, not in the body.\n */\nexport interface KGNodeIngestRequest {\n label: string;\n keyField?: string;\n reverseEdgeLabel?: string;\n fields: { [key: string]: any};\n edges?: KGEdgeIngestRequest[];\n duplicatePolicy?: DuplicatePolicy;\n generateEmbeddings?: boolean;\n embeddingsSource?: string;\n embeddingsFields?: string[];\n}\nexport type DuplicatePolicy = string;\nexport const DuplicatePolicyCreateIf: DuplicatePolicy = \"createIfNotExist\";\nexport const DuplicatePolicyIgnore: DuplicatePolicy = \"ignore\";\nexport const DuplicatePolicyReplace: DuplicatePolicy = \"replace\";\nexport const DuplicatePolicyFail: DuplicatePolicy = \"fail\";\nexport const DuplicatePolicyCreate: DuplicatePolicy = \"create\";\nexport interface KGEdgeIngestRequest {\n label: string;\n fields: { [key: string]: any};\n toLabel: string;\n toFieldKey: string;\n toFieldValue: any;\n createReciprocal: boolean;\n reciprocalLabel: string;\n allowEmbeddingsSearch?: boolean;\n}\n/**\n * KGQuery represents a query to the knowledge graph.\n * Note: graphId should be passed via NATS header, not in the body.\n */\nexport interface KGQuery {\n label: string;\n fields: KGFieldQuery[];\n limit: number /* int */;\n depth: number /* int */;\n sortBy: string;\n sortOrder: string;\n edges?: KGEdgeQuery[];\n embeddingsSource?: string;\n skipEmbedding?: boolean;\n summaryOnly?: boolean; // Filter out heavy fields (text, embeddings, etc.) for UI performance\n}\nexport interface KGFieldQuery {\n name: string;\n value: any;\n operator: KGFieldQueryOperator;\n}\nexport type KGFieldQueryOperator = string;\nexport const KGFieldQueryOperatorEqual: KGFieldQueryOperator = \"eq\";\nexport const KGFieldQueryOperatorNotEqual: KGFieldQueryOperator = \"neq\";\nexport const KGFieldQueryOperatorGreater: KGFieldQueryOperator = \"gt\";\nexport const KGFieldQueryOperatorLess: KGFieldQueryOperator = \"lt\";\nexport const KGFieldQueryOperatorGreaterOrEqual: KGFieldQueryOperator = \"gte\";\nexport const KGFieldQueryOperatorLessOrEqual: KGFieldQueryOperator = \"lte\";\nexport const KGFieldQueryOperatorLike: KGFieldQueryOperator = \"like\";\nexport const KGFieldQueryOperatorSimilar: KGFieldQueryOperator = \"similar\";\n/**\n * KGFieldQueryOperatorGreaterOrEqual KGFieldQueryOperator = \"gte\"\n * KGFieldQueryOperatorLessOrEqual KGFieldQueryOperator = \"lte\"\n */\nexport const KGFieldQueryOperatorIn: KGFieldQueryOperator = \"in\";\nexport const KGFieldQueryOperatorArrayContains: KGFieldQueryOperator = \"arrayContains\";\nexport type KGRelationshipDirection = string;\nexport const KGRelationshipDirectionIncoming: KGRelationshipDirection = \"incoming\";\nexport const KGRelationshipDirectionOutgoing: KGRelationshipDirection = \"outgoing\";\nexport interface KGEdgeQuery {\n label: string;\n direction: 'incoming' | 'outgoing';\n fields?: { [key: string]: any};\n /**\n * FromLabel string `json:\"fromLabel\"`\n * FromFieldKey string `json:\"fromFieldKey\"`\n * FromValue interface{} `json:\"fromValue\"`\n */\n toLabel: string;\n toFieldKey: string;\n toFieldValue: any;\n}\nexport interface KGQueryResult {\n nodes: KGNode[];\n edges: KGEdge[];\n}\nexport interface KGLabelInfo {\n label: string;\n count: number /* uint64 */;\n}\nexport interface KGPropertyInfo {\n property: string;\n count: number /* uint64 */;\n}\nexport interface KGPLabelSchema {\n label: string;\n keys: string[];\n}\nexport interface KGArticle {\n id: string;\n title: string;\n content: string;\n lang?: string;\n docUrl?: string;\n paragraphs?: string;\n}\nexport interface KGPropertyFilter {\n property: string;\n value: string;\n}\nexport interface KGPropertyFilterRequest {\n label: string;\n filters: KGPropertyFilter[];\n}\nexport interface DeleteDocumentRequest {\n documentId: string;\n}\nexport interface DeleteDocumentResponse {\n success: boolean;\n deletedNodes: { [key: string]: number /* int */};\n totalDeleted: number /* int */;\n error?: string;\n}\n/**\n * KGSyncJob represents a sync job record in the database\n */\nexport interface KGSyncJob {\n id: string;\n title: string;\n stats: { [key: string]: any};\n startTime: string;\n endTime: string;\n updatedAt?: string;\n}\n/**\n * KGSyncJobUpdateRequest is used to insert or update a sync job\n */\nexport interface KGSyncJobUpdateRequest {\n id: string;\n title: string;\n stats: { [key: string]: any};\n startTime: string;\n endTime: string;\n}\nexport interface KGSyncJobUpdateResponse {\n jobId: string;\n metadata: ResponseMetadata;\n}\nexport interface KGSyncJobListResponse {\n jobs: KGSyncJob[];\n metadata: ResponseMetadata;\n}\n/**\n * KGSyncJobListRequest is used to list sync jobs with filters\n */\nexport interface KGSyncJobListRequest {\n limit?: number /* int */;\n offset?: number /* int */;\n startFrom?: string;\n endTo?: string;\n}\n/**\n * KGSyncIngestResponse is the response for synchronous single node ingestion\n */\nexport interface KGSyncIngestResponse {\n success: boolean;\n nodeId?: string;\n error?: string;\n metadata: ResponseMetadata;\n}\n/**\n * KGBatchSyncIngestResponse is the response for synchronous batch node ingestion\n */\nexport interface KGBatchSyncIngestResponse {\n success: boolean;\n ingestedCount: number /* int */;\n nodeIds?: string[];\n errors?: string[];\n metadata: ResponseMetadata;\n}\n"]}