11 lines
399 B
TypeScript
11 lines
399 B
TypeScript
import { IntDecorator, StringDecorator } from '../../../../common/decorators/validators.js';
|
|
|
|
export class ListCommentsDto {
|
|
@IntDecorator({ isOptional: true, min: 1, max: 100 })
|
|
limit: number = 50;
|
|
|
|
/** id последнего полученного комментария (nextCursor из предыдущего ответа) */
|
|
@StringDecorator({ isOptional: true })
|
|
cursor?: string;
|
|
}
|