graphlit-client 1.0.20250531004 → 1.0.20250531005
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/client.d.ts
CHANGED
@@ -49,8 +49,8 @@ declare class Graphlit {
|
|
49
49
|
ingestBatch(uris: string[], workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestBatchMutation>;
|
50
50
|
ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestUriMutation>;
|
51
51
|
ingestText(text: string, name?: string, textType?: Types.TextTypes, uri?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestTextMutation>;
|
52
|
-
ingestMemory(text: string, name?: string, textType?: Types.TextTypes, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestMemoryMutation>;
|
53
|
-
ingestEvent(markdown: string, name?: string, description?: string, eventDate?: Types.Scalars["DateTime"]["input"], collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestEventMutation>;
|
52
|
+
ingestMemory(text: string, name?: string, textType?: Types.TextTypes, id?: string, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestMemoryMutation>;
|
53
|
+
ingestEvent(markdown: string, name?: string, description?: string, eventDate?: Types.Scalars["DateTime"]["input"], id?: string, collections?: Types.EntityReferenceInput[], correlationId?: string): Promise<Types.IngestEventMutation>;
|
54
54
|
ingestEncodedFile(name: string, data: string, mimeType: string, fileCreationDate?: Types.Scalars["DateTime"]["input"], fileModifiedDate?: Types.Scalars["DateTime"]["input"], id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: Types.EntityReferenceInput[], observations?: Types.ObservationReferenceInput[], correlationId?: string): Promise<Types.IngestEncodedFileMutation>;
|
55
55
|
updateContent(content: Types.ContentUpdateInput): Promise<Types.UpdateContentMutation>;
|
56
56
|
deleteContent(id: string): Promise<Types.DeleteContentMutation>;
|
package/dist/client.js
CHANGED
@@ -396,24 +396,26 @@ class Graphlit {
|
|
396
396
|
});
|
397
397
|
});
|
398
398
|
}
|
399
|
-
ingestMemory(text, name, textType, collections, correlationId) {
|
399
|
+
ingestMemory(text, name, textType, id, collections, correlationId) {
|
400
400
|
return __awaiter(this, void 0, void 0, function* () {
|
401
401
|
return this.mutateAndCheckError(Documents.IngestMemory, {
|
402
402
|
name: name,
|
403
403
|
text: text,
|
404
404
|
textType: textType,
|
405
|
+
id: id,
|
405
406
|
collections: collections,
|
406
407
|
correlationId: correlationId,
|
407
408
|
});
|
408
409
|
});
|
409
410
|
}
|
410
|
-
ingestEvent(markdown, name, description, eventDate, collections, correlationId) {
|
411
|
+
ingestEvent(markdown, name, description, eventDate, id, collections, correlationId) {
|
411
412
|
return __awaiter(this, void 0, void 0, function* () {
|
412
413
|
return this.mutateAndCheckError(Documents.IngestEvent, {
|
413
414
|
name: name,
|
414
415
|
markdown: markdown,
|
415
416
|
description: description,
|
416
417
|
eventDate: eventDate,
|
418
|
+
id: id,
|
417
419
|
collections: collections,
|
418
420
|
correlationId: correlationId,
|
419
421
|
});
|
@@ -1296,12 +1296,13 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
|
1296
1296
|
}
|
1297
1297
|
`;
|
1298
1298
|
exports.IngestEvent = (0, graphql_tag_1.default) `
|
1299
|
-
mutation IngestEvent($markdown: String!, $name: String, $description: String, $eventDate: DateTime, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1299
|
+
mutation IngestEvent($markdown: String!, $name: String, $description: String, $eventDate: DateTime, $id: ID, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1300
1300
|
ingestEvent(
|
1301
1301
|
name: $name
|
1302
1302
|
description: $description
|
1303
1303
|
eventDate: $eventDate
|
1304
1304
|
markdown: $markdown
|
1305
|
+
id: $id
|
1305
1306
|
collections: $collections
|
1306
1307
|
correlationId: $correlationId
|
1307
1308
|
) {
|
@@ -1348,11 +1349,12 @@ exports.IngestEvent = (0, graphql_tag_1.default) `
|
|
1348
1349
|
}
|
1349
1350
|
`;
|
1350
1351
|
exports.IngestMemory = (0, graphql_tag_1.default) `
|
1351
|
-
mutation IngestMemory($text: String!, $name: String, $textType: TextTypes, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1352
|
+
mutation IngestMemory($text: String!, $name: String, $textType: TextTypes, $id: ID, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1352
1353
|
ingestMemory(
|
1353
1354
|
name: $name
|
1354
1355
|
text: $text
|
1355
1356
|
textType: $textType
|
1357
|
+
id: $id
|
1356
1358
|
collections: $collections
|
1357
1359
|
correlationId: $correlationId
|
1358
1360
|
) {
|
@@ -8595,6 +8595,7 @@ export type MutationIngestEventArgs = {
|
|
8595
8595
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8596
8596
|
description?: InputMaybe<Scalars['String']['input']>;
|
8597
8597
|
eventDate?: InputMaybe<Scalars['DateTime']['input']>;
|
8598
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
8598
8599
|
markdown: Scalars['String']['input'];
|
8599
8600
|
name?: InputMaybe<Scalars['String']['input']>;
|
8600
8601
|
};
|
@@ -8610,6 +8611,7 @@ export type MutationIngestFileArgs = {
|
|
8610
8611
|
export type MutationIngestMemoryArgs = {
|
8611
8612
|
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
8612
8613
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8614
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
8613
8615
|
name?: InputMaybe<Scalars['String']['input']>;
|
8614
8616
|
text: Scalars['String']['input'];
|
8615
8617
|
textType?: InputMaybe<TextTypes>;
|
@@ -15339,6 +15341,7 @@ export type IngestEventMutationVariables = Exact<{
|
|
15339
15341
|
name?: InputMaybe<Scalars['String']['input']>;
|
15340
15342
|
description?: InputMaybe<Scalars['String']['input']>;
|
15341
15343
|
eventDate?: InputMaybe<Scalars['DateTime']['input']>;
|
15344
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
15342
15345
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
15343
15346
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
15344
15347
|
}>;
|
@@ -15397,6 +15400,7 @@ export type IngestMemoryMutationVariables = Exact<{
|
|
15397
15400
|
text: Scalars['String']['input'];
|
15398
15401
|
name?: InputMaybe<Scalars['String']['input']>;
|
15399
15402
|
textType?: InputMaybe<TextTypes>;
|
15403
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
15400
15404
|
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
15401
15405
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
15402
15406
|
}>;
|