Skip to content

Commit

Permalink
1.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
iuroc committed May 20, 2024
1 parent d79ef36 commit 971cb13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"name": "gede-book-api",
"description": "> 歌德电子书借阅机 API",
"version": "1.0.14",
"version": "1.0.15",
"main": "js/main.mjs",
"types": "src/main.mts",
"repository": {
Expand Down
6 changes: 2 additions & 4 deletions src/book.mts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ type ResBookItem = {
pageNum: number
/** 图书价格 */
price: string
type: string
type: BookItem['type']
isbn: string
}

Expand All @@ -156,7 +156,6 @@ type ResBookInfo = ResBookItem & {
path: string
/** 发布时间 */
pubTime: string
type: string
}

/** 图书列表项 */
Expand All @@ -172,7 +171,7 @@ export type BookItem = {
price: string
/** 网页阅读器 */
webReader: string
type: string
type: 'HY' | 'GD'
isbn: string
}

Expand All @@ -182,5 +181,4 @@ export type BookInfo = BookItem & {
epub: string
/** 发布时间 */
publishTime: string
type: string
}

0 comments on commit 971cb13

Please sign in to comment.