graphlit-client 1.0.20240505002 → 1.0.20240506002

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
@@ -26,8 +26,8 @@ declare class Graphlit {
26
26
  disableAlert(id: string): Promise<Types.DisableAlertMutation>;
27
27
  getAlert(id: string): Promise<Types.GetAlertQuery>;
28
28
  queryAlerts(filter?: Types.AlertFilter): Promise<Types.QueryAlertsQuery>;
29
- createCollection(Collection: Types.CollectionInput): Promise<Types.CreateCollectionMutation>;
30
- updateCollection(Collection: Types.CollectionUpdateInput): Promise<Types.UpdateCollectionMutation>;
29
+ createCollection(collection: Types.CollectionInput): Promise<Types.CreateCollectionMutation>;
30
+ updateCollection(collection: Types.CollectionUpdateInput): Promise<Types.UpdateCollectionMutation>;
31
31
  deleteCollection(id: string): Promise<Types.DeleteCollectionMutation>;
32
32
  deleteCollections(): Promise<Types.DeleteCollectionsMutation>;
33
33
  deleteAllCollections(): Promise<Types.DeleteAllCollectionsMutation>;
package/dist/client.js CHANGED
@@ -185,14 +185,14 @@ class Graphlit {
185
185
  return this.queryAndCheckError(Documents.QueryAlerts, { filter: filter });
186
186
  });
187
187
  }
188
- createCollection(Collection) {
188
+ createCollection(collection) {
189
189
  return __awaiter(this, void 0, void 0, function* () {
190
- return this.mutateAndCheckError(Documents.CreateCollection, { Collection: Collection });
190
+ return this.mutateAndCheckError(Documents.CreateCollection, { collection: collection });
191
191
  });
192
192
  }
193
- updateCollection(Collection) {
193
+ updateCollection(collection) {
194
194
  return __awaiter(this, void 0, void 0, function* () {
195
- return this.mutateAndCheckError(Documents.UpdateCollection, { Collection: Collection });
195
+ return this.mutateAndCheckError(Documents.UpdateCollection, { collection: collection });
196
196
  });
197
197
  }
198
198
  deleteCollection(id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240505002",
3
+ "version": "1.0.20240506002",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",