Skip to content

Commit f054696

Browse files
clenaup unused fields
1 parent 69046b8 commit f054696

3 files changed

Lines changed: 0 additions & 12 deletions

File tree

packages/app-builder/src/models/pagination.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ export const defaultPaginationSize = 25;
44

55
export type Pagination = {
66
hasNextPage: boolean;
7-
startIndex: number;
8-
endIndex: number;
97
};
108

119
export type PaginatedResponse<T> = {
@@ -18,8 +16,6 @@ export type PaginatedResponse<T> = {
1816
export 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

packages/marble-api/openapis/marblecore-api/_schemas.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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

packages/marble-api/src/generated/marblecore-api.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ export type OutcomeDto = "approve" | "review" | "decline" | "block_and_review" |
3838
export type ReviewStatusDto = "pending" | "approve" | "decline";
3939
export type Pagination = {
4040
has_next_page: boolean;
41-
start_index: number;
42-
end_index: number;
4341
};
4442
export type CaseStatusDto = "pending" | "investigating" | "closed" | "waiting_for_action" | "snoozed";
4543
export type CaseContributorDto = {

0 commit comments

Comments
 (0)