@book000/pixivts 0.64.1-beta.8 → 0.65.0-beta.1

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/README.md CHANGED
@@ -15,7 +15,7 @@ yarn add @book000/pixivts
15
15
  ## Features
16
16
 
17
17
  - **Zero runtime dependencies** — no axios, no zod at runtime; uses native `fetch`
18
- - **Result-typed API** — every method returns `Result<T, PixivError>` (no thrown exceptions)
18
+ - **Result-typed API** — request methods return `Result<T, PixivError>` instead of throwing for API errors
19
19
  - **ESM + CJS dual output** — works in Node.js (ESM/CJS) and edge runtimes
20
20
  - **Paginated results** — `PaginatedResultAsync` with async generator for multi-page iteration
21
21
  - **Resource-based API** — `illusts`, `novels`, `users`, `manga`, `ugoira`, `spotlight`, `images` namespaces
@@ -66,14 +66,14 @@ Creates a `PixivClient` by exchanging the given refresh token for an access toke
66
66
  | `refreshToken` | `string` | — | pixiv OAuth refresh token |
67
67
  | `opts.retry.maxRetries` | `number` | `3` | Max 429 retry attempts |
68
68
  | `opts.retry.waitMs` | `number` | `10000` | Default wait (ms) when no `Retry-After` header is present |
69
- | `opts.onResponse` | `ResponseInterceptor` | — | Called after every API response (used by `@book000/pixivts-db-mysql`) |
69
+ | `opts.onResponse` | `ResponseInterceptor` | — | Called after every successful (2xx) API response (used by `@book000/pixivts-db-mysql`) |
70
70
 
71
71
  ### Resources
72
72
 
73
73
  | Namespace | Methods |
74
74
  |---|---|
75
- | `illusts` | `detail`, `related`, `search`, `ranking`, `recommended`, `series`, `bookmarkAdd`, `bookmarkDelete`, `mypixiv`, `trendingTags`, `popularPreview` |
76
- | `novels` | `detail`, `text`, `related`, `search`, `ranking`, `recommended`, `series`, `bookmarkAdd`, `bookmarkDelete`, `bookmarkUsers`, `mypixiv`, `trendingTags`, `popularPreview`, `watchlist`, `markers` |
75
+ | `illusts` | `detail`, `related`, `search`, `popularPreview`, `ranking`, `recommended`, `series`, `bookmarkAdd`, `bookmarkDelete`, `follow`, `mypixiv`, `comments`, `commentReplies`, `bookmarkDetail`, `new`, `trendingTags` |
76
+ | `novels` | `detail`, `text`, `related`, `search`, `popularPreview`, `trendingTags`, `ranking`, `recommended`, `series`, `watchlist`, `markers`, `bookmarkAdd`, `bookmarkDelete`, `bookmarkUsers`, `follow`, `mypixiv`, `comments`, `commentReplies`, `new` |
77
77
  | `users` | `detail`, `detailV2`, `search`, `illusts`, `novels`, `following`, `followAdd`, `followDelete`, `related`, `recommended`, `follower`, `mypixiv`, `list`, `bookmarkTagsIllust`, `bookmarkTagsNovel`, `followDetail`, `editAiShowSettings`, `aiShowSettings`, `restrictedModeSettings`, `muteList`, `meState`, `hasUnreadNotifications` |
78
78
  | `users.bookmarks` | `illusts`, `novels` |
79
79
  | `manga` | `recommended`, `watchlist` |
@@ -103,10 +103,15 @@ if (result.isErr) {
103
103
  case 'network':
104
104
  console.error('Network error', err.cause)
105
105
  break
106
+ case 'parse_error':
107
+ console.error(`Parse error: ${err.message}`)
108
+ break
106
109
  }
107
110
  }
108
111
  ```
109
112
 
113
+ `PixivClient.of` is the exception to the Result pattern: it rejects with a `PixivAuthError` when the initial token exchange fails. The `.pages()` and `.items()` generators throw a `PixivFetchError` when a page cannot be fetched.
114
+
110
115
  ### Result API
111
116
 
112
117
  ```typescript
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region src/result.ts
2
+ // src/result.ts
3
3
  var OkResultImpl = class OkResultImpl {
4
4
  value;
5
5
  isOk = true;
@@ -156,8 +156,7 @@ var ResultAsync = class ResultAsync {
156
156
  return r.isOk ? r.value : fallback;
157
157
  }
158
158
  };
