aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/ExploreView/utils.ts
blob: 7d9cf226d82655b16b753b197b0b85e00d3ccc7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { IRecommendation } from "../components";

export interface IExploreView {
    recs?: IRecommendation[],
    bounds?: IBounds
}

export const emptyBounds = {
    max_x: 0,
    max_y: 0,
    min_x: 0,
    min_y: 0
}

export interface IBounds {
    max_x: number,
    max_y: number,
    min_x: number,
    min_y: number
}