@squiz/db-lib 1.64.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.65.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c3190e1: Refactor component backend storage to be configurable
8
+
3
9
  ## 1.64.0
4
10
 
5
11
  ### Minor Changes
@@ -38,7 +38,7 @@ export declare abstract class AbstractRepository<SHAPE extends object, DATA_CLAS
38
38
  new (data?: Record<string, unknown>): DATA_CLASS;
39
39
  });
40
40
  protected getConnection(): Promise<PoolClient>;
41
- create(value: DATA_CLASS, transactionClient?: PoolClient | null): Promise<SHAPE>;
41
+ create(value: SHAPE, transactionClient?: PoolClient | null): Promise<SHAPE>;
42
42
  update(where: Partial<SHAPE>, newValue: Exclude<Partial<SHAPE>, Record<string, never>>, transactionClient?: PoolClient | null): Promise<SHAPE[]>;
43
43
  delete(where: Partial<SHAPE>, transactionClient?: PoolClient | null): Promise<number>;
44
44
  protected createWhereStringFromPartialModel(values: Partial<SHAPE>, initialIndex?: number): string;