159
- //#endregion
160
- //#region src/errors.ts
159
+ // src/errors.ts
161
160
  /**
162
161
  * An `Error` subclass that wraps a `PixivError` for use in thrown contexts
163
162
  * (e.g. async generators that must throw proper `Error` objects).
@@ -186,6 +185,42 @@ var PixivFetchError = class extends Error {
186
185
  Object.assign(this, pixivError);
187
186
  }
188
187
  };
188
+ const MAX_AUTH_BODY_LENGTH = 200;
189
+ /**
190
+ * Replaces control characters, redacts token-like strings and truncates to
191
+ * `MAX_AUTH_BODY_LENGTH` characters, so the result is safe to log on one line.
192
+ */
193
+ function sanitizeAuthBody(raw) {
194
+ const redacted = raw.replaceAll(/\p{Cc}/gu, " ").replaceAll(/[\w-]{20,}/g, "[REDACTED]");
195
+ return redacted.length > MAX_AUTH_BODY_LENGTH ? `${redacted.slice(0, MAX_AUTH_BODY_LENGTH)}...` : redacted;
196
+ }
197
+ /**
198
+ * Thrown by `AuthManager.refresh()` when the token endpoint returns a non-200
199
+ * response. The message keeps the `Failed to refresh pixiv token: HTTP <status>`
200
+ * prefix and appends the error code when one is available (for example
201
+ * `invalid_grant` for a revoked refresh token).
202
+ */
203
+ var PixivAuthError = class extends Error {
204
+ /** HTTP status code of the token endpoint response. */
205
+ status;
206
+ /** OAuth `error` code or pixiv `errors.system.message`, if present in the JSON body. */
207
+ code;
208
+ /** Truncated response body with token-like strings redacted. */
209
+ body;
210
+ constructor(status, rawBody) {
211
+ let code;
212
+ try {
213
+ const json = JSON.parse(rawBody);
214
+ const c = json.error ?? json.errors?.system?.message;
215
+ if (typeof c === "string") code = sanitizeAuthBody(c);
216
+ } catch {}
217
+ super(`Failed to refresh pixiv token: HTTP ${status}${code ? ` (${code})` : ""}`);
218
+ this.name = "PixivAuthError";
219
+ this.status = status;
220
+ this.code = code;
221
+ this.body = sanitizeAuthBody(rawBody);
222
+ }
223
+ };
189
224
  /** Creates a rate-limit error. */
190
225
  function rateLimitError(retryAfter) {
191
226
  return {
@@ -224,8 +259,7 @@ function parseError(message, body, cause) {
224
259
  cause
225
260
  };
226
261
  }
227
- //#endregion
228
- //#region src/paginated.ts
262
+ // src/paginated.ts
229
263
  /**
230
264
  * A `ResultAsync<TPage, PixivError>` with additional `.pages()` / `.items()`
231
265
  * async generators for consuming paginated pixiv list responses.
@@ -303,14 +337,13 @@ var PaginatedResultAsync = class PaginatedResultAsync extends ResultAsync {
303
337
  function failedPaginated(error, http, getItems) {
304
338
  return new PaginatedResultAsync(Promise.resolve(err(error)), http, getItems);
305
339
  }
306
- //#endregion
307
- //#region src/params.ts
340
+ // src/params.ts
308
341
  /**
309
342
  * Parameter building utilities.
310
343
  *
311
- * Provides camelCase → snake_case conversion and a URLSearchParams builder
312
- * that replicates the behaviour of the `qs` library used in the legacy code
313
- * (without the `qs` runtime dependency).
344
+ * Provides camelCase ↔ snake_case key conversion, a `URLSearchParams` builder
345
+ * that serialises arrays as `key[]=value` (the Rails convention the pixiv API
346
+ * expects), and `parseNextUrl` for extracting pagination cursors.
314
347
  */
315
348
  /**
316
349
  * Converts a camelCase string to snake_case.
@@ -448,8 +481,7 @@ function parseNextUrl(url) {
448
481
  if (lastOrder !== void 0) result.lastOrder = lastOrder;
449
482
  return result;
450
483
  }
451
- //#endregion
452
- //#region src/options.ts
484
+ // src/options.ts
453
485
  /**
454
486
  * Public option constants for @book000/pixivts.
455
487
  *
@@ -579,8 +611,17 @@ const UserIllustType = {
579
611
  ILLUST: "illust",
580
612
  MANGA: "manga"
581
613
  };
582
- //#endregion
583
- //#region src/auth.ts
614
+ // src/auth.ts
615
+ /**
616
+ * Authentication manager for the pixiv API.
617
+ *
618
+ * Handles the OAuth 2.0 token refresh flow and generates the
619
+ * x-client-hash header required by the pixiv iOS app API.
620
+ *
621
+ * The MD5 implementation is pure TypeScript to ensure Edge/browser compatibility —
622
+ * Node's `crypto.createHash('md5')` is unavailable in Edge runtimes, and
623
+ * `crypto.subtle` does not support MD5.
624
+ */
584
625
  const T = Array.from({ length: 64 }, (_, i) => Math.floor(Math.abs(Math.sin(i + 1)) * 2 ** 32));
585
626
  const S = [
586
627
  7,
@@ -712,21 +753,15 @@ function md5Bytes(bytes) {
712
753
  /**
713
754
  * Produces a hex-encoded MD5 digest of `input`.
714
755
  *
715
- * This is a minimal, spec-compliant implementation (RFC 1321) that avoids
716
- * any runtime platform dependency.
756
+ * This is a minimal, spec-compliant implementation (RFC 1321) that uses no
757
+ * Node-specific APIs; the only platform requirement is the standard
758
+ * `TextEncoder` global for UTF-8 encoding.
717
759
  *
718
760
  * @param input - UTF-8 string to hash
719
761
  * @returns Lowercase hex-encoded MD5 digest
720
762
  */
721
763
  function md5(input) {
722
- const bytes = [];
723
- for (let i = 0; i < input.length; i++) {
724
- const code = input.codePointAt(i) ?? 0;
725
- if (code < 128) bytes.push(code);
726
- else if (code < 2048) bytes.push(192 | code >> 6, 128 | code & 63);
727
- else bytes.push(224 | code >> 12, 128 | code >> 6 & 63, 128 | code & 63);
728
- }
729
- return md5Bytes(bytes);
764
+ return md5Bytes([...new TextEncoder().encode(input)]);
730
765
  }
731
766
  const CLIENT_ID = "MOBrBDS8blbauoSck0ZfDbtuzpyT";
732
767
  const CLIENT_SECRET = "lsACyCD94FhDUtGTXi3QzcFE2uU1hqtDaKeqrdwj";
@@ -764,7 +799,7 @@ var AuthManager = class AuthManager {
764
799
  * Exchanges the stored refresh token for a fresh access token.
765
800
  *
766
801
  * Updates the internal credentials on success.
767
- * Throws if the token endpoint returns a non-200 response.
802
+ * Throws `PixivAuthError` if the token endpoint returns a non-200 response.
768
803
  */
769
804
  async refresh() {
770
805
  const localTime = (/* @__PURE__ */ new Date()).toISOString().replace(/Z$/, "+00:00");
@@ -788,7 +823,7 @@ var AuthManager = class AuthManager {
788
823
  headers,
789
824
  body
790
825
  });
791
- if (response.status !== 200) throw new Error(`Failed to refresh pixiv token: HTTP ${response.status}`);
826
+ if (response.status !== 200) throw new PixivAuthError(response.status, await response.text().catch(() => ""));
792
827
  const data = await response.json();
793
828
  this.#accessToken = data.response.access_token;
794
829
  this.#refreshToken = data.response.refresh_token;
@@ -810,8 +845,7 @@ var AuthManager = class AuthManager {
810
845
  return manager;
811
846
  }
812
847
  };
813
- //#endregion
814
- //#region src/http.ts
848
+ // src/http.ts
815
849
  const DEFAULT_RETRY = {
816
850
  maxRetries: 3,
817
851
  waitMs: 1e4
@@ -898,7 +932,7 @@ var HttpClient = class {
898
932
  "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36",
899
933
  Referer: "https://www.pixiv.net/"
900
934
  } }), networkError).andThen((response) => {
901
- return response.ok ? ResultAsync.fromResult(ok(response)) : ResultAsync.fromResult(err(apiError(response.status, null)));
935
+ return ResultAsync.fromResult(response.ok ? ok(response) : err(apiError(response.status, null)));
902
936
  });
903
937
  }
