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