Skip to content

Commit 3d17dcb

Browse files
committedFeb 21, 2022
chore(deps): bump typeorm and pg versions
1 parent 07807e5 commit 3d17dcb

File tree

3 files changed

+258
-160
lines changed

3 files changed

+258
-160
lines changed
 

‎package-lock.json

+253-155
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"eslint-plugin-import": "^2.20.1",
3737
"mocha": "^7.1.0",
3838
"nyc": "^15.0.0",
39-
"pg": "^7.18.2",
39+
"pg": "^8.7.3",
4040
"rimraf": "^3.0.2",
4141
"ts-node": "^8.6.2",
42-
"typeorm": "^0.2.24",
42+
"typeorm": "^0.2.43",
4343
"typescript": "^3.8.3"
4444
},
4545
"peerDependencies": {

‎src/Paginator.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
ObjectType,
44
OrderByCondition,
55
SelectQueryBuilder,
6-
WhereExpression,
6+
WhereExpressionBuilder,
77
} from 'typeorm';
88

99
import {
@@ -18,7 +18,7 @@ export type Order = 'ASC' | 'DESC';
1818

1919
export type EscapeFn = (name: string) => string;
2020

21-
interface CursorParam {
21+
export interface CursorParam {
2222
[key: string]: any;
2323
}
2424

@@ -125,7 +125,7 @@ export default class Paginator<Entity> {
125125
return builder;
126126
}
127127

128-
private buildCursorQuery(where: WhereExpression, cursors: CursorParam): void {
128+
private buildCursorQuery(where: WhereExpressionBuilder, cursors: CursorParam): void {
129129
const operator = this.getOperator();
130130
const params: CursorParam = {};
131131
let query = '';

0 commit comments

Comments
 (0)
Please sign in to comment.