Fix SMS, and added pagination+sorting+searching for GETs

This commit is contained in:
SepehrYahyaee
2026-05-20 14:57:10 +03:30
parent e4dfe7c572
commit 44723259d6
18 changed files with 519 additions and 30 deletions

View File

@@ -0,0 +1,23 @@
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
/** User / field-expert blame list (v2 GET /v2/blame-request-management). */
export class GetUserBlameListV2ResponseDto {
@ApiProperty({
type: "array",
description: "Blame requests for the current user (parties stripped)",
items: { type: "object", additionalProperties: true },
})
list: Record<string, unknown>[];
@ApiProperty({ description: "Count after `search` filter" })
total: number;
@ApiPropertyOptional()
page?: number;
@ApiPropertyOptional()
limit?: number;
@ApiPropertyOptional()
totalPages?: number;
}