File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ export const defaultPaginationSize = 25;
44
55export type Pagination = {
66 hasNextPage : boolean ;
7- startIndex : number ;
8- endIndex : number ;
97} ;
108
119export type PaginatedResponse < T > = {
@@ -18,8 +16,6 @@ export type PaginatedResponse<T> = {
1816export function adaptPagination ( paginationDto : PaginationDto ) : Pagination {
1917 return {
2018 hasNextPage : paginationDto . has_next_page ,
21- startIndex : paginationDto . start_index ,
22- endIndex : paginationDto . end_index ,
2319 } ;
2420}
2521
Original file line number Diff line number Diff line change @@ -14,15 +14,9 @@ Pagination:
1414 type : object
1515 required :
1616 - has_next_page
17- - start_index
18- - end_index
1917 properties :
2018 has_next_page :
2119 type : boolean
22- start_index :
23- type : integer
24- end_index :
25- type : integer
2620
2721# ANNOTATIONS
2822
Original file line number Diff line number Diff line change @@ -38,8 +38,6 @@ export type OutcomeDto = "approve" | "review" | "decline" | "block_and_review" |
3838export type ReviewStatusDto = "pending" | "approve" | "decline" ;
3939export type Pagination = {
4040 has_next_page : boolean ;
41- start_index : number ;
42- end_index : number ;
4341} ;
4442export type CaseStatusDto = "pending" | "investigating" | "closed" | "waiting_for_action" | "snoozed" ;
4543export type CaseContributorDto = {
You can’t perform that action at this time.
0 commit comments