1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/src/common/entities/SharingDTO.ts
2019-12-10 10:44:35 +01:00

20 lines
351 B
TypeScript

import {UserDTO} from './UserDTO';
export interface SharingDTO {
id: number;
path: string;
sharingKey: string;
password: string;
expires: number;
timeStamp: number;
includeSubfolders: boolean;
creator: UserDTO;
}
export interface CreateSharingDTO {
id?: number;
password: string;
valid: number;
includeSubfolders: boolean;
}