File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import { ObjectType } from 'typeorm' ;
22
3- import Paginator , { Order } from './Paginator' ;
3+ import Paginator , { Order , Cursor } from './Paginator' ;
4+
5+ export { Order , Cursor } ;
46
57export interface PagingQuery {
68 afterCursor ?: string ;
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ import { expect } from 'chai';
22import { createConnection , getConnection } from 'typeorm' ;
33
44import { createQueryBuilder } from './utils/createQueryBuilder' ;
5- import { buildPaginator } from '../src/index' ;
6- import { Cursor } from '../src/Paginator' ;
5+ import { buildPaginator , Cursor } from '../src/index' ;
76import { Example } from './entities/Example' ;
87
98describe ( 'TypeORM cursor-based pagination test' , ( ) => {
You can’t perform that action at this time.
0 commit comments