mirror of
https://github.com/immich-app/immich.git
synced 2026-02-14 04:47:57 +03:00
refactor: use cursors instead of pages
This commit is contained in:
@@ -16928,11 +16928,11 @@
|
||||
},
|
||||
"IntegrityGetReportDto": {
|
||||
"properties": {
|
||||
"page": {
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
"cursor": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
},
|
||||
"size": {
|
||||
"limit": {
|
||||
"minimum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
@@ -16974,18 +16974,17 @@
|
||||
},
|
||||
"IntegrityReportResponseDto": {
|
||||
"properties": {
|
||||
"hasNextPage": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"items": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/IntegrityReportDto"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"nextCursor": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"hasNextPage",
|
||||
"items"
|
||||
],
|
||||
"type": "object"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user