narou 0.5.0 → 0.6.2

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.
Files changed (131) hide show
  1. package/dist/index.browser.d.ts +30 -0
  2. package/dist/index.browser.d.ts.map +1 -0
  3. package/dist/index.browser.js +119 -0
  4. package/dist/index.browser.js.map +1 -0
  5. package/dist/index.common.d.ts +8 -0
  6. package/dist/index.common.d.ts.map +1 -0
  7. package/dist/index.common.js +17 -0
  8. package/dist/index.common.js.map +1 -0
  9. package/dist/index.d.ts +30 -31
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +120 -113
  12. package/dist/index.js.map +1 -1
  13. package/dist/narou-fetch.d.ts +13 -0
  14. package/dist/narou-fetch.d.ts.map +1 -0
  15. package/dist/narou-fetch.js +130 -0
  16. package/dist/narou-fetch.js.map +1 -0
  17. package/dist/narou-jsonp.d.ts +10 -0
  18. package/dist/narou-jsonp.d.ts.map +1 -0
  19. package/dist/narou-jsonp.js +102 -0
  20. package/dist/narou-jsonp.js.map +1 -0
  21. package/dist/narou-ranking-results.d.ts +8 -8
  22. package/dist/narou-ranking-results.js +2 -2
  23. package/dist/narou-search-results.d.ts +90 -89
  24. package/dist/narou-search-results.d.ts.map +1 -1
  25. package/dist/narou-search-results.js +51 -51
  26. package/dist/narou-search-results.js.map +1 -1
  27. package/dist/narou.d.ts +24 -25
  28. package/dist/narou.d.ts.map +1 -1
  29. package/dist/narou.js +104 -142
  30. package/dist/narou.js.map +1 -1
  31. package/dist/params.d.ts +230 -230
  32. package/dist/params.js +173 -173
  33. package/dist/ranking-history.d.ts +13 -13
  34. package/dist/ranking-history.js +13 -13
  35. package/dist/ranking-history.js.map +1 -1
  36. package/dist/ranking.d.ts +47 -45
  37. package/dist/ranking.d.ts.map +1 -1
  38. package/dist/ranking.js +167 -165
  39. package/dist/ranking.js.map +1 -1
  40. package/dist/search-builder-r18.d.ts +21 -21
  41. package/dist/search-builder-r18.d.ts.map +1 -1
  42. package/dist/search-builder-r18.js +64 -63
  43. package/dist/search-builder-r18.js.map +1 -1
  44. package/dist/search-builder.d.ts +228 -226
  45. package/dist/search-builder.d.ts.map +1 -1
  46. package/dist/search-builder.js +412 -412
  47. package/dist/search-builder.js.map +1 -1
  48. package/dist/util/jsonp.d.ts +14 -0
  49. package/dist/util/jsonp.d.ts.map +1 -0
  50. package/dist/util/jsonp.js +48 -0
  51. package/dist/util/jsonp.js.map +1 -0
  52. package/dist/util/unzipp.d.ts +3 -3
  53. package/dist/util/unzipp.js +56 -56
  54. package/dist/util/unzipp.js.map +1 -1
  55. package/dist/util/url.d.ts +10 -0
  56. package/dist/util/url.d.ts.map +1 -0
  57. package/dist/util/url.js +9 -0
  58. package/dist/util/url.js.map +1 -0
  59. package/dist.es2015/index.browser.js +50 -0
  60. package/dist.es2015/index.browser.js.map +1 -0
  61. package/dist.es2015/index.common.js +5 -0
  62. package/dist.es2015/index.common.js.map +1 -0
  63. package/dist.es2015/index.js +50 -49
  64. package/dist.es2015/index.js.map +1 -1
  65. package/dist.es2015/narou-fetch.js +44 -0
  66. package/dist.es2015/narou-fetch.js.map +1 -0
  67. package/dist.es2015/narou-jsonp.js +22 -0
  68. package/dist.es2015/narou-jsonp.js.map +1 -0
  69. package/dist.es2015/narou-ranking-results.js +1 -1
  70. package/dist.es2015/narou-search-results.js +46 -46
  71. package/dist.es2015/narou-search-results.js.map +1 -1
  72. package/dist.es2015/narou.js +23 -60
  73. package/dist.es2015/narou.js.map +1 -1
  74. package/dist.es2015/params.js +170 -170
  75. package/dist.es2015/ranking-history.js +9 -9
  76. package/dist.es2015/ranking.js +90 -90
  77. package/dist.es2015/ranking.js.map +1 -1
  78. package/dist.es2015/search-builder-r18.js +41 -42
  79. package/dist.es2015/search-builder-r18.js.map +1 -1
  80. package/dist.es2015/search-builder.js +383 -383
  81. package/dist.es2015/search-builder.js.map +1 -1
  82. package/dist.es2015/util/jsonp.js +43 -0
  83. package/dist.es2015/util/jsonp.js.map +1 -0
  84. package/dist.es2015/util/unzipp.js +7 -7
  85. package/dist.es2015/util/url.js +7 -0
  86. package/dist.es2015/util/url.js.map +1 -0
  87. package/dist.esm/index.browser.js +102 -0
  88. package/dist.esm/index.browser.js.map +1 -0
  89. package/dist.esm/index.common.js +5 -0
  90. package/dist.esm/index.common.js.map +1 -0
  91. package/dist.esm/index.js +102 -97
  92. package/dist.esm/index.js.map +1 -1
  93. package/dist.esm/narou-fetch.js +128 -0
  94. package/dist.esm/narou-fetch.js.map +1 -0
  95. package/dist.esm/narou-jsonp.js +100 -0
  96. package/dist.esm/narou-jsonp.js.map +1 -0
  97. package/dist.esm/narou-ranking-results.js +1 -1
  98. package/dist.esm/narou-search-results.js +49 -49
  99. package/dist.esm/narou-search-results.js.map +1 -1
  100. package/dist.esm/narou.js +102 -140
  101. package/dist.esm/narou.js.map +1 -1
  102. package/dist.esm/params.js +170 -170
  103. package/dist.esm/ranking-history.js +9 -9
  104. package/dist.esm/ranking.js +164 -162
  105. package/dist.esm/ranking.js.map +1 -1
  106. package/dist.esm/search-builder-r18.js +62 -61
  107. package/dist.esm/search-builder-r18.js.map +1 -1
  108. package/dist.esm/search-builder.js +410 -410
  109. package/dist.esm/search-builder.js.map +1 -1
  110. package/dist.esm/util/jsonp.js +44 -0
  111. package/dist.esm/util/jsonp.js.map +1 -0
  112. package/dist.esm/util/unzipp.js +52 -52
  113. package/dist.esm/util/url.js +7 -0
  114. package/dist.esm/util/url.js.map +1 -0
  115. package/package-lock.json +3328 -4289
  116. package/package.json +8 -9
  117. package/src/index.browser.ts +63 -0
  118. package/src/index.common.ts +17 -0
  119. package/src/index.ts +22 -23
  120. package/src/narou-fetch.ts +51 -0
  121. package/src/narou-jsonp.ts +29 -0
  122. package/src/narou-ranking-results.ts +9 -9
  123. package/src/narou-search-results.ts +11 -10
  124. package/src/narou.ts +21 -49
  125. package/src/params.ts +280 -280
  126. package/src/ranking.ts +111 -107
  127. package/src/search-builder-r18.ts +1 -2
  128. package/src/search-builder.ts +5 -3
  129. package/src/util/jsonp.ts +66 -0
  130. package/src/util/unzipp.ts +9 -9
  131. package/src/util/url.ts +7 -0
