@squiz/db-lib 1.32.1-alpha.9 → 1.33.1-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.npm/_logs/{2023-04-21T04_59_34_134Z-debug-0.log → 2023-05-10T02_47_46_144Z-debug-0.log} +14 -14
- package/lib/AbstractRepository.d.ts +1 -1
- package/lib/index.js +64651 -18577
- package/lib/index.js.map +4 -4
- package/package.json +4 -3
- package/src/AbstractRepository.integration.spec.ts +8 -0
- package/src/AbstractRepository.ts +5 -1
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.npm/_logs/{2023-04-21T04_59_34_134Z-debug-0.log → 2023-05-10T02_47_46_144Z-debug-0.log}
RENAMED
@@ -2,36 +2,36 @@
|
|
2
2
|
1 info using npm@9.5.0
|
3
3
|
2 info using node@v18.15.0
|
4
4
|
3 timing npm:load:whichnode Completed in 1ms
|
5
|
-
4 timing config:load:defaults Completed in
|
6
|
-
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in
|
5
|
+
4 timing config:load:defaults Completed in 3ms
|
6
|
+
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms
|
7
7
|
6 timing config:load:builtin Completed in 1ms
|
8
8
|
7 timing config:load:cli Completed in 1ms
|
9
9
|
8 timing config:load:env Completed in 1ms
|
10
10
|
9 info found workspace root at /builds/developer-experience/cmp
|
11
11
|
10 timing config:load:file:/builds/developer-experience/cmp/.npmrc Completed in 0ms
|
12
|
-
11 timing config:load:project Completed in
|
12
|
+
11 timing config:load:project Completed in 21ms
|
13
13
|
12 timing config:load:file:/root/.npmrc Completed in 1ms
|
14
14
|
13 timing config:load:user Completed in 1ms
|
15
|
-
14 timing config:load:file:/usr/local/etc/npmrc Completed in
|
16
|
-
15 timing config:load:global Completed in
|
15
|
+
14 timing config:load:file:/usr/local/etc/npmrc Completed in 1ms
|
16
|
+
15 timing config:load:global Completed in 1ms
|
17
17
|
16 timing config:load:setEnvs Completed in 1ms
|
18
|
-
17 timing config:load Completed in
|
19
|
-
18 timing npm:load:configload Completed in
|
18
|
+
17 timing config:load Completed in 31ms
|
19
|
+
18 timing npm:load:configload Completed in 31ms
|
20
20
|
19 timing npm:load:mkdirpcache Completed in 0ms
|
21
|
-
20 timing npm:load:mkdirplogs Completed in
|
21
|
+
20 timing npm:load:mkdirplogs Completed in 1ms
|
22
22
|
21 verbose title npm run compile
|
23
23
|
22 verbose argv "run" "compile" "--"
|
24
24
|
23 timing npm:load:setTitle Completed in 1ms
|
25
25
|
24 timing config:load:flatten Completed in 5ms
|
26
26
|
25 timing npm:load:display Completed in 6ms
|
27
|
-
26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-
|
28
|
-
27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-
|
27
|
+
26 verbose logfile logs-max:10 dir:/builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-10T02_47_46_144Z-
|
28
|
+
27 verbose logfile /builds/developer-experience/cmp/packages/db-lib/.npm/_logs/2023-05-10T02_47_46_144Z-debug-0.log
|
29
29
|
28 timing npm:load:logFile Completed in 3ms
|
30
|
-
29 timing npm:load:timers Completed in
|
30
|
+
29 timing npm:load:timers Completed in 1ms
|
31
31
|
30 timing npm:load:configScope Completed in 0ms
|
32
|
-
31 timing npm:load Completed in
|
32
|
+
31 timing npm:load Completed in 45ms
|
33
33
|
32 silly logfile done cleaning log files
|
34
|
-
33 timing command:run Completed in
|
34
|
+
33 timing command:run Completed in 5466ms
|
35
35
|
34 verbose exit 0
|
36
|
-
35 timing npm Completed in
|
36
|
+
35 timing npm Completed in 5525ms
|
37
37
|
36 info ok
|
@@ -39,7 +39,7 @@ export declare abstract class AbstractRepository<SHAPE extends object, DATA_CLAS
|
|
39
39
|
});
|
40
40
|
protected getConnection(): Promise<PoolClient>;
|
41
41
|
create(value: DATA_CLASS, transactionClient?: PoolClient | null): Promise<SHAPE>;
|
42
|
-
update(where: Partial<SHAPE>, newValue: Partial<SHAPE>, transactionClient?: PoolClient | null): Promise<SHAPE[]>;
|
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;
|
45
45
|
protected executeQueryRaw(query: string, values: any[], transactionClient?: PoolClient | null): Promise<any[]>;
|