File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export class OpenLibraryAPI extends APIModel {
6969 dataSource : this . apiName ,
7070 url : `https://openlibrary.org` + result . key ,
7171 id : result . key ,
72+ isbn : result . isbn [ 0 ] ?? 'unknown' ,
7273 englishTitle : result . title_english ?? result . title ,
7374
7475 author : result . author_name ?? 'unknown' ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export class BookModel extends MediaTypeModel {
99 image : string ;
1010 onlineRating : number ;
1111 english_title : string ;
12+ isbn : number ;
1213
1314 released : boolean ;
1415
@@ -25,6 +26,7 @@ export class BookModel extends MediaTypeModel {
2526 this . pages = undefined ;
2627 this . image = undefined ;
2728 this . onlineRating = undefined ;
29+ this . isbn = undefined ;
2830
2931 this . released = undefined ;
3032
You can’t perform that action at this time.
0 commit comments