904
938
  /**
@@ -984,7 +1018,8 @@ var HttpClient = class {
984
1018
  responseUrl: response.url || void 0,
985
1019
  endpoint
986
1020
  };
987
- if (this.#interceptor) {
1021
+ const interceptor = this.#interceptor;
1022
+ if (interceptor) {
988
1023
  const record = {
989
1024
  method,
990
1025
  endpoint,
@@ -996,15 +1031,16 @@ var HttpClient = class {
996
1031
  responseHeaders: JSON.stringify(responseHeaders),
997
1032
  responseBody: text
998
1033
  };
999
- Promise.resolve(this.#interceptor(record)).catch(() => void 0);
1034
+ new Promise((resolve) => {
1035
+ resolve(interceptor(record));
1036
+ }).catch(() => void 0);
1000
1037
  }
1001
1038
  return ok(httpResponse.data);
1002
1039
  }
1003
1040
  return err(rateLimitError(lastRetryAfterMs));
1004
1041
  }
1005
1042
  };
1006
- //#endregion
1007
- //#region src/resources/illusts.ts
1043
+ // src/resources/illusts.ts
1008
1044
  /** Methods for the illust API namespace. */
1009
1045
  var IllustResource = class {
1010
1046
  #http;
@@ -1256,8 +1292,7 @@ var IllustResource = class {
1256
1292
  return this.#http.get("/v1/trending-tags/illust", buildParams({ filter: params.filter ?? "for_ios" }));
1257
1293
  }
1258
1294
  };
1259
- //#endregion
1260
- //#region src/webview-novel.ts
1295
+ // src/webview-novel.ts
1261
1296
  /**
1262
1297
  * Parses the structured novel data embedded in the WebView HTML page
1263
1298
  * (GET /webview/v2/novel).
@@ -1294,8 +1329,7 @@ function parseWebviewNovel(html) {
1294
1329
  const camelized = camelizeKeys(parsed);
1295
1330
  return isWebviewNovelShape(camelized) ? ok(camelized) : err(parseError("Embedded novel JSON does not match the expected WebviewNovel shape", html));
1296
1331
  }
1297
- //#endregion
1298
- //#region src/resources/novels.ts
1332
+ // src/resources/novels.ts
1299
1333
  /**
1300
1334
  * Formats a view timestamp as ISO 8601 with milliseconds and the local UTC
1301
1335
  * offset of that instant. Strings are returned unchanged.
@@ -1597,8 +1631,7 @@ var NovelResource = class {
1597
1631
  })), this.#http, (page) => page.novels);
1598
1632
  }
1599
1633
  };
1600
- //#endregion
1601
- //#region src/resources/users.ts
1634
+ // src/resources/users.ts
1602
1635
  /** Methods for the user bookmarks sub-namespace. */
1603
1636
  var UserBookmarksResource = class {
1604
1637
  #http;
@@ -1940,8 +1973,7 @@ var UserResource = class {
1940
1973
  return this.#http.get("/v1/notification/has-unread-notifications");
1941
1974
  }
1942
1975
  };
1943
- //#endregion
1944
- //#region src/resources/manga.ts
1976
+ // src/resources/manga.ts
1945
1977
  /** Methods for the manga API namespace. */
1946
1978
  var MangaResource = class {
1947
1979
  #http;
@@ -1972,8 +2004,7 @@ var MangaResource = class {
1972
2004
  return PaginatedResultAsync.fromResultAsync(this.#http.get("/v1/watchlist/manga"), this.#http, (page) => page.series);
1973
2005
  }
1974
2006
  };
1975
- //#endregion
1976
- //#region src/resources/ugoira.ts
2007
+ // src/resources/ugoira.ts
1977
2008
  /** Methods for the ugoira API namespace. */
1978
2009
  var UgoiraResource = class {
1979
2010
  #http;
@@ -1990,8 +2021,7 @@ var UgoiraResource = class {
1990
2021
  return this.#http.get("/v1/ugoira/metadata", buildParams({ illustId: params.illustId }));
1991
2022
  }
1992
2023
  };
1993
- //#endregion
1994
- //#region src/resources/spotlight.ts
2024
+ // src/resources/spotlight.ts
1995
2025
  /** Methods for the pixivision spotlight API namespace. */
1996
2026
  var SpotlightResource = class {
1997
2027
  #http;
@@ -2012,8 +2042,7 @@ var SpotlightResource = class {
2012
2042
  })), this.#http, (page) => page.spotlightArticles);
2013
2043
  }
2014
2044
  };
2015
- //#endregion
2016
- //#region src/resources/images.ts
2045
+ // src/resources/images.ts
2017
2046
  /** Methods for fetching pixiv images. */
2018
2047
  var ImageResource = class {
2019
2048
  #http;
@@ -2032,8 +2061,7 @@ var ImageResource = class {
2032
2061
  return this.#http.fetchImage(imageUrl);
2033
2062
  }
2034
2063
  };
2035
- //#endregion
2036
- //#region src/client.ts
2064
+ // src/client.ts
2037
2065
  /**
2038
2066
  * PixivClient — main entry point for the @book000/pixivts library.
2039
2067
  *
@@ -2131,12 +2159,12 @@ var PixivClient = class PixivClient {
2131
2159
  return new PixivClient(auth, http);
2132
2160
  }
2133
2161
  };
2134
- //#endregion
2135
2162
  exports.BookmarkRestrict = BookmarkRestrict;
2136
2163
  exports.FollowRestrict = FollowRestrict;
2137
2164
  exports.NovelRankingMode = NovelRankingMode;
2138
2165
  exports.OSFilter = OSFilter;
2139
2166
  exports.PaginatedResultAsync = PaginatedResultAsync;
2167
+ exports.PixivAuthError = PixivAuthError;
2140
2168
  exports.PixivClient = PixivClient;
2141
2169
  exports.PixivFetchError = PixivFetchError;
2142
2170
  exports.RankingMode = RankingMode;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,15 @@
1
- //#region src/result.d.ts
1
+ /**
2
+ * @book000/pixivts — pixiv Unofficial API Library for TypeScript
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { PixivClient } from '@book000/pixivts'
7
+ *
8
+ * const client = await PixivClient.of(process.env.PIXIV_REFRESH_TOKEN!)
9
+ * const result = await client.illusts.detail({ illustId: 12345 })
10
+ * if (result.isOk) console.log(result.value.illust.title)
11
+ * ```
12
+ */
2
13
  /**
3
14
  * Zero-dependency Result / ResultAsync implementation.
4
15
  *
@@ -138,8 +149,6 @@ export declare class ResultAsync<T, E> implements PromiseLike<Result<T, E>> {
138
149
  */
139
150
  unwrapOr(fallback: T): Promise<T>;
140
151
  }
141
- //#endregion
142
- //#region src/auth.d.ts
143
152
  /**
144
153
  * Authentication manager for the pixiv API.
145
154
  *
@@ -148,7 +157,7 @@ export declare class ResultAsync<T, E> implements PromiseLike<Result<T, E>> {
148
157
  *
149
158
  * The MD5 implementation is pure TypeScript to ensure Edge/browser compatibility —
150
159
  * Node's `crypto.createHash('md5')` is unavailable in Edge runtimes, and
151
- * `crypto.subtle` does not support MD5 (non-cryptographic hash).
160
+ * `crypto.subtle` does not support MD5.
152
161
  */
153
162
  /** Auth credentials returned by the pixiv token endpoint. */
