1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/common/entities/RandomQueryDTO.ts

14 lines
278 B
TypeScript
Raw Normal View History

export enum OrientationType {
any = 0, portrait = 1, landscape = 2
}
export interface RandomQueryDTO {
directory?: string;
recursive?: boolean;
orientation?: OrientationType;
fromDate?: string;
toDate?: string;
minResolution?: number;
maxResolution?: number;
}