π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
import { IsOptional, IsNumber, IsString, Min } from 'class-validator';
import { Transform } from 'class-transformer';
export class GetMediaDto {
@IsOptional()
@IsNumber()
@Min(1)
@Transform(({ value }) => parseInt(value, 10))
page?: number = 1;
@IsOptional()
@IsString()
search?: string;
}