/
Pack.ts
44 lines (35 loc) · 808 Bytes
/
Pack.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { Chance } from './Chance';
import { Image } from './Image';
import { Video } from './Video';
export interface Pack {
id: number;
name: string;
description: string;
categoryId: number;
packType: string;
packPrimary: string;
packPrimaryId: number;
openType: string;
cost: number;
costType: string;
saleCost: number;
sale: boolean;
cardCount: number;
entityCount: number;
available: number;
userLimit: number;
starter: boolean;
limited: boolean;
comingSoon: boolean;
releaseTime: Date | null;
startDate: Date | null;
endDate: Date | null;
properties: {
seasons: [];
gameIds: [];
orderMessageMin: string;
};
odds?: Chance[];
images?: Image[];
videos?: Video[];
}