dnf-api 1.0.6 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/auction.d.ts +24 -0
- package/dist/api/characters.d.ts +32 -0
- package/dist/api/characters.equip.d.ts +29 -0
- package/dist/api/characters.skill.d.ts +29 -0
- package/dist/api/index.d.ts +9 -0
- package/dist/api/items.d.ts +21 -0
- package/dist/api/multi.d.ts +7 -0
- package/dist/api/server.d.ts +2 -0
- package/dist/api/setitems.d.ts +15 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +19 -19
- package/dist/model/character.d.ts +91 -0
- package/dist/{src/model/auction.d.ts → model/index.d.ts} +38 -0
- package/dist/model/item.d.ts +103 -0
- package/dist/model/setitem.d.ts +32 -0
- package/dist/src/api/auction.d.ts +24 -24
- package/dist/src/api/characters.d.ts +32 -32
- package/dist/src/api/characters.equip.d.ts +29 -29
- package/dist/src/api/characters.skill.d.ts +29 -29
- package/dist/src/api/index.d.ts +9 -9
- package/dist/src/api/items.d.ts +21 -21
- package/dist/src/api/multi.d.ts +7 -7
- package/dist/src/api/server.d.ts +2 -2
- package/dist/src/api/setitems.d.ts +15 -15
- package/dist/src/index.d.ts +21 -14
- package/dist/src/model/character.d.ts +91 -91
- package/dist/src/model/index.d.ts +85 -39
- package/dist/src/model/item.d.ts +103 -103
- package/dist/src/model/setitem.d.ts +32 -32
- package/dist/src/util/config.d.ts +11 -11
- package/dist/src/util/index.d.ts +5 -5
- package/dist/src/util/params.d.ts +76 -76
- package/dist/src/util/query.d.ts +14 -14
- package/dist/src/util/static.d.ts +50 -50
- package/dist/util/config.d.ts +21 -0
- package/dist/util/index.d.ts +7 -0
- package/dist/util/params.d.ts +80 -0
- package/dist/util/query.d.ts +39 -0
- package/dist/util/queue.d.ts +31 -0
- package/dist/util/request-helper.d.ts +9 -0
- package/dist/util/static.d.ts +50 -0
- package/package.json +42 -39
- package/src/api/auction.ts +67 -67
- package/src/api/characters.equip.ts +81 -81
- package/src/api/characters.skill.ts +86 -86
- package/src/api/characters.ts +91 -91
- package/src/api/index.ts +10 -10
- package/src/api/items.ts +49 -49
- package/src/api/multi.ts +17 -17
- package/src/api/server.ts +9 -9
- package/src/api/setitems.ts +29 -29
- package/src/index.ts +35 -28
- package/src/model/character.ts +98 -98
- package/src/model/index.ts +95 -47
- package/src/model/item.ts +117 -117
- package/src/model/setitem.ts +33 -33
- package/src/util/config.ts +43 -20
- package/src/util/index.ts +17 -6
- package/src/util/params.ts +95 -82
- package/src/util/query.ts +144 -93
- package/src/util/queue.ts +104 -0
- package/src/util/request-helper.ts +19 -0
- package/src/util/static.ts +52 -52
- package/bun.lockb +0 -0
- package/dist/test.d.ts +0 -1
- package/src/model/auction.ts +0 -48
package/src/model/item.ts
CHANGED
|
@@ -1,117 +1,117 @@
|
|
|
1
|
-
import type * as Static from "../util/static";
|
|
2
|
-
import type { INameValue } from "./";
|
|
3
|
-
|
|
4
|
-
export enum ItemDetailKind {
|
|
5
|
-
Material = "material",
|
|
6
|
-
Equip = "equip",
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/** 아이템 인터페이스 */
|
|
10
|
-
export interface IItem {
|
|
11
|
-
itemId: string;
|
|
12
|
-
itemName: string;
|
|
13
|
-
itemRarity: Static.rarity;
|
|
14
|
-
itemType: string;
|
|
15
|
-
itemTypeDetail: string;
|
|
16
|
-
itemAvailableLevel: number;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/** 아이템 상세 인터페이스(합성 타입) */
|
|
20
|
-
export type IDetail = IMaterialDetail | IEquipDetail;
|
|
21
|
-
|
|
22
|
-
/** 재료 아이템 상세 인터페이스 */
|
|
23
|
-
export interface IMaterialDetail {
|
|
24
|
-
kind: ItemDetailKind.Material;
|
|
25
|
-
itemId: string;
|
|
26
|
-
itemName: string;
|
|
27
|
-
itemRarity: string;
|
|
28
|
-
itemTypeId: string;
|
|
29
|
-
itemType: string;
|
|
30
|
-
itemTypeDetailId: string;
|
|
31
|
-
itemTypeDetail: string;
|
|
32
|
-
itemAvailableLevel: number;
|
|
33
|
-
itemExplain: string;
|
|
34
|
-
itemExplainDetail: string;
|
|
35
|
-
itemFlavorText: string;
|
|
36
|
-
fame: number;
|
|
37
|
-
setItemId: string | null;
|
|
38
|
-
setItemName: string | null;
|
|
39
|
-
obtainInfo: IObtainInfo;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/** 장비 아이템 상세 인터페이스 */
|
|
43
|
-
export interface IEquipDetail {
|
|
44
|
-
kind: ItemDetailKind.Equip;
|
|
45
|
-
itemId: string;
|
|
46
|
-
itemName: string;
|
|
47
|
-
itemRarity: string;
|
|
48
|
-
itemTypeId: string;
|
|
49
|
-
itemType: string;
|
|
50
|
-
itemTypeDetailId: string;
|
|
51
|
-
itemTypeDetail: string;
|
|
52
|
-
itemAvailableLevel: number;
|
|
53
|
-
itemExplain: string;
|
|
54
|
-
itemExplainDetail: string;
|
|
55
|
-
itemFlavorText: string;
|
|
56
|
-
fame: number;
|
|
57
|
-
setItemId: string | null;
|
|
58
|
-
setItemName: string | null;
|
|
59
|
-
itemStatus: INameValue[];
|
|
60
|
-
tune: ITune;
|
|
61
|
-
itemBuff: IItemBuff;
|
|
62
|
-
hashtag: string[];
|
|
63
|
-
obtainInfo: IObtainInfoDetail;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/** 튠 정보 인터페이스 */
|
|
67
|
-
export interface ITune {
|
|
68
|
-
level: number;
|
|
69
|
-
setPoint: number;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/** 아이템 버프 인터페이스 */
|
|
73
|
-
export interface IItemBuff {
|
|
74
|
-
explain: string;
|
|
75
|
-
explainDetail: string;
|
|
76
|
-
reinforceSkill: any[];
|
|
77
|
-
status: any | null;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/** 획득 정보 인터페이스 */
|
|
81
|
-
export interface IObtainInfo {
|
|
82
|
-
dungeon: string | null;
|
|
83
|
-
shop: IShopInfo[];
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/** 획득 상세 정보 인터페이스 */
|
|
87
|
-
export interface IObtainInfoDetail {
|
|
88
|
-
dungeon: IDungeon[];
|
|
89
|
-
shop: IShopDetail[];
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/** 던전 정보 인터페이스 */
|
|
93
|
-
export interface IDungeon {
|
|
94
|
-
type: string;
|
|
95
|
-
rows: IDungeonRow[];
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/** 던전 행 인터페이스 */
|
|
99
|
-
export interface IDungeonRow {
|
|
100
|
-
name: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/** 상점 정보 인터페이스 */
|
|
104
|
-
export interface IShopInfo {
|
|
105
|
-
type: string;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/** 상점 상세 정보 인터페이스 */
|
|
109
|
-
export interface IShopDetail {
|
|
110
|
-
rows: IShopRow[];
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/** 상점 행 인터페이스 */
|
|
114
|
-
export interface IShopRow {
|
|
115
|
-
name: string;
|
|
116
|
-
details: string[];
|
|
117
|
-
}
|
|
1
|
+
import type * as Static from "../util/static";
|
|
2
|
+
import type { INameValue } from "./";
|
|
3
|
+
|
|
4
|
+
export enum ItemDetailKind {
|
|
5
|
+
Material = "material",
|
|
6
|
+
Equip = "equip",
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** 아이템 인터페이스 */
|
|
10
|
+
export interface IItem {
|
|
11
|
+
itemId: string;
|
|
12
|
+
itemName: string;
|
|
13
|
+
itemRarity: Static.rarity;
|
|
14
|
+
itemType: string;
|
|
15
|
+
itemTypeDetail: string;
|
|
16
|
+
itemAvailableLevel: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** 아이템 상세 인터페이스(합성 타입) */
|
|
20
|
+
export type IDetail = IMaterialDetail | IEquipDetail;
|
|
21
|
+
|
|
22
|
+
/** 재료 아이템 상세 인터페이스 */
|
|
23
|
+
export interface IMaterialDetail {
|
|
24
|
+
kind: ItemDetailKind.Material;
|
|
25
|
+
itemId: string;
|
|
26
|
+
itemName: string;
|
|
27
|
+
itemRarity: string;
|
|
28
|
+
itemTypeId: string;
|
|
29
|
+
itemType: string;
|
|
30
|
+
itemTypeDetailId: string;
|
|
31
|
+
itemTypeDetail: string;
|
|
32
|
+
itemAvailableLevel: number;
|
|
33
|
+
itemExplain: string;
|
|
34
|
+
itemExplainDetail: string;
|
|
35
|
+
itemFlavorText: string;
|
|
36
|
+
fame: number;
|
|
37
|
+
setItemId: string | null;
|
|
38
|
+
setItemName: string | null;
|
|
39
|
+
obtainInfo: IObtainInfo;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** 장비 아이템 상세 인터페이스 */
|
|
43
|
+
export interface IEquipDetail {
|
|
44
|
+
kind: ItemDetailKind.Equip;
|
|
45
|
+
itemId: string;
|
|
46
|
+
itemName: string;
|
|
47
|
+
itemRarity: string;
|
|
48
|
+
itemTypeId: string;
|
|
49
|
+
itemType: string;
|
|
50
|
+
itemTypeDetailId: string;
|
|
51
|
+
itemTypeDetail: string;
|
|
52
|
+
itemAvailableLevel: number;
|
|
53
|
+
itemExplain: string;
|
|
54
|
+
itemExplainDetail: string;
|
|
55
|
+
itemFlavorText: string;
|
|
56
|
+
fame: number;
|
|
57
|
+
setItemId: string | null;
|
|
58
|
+
setItemName: string | null;
|
|
59
|
+
itemStatus: INameValue[];
|
|
60
|
+
tune: ITune;
|
|
61
|
+
itemBuff: IItemBuff;
|
|
62
|
+
hashtag: string[];
|
|
63
|
+
obtainInfo: IObtainInfoDetail;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/** 튠 정보 인터페이스 */
|
|
67
|
+
export interface ITune {
|
|
68
|
+
level: number;
|
|
69
|
+
setPoint: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/** 아이템 버프 인터페이스 */
|
|
73
|
+
export interface IItemBuff {
|
|
74
|
+
explain: string;
|
|
75
|
+
explainDetail: string;
|
|
76
|
+
reinforceSkill: any[];
|
|
77
|
+
status: any | null;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** 획득 정보 인터페이스 */
|
|
81
|
+
export interface IObtainInfo {
|
|
82
|
+
dungeon: string | null;
|
|
83
|
+
shop: IShopInfo[];
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/** 획득 상세 정보 인터페이스 */
|
|
87
|
+
export interface IObtainInfoDetail {
|
|
88
|
+
dungeon: IDungeon[];
|
|
89
|
+
shop: IShopDetail[];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** 던전 정보 인터페이스 */
|
|
93
|
+
export interface IDungeon {
|
|
94
|
+
type: string;
|
|
95
|
+
rows: IDungeonRow[];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** 던전 행 인터페이스 */
|
|
99
|
+
export interface IDungeonRow {
|
|
100
|
+
name: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** 상점 정보 인터페이스 */
|
|
104
|
+
export interface IShopInfo {
|
|
105
|
+
type: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** 상점 상세 정보 인터페이스 */
|
|
109
|
+
export interface IShopDetail {
|
|
110
|
+
rows: IShopRow[];
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** 상점 행 인터페이스 */
|
|
114
|
+
export interface IShopRow {
|
|
115
|
+
name: string;
|
|
116
|
+
details: string[];
|
|
117
|
+
}
|
package/src/model/setitem.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/** 세트 아이템 인터페이스 */
|
|
2
|
-
export interface ISetItem {
|
|
3
|
-
setItemId: string;
|
|
4
|
-
setItemName: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
/** 세트 아이템 상세 인터페이스 */
|
|
8
|
-
export interface IDetail {
|
|
9
|
-
setItemId: string;
|
|
10
|
-
setItemName: string;
|
|
11
|
-
setItems: [
|
|
12
|
-
{
|
|
13
|
-
slotId: string;
|
|
14
|
-
slotName: string;
|
|
15
|
-
itemId: string;
|
|
16
|
-
itemName: string;
|
|
17
|
-
itemRarity: string;
|
|
18
|
-
}
|
|
19
|
-
];
|
|
20
|
-
setItemOption: [
|
|
21
|
-
{
|
|
22
|
-
optionNo: number;
|
|
23
|
-
explain: string;
|
|
24
|
-
detailExplain: string;
|
|
25
|
-
status: [
|
|
26
|
-
{
|
|
27
|
-
name: string;
|
|
28
|
-
value: number;
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
}
|
|
1
|
+
/** 세트 아이템 인터페이스 */
|
|
2
|
+
export interface ISetItem {
|
|
3
|
+
setItemId: string;
|
|
4
|
+
setItemName: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/** 세트 아이템 상세 인터페이스 */
|
|
8
|
+
export interface IDetail {
|
|
9
|
+
setItemId: string;
|
|
10
|
+
setItemName: string;
|
|
11
|
+
setItems: [
|
|
12
|
+
{
|
|
13
|
+
slotId: string;
|
|
14
|
+
slotName: string;
|
|
15
|
+
itemId: string;
|
|
16
|
+
itemName: string;
|
|
17
|
+
itemRarity: string;
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
setItemOption: [
|
|
21
|
+
{
|
|
22
|
+
optionNo: number;
|
|
23
|
+
explain: string;
|
|
24
|
+
detailExplain: string;
|
|
25
|
+
status: [
|
|
26
|
+
{
|
|
27
|
+
name: string;
|
|
28
|
+
value: number;
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
}
|
package/src/util/config.ts
CHANGED
|
@@ -1,20 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
// 설정 인터페이스
|
|
2
|
+
export interface IConfig {
|
|
3
|
+
key: string;
|
|
4
|
+
hideOnErrorApiKey: boolean;
|
|
5
|
+
hideKeyText: string;
|
|
6
|
+
timeout: number;
|
|
7
|
+
returnJSON: boolean;
|
|
8
|
+
responseHeader: boolean;
|
|
9
|
+
showURL: boolean;
|
|
10
|
+
maxRequestsPerSecond: number;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// 기본 설정값
|
|
14
|
+
const defaultConfig: IConfig = {
|
|
15
|
+
key: "",
|
|
16
|
+
hideOnErrorApiKey: true,
|
|
17
|
+
hideKeyText: "{HIDE_KEY}",
|
|
18
|
+
timeout: 5000,
|
|
19
|
+
returnJSON: false,
|
|
20
|
+
responseHeader: false,
|
|
21
|
+
showURL: false,
|
|
22
|
+
maxRequestsPerSecond: 1000,
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
// 현재 설정 (복사본)
|
|
26
|
+
export const config: IConfig = { ...defaultConfig };
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 설정을 업데이트합니다.
|
|
30
|
+
* @param newConfig 업데이트할 설정 값
|
|
31
|
+
*/
|
|
32
|
+
export function setConfig(newConfig: Partial<IConfig>): void {
|
|
33
|
+
Object.assign(config, newConfig);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 설정을 기본값으로 초기화합니다.
|
|
38
|
+
*/
|
|
39
|
+
export function resetConfig(): void {
|
|
40
|
+
Object.assign(config, defaultConfig);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export default config;
|
package/src/util/index.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import config from "./config";
|
|
2
|
-
import * as params from "./params";
|
|
3
|
-
import query from "./query";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import config, { setConfig, resetConfig } from "./config";
|
|
2
|
+
import * as params from "./params";
|
|
3
|
+
import query from "./query";
|
|
4
|
+
import { requestQueue } from "./queue";
|
|
5
|
+
import { createRequest } from "./request-helper";
|
|
6
|
+
import * as staticUtil from "./static";
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
config,
|
|
10
|
+
setConfig,
|
|
11
|
+
resetConfig,
|
|
12
|
+
query,
|
|
13
|
+
staticUtil,
|
|
14
|
+
params,
|
|
15
|
+
createRequest,
|
|
16
|
+
requestQueue,
|
|
17
|
+
};
|
package/src/util/params.ts
CHANGED
|
@@ -1,82 +1,95 @@
|
|
|
1
|
-
import type * as staticUtil from "./static";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
import type * as staticUtil from "./static";
|
|
2
|
+
|
|
3
|
+
// 기본 파라미터 타입
|
|
4
|
+
export type ParamValue = string | number | boolean | undefined;
|
|
5
|
+
|
|
6
|
+
// 인덱스 시그니처가 있는 기본 인터페이스
|
|
7
|
+
export interface BaseParams {
|
|
8
|
+
[key: string]: ParamValue | ParamValue[] | object | undefined;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface QueryOptions<T = BaseParams> {
|
|
12
|
+
base: string;
|
|
13
|
+
params?: T;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface ICharParams extends BaseParams {
|
|
17
|
+
characterName?: string;
|
|
18
|
+
jobId?: string;
|
|
19
|
+
jobGrowId?: string;
|
|
20
|
+
isAllJobGrow?: boolean;
|
|
21
|
+
wordType?: staticUtil.charactersWordType;
|
|
22
|
+
limit?: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface ITimeLine extends BaseParams {
|
|
26
|
+
serverId?: staticUtil.server;
|
|
27
|
+
characterId?: string;
|
|
28
|
+
startDate?: Date;
|
|
29
|
+
endDate?: Date;
|
|
30
|
+
limit?: number;
|
|
31
|
+
code?: string[];
|
|
32
|
+
next?: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IAuction extends BaseParams {
|
|
36
|
+
limit?: number;
|
|
37
|
+
sort?: IAuctionSort;
|
|
38
|
+
itemId?: string;
|
|
39
|
+
itemName?: string;
|
|
40
|
+
wordType?: staticUtil.auctionWordType;
|
|
41
|
+
wordShort?: boolean;
|
|
42
|
+
q?: IAuctionQuery;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface IAuctionSort {
|
|
46
|
+
unitPrice?: staticUtil.sort;
|
|
47
|
+
reinforce?: staticUtil.sort;
|
|
48
|
+
auctionNo?: staticUtil.sort;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface IAuctionQuery {
|
|
52
|
+
minLevel?: number;
|
|
53
|
+
maxLevel?: number;
|
|
54
|
+
raity?: staticUtil.rarity;
|
|
55
|
+
reinforceTypeId: staticUtil.reinforceType;
|
|
56
|
+
minReinforce?: number;
|
|
57
|
+
maxReinforce?: number;
|
|
58
|
+
minRefine?: number;
|
|
59
|
+
maxRefine?: number;
|
|
60
|
+
minFame?: number;
|
|
61
|
+
maxFame?: number;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface IActionSoldOption extends BaseParams {
|
|
65
|
+
limit?: number;
|
|
66
|
+
wordType?: staticUtil.auctionWordType;
|
|
67
|
+
wordShort?: boolean;
|
|
68
|
+
itemId?: string;
|
|
69
|
+
itemName?: string;
|
|
70
|
+
sort?: IAuctionSort;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface IItem extends BaseParams {
|
|
74
|
+
limit?: number;
|
|
75
|
+
itemName?: string;
|
|
76
|
+
hashtag?: string[];
|
|
77
|
+
wordType?: staticUtil.auctionWordType;
|
|
78
|
+
q?: IItemQuery;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface IItemQuery {
|
|
82
|
+
minLevel?: number;
|
|
83
|
+
maxLevel?: number;
|
|
84
|
+
rarity?: staticUtil.rarity;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface ISetItem extends BaseParams {
|
|
88
|
+
setItemName?: string;
|
|
89
|
+
limit?: number;
|
|
90
|
+
wordType?: staticUtil.auctionWordType;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface ISkill extends BaseParams {
|
|
94
|
+
jobGrowId: string;
|
|
95
|
+
}
|