mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-02-23 08:03:34 +00:00
init nest (wip)
This commit is contained in:
parent
1a211e261e
commit
3b5f41f933
26 changed files with 8251 additions and 0 deletions
11
app/api/src/common/dto/pagination-query.dto.ts
Normal file
11
app/api/src/common/dto/pagination-query.dto.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { IsOptional, IsPositive } from 'class-validator';
|
||||
|
||||
export class PaginationQueryDto {
|
||||
@IsOptional()
|
||||
@IsPositive()
|
||||
limit: number;
|
||||
|
||||
@IsOptional()
|
||||
@IsPositive()
|
||||
offset: number;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue