less hacking way of pulling poe data
This commit is contained in:
1
app/model/index.ts
Normal file
1
app/model/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './league';
|
||||
21
app/model/item.ts
Normal file
21
app/model/item.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
export interface IItem {
|
||||
category: any[];
|
||||
descrText: string;
|
||||
explicitMods: string[];
|
||||
frameType: number;
|
||||
h: number;
|
||||
icon: string;
|
||||
id: string;
|
||||
identified: boolean;
|
||||
ilvl: number;
|
||||
inventoryId: string;
|
||||
league: string;
|
||||
name: string;
|
||||
properties: any[];
|
||||
stackSize?: number;
|
||||
typeLine: string;
|
||||
verified: boolean;
|
||||
w: number;
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
6
app/model/league.ts
Normal file
6
app/model/league.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface ILeague {
|
||||
endAt?: string;
|
||||
id: string;
|
||||
startAt: string;
|
||||
url: string;
|
||||
}
|
||||
6
app/model/rarity-color.ts
Normal file
6
app/model/rarity-color.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const RarityColor: any = {
|
||||
unique: '#af6025',
|
||||
rare: '#a3a314',
|
||||
magic: 'rgb(117, 117, 255)',
|
||||
normal: '#eee',
|
||||
};
|
||||
18
app/model/stash-tab.ts
Normal file
18
app/model/stash-tab.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
interface IStashTabColor {
|
||||
r: number;
|
||||
g: number;
|
||||
b: number;
|
||||
}
|
||||
|
||||
export interface IStashTab {
|
||||
colour: IStashTabColor;
|
||||
hidden: boolean;
|
||||
i: number;
|
||||
id: string;
|
||||
n: string;
|
||||
selected: boolean;
|
||||
srcC: string;
|
||||
srcL: string;
|
||||
srcR: string;
|
||||
type: string;
|
||||
}
|
||||
Reference in New Issue
Block a user