@squiz/db-lib 1.63.3 → 1.65.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -0
- package/lib/AbstractRepository.d.ts +1 -1
- package/lib/index.js +246 -29
- package/lib/index.js.map +4 -4
- package/package.json +6 -6
- package/src/AbstractRepository.ts +5 -4
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
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
|
+
|
9
|
+
## 1.64.0
|
10
|
+
|
11
|
+
### Minor Changes
|
12
|
+
|
13
|
+
- ac68ec6: Unpinned Squiz dependencies, they should now be following semver.
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- Updated dependencies [ac68ec6]
|
18
|
+
- @squiz/dx-common-lib@1.64.0
|
19
|
+
|
3
20
|
## 1.63.3
|
4
21
|
|
5
22
|
### Patch 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:
|
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;
|