@readerseye2/cr_type 1.0.43 → 1.0.49

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.
@@ -27,3 +27,30 @@ export declare enum BookGenre {
27
27
  POETRY = "poetry",// 시
28
28
  OTHER = "other"
29
29
  }
30
+ /** 책 기본 정보 (리스트용) */
31
+ export interface BookShort {
32
+ id: string;
33
+ title: string;
34
+ author: string;
35
+ coverUrl: string;
36
+ rating: number;
37
+ lengthText: string;
38
+ language: BookLanguageCode;
39
+ level: number;
40
+ genre: string;
41
+ }
42
+ /** 책 상세 정보 */
43
+ export interface BookDetail extends BookShort {
44
+ description?: string;
45
+ tags?: string[];
46
+ publishedAtText?: string;
47
+ priceText?: string;
48
+ toc?: string[];
49
+ ageGrade?: BookAgeGrade;
50
+ wordCount?: number;
51
+ isbn?: string;
52
+ originalPublisher?: string;
53
+ originalPublishDate?: string;
54
+ edition?: string;
55
+ quizRetryAllowed?: boolean;
56
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readerseye2/cr_type",
3
- "version": "1.0.43",
3
+ "version": "1.0.49",
4
4
  "description": "CheckReading shared TypeScript types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",