154
163
  interface AuthCredentials {
@@ -178,7 +187,7 @@ declare class AuthManager {
178
187
  * Exchanges the stored refresh token for a fresh access token.
179
188
  *
180
189
  * Updates the internal credentials on success.
181
- * Throws if the token endpoint returns a non-200 response.
190
+ * Throws `PixivAuthError` if the token endpoint returns a non-200 response.
182
191
  */
183
192
  refresh(): Promise<void>;
184
193
  /**
@@ -189,8 +198,6 @@ declare class AuthManager {
189
198
  */
190
199
  static login(refreshToken: string): Promise<AuthManager>;
191
200
  }
192
- //#endregion
193
- //#region src/interceptor.d.ts
194
201
  /**
195
202
  * Response interceptor types for the pixiv API client.
196
203
  *
@@ -232,15 +239,14 @@ interface ResponseRecord {
232
239
  responseBody: string;
233
240
  }
234
241
  /**
235
- * A callback invoked after every successful API response.
242
+ * A callback invoked after every successful (2xx) API response.
236
243
  *
237
- * Implementations should be non-blocking — awaiting a slow DB write here will
238
- * add latency to every API call. Consider queueing the record and writing
239
- * asynchronously if persistence latency matters.
244
+ * The HTTP client does not await the returned promise, so a slow callback does
245
+ * not delay the API call. A rejected promise is silently discarded and does
246
+ * not fail the request, so implementations must handle and report their own
247
+ * errors.
240
248
  */
241
249
  type ResponseInterceptor = (record: ResponseRecord) => void | Promise<void>;
242
- //#endregion
243
- //#region src/errors.d.ts
244
250
  /**
245
251
  * Discriminated union of all errors that can occur when using the pixiv API client.
246
252
  *
@@ -307,6 +313,21 @@ export declare class PixivFetchError extends Error {
307
313
  readonly pixivError: PixivError;
308
314
  constructor(pixivError: PixivError);
309
315
  }
316
+ /**
317
+ * Thrown by `AuthManager.refresh()` when the token endpoint returns a non-200
318
+ * response. The message keeps the `Failed to refresh pixiv token: HTTP <status>`
319
+ * prefix and appends the error code when one is available (for example
320
+ * `invalid_grant` for a revoked refresh token).
321
+ */
322
+ export declare class PixivAuthError extends Error {
323
+ /** HTTP status code of the token endpoint response. */
324
+ readonly status: number;
325
+ /** OAuth `error` code or pixiv `errors.system.message`, if present in the JSON body. */
326
+ readonly code?: string;
327
+ /** Truncated response body with token-like strings redacted. */
328
+ readonly body: string;
329
+ constructor(status: number, rawBody: string);
330
+ }
310
331
  /** Creates a rate-limit error. */
311
332
  export declare function rateLimitError(retryAfter: number): PixivError;
312
333
  /** Creates an auth-failed error. */
@@ -317,8 +338,6 @@ export declare function networkError(cause: unknown): PixivError;
317
338
  export declare function apiError(status: number, body: unknown): PixivError;
318
339
  /** Creates a parse error. */
319
340
  export declare function parseError(message: string, body: string, cause?: unknown): PixivError;
320
- //#endregion
321
- //#region src/http.d.ts
322
341
  /** Options for controlling retry behaviour on rate-limited requests. */
323
342
  interface RateLimitRetryOptions {
324
343
  /** Maximum number of retries when a 429 response is received. Defaults to 3. */
@@ -374,8 +393,6 @@ declare class HttpClient {
374
393
  */
375
394
  getAbsolute<T>(absoluteUrl: string): ResultAsync<T, PixivError>;
376
395
  }
377
- //#endregion
378
- //#region src/paginated.d.ts
379
396
  /**
380
397
  * A page returned by a pixiv list endpoint.
381
398
  *
@@ -439,8 +456,6 @@ export declare class PaginatedResultAsync<TPage extends PagedResponse, TItem> ex
439
456
  * @param getItems - Item extractor (used for signature compatibility)
440
457
  */
441
458
  export declare function failedPaginated<TPage extends PagedResponse, TItem>(error: PixivError, http: HttpClient, getItems: (page: TPage) => TItem[]): PaginatedResultAsync<TPage, TItem>;
442
- //#endregion
443
- //#region src/params.d.ts
444
459
  /**
445
460
  * Typed cursor parameters extracted from a pixiv `next_url`.
446
461
  *
@@ -490,8 +505,6 @@ interface ParsedNextUrl {
490
505
  * @returns Typed cursor parameters; fields absent in the URL are `undefined`
491
506
  */
492
507
  export declare function parseNextUrl(url: string): ParsedNextUrl;
493
- //#endregion
494
- //#region src/options.d.ts
495
508
  /**
496
509
  * Public option constants for @book000/pixivts.
497
510
  *
@@ -621,8 +634,6 @@ export declare const UserIllustType: {
621
634
  readonly ILLUST: "illust";
622
635
  readonly MANGA: "manga";
623
636
  };
624
- //#endregion
625
- //#region src/types.d.ts
626
637
  /**
627
638
  * Public types for @book000/pixivts.
628
639
  *
@@ -1870,8 +1881,6 @@ interface UserFollowDetailResponse {
1870
1881
  /** Follow state for the requested user. */
1871
1882
  followDetail: FollowDetail;
1872
1883
  }
1873
- //#endregion
1874
- //#region src/resources/illusts.d.ts
1875
1884
  /** Parameters for fetching a single illust by ID. */
1876
1885
  interface IllustDetailParams {
1877
1886
  /** ID of the illust to fetch. */
@@ -2210,8 +2219,6 @@ declare class IllustResource {
2210
2219
  */
2211
2220
  trendingTags(params?: IllustTrendingTagsParams): ResultAsync<TrendingTagsIllustResponse, PixivError>;
2212
2221
  }
2213
- //#endregion
2214
- //#region src/resources/novels.d.ts
2215
2222
  /** Parameters for fetching a single novel by ID. */
2216
2223
  interface NovelDetailParams {
2217
2224
  /** ID of the novel to fetch. */
@@ -2573,8 +2580,6 @@ declare class NovelResource {
2573
2580
  */
2574
2581
  new(params?: NovelNewParams): PaginatedResultAsync<NovelListPage, PixivNovelItem>;
2575
2582
  }
2576
- //#endregion
2577
- //#region src/resources/users.d.ts
2578
2583
  /** Parameters for fetching a user's bookmarked illusts. */
2579
2584
  interface UserBookmarksIllustParams {
2580
2585
  /** ID of the user whose bookmarks to fetch. */
@@ -2952,8 +2957,6 @@ declare class UserResource {
2952
2957
  */
2953
2958
  hasUnreadNotifications(): ResultAsync<HasUnreadNotificationsResponse, PixivError>;
2954
2959
  }
2955
- //#endregion
2956
- //#region src/resources/spotlight.d.ts
2957
2960
  /** Parameters for fetching spotlight articles. */
2958
2961
  interface SpotlightArticlesParams {
2959
2962
  /**
@@ -2980,8 +2983,6 @@ declare class SpotlightResource {
2980
2983
  */
2981
2984
  articles(params?: SpotlightArticlesParams): PaginatedResultAsync<SpotlightArticlesPage, SpotlightArticle>;
2982
2985
  }
2983
- //#endregion
2984
- //#region src/resources/manga.d.ts
2985
2986
  /** Parameters for fetching recommended manga. */
2986
2987
  interface MangaRecommendedParams {
2987
2988
  /** OS filter to apply (default: `"for_ios"`). */
@@ -3008,8 +3009,6 @@ declare class MangaResource {
3008
3009
  */
3009
3010
  watchlist(): PaginatedResultAsync<WatchlistMangaPage, WatchlistSeries>;
3010
3011
  }
3011
- //#endregion
3012
- //#region src/resources/ugoira.d.ts
3013
3012
  /** Parameters for fetching ugoira metadata. */
3014
3013
  interface UgoiraMetadataParams {
3015
3014
  /** ID of the ugoira illust whose metadata to fetch. */
@@ -3027,8 +3026,6 @@ declare class UgoiraResource {
3027
3026
  */
3028
3027
  metadata(params: UgoiraMetadataParams): ResultAsync<UgoiraMetadataResponse, PixivError>;
3029
3028
  }
3030
- //#endregion
3031
- //#region src/resources/images.d.ts
3032
3029
  /** Methods for fetching pixiv images. */
3033
3030
  declare class ImageResource {
3034
3031
  #private;
@@ -3043,8 +3040,6 @@ declare class ImageResource {
3043
3040
  */
3044
3041
  fetch(imageUrl: string): ResultAsync<Response, PixivError>;
3045
3042
  }
3046
- //#endregion
3047
- //#region src/client.d.ts
3048
3043
  /** Options for constructing a {@link PixivClient}. */
3049
3044
  interface PixivClientOptions {
3050
3045
  /** Rate-limit retry configuration. */
@@ -3118,6 +3113,5 @@ export declare class PixivClient {
3118
3113
  */
3119
3114
  static of(refreshToken: string, options?: PixivClientOptions): Promise<PixivClient>;
3120
3115
  }
3121
- //#endregion
3122
- export type { AiShowSettingsResponse, BookmarkDetail, BookmarkDetailTag, BookmarkTag, ErrResult, FollowDetail, Frame, HasUnreadNotificationsResponse, HttpMethod, IllustBookmarkAddParams, IllustBookmarkDeleteParams, IllustBookmarkDetailParams, IllustBookmarkDetailResponse, IllustComment, IllustCommentRepliesPage, IllustCommentRepliesParams, IllustCommentStamp, IllustCommentsPage, IllustCommentsParams, IllustDetailParams, IllustDetailResponse, IllustFollowParams, IllustListPage, IllustMypixivParams, IllustNewParams, IllustPopularPreviewParams, IllustPopularPreviewResponse, IllustRankingParams, IllustRecommendedPage, IllustRecommendedParams, IllustRelatedParams, IllustRequest, IllustRequestCollaborateStatus, IllustRequestCollaborateUserSample, IllustRequestInfo, IllustRequestUser, IllustSearchParams, IllustSeriesDetail, IllustSeriesPage, IllustSeriesParams, IllustTrendingTagsParams, ImageUrls, MangaRecommendedPage, MarkedNovel, MetaPages, MetaSinglePage, MuteListResponse, MutedTag, NovelBookmarkAddParams, NovelBookmarkDeleteParams, NovelBookmarkUsersPage, NovelBookmarkUsersParams, NovelComment, NovelCommentRepliesPage, NovelCommentRepliesParams, NovelCommentsPage, NovelCommentsParams, NovelDetailParams, NovelDetailResponse, NovelFollowParams, NovelListPage, NovelMarker, NovelMarkersPage, NovelMypixivParams, NovelNewParams, NovelPopularPreviewParams, NovelPopularPreviewResponse, NovelRankingParams, NovelRecommendedPage, NovelRecommendedParams, NovelRelatedParams, NovelSearchParams, NovelSeriesDetail, NovelSeriesPage, NovelSeriesParams, NovelTextParams, NovelViewedEntry, OkResult, PagedResponse, ParsedNextUrl, PixivApiErrorBody, PixivClientOptions, PixivError, PixivIllustItem, PixivNovelItem, PixivUgoiraItem, PixivUser, PixivUserItem, PixivUserPreviewItem, PixivUserProfile, PixivUserProfileBadge, PixivUserProfilePublicity, PixivUserProfilePublicityV2, PixivUserProfileV2, PixivUserProfileWorkspace, PixivUserProfileWorkspaceV2, PrivacyPolicy, ProfileImageUrls, ResponseInterceptor, ResponseRecord, RestrictedModeSettingsResponse, Result, Series, SpotlightArticle, SpotlightArticlesPage, SpotlightArticlesParams, Tag, TrendingTagIllust, TrendingTagsIllustResponse, TrendingTagsNovelResponse, UgoiraMetadataResponse, UserBookmarkTagsIllustPage, UserBookmarkTagsIllustParams, UserBookmarkTagsNovelPage, UserBookmarkTagsNovelParams, UserBookmarksIllustPage, UserBookmarksIllustParams, UserBookmarksNovelPage, UserBookmarksNovelParams, UserDetailParams, UserDetailResponse, UserDetailV2Response, UserEditAiShowSettingsParams, UserFollowAddParams, UserFollowDeleteParams, UserFollowDetailParams, UserFollowDetailResponse, UserFollowerPage, UserFollowerParams, UserFollowingPage, UserFollowingParams, UserIllustsPage, UserIllustsParams, UserListPage, UserListParams, UserMeProfile, UserMeState, UserMeStateResponse, UserMypixivPage, UserMypixivParams, UserNovelsPage, UserNovelsParams, UserRecommendedPage, UserRecommendedParams, UserRelatedPage, UserRelatedParams, UserSearchPage, UserSearchParams, WatchlistMangaPage, WatchlistNovelPage, WatchlistSeries, WebviewNovel, WebviewNovelNavigationInfo, WebviewNovelRating, WebviewNovelSeriesNavigation, ZipUrls };
3116
+ export type { AiShowSettingsResponse, BookmarkDetail, BookmarkDetailTag, BookmarkTag, ErrResult, FollowDetail, Frame, HasUnreadNotificationsResponse, HttpMethod, IllustBookmarkAddParams, IllustBookmarkDeleteParams, IllustBookmarkDetailParams, IllustBookmarkDetailResponse, IllustComment, IllustCommentRepliesPage, IllustCommentRepliesParams, IllustCommentStamp, IllustCommentsPage, IllustCommentsParams, IllustDetailParams, IllustDetailResponse, IllustFollowParams, IllustListPage, IllustMypixivParams, IllustNewParams, IllustPopularPreviewParams, IllustPopularPreviewResponse, IllustRankingParams, IllustRecommendedPage, IllustRecommendedParams, IllustRelatedParams, IllustRequest, IllustRequestCollaborateStatus, IllustRequestCollaborateUserSample, IllustRequestInfo, IllustRequestUser, IllustResource, IllustSearchParams, IllustSeriesDetail, IllustSeriesPage, IllustSeriesParams, IllustTrendingTagsParams, ImageResource, ImageUrls, MangaRecommendedPage, MangaRecommendedParams, MangaResource, MarkedNovel, MetaPages, MetaSinglePage, MuteListResponse, MutedTag, NovelBookmarkAddParams, NovelBookmarkDeleteParams, NovelBookmarkUsersPage, NovelBookmarkUsersParams, NovelComment, NovelCommentRepliesPage, NovelCommentRepliesParams, NovelCommentsPage, NovelCommentsParams, NovelDetailParams, NovelDetailResponse, NovelFollowParams, NovelListPage, NovelMarker, NovelMarkersPage, NovelMypixivParams, NovelNewParams, NovelPopularPreviewParams, NovelPopularPreviewResponse, NovelRankingParams, NovelRecommendedPage, NovelRecommendedParams, NovelRelatedParams, NovelResource, NovelSearchParams, NovelSeriesDetail, NovelSeriesPage, NovelSeriesParams, NovelTextParams, NovelViewedEntry, OkResult, PagedResponse, ParsedNextUrl, PixivApiErrorBody, PixivClientOptions, PixivError, PixivIllustItem, PixivNovelItem, PixivUgoiraItem, PixivUser, PixivUserItem, PixivUserPreviewItem, PixivUserProfile, PixivUserProfileBadge, PixivUserProfilePublicity, PixivUserProfilePublicityV2, PixivUserProfileV2, PixivUserProfileWorkspace, PixivUserProfileWorkspaceV2, PrivacyPolicy, ProfileImageUrls, RateLimitRetryOptions, ResponseInterceptor, ResponseRecord, RestrictedModeSettingsResponse, Result, Series, SpotlightArticle, SpotlightArticlesPage, SpotlightArticlesParams, SpotlightResource, Tag, TrendingTagIllust, TrendingTagsIllustResponse, TrendingTagsNovelResponse, UgoiraMetadataParams, UgoiraMetadataResponse, UgoiraResource, UserBookmarkTagsIllustPage, UserBookmarkTagsIllustParams, UserBookmarkTagsNovelPage, UserBookmarkTagsNovelParams, UserBookmarksIllustPage, UserBookmarksIllustParams, UserBookmarksNovelPage, UserBookmarksNovelParams, UserBookmarksResource, UserDetailParams, UserDetailResponse, UserDetailV2Response, UserEditAiShowSettingsParams, UserFollowAddParams, UserFollowDeleteParams, UserFollowDetailParams, UserFollowDetailResponse, UserFollowerPage, UserFollowerParams, UserFollowingPage, UserFollowingParams, UserIllustsPage, UserIllustsParams, UserListPage, UserListParams, UserMeProfile, UserMeState, UserMeStateResponse, UserMypixivPage, UserMypixivParams, UserNovelsPage, UserNovelsParams, UserRecommendedPage, UserRecommendedParams, UserRelatedPage, UserRelatedParams, UserResource, UserSearchPage, UserSearchParams, WatchlistMangaPage, WatchlistNovelPage, WatchlistSeries, WebviewNovel, WebviewNovelNavigationInfo, WebviewNovelRating, WebviewNovelSeriesNavigation, ZipUrls };
3123
3117
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/result.ts","../src/auth.ts","../src/interceptor.ts","../src/errors.ts","../src/http.ts","../src/paginated.ts","../src/params.ts","../src/options.ts","../src/types.ts","../src/resources/illusts.ts","../src/resources/novels.ts","../src/resources/users.ts","../src/resources/spotlight.ts","../src/resources/manga.ts","../src/resources/ugoira.ts","../src/resources/images.ts","../src/client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;UAuBiB,SAAS;;WAEf;;WAEA;;WAEA,OAAO;;EAEhB,IAAI,GAAG,KAAK,OAAO,MAAM,IAAI,SAAS;;EAGtC,OAAO,GAAG,MAAM,iBAAiB,IAAI,SAAS;;EAE9C,QAAQ,GAAG,GAAG,KAAK,OAAO,MAAM,OAAO,GAAG,KAAK,OAAO,GAAG;;EAEzD,MAAM,GAAG,OAAO,OAAO,MAAM,GAAG,SAAS,iBAAiB,IAAI;;EAE9D,SAAS,WAAW,IAAI;;;UAIT,UAAU;;WAEhB;;WAEA;;WAEA,OAAO;;EAGhB,IAAI,GAAG,MAAM,iBAAiB,IAAI,UAAU;;EAE5C,OAAO,GAAG,KAAK,OAAO,MAAM,IAAI,UAAU;;EAE1C,QAAQ,GAAG,GAAG,MAAM,iBAAiB,OAAO,GAAG,KAAK,UAAU;;EAE9D,MAAM,GAAG,QAAQ,iBAAiB,GAAG,QAAQ,OAAO,MAAM,IAAI;;EAE9D,SAAS,GAAG,UAAU,IAAI;;;KAIhB,OAAO,GAAG,KAAK,SAAS,KAAK,UAAU;;;;;;wBAkEnC,GAAG,GAAG,OAAO,IAAI,SAAS;;;;;;wBAS1B,IAAI,GAAG,OAAO,IAAI,UAAU;;;;;;;;;;;;;qBAoB/B,YAAY,GAAG,cAAc,YAAY,OAAO,GAAG;mBAC7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src/paginated.ts","../src/params.ts","../src/options.ts","../src/types.ts","../src/resources/illusts.ts","../src/resources/novels.ts","../src/resources/users.ts","../src/resources/spotlight.ts","../src/resources/manga.ts","../src/resources/ugoira.ts","../src/resources/images.ts","../src/client.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAuBiB,SAAS;;WAEf;;WAEA;;WAEA,OAAO;;EAEhB,IAAI,GAAG,KAAK,OAAO,MAAM,IAAI,SAAS;;EAGtC,OAAO,GAAG,MAAM,iBAAiB,IAAI,SAAS;;EAE9C,QAAQ,GAAG,GAAG,KAAK,OAAO,MAAM,OAAO,GAAG,KAAK,OAAO,GAAG;;EAEzD,MAAM,GAAG,OAAO,OAAO,MAAM,GAAG,SAAS,iBAAiB,IAAI;;EAE9D,SAAS,WAAW,IAAI;;;UAIT,UAAU;;WAEhB;;WAEA;;WAEA,OAAO;;EAGhB,IAAI,GAAG,MAAM,iBAAiB,IAAI,UAAU;;EAE5C,OAAO,GAAG,KAAK,OAAO,MAAM,IAAI,UAAU;;EAE1C,QAAQ,GAAG,GAAG,MAAM,iBAAiB,OAAO,GAAG,KAAK,UAAU;;EAE9D,MAAM,GAAG,QAAQ,iBAAiB,GAAG,QAAQ,OAAO,MAAM,IAAI;;EAE9D,SAAS,GAAG,UAAU,IAAI;;;KAIhB,OAAO,GAAG,KAAK,SAAS,KAAK,UAAU;;;;;;wBAkEnC,GAAG,GAAG,OAAO,IAAI,SAAS;;;;;;wBAS1B,IAAI,GAAG,OAAO,IAAI,UAAU;;;;;;;;;;;;;qBAoB/B,YAAY,GAAG,cAAc,YAAY,OAAO,GAAG;mBAC7C;EAEL,YAAA,SAAS,QAAQ,OAAO,GAAG;EAMvC,KAAK,WAAW,OAAO,GAAG,IAAI,kBAC5B,gBACI,OAAO,OAAO,GAAG,OAAO,WAAW,YAAY,mBACnD,eAAe,oBAAoB,WAAW,YAAY,oBACzD,YAAY,WAAW;;;;;;;;;SAYnB,YAAY,GAAG,GACpB,SAA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