mirror of
https://github.com/immich-app/immich.git
synced 2025-12-27 09:14:55 +03:00
* refactor: rename share => shared-link * refactor: shared link crud methods * chore: open api
19 lines
291 B
TypeScript
19 lines
291 B
TypeScript
import { IsOptional } from 'class-validator';
|
|
|
|
export class EditSharedLinkDto {
|
|
@IsOptional()
|
|
description?: string;
|
|
|
|
@IsOptional()
|
|
expiresAt?: Date | null;
|
|
|
|
@IsOptional()
|
|
allowUpload?: boolean;
|
|
|
|
@IsOptional()
|
|
allowDownload?: boolean;
|
|
|
|
@IsOptional()
|
|
showExif?: boolean;
|
|
}
|