refactor: use cursors instead of pages

This commit is contained in:
izzy
2026-01-06 15:49:36 +00:00
parent 06ee275202
commit d189722bbf
12 changed files with 100 additions and 115 deletions
+3 -3
View File
@@ -41,8 +41,8 @@ export type ActivityStatisticsResponseDto = {
likes: number;
};
export type IntegrityGetReportDto = {
page?: number;
size?: number;
cursor?: string;
limit?: number;
"type": IntegrityReportType;
};
export type IntegrityReportDto = {
@@ -51,8 +51,8 @@ export type IntegrityReportDto = {
"type": IntegrityReportType;
};
export type IntegrityReportResponseDto = {
hasNextPage: boolean;
items: IntegrityReportDto[];
nextCursor?: string;
};
export type IntegrityReportSummaryResponseDto = {
checksum_mismatch: number;