@naturalcycles/db-lib 8.43.0 → 8.43.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.
@@ -41,7 +41,7 @@ export interface RunQueryResult<T> {
41
41
  endCursor?: string;
42
42
  }
43
43
  export declare type DBOperation = DBSaveBatchOperation | DBDeleteByIdsOperation;
44
- export interface DBSaveBatchOperation<ROW extends ObjectWithId = AnyObjectWithId> {
44
+ export interface DBSaveBatchOperation<ROW extends ObjectWithId = any> {
45
45
  type: 'saveBatch';
46
46
  table: string;
47
47
  rows: ROW[];
package/package.json CHANGED
@@ -41,7 +41,7 @@
41
41
  "engines": {
42
42
  "node": ">=14.15"
43
43
  },
44
- "version": "8.43.0",
44
+ "version": "8.43.1",
45
45
  "description": "Lowest Common Denominator API to supported Databases",
46
46
  "keywords": [
47
47
  "db",
@@ -626,7 +626,7 @@ export class CommonDao<
626
626
  table: this.cfg.table,
627
627
  rows: [row],
628
628
  opt: {
629
- excludeFromIndexes: this.cfg.excludeFromIndexes as any,
629
+ excludeFromIndexes: this.cfg.excludeFromIndexes,
630
630
  ...opt,
631
631
  },
632
632
  }
@@ -642,7 +642,7 @@ export class CommonDao<
642
642
  table: this.cfg.table,
643
643
  rows,
644
644
  opt: {
645
- excludeFromIndexes: this.cfg.excludeFromIndexes as any,
645
+ excludeFromIndexes: this.cfg.excludeFromIndexes,
646
646
  ...opt,
647
647
  },
648
648
  }
package/src/db.model.ts CHANGED
@@ -52,7 +52,7 @@ export interface RunQueryResult<T> {
52
52
 
53
53
  export type DBOperation = DBSaveBatchOperation | DBDeleteByIdsOperation
54
54
 
55
- export interface DBSaveBatchOperation<ROW extends ObjectWithId = AnyObjectWithId> {
55
+ export interface DBSaveBatchOperation<ROW extends ObjectWithId = any> {
56
56
  type: 'saveBatch'
57
57
  table: string
58
58
  rows: ROW[]