feat: paginate integrity report results

This commit is contained in:
izzy
2025-12-18 14:08:06 +00:00
parent 31ac88f158
commit 5028c56ad8
10 changed files with 154 additions and 23 deletions

View File

@@ -16864,6 +16864,14 @@
},
"IntegrityGetReportDto": {
"properties": {
"page": {
"minimum": 1,
"type": "number"
},
"size": {
"minimum": 1,
"type": "number"
},
"type": {
"allOf": [
{
@@ -16902,6 +16910,9 @@
},
"IntegrityReportResponseDto": {
"properties": {
"hasNextPage": {
"type": "boolean"
},
"items": {
"items": {
"$ref": "#/components/schemas/IntegrityReportDto"
@@ -16910,6 +16921,7 @@
}
},
"required": [
"hasNextPage",
"items"
],
"type": "object"

View File

@@ -41,6 +41,8 @@ export type ActivityStatisticsResponseDto = {
likes: number;
};
export type IntegrityGetReportDto = {
page?: number;
size?: number;
"type": IntegrityReportType;
};
export type IntegrityReportDto = {
@@ -49,6 +51,7 @@ export type IntegrityReportDto = {
"type": IntegrityReportType;
};
export type IntegrityReportResponseDto = {
hasNextPage: boolean;
items: IntegrityReportDto[];
};
export type IntegrityReportSummaryResponseDto = {