* refactor(server): shared links * chore: tests * fix: bugs and tests * fix: missed one expired at * fix: standardize file upload checks * test: lower flutter version Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
19 lines
293 B
TypeScript
19 lines
293 B
TypeScript
import { IsOptional } from 'class-validator';
|
|
|
|
export class EditSharedLinkDto {
|
|
@IsOptional()
|
|
description?: string;
|
|
|
|
@IsOptional()
|
|
expiresAt?: string | null;
|
|
|
|
@IsOptional()
|
|
allowUpload?: boolean;
|
|
|
|
@IsOptional()
|
|
allowDownload?: boolean;
|
|
|
|
@IsOptional()
|
|
showExif?: boolean;
|
|
}
|