dnf-api 1.0.7 → 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 -95
- 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
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import type { staticUtil } from "../util";
|
|
2
|
-
import type { INameValue } from "./";
|
|
3
|
-
/** 캐릭터 정보 인터페이스 */
|
|
4
|
-
export interface ICharacter {
|
|
5
|
-
serverId: staticUtil.server;
|
|
6
|
-
characterId: string;
|
|
7
|
-
characterName: string;
|
|
8
|
-
level: number;
|
|
9
|
-
jobId: string;
|
|
10
|
-
jobGrowId: string;
|
|
11
|
-
jobName: string;
|
|
12
|
-
jobGrowName: string;
|
|
13
|
-
fame: number;
|
|
14
|
-
}
|
|
15
|
-
/** 캐릭터 상세 정보 인터페이스 */
|
|
16
|
-
export interface IInfo {
|
|
17
|
-
serverId: staticUtil.server;
|
|
18
|
-
characterId: string;
|
|
19
|
-
characterName: string;
|
|
20
|
-
level: number;
|
|
21
|
-
jobId: string;
|
|
22
|
-
jobGrowId: string;
|
|
23
|
-
jobName: string;
|
|
24
|
-
jobGrowName: string;
|
|
25
|
-
fame: number;
|
|
26
|
-
adventureName: string;
|
|
27
|
-
guildId: string | null;
|
|
28
|
-
guildName: string | null;
|
|
29
|
-
}
|
|
30
|
-
/** 캐릭터 타임라인 인터페이스 */
|
|
31
|
-
export interface ITimeline {
|
|
32
|
-
serverId: staticUtil.server;
|
|
33
|
-
characterId: string;
|
|
34
|
-
characterName: string;
|
|
35
|
-
level: number;
|
|
36
|
-
jobId: string;
|
|
37
|
-
jobGrowId: string;
|
|
38
|
-
jobName: string;
|
|
39
|
-
jobGrowName: string;
|
|
40
|
-
adventureName: string;
|
|
41
|
-
guildId: string;
|
|
42
|
-
guildName: string;
|
|
43
|
-
timeline: {
|
|
44
|
-
date: {
|
|
45
|
-
start: Date;
|
|
46
|
-
end: Date;
|
|
47
|
-
};
|
|
48
|
-
next: string;
|
|
49
|
-
rows: ITimeLineRow[];
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
/** 타임라인 행 인터페이스 */
|
|
53
|
-
export interface ITimeLineRow {
|
|
54
|
-
code: number;
|
|
55
|
-
name: string;
|
|
56
|
-
date: string;
|
|
57
|
-
data: ITimeLineRowData;
|
|
58
|
-
}
|
|
59
|
-
/** 타임라인 행 데이터 인터페이스 */
|
|
60
|
-
export interface ITimeLineRowData {
|
|
61
|
-
itemId: string;
|
|
62
|
-
itemName: string;
|
|
63
|
-
itemRarity: staticUtil.rarity;
|
|
64
|
-
channelName: string;
|
|
65
|
-
channelNo: number;
|
|
66
|
-
dungeonName: string;
|
|
67
|
-
mistGear: boolean;
|
|
68
|
-
}
|
|
69
|
-
/** 캐릭터 상태 인터페이스 */
|
|
70
|
-
export interface ICharacterStatus {
|
|
71
|
-
serverId: staticUtil.server;
|
|
72
|
-
characterId: string;
|
|
73
|
-
characterName: string;
|
|
74
|
-
level: number;
|
|
75
|
-
jobId: string;
|
|
76
|
-
jobGrowId: string;
|
|
77
|
-
jobName: string;
|
|
78
|
-
jobGrowName: string;
|
|
79
|
-
fame: number;
|
|
80
|
-
adventureName: string;
|
|
81
|
-
guildId: string | null;
|
|
82
|
-
guildName: string | null;
|
|
83
|
-
buff: IBuff[];
|
|
84
|
-
status: INameValue[];
|
|
85
|
-
}
|
|
86
|
-
/** 버프 정보 인터페이스 */
|
|
87
|
-
export interface IBuff {
|
|
88
|
-
name: string;
|
|
89
|
-
level?: number;
|
|
90
|
-
status: INameValue[];
|
|
91
|
-
}
|
|
1
|
+
import type { staticUtil } from "../util";
|
|
2
|
+
import type { INameValue } from "./";
|
|
3
|
+
/** 캐릭터 정보 인터페이스 */
|
|
4
|
+
export interface ICharacter {
|
|
5
|
+
serverId: staticUtil.server;
|
|
6
|
+
characterId: string;
|
|
7
|
+
characterName: string;
|
|
8
|
+
level: number;
|
|
9
|
+
jobId: string;
|
|
10
|
+
jobGrowId: string;
|
|
11
|
+
jobName: string;
|
|
12
|
+
jobGrowName: string;
|
|
13
|
+
fame: number;
|
|
14
|
+
}
|
|
15
|
+
/** 캐릭터 상세 정보 인터페이스 */
|
|
16
|
+
export interface IInfo {
|
|
17
|
+
serverId: staticUtil.server;
|
|
18
|
+
characterId: string;
|
|
19
|
+
characterName: string;
|
|
20
|
+
level: number;
|
|
21
|
+
jobId: string;
|
|
22
|
+
jobGrowId: string;
|
|
23
|
+
jobName: string;
|
|
24
|
+
jobGrowName: string;
|
|
25
|
+
fame: number;
|
|
26
|
+
adventureName: string;
|
|
27
|
+
guildId: string | null;
|
|
28
|
+
guildName: string | null;
|
|
29
|
+
}
|
|
30
|
+
/** 캐릭터 타임라인 인터페이스 */
|
|
31
|
+
export interface ITimeline {
|
|
32
|
+
serverId: staticUtil.server;
|
|
33
|
+
characterId: string;
|
|
34
|
+
characterName: string;
|
|
35
|
+
level: number;
|
|
36
|
+
jobId: string;
|
|
37
|
+
jobGrowId: string;
|
|
38
|
+
jobName: string;
|
|
39
|
+
jobGrowName: string;
|
|
40
|
+
adventureName: string;
|
|
41
|
+
guildId: string;
|
|
42
|
+
guildName: string;
|
|
43
|
+
timeline: {
|
|
44
|
+
date: {
|
|
45
|
+
start: Date;
|
|
46
|
+
end: Date;
|
|
47
|
+
};
|
|
48
|
+
next: string;
|
|
49
|
+
rows: ITimeLineRow[];
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/** 타임라인 행 인터페이스 */
|
|
53
|
+
export interface ITimeLineRow {
|
|
54
|
+
code: number;
|
|
55
|
+
name: string;
|
|
56
|
+
date: string;
|
|
57
|
+
data: ITimeLineRowData;
|
|
58
|
+
}
|
|
59
|
+
/** 타임라인 행 데이터 인터페이스 */
|
|
60
|
+
export interface ITimeLineRowData {
|
|
61
|
+
itemId: string;
|
|
62
|
+
itemName: string;
|
|
63
|
+
itemRarity: staticUtil.rarity;
|
|
64
|
+
channelName: string;
|
|
65
|
+
channelNo: number;
|
|
66
|
+
dungeonName: string;
|
|
67
|
+
mistGear: boolean;
|
|
68
|
+
}
|
|
69
|
+
/** 캐릭터 상태 인터페이스 */
|
|
70
|
+
export interface ICharacterStatus {
|
|
71
|
+
serverId: staticUtil.server;
|
|
72
|
+
characterId: string;
|
|
73
|
+
characterName: string;
|
|
74
|
+
level: number;
|
|
75
|
+
jobId: string;
|
|
76
|
+
jobGrowId: string;
|
|
77
|
+
jobName: string;
|
|
78
|
+
jobGrowName: string;
|
|
79
|
+
fame: number;
|
|
80
|
+
adventureName: string;
|
|
81
|
+
guildId: string | null;
|
|
82
|
+
guildName: string | null;
|
|
83
|
+
buff: IBuff[];
|
|
84
|
+
status: INameValue[];
|
|
85
|
+
}
|
|
86
|
+
/** 버프 정보 인터페이스 */
|
|
87
|
+
export interface IBuff {
|
|
88
|
+
name: string;
|
|
89
|
+
level?: number;
|
|
90
|
+
status: INameValue[];
|
|
91
|
+
}
|
|
@@ -1,39 +1,85 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
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
|
-
|
|
1
|
+
import * as char from "./character";
|
|
2
|
+
import * as item from "./item";
|
|
3
|
+
import * as setItem from "./setitem";
|
|
4
|
+
export { char, item, setItem };
|
|
5
|
+
/** 에러 응답 인터페이스 */
|
|
6
|
+
export interface IDnfErrorResponse {
|
|
7
|
+
url: string;
|
|
8
|
+
status: number;
|
|
9
|
+
statusText: string;
|
|
10
|
+
code: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
/** 성공 응답 인터페이스 */
|
|
14
|
+
export interface IDnfSuccess<T> {
|
|
15
|
+
data: T;
|
|
16
|
+
error?: never;
|
|
17
|
+
}
|
|
18
|
+
/** 에러 정보 인터페이스 */
|
|
19
|
+
export interface IDnfError {
|
|
20
|
+
data?: never;
|
|
21
|
+
error: IDnfErrorResponse;
|
|
22
|
+
}
|
|
23
|
+
/** 응답 타입(합성 타입) */
|
|
24
|
+
export type IDnfResponse<T> = IDnfSuccess<T> | IDnfError;
|
|
25
|
+
/** 경매장 아이템 인터페이스 */
|
|
26
|
+
export interface IAuction {
|
|
27
|
+
auctionNo: number;
|
|
28
|
+
regDate: Date;
|
|
29
|
+
expireDate: Date;
|
|
30
|
+
itemId: string;
|
|
31
|
+
itemName: string;
|
|
32
|
+
itemAvailableLevel: number;
|
|
33
|
+
itemRarity: string;
|
|
34
|
+
itemTypeId: string;
|
|
35
|
+
itemType: string;
|
|
36
|
+
itemTypeDetailId: string;
|
|
37
|
+
itemTypeDetail: string;
|
|
38
|
+
refine: number;
|
|
39
|
+
reinforce: number;
|
|
40
|
+
amplificationName: string;
|
|
41
|
+
fame: number;
|
|
42
|
+
count: number;
|
|
43
|
+
regCount: number;
|
|
44
|
+
price: number;
|
|
45
|
+
currentPrice: number;
|
|
46
|
+
unitPrice: number;
|
|
47
|
+
averagePrice: number;
|
|
48
|
+
upgrade?: number;
|
|
49
|
+
upgradeMax?: number;
|
|
50
|
+
}
|
|
51
|
+
/** 판매 완료 아이템 인터페이스 */
|
|
52
|
+
export interface IAuctionSolid {
|
|
53
|
+
soldDate: string;
|
|
54
|
+
itemId: string;
|
|
55
|
+
itemName: string;
|
|
56
|
+
itemAvailableLevel: number;
|
|
57
|
+
itemRarity: string;
|
|
58
|
+
itemTypeId: string;
|
|
59
|
+
itemType: string;
|
|
60
|
+
itemTypeDetailId: string;
|
|
61
|
+
itemTypeDetail: string;
|
|
62
|
+
refine: number;
|
|
63
|
+
reinforce: number;
|
|
64
|
+
amplificationName: string | null;
|
|
65
|
+
fame: number;
|
|
66
|
+
count: number;
|
|
67
|
+
price: number;
|
|
68
|
+
unitPrice: number;
|
|
69
|
+
upgrade?: number;
|
|
70
|
+
upgradeMax?: number;
|
|
71
|
+
}
|
|
72
|
+
/** 행 배열 인터페이스 */
|
|
73
|
+
export interface IRows<T> {
|
|
74
|
+
rows: T[];
|
|
75
|
+
}
|
|
76
|
+
/** 서버 정보 인터페이스 */
|
|
77
|
+
export interface IServer {
|
|
78
|
+
serverId: string;
|
|
79
|
+
serverName: string;
|
|
80
|
+
}
|
|
81
|
+
/** 이름-값 쌍 인터페이스 */
|
|
82
|
+
export interface INameValue {
|
|
83
|
+
name: string;
|
|
84
|
+
value: string | number;
|
|
85
|
+
}
|
package/dist/src/model/item.d.ts
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
import type * as Static from "../util/static";
|
|
2
|
-
import type { INameValue } from "./";
|
|
3
|
-
export declare enum ItemDetailKind {
|
|
4
|
-
Material = "material",
|
|
5
|
-
Equip = "equip"
|
|
6
|
-
}
|
|
7
|
-
/** 아이템 인터페이스 */
|
|
8
|
-
export interface IItem {
|
|
9
|
-
itemId: string;
|
|
10
|
-
itemName: string;
|
|
11
|
-
itemRarity: Static.rarity;
|
|
12
|
-
itemType: string;
|
|
13
|
-
itemTypeDetail: string;
|
|
14
|
-
itemAvailableLevel: number;
|
|
15
|
-
}
|
|
16
|
-
/** 아이템 상세 인터페이스(합성 타입) */
|
|
17
|
-
export type IDetail = IMaterialDetail | IEquipDetail;
|
|
18
|
-
/** 재료 아이템 상세 인터페이스 */
|
|
19
|
-
export interface IMaterialDetail {
|
|
20
|
-
kind: ItemDetailKind.Material;
|
|
21
|
-
itemId: string;
|
|
22
|
-
itemName: string;
|
|
23
|
-
itemRarity: string;
|
|
24
|
-
itemTypeId: string;
|
|
25
|
-
itemType: string;
|
|
26
|
-
itemTypeDetailId: string;
|
|
27
|
-
itemTypeDetail: string;
|
|
28
|
-
itemAvailableLevel: number;
|
|
29
|
-
itemExplain: string;
|
|
30
|
-
itemExplainDetail: string;
|
|
31
|
-
itemFlavorText: string;
|
|
32
|
-
fame: number;
|
|
33
|
-
setItemId: string | null;
|
|
34
|
-
setItemName: string | null;
|
|
35
|
-
obtainInfo: IObtainInfo;
|
|
36
|
-
}
|
|
37
|
-
/** 장비 아이템 상세 인터페이스 */
|
|
38
|
-
export interface IEquipDetail {
|
|
39
|
-
kind: ItemDetailKind.Equip;
|
|
40
|
-
itemId: string;
|
|
41
|
-
itemName: string;
|
|
42
|
-
itemRarity: string;
|
|
43
|
-
itemTypeId: string;
|
|
44
|
-
itemType: string;
|
|
45
|
-
itemTypeDetailId: string;
|
|
46
|
-
itemTypeDetail: string;
|
|
47
|
-
itemAvailableLevel: number;
|
|
48
|
-
itemExplain: string;
|
|
49
|
-
itemExplainDetail: string;
|
|
50
|
-
itemFlavorText: string;
|
|
51
|
-
fame: number;
|
|
52
|
-
setItemId: string | null;
|
|
53
|
-
setItemName: string | null;
|
|
54
|
-
itemStatus: INameValue[];
|
|
55
|
-
tune: ITune;
|
|
56
|
-
itemBuff: IItemBuff;
|
|
57
|
-
hashtag: string[];
|
|
58
|
-
obtainInfo: IObtainInfoDetail;
|
|
59
|
-
}
|
|
60
|
-
/** 튠 정보 인터페이스 */
|
|
61
|
-
export interface ITune {
|
|
62
|
-
level: number;
|
|
63
|
-
setPoint: number;
|
|
64
|
-
}
|
|
65
|
-
/** 아이템 버프 인터페이스 */
|
|
66
|
-
export interface IItemBuff {
|
|
67
|
-
explain: string;
|
|
68
|
-
explainDetail: string;
|
|
69
|
-
reinforceSkill: any[];
|
|
70
|
-
status: any | null;
|
|
71
|
-
}
|
|
72
|
-
/** 획득 정보 인터페이스 */
|
|
73
|
-
export interface IObtainInfo {
|
|
74
|
-
dungeon: string | null;
|
|
75
|
-
shop: IShopInfo[];
|
|
76
|
-
}
|
|
77
|
-
/** 획득 상세 정보 인터페이스 */
|
|
78
|
-
export interface IObtainInfoDetail {
|
|
79
|
-
dungeon: IDungeon[];
|
|
80
|
-
shop: IShopDetail[];
|
|
81
|
-
}
|
|
82
|
-
/** 던전 정보 인터페이스 */
|
|
83
|
-
export interface IDungeon {
|
|
84
|
-
type: string;
|
|
85
|
-
rows: IDungeonRow[];
|
|
86
|
-
}
|
|
87
|
-
/** 던전 행 인터페이스 */
|
|
88
|
-
export interface IDungeonRow {
|
|
89
|
-
name: string;
|
|
90
|
-
}
|
|
91
|
-
/** 상점 정보 인터페이스 */
|
|
92
|
-
export interface IShopInfo {
|
|
93
|
-
type: string;
|
|
94
|
-
}
|
|
95
|
-
/** 상점 상세 정보 인터페이스 */
|
|
96
|
-
export interface IShopDetail {
|
|
97
|
-
rows: IShopRow[];
|
|
98
|
-
}
|
|
99
|
-
/** 상점 행 인터페이스 */
|
|
100
|
-
export interface IShopRow {
|
|
101
|
-
name: string;
|
|
102
|
-
details: string[];
|
|
103
|
-
}
|
|
1
|
+
import type * as Static from "../util/static";
|
|
2
|
+
import type { INameValue } from "./";
|
|
3
|
+
export declare enum ItemDetailKind {
|
|
4
|
+
Material = "material",
|
|
5
|
+
Equip = "equip"
|
|
6
|
+
}
|
|
7
|
+
/** 아이템 인터페이스 */
|
|
8
|
+
export interface IItem {
|
|
9
|
+
itemId: string;
|
|
10
|
+
itemName: string;
|
|
11
|
+
itemRarity: Static.rarity;
|
|
12
|
+
itemType: string;
|
|
13
|
+
itemTypeDetail: string;
|
|
14
|
+
itemAvailableLevel: number;
|
|
15
|
+
}
|
|
16
|
+
/** 아이템 상세 인터페이스(합성 타입) */
|
|
17
|
+
export type IDetail = IMaterialDetail | IEquipDetail;
|
|
18
|
+
/** 재료 아이템 상세 인터페이스 */
|
|
19
|
+
export interface IMaterialDetail {
|
|
20
|
+
kind: ItemDetailKind.Material;
|
|
21
|
+
itemId: string;
|
|
22
|
+
itemName: string;
|
|
23
|
+
itemRarity: string;
|
|
24
|
+
itemTypeId: string;
|
|
25
|
+
itemType: string;
|
|
26
|
+
itemTypeDetailId: string;
|
|
27
|
+
itemTypeDetail: string;
|
|
28
|
+
itemAvailableLevel: number;
|
|
29
|
+
itemExplain: string;
|
|
30
|
+
itemExplainDetail: string;
|
|
31
|
+
itemFlavorText: string;
|
|
32
|
+
fame: number;
|
|
33
|
+
setItemId: string | null;
|
|
34
|
+
setItemName: string | null;
|
|
35
|
+
obtainInfo: IObtainInfo;
|
|
36
|
+
}
|
|
37
|
+
/** 장비 아이템 상세 인터페이스 */
|
|
38
|
+
export interface IEquipDetail {
|
|
39
|
+
kind: ItemDetailKind.Equip;
|
|
40
|
+
itemId: string;
|
|
41
|
+
itemName: string;
|
|
42
|
+
itemRarity: string;
|
|
43
|
+
itemTypeId: string;
|
|
44
|
+
itemType: string;
|
|
45
|
+
itemTypeDetailId: string;
|
|
46
|
+
itemTypeDetail: string;
|
|
47
|
+
itemAvailableLevel: number;
|
|
48
|
+
itemExplain: string;
|
|
49
|
+
itemExplainDetail: string;
|
|
50
|
+
itemFlavorText: string;
|
|
51
|
+
fame: number;
|
|
52
|
+
setItemId: string | null;
|
|
53
|
+
setItemName: string | null;
|
|
54
|
+
itemStatus: INameValue[];
|
|
55
|
+
tune: ITune;
|
|
56
|
+
itemBuff: IItemBuff;
|
|
57
|
+
hashtag: string[];
|
|
58
|
+
obtainInfo: IObtainInfoDetail;
|
|
59
|
+
}
|
|
60
|
+
/** 튠 정보 인터페이스 */
|
|
61
|
+
export interface ITune {
|
|
62
|
+
level: number;
|
|
63
|
+
setPoint: number;
|
|
64
|
+
}
|
|
65
|
+
/** 아이템 버프 인터페이스 */
|
|
66
|
+
export interface IItemBuff {
|
|
67
|
+
explain: string;
|
|
68
|
+
explainDetail: string;
|
|
69
|
+
reinforceSkill: any[];
|
|
70
|
+
status: any | null;
|
|
71
|
+
}
|
|
72
|
+
/** 획득 정보 인터페이스 */
|
|
73
|
+
export interface IObtainInfo {
|
|
74
|
+
dungeon: string | null;
|
|
75
|
+
shop: IShopInfo[];
|
|
76
|
+
}
|
|
77
|
+
/** 획득 상세 정보 인터페이스 */
|
|
78
|
+
export interface IObtainInfoDetail {
|
|
79
|
+
dungeon: IDungeon[];
|
|
80
|
+
shop: IShopDetail[];
|
|
81
|
+
}
|
|
82
|
+
/** 던전 정보 인터페이스 */
|
|
83
|
+
export interface IDungeon {
|
|
84
|
+
type: string;
|
|
85
|
+
rows: IDungeonRow[];
|
|
86
|
+
}
|
|
87
|
+
/** 던전 행 인터페이스 */
|
|
88
|
+
export interface IDungeonRow {
|
|
89
|
+
name: string;
|
|
90
|
+
}
|
|
91
|
+
/** 상점 정보 인터페이스 */
|
|
92
|
+
export interface IShopInfo {
|
|
93
|
+
type: string;
|
|
94
|
+
}
|
|
95
|
+
/** 상점 상세 정보 인터페이스 */
|
|
96
|
+
export interface IShopDetail {
|
|
97
|
+
rows: IShopRow[];
|
|
98
|
+
}
|
|
99
|
+
/** 상점 행 인터페이스 */
|
|
100
|
+
export interface IShopRow {
|
|
101
|
+
name: string;
|
|
102
|
+
details: string[];
|
|
103
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
/** 세트 아이템 인터페이스 */
|
|
2
|
-
export interface ISetItem {
|
|
3
|
-
setItemId: string;
|
|
4
|
-
setItemName: string;
|
|
5
|
-
}
|
|
6
|
-
/** 세트 아이템 상세 인터페이스 */
|
|
7
|
-
export interface IDetail {
|
|
8
|
-
setItemId: string;
|
|
9
|
-
setItemName: string;
|
|
10
|
-
setItems: [
|
|
11
|
-
{
|
|
12
|
-
slotId: string;
|
|
13
|
-
slotName: string;
|
|
14
|
-
itemId: string;
|
|
15
|
-
itemName: string;
|
|
16
|
-
itemRarity: string;
|
|
17
|
-
}
|
|
18
|
-
];
|
|
19
|
-
setItemOption: [
|
|
20
|
-
{
|
|
21
|
-
optionNo: number;
|
|
22
|
-
explain: string;
|
|
23
|
-
detailExplain: string;
|
|
24
|
-
status: [
|
|
25
|
-
{
|
|
26
|
-
name: string;
|
|
27
|
-
value: number;
|
|
28
|
-
}
|
|
29
|
-
];
|
|
30
|
-
}
|
|
31
|
-
];
|
|
32
|
-
}
|
|
1
|
+
/** 세트 아이템 인터페이스 */
|
|
2
|
+
export interface ISetItem {
|
|
3
|
+
setItemId: string;
|
|
4
|
+
setItemName: string;
|
|
5
|
+
}
|
|
6
|
+
/** 세트 아이템 상세 인터페이스 */
|
|
7
|
+
export interface IDetail {
|
|
8
|
+
setItemId: string;
|
|
9
|
+
setItemName: string;
|
|
10
|
+
setItems: [
|
|
11
|
+
{
|
|
12
|
+
slotId: string;
|
|
13
|
+
slotName: string;
|
|
14
|
+
itemId: string;
|
|
15
|
+
itemName: string;
|
|
16
|
+
itemRarity: string;
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
setItemOption: [
|
|
20
|
+
{
|
|
21
|
+
optionNo: number;
|
|
22
|
+
explain: string;
|
|
23
|
+
detailExplain: string;
|
|
24
|
+
status: [
|
|
25
|
+
{
|
|
26
|
+
name: string;
|
|
27
|
+
value: number;
|
|
28
|
+
}
|
|
29
|
+
];
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface IConfig {
|
|
2
|
-
key: string | undefined;
|
|
3
|
-
hideOnErrorApiKey: boolean;
|
|
4
|
-
hideKeyText: string;
|
|
5
|
-
timeout: number;
|
|
6
|
-
returnJSON: boolean;
|
|
7
|
-
responseHeader: boolean;
|
|
8
|
-
showURL: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare let defaultConfig: IConfig;
|
|
11
|
-
export default defaultConfig;
|
|
1
|
+
export interface IConfig {
|
|
2
|
+
key: string | undefined;
|
|
3
|
+
hideOnErrorApiKey: boolean;
|
|
4
|
+
hideKeyText: string;
|
|
5
|
+
timeout: number;
|
|
6
|
+
returnJSON: boolean;
|
|
7
|
+
responseHeader: boolean;
|
|
8
|
+
showURL: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare let defaultConfig: IConfig;
|
|
11
|
+
export default defaultConfig;
|
package/dist/src/util/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import config from "./config";
|
|
2
|
-
import * as params from "./params";
|
|
3
|
-
import query from "./query";
|
|
4
|
-
import * as staticUtil from "./static";
|
|
5
|
-
export { config, query, staticUtil, params };
|
|
1
|
+
import config from "./config";
|
|
2
|
+
import * as params from "./params";
|
|
3
|
+
import query from "./query";
|
|
4
|
+
import * as staticUtil from "./static";
|
|
5
|
+
export { config, query, staticUtil, params };
|