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

export interface IExploreView {
    recs?: IRecommendation[];
    // eslint-disable-next-line no-use-before-define
    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;
}