@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.
- package/dist/api/index.d.mts +110 -0
- package/dist/api/index.d.ts +110 -0
- package/dist/api/index.js +64 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/index.mjs +64 -0
- package/dist/chunk-3AS6C7FW.mjs +217 -0
- package/dist/chunk-3AS6C7FW.mjs.map +1 -0
- package/dist/chunk-4XIW5GLO.js +217 -0
- package/dist/chunk-4XIW5GLO.js.map +1 -0
- package/dist/{chunk-2OYIMLE4.js → chunk-67SUELDR.js} +4 -2
- package/dist/chunk-67SUELDR.js.map +1 -0
- package/dist/chunk-7HNJUCVW.js +577 -0
- package/dist/chunk-7HNJUCVW.js.map +1 -0
- package/dist/chunk-EW3NQGUZ.mjs +577 -0
- package/dist/chunk-EW3NQGUZ.mjs.map +1 -0
- package/dist/chunk-NJNBEGDB.mjs +2 -0
- package/dist/chunk-NJNBEGDB.mjs.map +1 -0
- package/dist/{chunk-IXLQ6ZMR.mjs → chunk-RDIQ7HTM.mjs} +3 -1
- package/dist/{chunk-IXLQ6ZMR.mjs.map → chunk-RDIQ7HTM.mjs.map} +1 -1
- package/dist/{chunk-WEMVDZJ3.js → chunk-UCKE66GB.js} +4 -2
- package/dist/chunk-UCKE66GB.js.map +1 -0
- package/dist/{chunk-EF7YJ7LL.mjs → chunk-VUSVP6OI.mjs} +3 -1
- package/dist/{chunk-EF7YJ7LL.mjs.map → chunk-VUSVP6OI.mjs.map} +1 -1
- package/dist/chunk-W4XVBGE7.js +2 -0
- package/dist/chunk-W4XVBGE7.js.map +1 -0
- package/dist/hooks/index.d.mts +89 -0
- package/dist/hooks/index.d.ts +89 -0
- package/dist/hooks/index.js +16 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/index.mjs +16 -0
- package/dist/hooks/index.mjs.map +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +75 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +75 -4
- package/dist/index.mjs.map +1 -1
- package/dist/models/index.js +5 -4
- package/dist/models/index.js.map +1 -1
- package/dist/models/index.mjs +4 -3
- package/dist/models/kg-designer.js +4 -3
- package/dist/models/kg-designer.js.map +1 -1
- package/dist/models/kg-designer.mjs +2 -1
- package/dist/models/kg.js +4 -3
- package/dist/models/kg.js.map +1 -1
- package/dist/models/kg.mjs +2 -1
- package/package.json +34 -20
- package/dist/chunk-2OYIMLE4.js.map +0 -1
- package/dist/chunk-J3XZF6JO.mjs +0 -1
- package/dist/chunk-RDWVE6B2.js +0 -1
- package/dist/chunk-RDWVE6B2.js.map +0 -1
- package/dist/chunk-WEMVDZJ3.js.map +0 -1
- /package/dist/{chunk-J3XZF6JO.mjs.map → api/index.mjs.map} +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
// models/kg.ts
|
|
2
4
|
var DuplicatePolicyCreateIf = "createIfNotExist";
|
|
3
5
|
var DuplicatePolicyIgnore = "ignore";
|
|
4
6
|
var DuplicatePolicyReplace = "replace";
|
|
@@ -36,4 +38,4 @@ var KGRelationshipDirectionOutgoing = "outgoing";
|
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
exports.DuplicatePolicyCreateIf = DuplicatePolicyCreateIf; exports.DuplicatePolicyIgnore = DuplicatePolicyIgnore; exports.DuplicatePolicyReplace = DuplicatePolicyReplace; exports.DuplicatePolicyFail = DuplicatePolicyFail; exports.DuplicatePolicyCreate = DuplicatePolicyCreate; exports.KGFieldQueryOperatorEqual = KGFieldQueryOperatorEqual; exports.KGFieldQueryOperatorNotEqual = KGFieldQueryOperatorNotEqual; exports.KGFieldQueryOperatorGreater = KGFieldQueryOperatorGreater; exports.KGFieldQueryOperatorLess = KGFieldQueryOperatorLess; exports.KGFieldQueryOperatorGreaterOrEqual = KGFieldQueryOperatorGreaterOrEqual; exports.KGFieldQueryOperatorLessOrEqual = KGFieldQueryOperatorLessOrEqual; exports.KGFieldQueryOperatorLike = KGFieldQueryOperatorLike; exports.KGFieldQueryOperatorSimilar = KGFieldQueryOperatorSimilar; exports.KGFieldQueryOperatorIn = KGFieldQueryOperatorIn; exports.KGFieldQueryOperatorArrayContains = KGFieldQueryOperatorArrayContains; exports.KGRelationshipDirectionIncoming = KGRelationshipDirectionIncoming; exports.KGRelationshipDirectionOutgoing = KGRelationshipDirectionOutgoing;
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-UCKE66GB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/chunk-UCKE66GB.js","../models/kg.ts"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACA;ACiGO,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;ADpIxE;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/eloquent/packages/@elqnt/kg/dist/chunk-UCKE66GB.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"]}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
1
3
|
// models/kg.ts
|
|
2
4
|
var DuplicatePolicyCreateIf = "createIfNotExist";
|
|
3
5
|
var DuplicatePolicyIgnore = "ignore";
|
|
@@ -36,4 +38,4 @@ export {
|
|
|
36
38
|
KGRelationshipDirectionIncoming,
|
|
37
39
|
KGRelationshipDirectionOutgoing
|
|
38
40
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-VUSVP6OI.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../models/kg.ts"],"sourcesContent":["// 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"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../models/kg.ts"],"sourcesContent":["// 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"],"mappings":";;;AAmGO,IAAM,0BAA2C;AACjD,IAAM,wBAAyC;AAC/C,IAAM,yBAA0C;AAChD,IAAM,sBAAuC;AAC7C,IAAM,wBAAyC;AAiC/C,IAAM,4BAAkD;AACxD,IAAM,+BAAqD;AAC3D,IAAM,8BAAoD;AAC1D,IAAM,2BAAiD;AACvD,IAAM,qCAA2D;AACjE,IAAM,kCAAwD;AAC9D,IAAM,2BAAiD;AACvD,IAAM,8BAAoD;AAK1D,IAAM,yBAA+C;AACrD,IAAM,oCAA0D;AAEhE,IAAM,kCAA2D;AACjE,IAAM,kCAA2D;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/chunk-W4XVBGE7.js"],"names":[],"mappings":"AAAA,yBAAY","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/chunk-W4XVBGE7.js"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { ApiClientOptions } from '@elqnt/api-client';
|
|
2
|
+
import { Graph, CreateGraphRequest, KGQuery, KGQueryResult, KGLabelInfo, KGNode, KGNodeIngestRequest } from '../models/kg.mjs';
|
|
3
|
+
import { GraphNodeDefinition, GraphEdgeDefinition } from '../models/kg-designer.mjs';
|
|
4
|
+
import { CrawlJob } from '../api/index.mjs';
|
|
5
|
+
import '@elqnt/types';
|
|
6
|
+
|
|
7
|
+
type UseKGOptions = ApiClientOptions & {
|
|
8
|
+
graphId?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Hook for knowledge graph CRUD operations
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { loading, error, listGraphs, createGraph } = useGraphs({
|
|
16
|
+
* baseUrl: apiGatewayUrl,
|
|
17
|
+
* orgId: selectedOrgId,
|
|
18
|
+
* });
|
|
19
|
+
*
|
|
20
|
+
* const graphs = await listGraphs();
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare function useGraphs(options: ApiClientOptions): {
|
|
24
|
+
loading: boolean;
|
|
25
|
+
error: string | null;
|
|
26
|
+
listGraphs: () => Promise<Graph[]>;
|
|
27
|
+
getGraph: (graphId: string) => Promise<Graph | null>;
|
|
28
|
+
createGraph: (graph: CreateGraphRequest) => Promise<Graph | null>;
|
|
29
|
+
updateGraph: (graphId: string, updates: Partial<Graph>) => Promise<Graph | null>;
|
|
30
|
+
deleteGraph: (graphId: string) => Promise<boolean>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Hook for querying knowledge graph nodes
|
|
34
|
+
*/
|
|
35
|
+
declare function useKGQuery(options: UseKGOptions): {
|
|
36
|
+
loading: boolean;
|
|
37
|
+
error: string | null;
|
|
38
|
+
query: (queryParams: KGQuery) => Promise<KGQueryResult | null>;
|
|
39
|
+
getLabels: () => Promise<KGLabelInfo[]>;
|
|
40
|
+
getNode: (nodeId: string) => Promise<KGNode | null>;
|
|
41
|
+
ingestNode: (node: KGNodeIngestRequest) => Promise<string | null>;
|
|
42
|
+
updateNode: (nodeId: string, updates: Partial<KGNode>) => Promise<boolean>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Hook for KG designer operations (node and edge definitions)
|
|
46
|
+
*/
|
|
47
|
+
declare function useKGDesigner(options: UseKGOptions): {
|
|
48
|
+
loading: boolean;
|
|
49
|
+
error: string | null;
|
|
50
|
+
listNodes: () => Promise<GraphNodeDefinition[]>;
|
|
51
|
+
getNode: (label: string) => Promise<GraphNodeDefinition | null>;
|
|
52
|
+
createNode: (node: Omit<GraphNodeDefinition, "createdAt" | "updatedAt">) => Promise<GraphNodeDefinition | null>;
|
|
53
|
+
updateNode: (label: string, updates: Partial<GraphNodeDefinition>) => Promise<GraphNodeDefinition | null>;
|
|
54
|
+
deleteNode: (label: string) => Promise<boolean>;
|
|
55
|
+
listEdges: () => Promise<GraphEdgeDefinition[]>;
|
|
56
|
+
createEdge: (edge: Omit<GraphEdgeDefinition, "createdAt" | "updatedAt">) => Promise<GraphEdgeDefinition | null>;
|
|
57
|
+
updateEdge: (label: string, updates: Partial<GraphEdgeDefinition>) => Promise<GraphEdgeDefinition | null>;
|
|
58
|
+
deleteEdge: (label: string) => Promise<boolean>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Hook for web crawl job operations
|
|
62
|
+
*/
|
|
63
|
+
declare function useCrawlJobs(options: UseKGOptions): {
|
|
64
|
+
loading: boolean;
|
|
65
|
+
error: string | null;
|
|
66
|
+
listJobs: (params?: {
|
|
67
|
+
limit?: number;
|
|
68
|
+
offset?: number;
|
|
69
|
+
status?: string;
|
|
70
|
+
}) => Promise<{
|
|
71
|
+
jobs: CrawlJob[];
|
|
72
|
+
total: number;
|
|
73
|
+
}>;
|
|
74
|
+
startJob: (params: {
|
|
75
|
+
baseUrl: string;
|
|
76
|
+
depth: number;
|
|
77
|
+
maxPages: number;
|
|
78
|
+
}) => Promise<string | null>;
|
|
79
|
+
getJobStatus: (jobId: string) => Promise<CrawlJob | null>;
|
|
80
|
+
cancelJob: (jobId: string) => Promise<boolean>;
|
|
81
|
+
getCrawledPages: (jobId: string) => Promise<Array<{
|
|
82
|
+
url: string;
|
|
83
|
+
title: string;
|
|
84
|
+
status: string;
|
|
85
|
+
processedAt: string;
|
|
86
|
+
}>>;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export { type UseKGOptions, useCrawlJobs, useGraphs, useKGDesigner, useKGQuery };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { ApiClientOptions } from '@elqnt/api-client';
|
|
2
|
+
import { Graph, CreateGraphRequest, KGQuery, KGQueryResult, KGLabelInfo, KGNode, KGNodeIngestRequest } from '../models/kg.js';
|
|
3
|
+
import { GraphNodeDefinition, GraphEdgeDefinition } from '../models/kg-designer.js';
|
|
4
|
+
import { CrawlJob } from '../api/index.js';
|
|
5
|
+
import '@elqnt/types';
|
|
6
|
+
|
|
7
|
+
type UseKGOptions = ApiClientOptions & {
|
|
8
|
+
graphId?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Hook for knowledge graph CRUD operations
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { loading, error, listGraphs, createGraph } = useGraphs({
|
|
16
|
+
* baseUrl: apiGatewayUrl,
|
|
17
|
+
* orgId: selectedOrgId,
|
|
18
|
+
* });
|
|
19
|
+
*
|
|
20
|
+
* const graphs = await listGraphs();
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
declare function useGraphs(options: ApiClientOptions): {
|
|
24
|
+
loading: boolean;
|
|
25
|
+
error: string | null;
|
|
26
|
+
listGraphs: () => Promise<Graph[]>;
|
|
27
|
+
getGraph: (graphId: string) => Promise<Graph | null>;
|
|
28
|
+
createGraph: (graph: CreateGraphRequest) => Promise<Graph | null>;
|
|
29
|
+
updateGraph: (graphId: string, updates: Partial<Graph>) => Promise<Graph | null>;
|
|
30
|
+
deleteGraph: (graphId: string) => Promise<boolean>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Hook for querying knowledge graph nodes
|
|
34
|
+
*/
|
|
35
|
+
declare function useKGQuery(options: UseKGOptions): {
|
|
36
|
+
loading: boolean;
|
|
37
|
+
error: string | null;
|
|
38
|
+
query: (queryParams: KGQuery) => Promise<KGQueryResult | null>;
|
|
39
|
+
getLabels: () => Promise<KGLabelInfo[]>;
|
|
40
|
+
getNode: (nodeId: string) => Promise<KGNode | null>;
|
|
41
|
+
ingestNode: (node: KGNodeIngestRequest) => Promise<string | null>;
|
|
42
|
+
updateNode: (nodeId: string, updates: Partial<KGNode>) => Promise<boolean>;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Hook for KG designer operations (node and edge definitions)
|
|
46
|
+
*/
|
|
47
|
+
declare function useKGDesigner(options: UseKGOptions): {
|
|
48
|
+
loading: boolean;
|
|
49
|
+
error: string | null;
|
|
50
|
+
listNodes: () => Promise<GraphNodeDefinition[]>;
|
|
51
|
+
getNode: (label: string) => Promise<GraphNodeDefinition | null>;
|
|
52
|
+
createNode: (node: Omit<GraphNodeDefinition, "createdAt" | "updatedAt">) => Promise<GraphNodeDefinition | null>;
|
|
53
|
+
updateNode: (label: string, updates: Partial<GraphNodeDefinition>) => Promise<GraphNodeDefinition | null>;
|
|
54
|
+
deleteNode: (label: string) => Promise<boolean>;
|
|
55
|
+
listEdges: () => Promise<GraphEdgeDefinition[]>;
|
|
56
|
+
createEdge: (edge: Omit<GraphEdgeDefinition, "createdAt" | "updatedAt">) => Promise<GraphEdgeDefinition | null>;
|
|
57
|
+
updateEdge: (label: string, updates: Partial<GraphEdgeDefinition>) => Promise<GraphEdgeDefinition | null>;
|
|
58
|
+
deleteEdge: (label: string) => Promise<boolean>;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Hook for web crawl job operations
|
|
62
|
+
*/
|
|
63
|
+
declare function useCrawlJobs(options: UseKGOptions): {
|
|
64
|
+
loading: boolean;
|
|
65
|
+
error: string | null;
|
|
66
|
+
listJobs: (params?: {
|
|
67
|
+
limit?: number;
|
|
68
|
+
offset?: number;
|
|
69
|
+
status?: string;
|
|
70
|
+
}) => Promise<{
|
|
71
|
+
jobs: CrawlJob[];
|
|
72
|
+
total: number;
|
|
73
|
+
}>;
|
|
74
|
+
startJob: (params: {
|
|
75
|
+
baseUrl: string;
|
|
76
|
+
depth: number;
|
|
77
|
+
maxPages: number;
|
|
78
|
+
}) => Promise<string | null>;
|
|
79
|
+
getJobStatus: (jobId: string) => Promise<CrawlJob | null>;
|
|
80
|
+
cancelJob: (jobId: string) => Promise<boolean>;
|
|
81
|
+
getCrawledPages: (jobId: string) => Promise<Array<{
|
|
82
|
+
url: string;
|
|
83
|
+
title: string;
|
|
84
|
+
status: string;
|
|
85
|
+
processedAt: string;
|
|
86
|
+
}>>;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
export { type UseKGOptions, useCrawlJobs, useGraphs, useKGDesigner, useKGQuery };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk7HNJUCVWjs = require('../chunk-7HNJUCVW.js');
|
|
9
|
+
require('../chunk-4XIW5GLO.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.useCrawlJobs = _chunk7HNJUCVWjs.useCrawlJobs; exports.useGraphs = _chunk7HNJUCVWjs.useGraphs; exports.useKGDesigner = _chunk7HNJUCVWjs.useKGDesigner; exports.useKGQuery = _chunk7HNJUCVWjs.useKGQuery;
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/hooks/index.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ,YAAY;AACZ;AACE;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACF,+MAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/hooks/index.js"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
import {
|
|
4
|
+
useCrawlJobs,
|
|
5
|
+
useGraphs,
|
|
6
|
+
useKGDesigner,
|
|
7
|
+
useKGQuery
|
|
8
|
+
} from "../chunk-EW3NQGUZ.mjs";
|
|
9
|
+
import "../chunk-3AS6C7FW.mjs";
|
|
10
|
+
export {
|
|
11
|
+
useCrawlJobs,
|
|
12
|
+
useGraphs,
|
|
13
|
+
useKGDesigner,
|
|
14
|
+
useKGQuery
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { CreateGraphRequest, CreateGraphResult, DeleteDocumentRequest, DeleteDocumentResponse, DeleteGraphResult, DuplicatePolicy, DuplicatePolicyCreate, DuplicatePolicyCreateIf, DuplicatePolicyFail, DuplicatePolicyIgnore, DuplicatePolicyReplace, GetGraphResult, Graph, KGArticle, KGBatchSyncIngestResponse, KGEdge, KGEdgeIngestRequest, KGEdgeQuery, KGFieldQuery, KGFieldQueryOperator, KGFieldQueryOperatorArrayContains, KGFieldQueryOperatorEqual, KGFieldQueryOperatorGreater, KGFieldQueryOperatorGreaterOrEqual, KGFieldQueryOperatorIn, KGFieldQueryOperatorLess, KGFieldQueryOperatorLessOrEqual, KGFieldQueryOperatorLike, KGFieldQueryOperatorNotEqual, KGFieldQueryOperatorSimilar, KGLabelInfo, KGNode, KGNodeIngestRequest, KGPLabelSchema, KGPropertyFilter, KGPropertyFilterRequest, KGPropertyInfo, KGQuery, KGQueryResult, KGRelationshipDirection, KGRelationshipDirectionIncoming, KGRelationshipDirectionOutgoing, KGSyncIngestResponse, KGSyncJob, KGSyncJobListRequest, KGSyncJobListResponse, KGSyncJobUpdateRequest, KGSyncJobUpdateResponse, ListGraphsResult, UpdateGraphResult } from './models/kg.mjs';
|
|
2
2
|
export { GraphEdgeDefinition, GraphEdgeRequest, GraphEdgeResponse, GraphNodeDefinition, GraphNodeRequest, GraphNodeResponse, KGDBCreate, KGDesignerEdgeCreate, KGDesignerEdgeDelete, KGDesignerEdgeGet, KGDesignerEdgeList, KGDesignerEdgeUpdate, KGDesignerNodeCreate, KGDesignerNodeDelete, KGDesignerNodeGet, KGDesignerNodeList, KGDesignerNodeUpdate, KGDocumentDelete, KGGraphCreate, KGGraphDelete, KGGraphGet, KGGraphList, KGGraphOptimize, KGGraphUpdate, KGIngestBatchSync, KGIngestNodeSync, KGSyncJobList, KGSyncJobUpdate } from './models/kg-designer.mjs';
|
|
3
|
+
export { CrawlJob, CrawlJobStartResponse, CrawlJobStatusResponse, CrawlJobsListResponse, CrawledPagesResponse, KGApiOptions, cancelCrawlJobApi, createDesignerEdgeApi, createDesignerNodeApi, createGraphApi, deleteDesignerEdgeApi, deleteDesignerNodeApi, deleteGraphApi, deleteKGDocumentApi, getCrawlJobStatusApi, getCrawledPagesApi, getDesignerEdgeApi, getDesignerNodeApi, getGraphApi, getGraphLabelsApi, getKGNodeApi, getNodeConnectionStatsApi, ingestDocumentApi, ingestKGNodeApi, listCrawlJobsApi, listDesignerEdgesApi, listDesignerNodesApi, listGraphsApi, optimizeGraphApi, queryGraphApi, startCrawlJobApi, updateDesignerEdgeApi, updateDesignerNodeApi, updateGraphApi, updateKGNodeApi } from './api/index.mjs';
|
|
4
|
+
export { UseKGOptions, useCrawlJobs, useGraphs, useKGDesigner, useKGQuery } from './hooks/index.mjs';
|
|
3
5
|
import '@elqnt/types';
|
|
6
|
+
import '@elqnt/api-client';
|
|
4
7
|
|
|
5
8
|
declare const Test = "hi";
|
|
6
9
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { CreateGraphRequest, CreateGraphResult, DeleteDocumentRequest, DeleteDocumentResponse, DeleteGraphResult, DuplicatePolicy, DuplicatePolicyCreate, DuplicatePolicyCreateIf, DuplicatePolicyFail, DuplicatePolicyIgnore, DuplicatePolicyReplace, GetGraphResult, Graph, KGArticle, KGBatchSyncIngestResponse, KGEdge, KGEdgeIngestRequest, KGEdgeQuery, KGFieldQuery, KGFieldQueryOperator, KGFieldQueryOperatorArrayContains, KGFieldQueryOperatorEqual, KGFieldQueryOperatorGreater, KGFieldQueryOperatorGreaterOrEqual, KGFieldQueryOperatorIn, KGFieldQueryOperatorLess, KGFieldQueryOperatorLessOrEqual, KGFieldQueryOperatorLike, KGFieldQueryOperatorNotEqual, KGFieldQueryOperatorSimilar, KGLabelInfo, KGNode, KGNodeIngestRequest, KGPLabelSchema, KGPropertyFilter, KGPropertyFilterRequest, KGPropertyInfo, KGQuery, KGQueryResult, KGRelationshipDirection, KGRelationshipDirectionIncoming, KGRelationshipDirectionOutgoing, KGSyncIngestResponse, KGSyncJob, KGSyncJobListRequest, KGSyncJobListResponse, KGSyncJobUpdateRequest, KGSyncJobUpdateResponse, ListGraphsResult, UpdateGraphResult } from './models/kg.js';
|
|
2
2
|
export { GraphEdgeDefinition, GraphEdgeRequest, GraphEdgeResponse, GraphNodeDefinition, GraphNodeRequest, GraphNodeResponse, KGDBCreate, KGDesignerEdgeCreate, KGDesignerEdgeDelete, KGDesignerEdgeGet, KGDesignerEdgeList, KGDesignerEdgeUpdate, KGDesignerNodeCreate, KGDesignerNodeDelete, KGDesignerNodeGet, KGDesignerNodeList, KGDesignerNodeUpdate, KGDocumentDelete, KGGraphCreate, KGGraphDelete, KGGraphGet, KGGraphList, KGGraphOptimize, KGGraphUpdate, KGIngestBatchSync, KGIngestNodeSync, KGSyncJobList, KGSyncJobUpdate } from './models/kg-designer.js';
|
|
3
|
+
export { CrawlJob, CrawlJobStartResponse, CrawlJobStatusResponse, CrawlJobsListResponse, CrawledPagesResponse, KGApiOptions, cancelCrawlJobApi, createDesignerEdgeApi, createDesignerNodeApi, createGraphApi, deleteDesignerEdgeApi, deleteDesignerNodeApi, deleteGraphApi, deleteKGDocumentApi, getCrawlJobStatusApi, getCrawledPagesApi, getDesignerEdgeApi, getDesignerNodeApi, getGraphApi, getGraphLabelsApi, getKGNodeApi, getNodeConnectionStatsApi, ingestDocumentApi, ingestKGNodeApi, listCrawlJobsApi, listDesignerEdgesApi, listDesignerNodesApi, listGraphsApi, optimizeGraphApi, queryGraphApi, startCrawlJobApi, updateDesignerEdgeApi, updateDesignerNodeApi, updateGraphApi, updateKGNodeApi } from './api/index.js';
|
|
4
|
+
export { UseKGOptions, useCrawlJobs, useGraphs, useKGDesigner, useKGQuery } from './hooks/index.js';
|
|
3
5
|
import '@elqnt/types';
|
|
6
|
+
import '@elqnt/api-client';
|
|
4
7
|
|
|
5
8
|
declare const Test = "hi";
|
|
6
9
|
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
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
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunk7HNJUCVWjs = require('./chunk-7HNJUCVW.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
@@ -22,7 +23,6 @@
|
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
var _chunk2OYIMLE4js = require('./chunk-2OYIMLE4.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -35,13 +35,51 @@ var _chunk2OYIMLE4js = require('./chunk-2OYIMLE4.js');
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
+
var _chunk4XIW5GLOjs = require('./chunk-4XIW5GLO.js');
|
|
39
|
+
require('./chunk-W4XVBGE7.js');
|
|
38
40
|
|
|
39
41
|
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
var _chunk67SUELDRjs = require('./chunk-67SUELDR.js');
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
var _chunkUCKE66GBjs = require('./chunk-UCKE66GB.js');
|
|
45
83
|
|
|
46
84
|
// consts.ts
|
|
47
85
|
var Test = "hi";
|
|
@@ -86,5 +124,38 @@ var Test = "hi";
|
|
|
86
124
|
|
|
87
125
|
|
|
88
126
|
|
|
89
|
-
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
exports.DuplicatePolicyCreate = _chunkUCKE66GBjs.DuplicatePolicyCreate; exports.DuplicatePolicyCreateIf = _chunkUCKE66GBjs.DuplicatePolicyCreateIf; exports.DuplicatePolicyFail = _chunkUCKE66GBjs.DuplicatePolicyFail; exports.DuplicatePolicyIgnore = _chunkUCKE66GBjs.DuplicatePolicyIgnore; exports.DuplicatePolicyReplace = _chunkUCKE66GBjs.DuplicatePolicyReplace; 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.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.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.KGRelationshipDirectionIncoming = _chunkUCKE66GBjs.KGRelationshipDirectionIncoming; exports.KGRelationshipDirectionOutgoing = _chunkUCKE66GBjs.KGRelationshipDirectionOutgoing; exports.KGSyncJobList = _chunk67SUELDRjs.KGSyncJobList; exports.KGSyncJobUpdate = _chunk67SUELDRjs.KGSyncJobUpdate; exports.Test = Test; exports.cancelCrawlJobApi = _chunk4XIW5GLOjs.cancelCrawlJobApi; exports.createDesignerEdgeApi = _chunk4XIW5GLOjs.createDesignerEdgeApi; exports.createDesignerNodeApi = _chunk4XIW5GLOjs.createDesignerNodeApi; exports.createGraphApi = _chunk4XIW5GLOjs.createGraphApi; exports.deleteDesignerEdgeApi = _chunk4XIW5GLOjs.deleteDesignerEdgeApi; exports.deleteDesignerNodeApi = _chunk4XIW5GLOjs.deleteDesignerNodeApi; exports.deleteGraphApi = _chunk4XIW5GLOjs.deleteGraphApi; exports.deleteKGDocumentApi = _chunk4XIW5GLOjs.deleteKGDocumentApi; exports.getCrawlJobStatusApi = _chunk4XIW5GLOjs.getCrawlJobStatusApi; exports.getCrawledPagesApi = _chunk4XIW5GLOjs.getCrawledPagesApi; exports.getDesignerEdgeApi = _chunk4XIW5GLOjs.getDesignerEdgeApi; exports.getDesignerNodeApi = _chunk4XIW5GLOjs.getDesignerNodeApi; exports.getGraphApi = _chunk4XIW5GLOjs.getGraphApi; exports.getGraphLabelsApi = _chunk4XIW5GLOjs.getGraphLabelsApi; exports.getKGNodeApi = _chunk4XIW5GLOjs.getKGNodeApi; exports.getNodeConnectionStatsApi = _chunk4XIW5GLOjs.getNodeConnectionStatsApi; exports.ingestDocumentApi = _chunk4XIW5GLOjs.ingestDocumentApi; exports.ingestKGNodeApi = _chunk4XIW5GLOjs.ingestKGNodeApi; exports.listCrawlJobsApi = _chunk4XIW5GLOjs.listCrawlJobsApi; exports.listDesignerEdgesApi = _chunk4XIW5GLOjs.listDesignerEdgesApi; exports.listDesignerNodesApi = _chunk4XIW5GLOjs.listDesignerNodesApi; exports.listGraphsApi = _chunk4XIW5GLOjs.listGraphsApi; exports.optimizeGraphApi = _chunk4XIW5GLOjs.optimizeGraphApi; exports.queryGraphApi = _chunk4XIW5GLOjs.queryGraphApi; exports.startCrawlJobApi = _chunk4XIW5GLOjs.startCrawlJobApi; exports.updateDesignerEdgeApi = _chunk4XIW5GLOjs.updateDesignerEdgeApi; exports.updateDesignerNodeApi = _chunk4XIW5GLOjs.updateDesignerNodeApi; exports.updateGraphApi = _chunk4XIW5GLOjs.updateGraphApi; exports.updateKGNodeApi = _chunk4XIW5GLOjs.updateKGNodeApi; exports.useCrawlJobs = _chunk7HNJUCVWjs.useCrawlJobs; exports.useGraphs = _chunk7HNJUCVWjs.useGraphs; exports.useKGDesigner = _chunk7HNJUCVWjs.useKGDesigner; exports.useKGQuery = _chunk7HNJUCVWjs.useKGQuery;
|
|
90
161
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/eloquent
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/index.js","../consts.ts"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACA;ACnFO,IAAM,KAAA,EAAO,IAAA;ADqFpB;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,kwJAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/index.js","sourcesContent":[null,"export const Test = \"hi\";"]}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
useCrawlJobs,
|
|
4
|
+
useGraphs,
|
|
5
|
+
useKGDesigner,
|
|
6
|
+
useKGQuery
|
|
7
|
+
} from "./chunk-EW3NQGUZ.mjs";
|
|
8
|
+
import {
|
|
9
|
+
cancelCrawlJobApi,
|
|
10
|
+
createDesignerEdgeApi,
|
|
11
|
+
createDesignerNodeApi,
|
|
12
|
+
createGraphApi,
|
|
13
|
+
deleteDesignerEdgeApi,
|
|
14
|
+
deleteDesignerNodeApi,
|
|
15
|
+
deleteGraphApi,
|
|
16
|
+
deleteKGDocumentApi,
|
|
17
|
+
getCrawlJobStatusApi,
|
|
18
|
+
getCrawledPagesApi,
|
|
19
|
+
getDesignerEdgeApi,
|
|
20
|
+
getDesignerNodeApi,
|
|
21
|
+
getGraphApi,
|
|
22
|
+
getGraphLabelsApi,
|
|
23
|
+
getKGNodeApi,
|
|
24
|
+
getNodeConnectionStatsApi,
|
|
25
|
+
ingestDocumentApi,
|
|
26
|
+
ingestKGNodeApi,
|
|
27
|
+
listCrawlJobsApi,
|
|
28
|
+
listDesignerEdgesApi,
|
|
29
|
+
listDesignerNodesApi,
|
|
30
|
+
listGraphsApi,
|
|
31
|
+
optimizeGraphApi,
|
|
32
|
+
queryGraphApi,
|
|
33
|
+
startCrawlJobApi,
|
|
34
|
+
updateDesignerEdgeApi,
|
|
35
|
+
updateDesignerNodeApi,
|
|
36
|
+
updateGraphApi,
|
|
37
|
+
updateKGNodeApi
|
|
38
|
+
} from "./chunk-3AS6C7FW.mjs";
|
|
39
|
+
import "./chunk-NJNBEGDB.mjs";
|
|
2
40
|
import {
|
|
3
41
|
KGDBCreate,
|
|
4
42
|
KGDesignerEdgeCreate,
|
|
@@ -22,7 +60,7 @@ import {
|
|
|
22
60
|
KGIngestNodeSync,
|
|
23
61
|
KGSyncJobList,
|
|
24
62
|
KGSyncJobUpdate
|
|
25
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-RDIQ7HTM.mjs";
|
|
26
64
|
import {
|
|
27
65
|
DuplicatePolicyCreate,
|
|
28
66
|
DuplicatePolicyCreateIf,
|
|
@@ -41,7 +79,7 @@ import {
|
|
|
41
79
|
KGFieldQueryOperatorSimilar,
|
|
42
80
|
KGRelationshipDirectionIncoming,
|
|
43
81
|
KGRelationshipDirectionOutgoing
|
|
44
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-VUSVP6OI.mjs";
|
|
45
83
|
|
|
46
84
|
// consts.ts
|
|
47
85
|
var Test = "hi";
|
|
@@ -85,6 +123,39 @@ export {
|
|
|
85
123
|
KGRelationshipDirectionOutgoing,
|
|
86
124
|
KGSyncJobList,
|
|
87
125
|
KGSyncJobUpdate,
|
|
88
|
-
Test
|
|
126
|
+
Test,
|
|
127
|
+
cancelCrawlJobApi,
|
|
128
|
+
createDesignerEdgeApi,
|
|
129
|
+
createDesignerNodeApi,
|
|
130
|
+
createGraphApi,
|
|
131
|
+
deleteDesignerEdgeApi,
|
|
132
|
+
deleteDesignerNodeApi,
|
|
133
|
+
deleteGraphApi,
|
|
134
|
+
deleteKGDocumentApi,
|
|
135
|
+
getCrawlJobStatusApi,
|
|
136
|
+
getCrawledPagesApi,
|
|
137
|
+
getDesignerEdgeApi,
|
|
138
|
+
getDesignerNodeApi,
|
|
139
|
+
getGraphApi,
|
|
140
|
+
getGraphLabelsApi,
|
|
141
|
+
getKGNodeApi,
|
|
142
|
+
getNodeConnectionStatsApi,
|
|
143
|
+
ingestDocumentApi,
|
|
144
|
+
ingestKGNodeApi,
|
|
145
|
+
listCrawlJobsApi,
|
|
146
|
+
listDesignerEdgesApi,
|
|
147
|
+
listDesignerNodesApi,
|
|
148
|
+
listGraphsApi,
|
|
149
|
+
optimizeGraphApi,
|
|
150
|
+
queryGraphApi,
|
|
151
|
+
startCrawlJobApi,
|
|
152
|
+
updateDesignerEdgeApi,
|
|
153
|
+
updateDesignerNodeApi,
|
|
154
|
+
updateGraphApi,
|
|
155
|
+
updateKGNodeApi,
|
|
156
|
+
useCrawlJobs,
|
|
157
|
+
useGraphs,
|
|
158
|
+
useKGDesigner,
|
|
159
|
+
useKGQuery
|
|
89
160
|
};
|
|
90
161
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../consts.ts"],"sourcesContent":["export const Test = \"hi\";"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../consts.ts"],"sourcesContent":["export const Test = \"hi\";"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAM,OAAO;","names":[]}
|
package/dist/models/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
require('../chunk-W4XVBGE7.js');
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
var
|
|
26
|
+
var _chunk67SUELDRjs = require('../chunk-67SUELDR.js');
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
|
|
@@ -41,7 +42,7 @@ var _chunk2OYIMLE4js = require('../chunk-2OYIMLE4.js');
|
|
|
41
42
|
|
|
42
43
|
|
|
43
44
|
|
|
44
|
-
var
|
|
45
|
+
var _chunkUCKE66GBjs = require('../chunk-UCKE66GB.js');
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
|
|
@@ -82,5 +83,5 @@ var _chunkWEMVDZJ3js = require('../chunk-WEMVDZJ3.js');
|
|
|
82
83
|
|
|
83
84
|
|
|
84
85
|
|
|
85
|
-
exports.DuplicatePolicyCreate =
|
|
86
|
+
exports.DuplicatePolicyCreate = _chunkUCKE66GBjs.DuplicatePolicyCreate; exports.DuplicatePolicyCreateIf = _chunkUCKE66GBjs.DuplicatePolicyCreateIf; exports.DuplicatePolicyFail = _chunkUCKE66GBjs.DuplicatePolicyFail; exports.DuplicatePolicyIgnore = _chunkUCKE66GBjs.DuplicatePolicyIgnore; exports.DuplicatePolicyReplace = _chunkUCKE66GBjs.DuplicatePolicyReplace; 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.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.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.KGRelationshipDirectionIncoming = _chunkUCKE66GBjs.KGRelationshipDirectionIncoming; exports.KGRelationshipDirectionOutgoing = _chunkUCKE66GBjs.KGRelationshipDirectionOutgoing; exports.KGSyncJobList = _chunk67SUELDRjs.KGSyncJobList; exports.KGSyncJobUpdate = _chunk67SUELDRjs.KGSyncJobUpdate;
|
|
86
87
|
//# sourceMappingURL=index.js.map
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/eloquent
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/models/index.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ,gCAA6B;AAC7B;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,usFAAC","file":"/home/runner/work/eloquent/eloquent/packages/@elqnt/kg/dist/models/index.js"}
|