package/src/params.ts CHANGED
@@ -1,280 +1,280 @@
1
- export type booleanNumber = 0 | 1;
2
-
3
- /**
4
- * {@link SearchBuilder#Fields}メソッドにパラメータを指定する際のヘルパー。
5
- * @typedef {Object} Fields
6
- * @property {string} title 小説名
7
- * @property {string} ncode Nコード
8
- * @property {string} userid 作者のユーザID(数値)
9
- * @property {string} writer 作者名
10
- * @property {string} story 小説のあらすじ
11
- * @property {string} genre ジャンル
12
- * @property {string} keyword キーワード
13
- * @property {string} general_firstup 初回掲載日
14
- * @property {string} general_lastup 最終掲載日
15
- * @property {string} noveltype 連載の場合は1、短編の場合は2
16
- * @property {string} end 連載の場合は1、短編の場合は2
17
- * @property {string} general_all_no 全掲載話数です。短編の場合は1です。
18
- * @property {string} length 全掲載話数です。短編の場合は1です。
19
- * @property {string} time 読了時間(分単位)です。読了時間は小説文字数÷500を切り上げした数値です。
20
- * @property {string} isstop 長期連載中は1、それ以外は0です。
21
- * @property {string} pc_or_k 1はケータイのみ、2はPCのみ、3はPCとケータイで投稿された作品です。対象は投稿と次話投稿時のみで、どの端末で執筆されたかを表すものではありません。
22
- * @property {string} global_point 総合得点(=(ブックマーク数×2)+評価点)
23
- * @property {string} fav_novel_cnt ブックマーク数
24
- * @property {string} review_cnt レビュー数
25
- * @property {string} all_point 評価点
26
- * @property {string} all_hyoka_cnt 評価者数
27
- * @property {string} sasie_cnt 挿絵の数
28
- * @property {string} kaiwaritu 会話率
29
- * @property {string} novelupdated_at 小説の更新日時
30
- * @property {string} updated_at 最終更新日時(注意:システム用で小説更新時とは関係ありません)
31
- */
32
- export interface SearchParams {
33
- gzip?: GzipLevel;
34
- out?: "json";
35
- of?: string;
36
- lim?: number;
37
- st?: number;
38
- order?: Order;
39
-
40
- word?: string;
41
- notword?: string;
42
- title?: booleanNumber;
43
- ex?: booleanNumber;
44
- keyword?: booleanNumber;
45
- wname?: booleanNumber;
46
-
47
- biggenre?: string | BigGenre;
48
- notbiggenre?: string | BigGenre;
49
- genre?: string | Genre;
50
- notgenre?: string | Genre;
51
- userid?: string | number;
52
-
53
- nocgenre?: string | number;
54
- notnocgenre?: string | number;
55
- xid?: string | number;
56
-
57
- isr15?: booleanNumber;
58
- isbl?: booleanNumber;
59
- isgl?: booleanNumber;
60
- iszankoku?: booleanNumber;
61
- istensei?: booleanNumber;
62
- istenni?: booleanNumber;
63
- istt?: booleanNumber;
64
-
65
- notr15?: booleanNumber;
66
- notbl?: booleanNumber;
67
- notgl?: booleanNumber;
68
- notzankoku?: booleanNumber;
69
- nottensei?: booleanNumber;
70
- nottenni?: booleanNumber;
71
- nottt?: booleanNumber;
72
-
73
- minlen?: number;
74
- maxlen?: number;
75
- length?: number | string;
76
-
77
- kaiwaritu?: number | string;
78
- sasie?: number | string;
79
-
80
- mintime?: number;
81
- maxtime?: number;
82
- time?: number | string;
83
-
84
- ncode?: string;
85
-
86
- type?: NovelType;
87
-
88
- buntai?: Buntai | string;
89
-
90
- stop?: Stop;
91
-
92
- ispickup?: booleanNumber;
93
- lastup?: string;
94
-
95
- opt?: string;
96
- }
97
-
98
- export interface RankingParams {
99
- rtype: string;
100
- gzip?: GzipLevel;
101
- out?: "json";
102
- }
103
-
104
- export interface RankingHistoryParams {
105
- ncode: string;
106
- gzip?: GzipLevel;
107
- out?: "json";
108
- }
109
-
110
- export enum Fields {
111
- title = "t",
112
- ncode = "n",
113
- userid = "u",
114
- writer = "w",
115
- story = "s",
116
- genre = "g",
117
- keyword = "k",
118
- general_firstup = "gf",
119
- general_lastup = "gl",
120
- noveltype = "nt",
121
- end = "e",
122
- general_all_no = "ga",
123
- length = "l",
124
- time = "ti",
125
- isstop = "i",
126
- pc_or_k = "p",
127
- global_point = "gp",
128
- fav_novel_cnt = "f",
129
- review_cnt = "r",
130
- all_point = "a",
131
- all_hyoka_cnt = "ah",
132
- sasie_cnt = "sa",
133
- kaiwaritu = "ka",
134
- novelupdated_at = "nu",
135
- updated_at = "ua"
136
- }
137
-
138
- /*
139
- * new 新着更新順
140
- * favnovelcnt ブックマーク数の多い順
141
- * reviewcnt レビュー数の多い順
142
- * hyoka 総合ポイントの高い順
143
- * hyokaasc 総合ポイントの低い順
144
- * dailypoint 日間ポイントの高い順
145
- * weeklypoint 週間ポイントの高い順
146
- * monthlypoint 月間ポイントの高い順
147
- * quarterpoint 四半期ポイントの高い順
148
- * yearlypoint 年間ポイントの高い順
149
- * impressioncnt 感想の多い順
150
- * hyokacnt 評価者数の多い順
151
- * hyokacntasc 評価者数の少ない順
152
- * weekly 週間ユニークユーザの多い順 毎週火曜日早朝リセット
153
- * (前週の日曜日から土曜日分)
154
- * lengthdesc 小説本文の文字数が多い順
155
- * lengthasc 小説本文の文字数が少ない順
156
- * ncodedesc Nコードが新しい順
157
- * old 古い順
158
- */
159
- export enum Order {
160
- FavoriteNovelCount = "favnovelcnt",
161
- ReviewCount = "favnovelcnt",
162
- HyokaDesc = "hyoka",
163
- HyokaAsc = "hyokaasc",
164
- ImpressionCount = "impressioncnt",
165
- HyokaCountDesc = "hyokacnt",
166
- HyokaCountAsc = "hyokacntasc",
167
- Weekly = "weekly",
168
- LengthDesc = "lengthdesc",
169
- LengthAsc = "lengthasc",
170
- NCodeDesc = "ncodedesc",
171
- New = "new",
172
- Old = "old",
173
- DailyPoint = "dailypoint",
174
- WeeklyPoint = "weeklypoint",
175
- MonthlyPoint = "monthlypoint",
176
- QuarterPoint = "quarterpoint",
177
- YearlyPoint = "yearlypoint"
178
- }
179
-
180
- export enum R18Site {
181
- Nocturne = 1,
182
- MoonLight = 2,
183
- MoonLightBL = 3,
184
- Midnight = 4
185
- }
186
-
187
- export enum R18SiteNotation {
188
- "ノクターンノベルズ(男性向け)" = R18Site.Nocturne,
189
- "ムーンライトノベルズ(女性向け)" = R18Site.MoonLight,
190
- "ムーンライトノベルズ(BL)" = R18Site.MoonLightBL,
191
- "ミッドナイトノベルズ(大人向け)" = R18Site.Midnight
192
- }
193
-
194
- export enum BigGenre {
195
- Renai = 1,
196
- Fantasy = 2,
197
- Bungei = 3,
198
- Sf = 4,
199
- Sonota = 99,
200
- NonGenre = 98
201
- }
202
-
203
- export enum BigGenreNotation {
204
- "恋愛" = BigGenre.Renai,
205
- "ファンタジー" = BigGenre.Fantasy,
206
- "文芸" = BigGenre.Bungei,
207
- "SF" = BigGenre.Sf,
208
- "その他" = BigGenre.Sonota,
209
- "ノンジャンル" = BigGenre.NonGenre
210
- }
211
-
212
- export enum Genre {
213
- RenaiIsekai = 101,
214
- RenaiGenjitsusekai = 102,
215
- FantasyHigh = 201,
216
- FantasyLow = 202,
217
- BungeiJyunbungei = 301,
218
- BungeiHumanDrama = 302,
219
- BungeiHistory = 303,
220
- BungeiSuiri = 304,
221
- BungeiHorror = 305,
222
- BungeiAction = 306,
223
- BungeiComedy = 307,
224
- SfVrgame = 401,
225
- SfSpace = 402,
226
- SfKuusoukagaku = 403,
227
- SfPanic = 404,
228
- SonotaDouwa = 9901,
229
- SonotaShi = 9902,
230
- SonotaEssei = 9903,
231
- SonotaReplay = 9904,
232
- SonotaSonota = 9999,
233
- NonGenre = 9801
234
- }
235
-
236
- export enum GenreNotation {
237
- "異世界〔恋愛〕" = Genre.RenaiIsekai,
238
- "現実世界〔恋愛〕" = Genre.RenaiGenjitsusekai,
239
- "ハイファンタジー〔ファンタジー〕" = Genre.FantasyHigh,
240
- "ローファンタジー〔ファンタジー〕" = Genre.FantasyLow,
241
- "純文学〔文芸〕" = Genre.BungeiJyunbungei,
242
- "ヒューマンドラマ〔文芸〕" = Genre.BungeiHumanDrama,
243
- "歴史〔文芸〕" = Genre.BungeiHistory,
244
- "推理〔文芸〕" = Genre.BungeiSuiri,
245
- "ホラー〔文芸〕" = Genre.BungeiHorror,
246
- "アクション〔文芸〕" = Genre.BungeiAction,
247
- "コメディー〔文芸〕" = Genre.BungeiComedy,
248
- "VRゲーム〔SF〕" = Genre.SfVrgame,
249
- "宇宙〔SF〕" = Genre.SfSpace,
250
- "空想科学〔SF〕" = Genre.SfKuusoukagaku,
251
- "パニック〔SF〕" = Genre.SfPanic,
252
- "童話〔その他〕" = Genre.SonotaDouwa,
253
- "詩〔その他〕" = Genre.SonotaShi,
254
- "エッセイ〔その他〕" = Genre.SonotaEssei,
255
- "リプレイ〔その他〕" = Genre.SonotaReplay,
256
- "その他〔その他〕" = Genre.SonotaSonota,
257
- "ノンジャンル〔ノンジャンル〕" = Genre.NonGenre
258
- }
259
-
260
- export enum Buntai {
261
- NoJisageKaigyouOoi = 1,
262
- NoJisageKaigyoHutsuu = 2,
263
- JisageKaigyoOoi = 4,
264
- JisageKaigyoHutsuu = 6
265
- }
266
-
267
- export enum Stop {
268
- NoStopping = 1,
269
- Stopping = 2
270
- }
271
-
272
- export enum NovelType {
273
- Short = "t",
274
- RensaiNow = "r",
275
- RensaiEnd = "er",
276
- Rensai = "re",
277
- ShortAndRensai = "ter"
278
- }
279
-
280
- export type GzipLevel = 0 | 1 | 2 | 3 | 4 | 5;
1
+ export type booleanNumber = 0 | 1;
2
+
3
+ /**
4
+ * {@link SearchBuilder#Fields}メソッドにパラメータを指定する際のヘルパー。
5
+ * @typedef {Object} Fields
6
+ * @property {string} title 小説名
7
+ * @property {string} ncode Nコード
8
+ * @property {string} userid 作者のユーザID(数値)
9
+ * @property {string} writer 作者名
10
+ * @property {string} story 小説のあらすじ
11
+ * @property {string} genre ジャンル
12
+ * @property {string} keyword キーワード
13
+ * @property {string} general_firstup 初回掲載日
14
+ * @property {string} general_lastup 最終掲載日
15
+ * @property {string} noveltype 連載の場合は1、短編の場合は2
16
+ * @property {string} end 連載の場合は1、短編の場合は2
17
+ * @property {string} general_all_no 全掲載話数です。短編の場合は1です。
18
+ * @property {string} length 全掲載話数です。短編の場合は1です。
19
+ * @property {string} time 読了時間(分単位)です。読了時間は小説文字数÷500を切り上げした数値です。
20
+ * @property {string} isstop 長期連載中は1、それ以外は0です。
21
+ * @property {string} pc_or_k 1はケータイのみ、2はPCのみ、3はPCとケータイで投稿された作品です。対象は投稿と次話投稿時のみで、どの端末で執筆されたかを表すものではありません。
22
+ * @property {string} global_point 総合得点(=(ブックマーク数×2)+評価点)
23
+ * @property {string} fav_novel_cnt ブックマーク数
24
+ * @property {string} review_cnt レビュー数
25
+ * @property {string} all_point 評価点
26
+ * @property {string} all_hyoka_cnt 評価者数
27
+ * @property {string} sasie_cnt 挿絵の数
28
+ * @property {string} kaiwaritu 会話率
29
+ * @property {string} novelupdated_at 小説の更新日時
30
+ * @property {string} updated_at 最終更新日時(注意:システム用で小説更新時とは関係ありません)
31
+ */
32
+ export interface SearchParams {
33
+ gzip?: GzipLevel;
34
+ out?: "json";
35
+ of?: string;
36
+ lim?: number;
37
+ st?: number;
38
+ order?: Order;
39
+
40
+ word?: string;
41
+ notword?: string;
42
+ title?: booleanNumber;
43
+ ex?: booleanNumber;
44
+ keyword?: booleanNumber;
45
+ wname?: booleanNumber;
46
+
47
+ biggenre?: string | BigGenre;
48
+ notbiggenre?: string | BigGenre;
49
+ genre?: string | Genre;
50
+ notgenre?: string | Genre;
51
+ userid?: string | number;
52
+
53
+ nocgenre?: string | number;
54
+ notnocgenre?: string | number;
55
+ xid?: string | number;
56
+
57
+ isr15?: booleanNumber;
58
+ isbl?: booleanNumber;
59
+ isgl?: booleanNumber;
60
+ iszankoku?: booleanNumber;
61
+ istensei?: booleanNumber;
62
+ istenni?: booleanNumber;
63
+ istt?: booleanNumber;
64
+
65
+ notr15?: booleanNumber;
66
+ notbl?: booleanNumber;
67
+ notgl?: booleanNumber;
68
+ notzankoku?: booleanNumber;
69
+ nottensei?: booleanNumber;
70
+ nottenni?: booleanNumber;
71
+ nottt?: booleanNumber;
72
+
73
+ minlen?: number;
74
+ maxlen?: number;
75
+ length?: number | string;
76
+
77
+ kaiwaritu?: number | string;
78
+ sasie?: number | string;
79
+
80
+ mintime?: number;
81
+ maxtime?: number;
82
+ time?: number | string;
83
+
84
+ ncode?: string;
85
+
86
+ type?: NovelType;
87
+
88
+ buntai?: Buntai | string;
89
+
90
+ stop?: Stop;
91
+
92
+ ispickup?: booleanNumber;
93
+ lastup?: string;
94
+
95
+ opt?: string;
96
+ }
97
+
98
+ export interface RankingParams {
99
+ rtype: string;
100
+ gzip?: GzipLevel;
101
+ out?: "json";
102
+ }
103
+
104
+ export interface RankingHistoryParams {
105
+ ncode: string;
106
+ gzip?: GzipLevel;
107
+ out?: "json";
108
+ }
109
+
110
+ export enum Fields {
111
+ title = "t",
112
+ ncode = "n",
113
+ userid = "u",
114
+ writer = "w",
115
+ story = "s",
116
+ genre = "g",
117
+ keyword = "k",
118
+ general_firstup = "gf",
119
+ general_lastup = "gl",
120
+ noveltype = "nt",
121
+ end = "e",
122
+ general_all_no = "ga",
123
+ length = "l",
124
+ time = "ti",
125
+ isstop = "i",
126
+ pc_or_k = "p",
127
+ global_point = "gp",
128
+ fav_novel_cnt = "f",
129
+ review_cnt = "r",
130
+ all_point = "a",
131
+ all_hyoka_cnt = "ah",
132
+ sasie_cnt = "sa",
133
+ kaiwaritu = "ka",
134
+ novelupdated_at = "nu",
135
+ updated_at = "ua",
136
+ }
137
+
138
+ /*
139
+ * new 新着更新順
140
+ * favnovelcnt ブックマーク数の多い順
141
+ * reviewcnt レビュー数の多い順
142
+ * hyoka 総合ポイントの高い順
143
+ * hyokaasc 総合ポイントの低い順
144
+ * dailypoint 日間ポイントの高い順
145
+ * weeklypoint 週間ポイントの高い順
146
+ * monthlypoint 月間ポイントの高い順
147
+ * quarterpoint 四半期ポイントの高い順
148
+ * yearlypoint 年間ポイントの高い順
149
+ * impressioncnt 感想の多い順
150
+ * hyokacnt 評価者数の多い順
151
+ * hyokacntasc 評価者数の少ない順
152
+ * weekly 週間ユニークユーザの多い順 毎週火曜日早朝リセット
153
+ * (前週の日曜日から土曜日分)
154
+ * lengthdesc 小説本文の文字数が多い順
155
+ * lengthasc 小説本文の文字数が少ない順
156
+ * ncodedesc Nコードが新しい順
157
+ * old 古い順
158
+ */
159
+ export enum Order {
160
+ FavoriteNovelCount = "favnovelcnt",
161
+ ReviewCount = "favnovelcnt",
162
+ HyokaDesc = "hyoka",
163
+ HyokaAsc = "hyokaasc",
164
+ ImpressionCount = "impressioncnt",
165
+ HyokaCountDesc = "hyokacnt",
166
+ HyokaCountAsc = "hyokacntasc",
167
+ Weekly = "weekly",
168
+ LengthDesc = "lengthdesc",
169
+ LengthAsc = "lengthasc",
170
+ NCodeDesc = "ncodedesc",
171
+ New = "new",
172
+ Old = "old",
173
+ DailyPoint = "dailypoint",
174
+ WeeklyPoint = "weeklypoint",
175
+ MonthlyPoint = "monthlypoint",
176
+ QuarterPoint = "quarterpoint",
177
+ YearlyPoint = "yearlypoint",
178
+ }
179
+
180
+ export enum R18Site {
181
+ Nocturne = 1,
182
+ MoonLight = 2,
183
+ MoonLightBL = 3,
184
+ Midnight = 4,
185
+ }
186
+
187
+ export enum R18SiteNotation {
188
+ "ノクターンノベルズ(男性向け)" = R18Site.Nocturne,
189
+ "ムーンライトノベルズ(女性向け)" = R18Site.MoonLight,
190
+ "ムーンライトノベルズ(BL)" = R18Site.MoonLightBL,
191
+ "ミッドナイトノベルズ(大人向け)" = R18Site.Midnight,
192
+ }
193
+
194
+ export enum BigGenre {
195
+ Renai = 1,
196
+ Fantasy = 2,
197
+ Bungei = 3,
198
+ Sf = 4,
199
+ Sonota = 99,
200
+ NonGenre = 98,
201
+ }
202
+
203
+ export enum BigGenreNotation {
204
+ "恋愛" = BigGenre.Renai,
205
+ "ファンタジー" = BigGenre.Fantasy,
206
+ "文芸" = BigGenre.Bungei,
207
+ "SF" = BigGenre.Sf,
208
+ "その他" = BigGenre.Sonota,
209
+ "ノンジャンル" = BigGenre.NonGenre,
210
+ }
211
+
212
+ export enum Genre {
213
+ RenaiIsekai = 101,
214
+ RenaiGenjitsusekai = 102,
215
+ FantasyHigh = 201,
216
+ FantasyLow = 202,
217
+ BungeiJyunbungei = 301,
218
+ BungeiHumanDrama = 302,
219
+ BungeiHistory = 303,
220
+ BungeiSuiri = 304,
221
+ BungeiHorror = 305,
222
+ BungeiAction = 306,
223
+ BungeiComedy = 307,
224
+ SfVrgame = 401,
225
+ SfSpace = 402,
226
+ SfKuusoukagaku = 403,
227
+ SfPanic = 404,
228
+ SonotaDouwa = 9901,
229
+ SonotaShi = 9902,
230
+ SonotaEssei = 9903,
231
+ SonotaReplay = 9904,
232
+ SonotaSonota = 9999,
233
+ NonGenre = 9801,
234
+ }
235
+
236
+ export enum GenreNotation {
237
+ "異世界〔恋愛〕" = Genre.RenaiIsekai,
238
+ "現実世界〔恋愛〕" = Genre.RenaiGenjitsusekai,
239
+ "ハイファンタジー〔ファンタジー〕" = Genre.FantasyHigh,
240
+ "ローファンタジー〔ファンタジー〕" = Genre.FantasyLow,
241
+ "純文学〔文芸〕" = Genre.BungeiJyunbungei,
242
+ "ヒューマンドラマ〔文芸〕" = Genre.BungeiHumanDrama,
243
+ "歴史〔文芸〕" = Genre.BungeiHistory,
244
+ "推理〔文芸〕" = Genre.BungeiSuiri,
245
+ "ホラー〔文芸〕" = Genre.BungeiHorror,
246
+ "アクション〔文芸〕" = Genre.BungeiAction,
247
+ "コメディー〔文芸〕" = Genre.BungeiComedy,
248
+ "VRゲーム〔SF〕" = Genre.SfVrgame,
249
+ "宇宙〔SF〕" = Genre.SfSpace,
250
+ "空想科学〔SF〕" = Genre.SfKuusoukagaku,
251
+ "パニック〔SF〕" = Genre.SfPanic,
252
+ "童話〔その他〕" = Genre.SonotaDouwa,
253
+ "詩〔その他〕" = Genre.SonotaShi,
254
+ "エッセイ〔その他〕" = Genre.SonotaEssei,
255
+ "リプレイ〔その他〕" = Genre.SonotaReplay,
256
+ "その他〔その他〕" = Genre.SonotaSonota,
257
+ "ノンジャンル〔ノンジャンル〕" = Genre.NonGenre,
258
+ }
259
+
260
+ export enum Buntai {
261
+ NoJisageKaigyouOoi = 1,
262
+ NoJisageKaigyoHutsuu = 2,
263
+ JisageKaigyoOoi = 4,
264
+ JisageKaigyoHutsuu = 6,
265
+ }
266
+
267
+ export enum Stop {
268
+ NoStopping = 1,
269
+ Stopping = 2,
270
+ }
271
+
272
+ export enum NovelType {
273
+ Short = "t",
274
+ RensaiNow = "r",
275
+ RensaiEnd = "er",
276
+ Rensai = "re",
277
+ ShortAndRensai = "ter",
278
+ }
279
+
280
+ export type GzipLevel = 0 | 1 | 2 | 3 | 4 | 5;