mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
24 lines
623 B
TypeScript
24 lines
623 B
TypeScript
export enum ImageWallDirection {
|
|
Column = "column",
|
|
Row = "row",
|
|
}
|
|
|
|
export type ImageWallOptions = {
|
|
margin: number;
|
|
direction: ImageWallDirection;
|
|
};
|
|
|
|
export const defaultImageWallDirection: ImageWallDirection =
|
|
ImageWallDirection.Row;
|
|
export const defaultImageWallMargin = 3;
|
|
|
|
export const imageWallDirectionIntlMap = new Map<ImageWallDirection, string>([
|
|
[ImageWallDirection.Column, "dialogs.imagewall.direction.column"],
|
|
[ImageWallDirection.Row, "dialogs.imagewall.direction.row"],
|
|
]);
|
|
|
|
export const defaultImageWallOptions = {
|
|
margin: defaultImageWallMargin,
|
|
direction: defaultImageWallDirection,
|
|
};
|