20 lines
702 B
TypeScript
20 lines
702 B
TypeScript
export const EVENT_TROW_MOUNTED = 'rowMounted'
|
|
export const EVENT_FILE_DROPPED = 'fileDropped'
|
|
export const EVENT_TROW_CONTEXTMENU = 'contextmenuClicked'
|
|
|
|
export const DEFAULT_MAX_IMAGE_SIZE = 2 * 1000 * 1000
|
|
export const DEFAULT_MAX_DOCUMENT_IMAGE_SIZE = 10 * 1000 * 1000
|
|
|
|
export abstract class ImageDimension {
|
|
static readonly Thumbnail: [number, number] = [36, 36]
|
|
static readonly Tile: [number, number] = [1000, 1000]
|
|
static readonly Preview: [number, number] = [1200, 1200]
|
|
static readonly Avatar: number = 64
|
|
}
|
|
|
|
export abstract class ImageType {
|
|
static readonly Thumbnail: string = 'thumbnail'
|
|
static readonly Preview: string = 'preview'
|
|
static readonly Avatar: string = 'avatar'
|
|
}
|