Something went wrong. Try again.
Synapse is a study workspace. Organize courses read and annotate the material, train with generated exercises and watch your progress forked from denishovart.com/synapse
Something went wrong. Try again.
1234567891011121314import { Type } from 'class-transformer';import { IsArray, IsInt, IsOptional, IsString, Min } from 'class-validator';
export class UpdatesQueryDto { @IsString() doc_id?: string; @IsOptional() @Type(() => Number) @IsInt() @Min(0) after_seq?: number;}
export class PushUpdatesDto { @IsString() doc_id?: string; @IsOptional() @IsString() device_id?: string; @IsArray() @IsString({ each: true }) updates?: string[];}