dnf-api 1.0.2 → 1.0.4

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.
@@ -1,7 +1,7 @@
1
- import type * as Model from "../model";
1
+ import type * as model from "../model";
2
2
  /**
3
3
  * 해당하는 아이템의 상세정보를 요청합니다.
4
4
  *
5
5
  * @param {string} itemId 검색할 아이템의 ID
6
6
  */
7
- export declare const items: (itemIdList: string[]) => Promise<Model.IDnfResponse<Model.item.IDetail[]>>;
7
+ export declare const items: (itemIdList: string[]) => Promise<model.IDnfResponse<model.IRows<model.item.IDetail>>>;
@@ -52,6 +52,7 @@ export interface IActionSoldOption {
52
52
  wordShort?: boolean;
53
53
  itemId?: string;
54
54
  itemName?: string;
55
+ sort?: IAuctionSort;
55
56
  }
56
57
  export interface IItem {
57
58
  limit?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dnf-api",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "던전 앤 파이터 API",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/src/index.d.ts",
package/src/api/multi.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type * as Model from "../model";
1
+ import type * as model from "../model";
2
2
  import { type params, query, staticUtil } from "../util";
3
3
 
4
4
  /**
@@ -13,5 +13,5 @@ export const items = (itemIdList: string[]) => {
13
13
  itemIds: itemIdList.join(","),
14
14
  },
15
15
  };
16
- return query.Request<Model.item.IDetail[]>(opt);
16
+ return query.Request<model.IRows<model.item.IDetail>>(opt);
17
17
  };
@@ -55,6 +55,7 @@ export interface IActionSoldOption {
55
55
  wordShort?: boolean;
56
56
  itemId?: string;
57
57
  itemName?: string;
58
+ sort?: IAuctionSort;
58
59
  }
59
60
 
60
61
  export interface IItem {