@book000/pixivts 0.51.2 → 0.51.3

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 (68) hide show
  1. package/README.md +1 -2
  2. package/dist/checks.js +9 -9
  3. package/dist/checks.js.map +1 -1
  4. package/dist/checks.test.js +28 -28
  5. package/dist/checks.test.js.map +1 -1
  6. package/dist/http-client.d.ts +20 -20
  7. package/dist/http-client.d.ts.map +1 -1
  8. package/dist/http-client.js +28 -27
  9. package/dist/http-client.js.map +1 -1
  10. package/dist/http-client.test.js +11 -11
  11. package/dist/http-client.test.js.map +1 -1
  12. package/dist/options.d.ts +59 -59
  13. package/dist/options.d.ts.map +1 -1
  14. package/dist/options.js +34 -34
  15. package/dist/options.js.map +1 -1
  16. package/dist/pixiv.d.ts +96 -96
  17. package/dist/pixiv.js +104 -104
  18. package/dist/pixiv.js.map +1 -1
  19. package/dist/pixiv.test.js +47 -47
  20. package/dist/pixiv.test.js.map +1 -1
  21. package/dist/saving-responses/index.d.ts +33 -33
  22. package/dist/saving-responses/index.js +31 -31
  23. package/dist/saving-responses/index.js.map +1 -1
  24. package/dist/saving-responses/index.test.js +20 -20
  25. package/dist/saving-responses/index.test.js.map +1 -1
  26. package/dist/saving-responses/response-entity.js +12 -12
  27. package/dist/saving-responses/response-entity.js.map +1 -1
  28. package/dist/types/endpoints/v1/illust/bookmark/delete.d.ts +3 -3
  29. package/dist/types/endpoints/v1/illust/detail.d.ts +4 -4
  30. package/dist/types/endpoints/v1/illust/ranking.d.ts +11 -11
  31. package/dist/types/endpoints/v1/illust/ranking.js +3 -3
  32. package/dist/types/endpoints/v1/illust/recommended.d.ts +13 -13
  33. package/dist/types/endpoints/v1/illust/series.d.ts +8 -8
  34. package/dist/types/endpoints/v1/illust/ugoira/metadata.d.ts +4 -4
  35. package/dist/types/endpoints/v1/manga/recommended.d.ts +11 -11
  36. package/dist/types/endpoints/v1/novel/bookmark/delete.d.ts +3 -3
  37. package/dist/types/endpoints/v1/novel/ranking.d.ts +10 -10
  38. package/dist/types/endpoints/v1/novel/ranking.js +3 -3
  39. package/dist/types/endpoints/v1/novel/recommended.d.ts +11 -11
  40. package/dist/types/endpoints/v1/novel/related.d.ts +7 -7
  41. package/dist/types/endpoints/v1/search/illust.d.ts +15 -15
  42. package/dist/types/endpoints/v1/search/novel.d.ts +15 -15
  43. package/dist/types/endpoints/v1/user/bookmarks/illust.d.ts +9 -9
  44. package/dist/types/endpoints/v1/user/bookmarks/novel.d.ts +8 -8
  45. package/dist/types/endpoints/v1/user/detail.d.ts +8 -8
  46. package/dist/types/endpoints/v2/illust/bookmark/add.d.ts +7 -7
  47. package/dist/types/endpoints/v2/illust/related.d.ts +8 -8
  48. package/dist/types/endpoints/v2/novel/bookmark/add.d.ts +7 -7
  49. package/dist/types/endpoints/v2/novel/detail.d.ts +4 -4
  50. package/dist/types/endpoints/v2/novel/series.d.ts +9 -9
  51. package/dist/types/endpoints/webview/v2/novel.d.ts +4 -4
  52. package/dist/types/error-response.d.ts +7 -7
  53. package/dist/types/errors.d.ts +1 -1
  54. package/dist/types/errors.js +1 -1
  55. package/dist/types/pixiv-common.d.ts +25 -25
  56. package/dist/types/pixiv-common.d.ts.map +1 -1
  57. package/dist/types/pixiv-illust-series.d.ts +12 -12
  58. package/dist/types/pixiv-illust.d.ts +53 -52
  59. package/dist/types/pixiv-illust.d.ts.map +1 -1
  60. package/dist/types/pixiv-illust.js.map +1 -1
  61. package/dist/types/pixiv-novel-series.d.ts +18 -18
  62. package/dist/types/pixiv-novel.d.ts +34 -33
  63. package/dist/types/pixiv-novel.d.ts.map +1 -1
  64. package/dist/types/pixiv-novel.js.map +1 -1
  65. package/dist/types/pixiv-ugoira.d.ts +10 -10
  66. package/dist/types/pixiv-user.d.ts +89 -89
  67. package/dist/types/pixiv-user.d.ts.map +1 -1
  68. package/package.json +1 -1
@@ -2,42 +2,42 @@ import { BaseMultipleCheck, CheckFunctions } from '../../../../../checks';
2
2
  import { BookmarkRestrict, OSFilter } from '../../../../../options';
3
3
  import { PixivIllustItem } from '../../../../pixiv-illust';
4
4
  /**
5
- * GET /v1/user/bookmarks/illust のリクエスト
5
+ * Request for GET /v1/user/bookmarks/illust
6
6
  */
7
7
  export interface GetV1UserBookmarksIllustRequest {
8
8
  /**
9
- * ユーザーID
9
+ * User ID
10
10
  */
11
11
  user_id: number;
12
12
  /**
13
- * ブックマーク公開範囲
13
+ * Bookmark visibility
14
14
  */
15
15
  restrict: BookmarkRestrict;
16
16
  /**
17
- * ブックマークタグ
17
+ * Bookmark tag
18
18
  */
19
19
  tag?: string;
20
20
  /**
21
- * ブックマークIDの最大値(ページネーション?)
21
+ * Maximum bookmark ID (pagination?)
22
22
  *
23
23
  * @beta
24
24
  */
25
25
  max_bookmark_id?: number;
26
26
  /**
27
- * OSフィルタ
27
+ * OS filter
28
28
  */
29
29
  filter?: OSFilter;
30
30
  }
31
31
  /**
32
- * GET /v1/user/bookmarks/illust のレスポンス
32
+ * Response for GET /v1/user/bookmarks/illust
33
33
  */
34
34
  export interface GetV1UserBookmarksIllustResponse {
35
35
  /**
36
- * ブックマークしたイラスト群
36
+ * Bookmarked illusts
37
37
  */
38
38
  illusts: PixivIllustItem[];
39
39
  /**
40
- * URL
40
+ * Next URL
41
41
  */
42
42
  next_url: string | null;
43
43
  }
@@ -2,38 +2,38 @@ import { BaseMultipleCheck, CheckFunctions } from '../../../../../checks';
2
2
  import { BookmarkRestrict } from '../../../../../options';
3
3
  import { PixivNovelItem } from '../../../../pixiv-novel';
4
4
  /**
5
- * GET /v1/user/bookmarks/novel のリクエスト
5
+ * Request for GET /v1/user/bookmarks/novel
6
6
  */
7
7
  export interface GetV1UserBookmarksNovelRequest {
8
8
  /**
9
- * ユーザーID
9
+ * User ID
10
10
  */
11
11
  user_id: number;
12
12
  /**
13
- * ブックマーク公開範囲
13
+ * Bookmark visibility
14
14
  */
15
15
  restrict: BookmarkRestrict;
16
16
  /**
17
- * ブックマークタグ
17
+ * Bookmark tag
18
18
  */
19
19
  tag?: string;
20
20
  /**
21
- * ブックマークIDの最大値(ページネーション?)
21
+ * Maximum bookmark ID (pagination?)
22
22
  *
23
23
  * @beta
24
24
  */
25
25
  max_bookmark_id?: number;
26
26
  }
27
27
  /**
28
- * GET /v1/user/bookmarks/novel のレスポンス
28
+ * Response for GET /v1/user/bookmarks/novel
29
29
  */
30
30
  export interface GetV1UserBookmarksNovelResponse {
31
31
  /**
32
- * ブックマークした小説群
32
+ * Bookmarked novels
33
33
  */
34
34
  novels: PixivNovelItem[];
35
35
  /**
36
- * URL
36
+ * Next URL
37
37
  */
38
38
  next_url: string | null;
39
39
  }
@@ -2,38 +2,38 @@ import { PixivUserItem, PixivUserProfile, PixivUserProfilePublicity, PixivUserPr
2
2
  import { OSFilter } from '../../../../options';
3
3
  import { BaseMultipleCheck, CheckFunctions } from '../../../../checks';
4
4
  /**
5
- * GET /v1/user/detail のリクエスト
5
+ * Request for GET /v1/user/detail
6
6
  */
7
7
  export interface GetV1UserDetailRequest {
8
8
  /**
9
- * ユーザーID
9
+ * User ID
10
10
  */
11
11
  user_id: number;
12
12
  /**
13
- * OSフィルタ
13
+ * OS filter
14
14
  *
15
15
  * @default 'for_ios'
16
16
  */
17
17
  filter?: OSFilter;
18
18
  }
19
19
  /**
20
- * GET /v1/user/detail のレスポンス
20
+ * Response for GET /v1/user/detail
21
21
  */
22
22
  export interface GetV1UserDetailResponse {
23
23
  /**
24
- * ユーザーの詳細情報
24
+ * User details
25
25
  */
26
26
  user: PixivUserItem;
27
27
  /**
28
- * ユーザーのプロフィール情報
28
+ * User profile information
29
29
  */
30
30
  profile: PixivUserProfile;
31
31
  /**
32
- * ユーザーの公開プロフィール情報
32
+ * User public profile information
33
33
  */
34
34
  profile_publicity: PixivUserProfilePublicity;
35
35
  /**
36
- * ユーザーの作業環境情報
36
+ * User workspace information
37
37
  */
38
38
  workspace: PixivUserProfileWorkspace;
39
39
  }
@@ -1,28 +1,28 @@
1
1
  import { BookmarkRestrict } from '../../../../../options';
2
2
  /**
3
- * POST /v2/illust/bookmark/add のリクエスト
3
+ * Request for POST /v2/illust/bookmark/add
4
4
  */
5
5
  export interface PostV2IllustBookmarkAddRequest {
6
6
  /**
7
- * イラストID
7
+ * Illust ID
8
8
  */
9
9
  illust_id: number;
10
10
  /**
11
- * 公開設定
11
+ * Visibility setting
12
12
  *
13
- * public: 公開
14
- * private: 非公開
13
+ * public: Public
14
+ * private: Private
15
15
  *
16
16
  * @default BookmarkRestrict.Public
17
17
  */
18
18
  restrict: BookmarkRestrict;
19
19
  /**
20
- * ブックマークタグ群
20
+ * Bookmark tags
21
21
  */
22
22
  tags?: string[];
23
23
  }
24
24
  /**
25
- * POST /v2/illust/bookmark/add のレスポンス
25
+ * Response for POST /v2/illust/bookmark/add
26
26
  */
27
27
  export type PostV2IllustBookmarkAddResponse = Record<string, never>;
28
28
  //# sourceMappingURL=add.d.ts.map
@@ -1,36 +1,36 @@
1
1
  import { BaseMultipleCheck, CheckFunctions } from '../../../../checks';
2
2
  import { PixivIllustItem } from '../../../pixiv-illust';
3
3
  /**
4
- * GET /v2/illust/related のリクエスト
4
+ * Request for GET /v2/illust/related
5
5
  */
6
6
  export interface GetV2IllustRelatedRequest {
7
7
  /**
8
- * イラストID
8
+ * Illust ID
9
9
  */
10
10
  illust_id: number;
11
11
  /**
12
- * イラストID シード配列 (?)
12
+ * Array of seed illust IDs (?)
13
13
  */
14
14
  seed_illust_ids?: number[];
15
15
  /**
16
- * 閲覧済みイラストID
16
+ * Viewed illust IDs
17
17
  */
18
18
  viewed?: number[];
19
19
  /**
20
- * オフセット
20
+ * Offset
21
21
  */
22
22
  offset?: number;
23
23
  }
24
24
  /**
25
- * GET /v1/illust/related のレスポンス
25
+ * Response for GET /v2/illust/related
26
26
  */
27
27
  export interface GetV2IllustRelatedResponse {
28
28
  /**
29
- * イラストの詳細情報
29
+ * Illust details
30
30
  */
31
31
  illusts: PixivIllustItem[];
32
32
  /**
33
- * 次のURL
33
+ * Next URL
34
34
  */
35
35
  next_url: string;
36
36
  }
@@ -1,27 +1,27 @@
1
1
  /**
2
- * POST /v2/novel/bookmark/add のリクエスト
2
+ * Request for POST /v2/novel/bookmark/add
3
3
  */
4
4
  export interface PostV2NovelBookmarkAddRequest {
5
5
  /**
6
- * 小説ID
6
+ * Novel ID
7
7
  */
8
8
  novel_id: string;
9
9
  /**
10
- * 公開設定
10
+ * Visibility setting
11
11
  *
12
- * public: 公開
13
- * private: 非公開
12
+ * public: Public
13
+ * private: Private
14
14
  *
15
15
  * @default BookmarkRestrict.Public
16
16
  */
17
17
  restrict: string;
18
18
  /**
19
- * ブックマークタグ群
19
+ * Bookmark tags
20
20
  */
21
21
  tags?: string[];
22
22
  }
23
23
  /**
24
- * POST /v2/novel/bookmark/add のレスポンス
24
+ * Response for POST /v2/novel/bookmark/add
25
25
  */
26
26
  export type PostV2NovelBookmarkAddResponse = Record<string, never>;
27
27
  //# sourceMappingURL=add.d.ts.map
@@ -1,20 +1,20 @@
1
1
  import { BaseMultipleCheck, CheckFunctions } from '../../../../checks';
2
2
  import { PixivNovelItem } from '../../../pixiv-novel';
3
3
  /**
4
- * GET /v2/novel/detail のリクエスト
4
+ * Request for GET /v2/novel/detail
5
5
  */
6
6
  export interface GetV2NovelDetailRequest {
7
7
  /**
8
- * 小説ID
8
+ * Novel ID
9
9
  */
10
10
  novel_id: number;
11
11
  }
12
12
  /**
13
- * GET /v2/novel/detail のレスポンス
13
+ * Response for GET /v2/novel/detail
14
14
  */
15
15
  export interface GetV2NovelDetailResponse {
16
16
  /**
17
- * 小説の詳細情報
17
+ * Novel details
18
18
  */
19
19
  novel: PixivNovelItem;
20
20
  }
@@ -2,15 +2,15 @@ import { BaseMultipleCheck, CheckFunctions } from '../../../../checks';
2
2
  import { PixivNovelItem } from '../../../pixiv-novel';
3
3
  import { NovelSeriesDetail } from '../../../pixiv-novel-series';
4
4
  /**
5
- * GET /v2/novel/series のリクエスト
5
+ * Request for GET /v2/novel/series
6
6
  */
7
7
  export interface GetV2NovelSeriesRequest {
8
8
  /**
9
- * 小説シリーズID
9
+ * Novel series ID
10
10
  */
11
11
  series_id: number;
12
12
  /**
13
- * 小説のオフセット?1リクエストにつき30個ずつ取得できるっぽい
13
+ * Novel offset? It seems 30 items can be retrieved per request
14
14
  *
15
15
  * @default undefined
16
16
  * @beta
@@ -18,27 +18,27 @@ export interface GetV2NovelSeriesRequest {
18
18
  last_order?: number;
19
19
  }
20
20
  /**
21
- * GET /v2/novel/series のレスポンス
21
+ * Response for GET /v2/novel/series
22
22
  */
23
23
  export interface GetV2NovelSeriesResponse {
24
24
  /**
25
- * シリーズ詳細
25
+ * Series details
26
26
  */
27
27
  novel_series_detail: NovelSeriesDetail;
28
28
  /**
29
- * シリーズの1個目の小説データ
29
+ * First novel data in the series
30
30
  */
31
31
  novel_series_first_novel: PixivNovelItem;
32
32
  /**
33
- * シリーズの最新の小説データ
33
+ * Latest novel data in the series
34
34
  */
35
35
  novel_series_latest_novel: PixivNovelItem;
36
36
  /**
37
- * シリーズにある小説一覧
37
+ * List of novels in the series
38
38
  */
39
39
  novels: PixivNovelItem[];
40
40
  /**
41
- * URL
41
+ * Next URL
42
42
  */
43
43
  next_url: string | null;
44
44
  }
@@ -1,17 +1,17 @@
1
1
  import { BaseMultipleCheck, CheckFunctions } from '../../../../checks';
2
2
  /**
3
- * GET /webview/v2/novel のリクエスト
3
+ * Request for GET /webview/v2/novel
4
4
  */
5
5
  export interface GetWebViewV2NovelRequest {
6
6
  /**
7
- * 小説ID
7
+ * Novel ID
8
8
  */
9
9
  id: number;
10
10
  }
11
11
  /**
12
- * GET /webview/v2/novel のレスポンス
12
+ * Response for GET /webview/v2/novel
13
13
  *
14
- * HTMLが返る。
14
+ * Returns HTML.
15
15
  */
16
16
  export type GetWebViewV2NovelResponse = string;
17
17
  export declare class GetWebViewV2NovelCheck extends BaseMultipleCheck<GetWebViewV2NovelRequest, GetWebViewV2NovelResponse> {
@@ -1,30 +1,30 @@
1
1
  /**
2
- * pixiv API が返すエラーの詳細情報
2
+ * Detailed error information returned by the pixiv API
3
3
  */
4
4
  export interface PixivErrorDetail {
5
5
  /**
6
- * ユーザ向けのエラーメッセージ
6
+ * Error message for the user
7
7
  */
8
8
  user_message: string;
9
9
  /**
10
- * エラーメッセージ
10
+ * Error message
11
11
  */
12
12
  message: string;
13
13
  /**
14
- * エラーの原因
14
+ * Cause of the error
15
15
  */
16
16
  reason: string;
17
17
  /**
18
- * ユーザ向けのエラーメッセージ詳細
18
+ * Details of the error message for the user
19
19
  */
20
20
  user_message_details?: unknown;
21
21
  }
22
22
  /**
23
- * pixiv が返すエラーレスポンス
23
+ * Error response returned by pixiv
24
24
  */
25
25
  export interface PixivApiError {
26
26
  /**
27
- * エラーの詳細
27
+ * Error details
28
28
  */
29
29
  error: PixivErrorDetail;
30
30
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * レートリミットエラー時、規定回数以上リトライしてもエラーが解消されない場合にスローされるエラー
2
+ * Error thrown when a rate limit error is not resolved even after retrying the configured number of times
3
3
  */
4
4
  export declare class PixivRateLimitError extends Error {
5
5
  constructor(message: string);
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PixivRateLimitError = void 0;
4
4
  /**
5
- * レートリミットエラー時、規定回数以上リトライしてもエラーが解消されない場合にスローされるエラー
5
+ * Error thrown when a rate limit error is not resolved even after retrying the configured number of times
6
6
  */
7
7
  class PixivRateLimitError extends Error {
8
8
  constructor(message) {
@@ -1,22 +1,22 @@
1
1
  import { BaseSimpleCheck, CheckFunctions } from '../checks';
2
2
  /**
3
- * 作品の画像URL群
3
+ * Image URLs for a work
4
4
  *
5
- * 単一画像の場合、オリジナル画像へは {@link MetaSinglePage.original_image_url} から取得
5
+ * For a single image, the original image can be obtained from {@link MetaSinglePage.original_image_url}
6
6
  *
7
- * 画像へのアクセスは適切なリファラを付与する必要がある
7
+ * Accessing the images requires an appropriate referer to be set
8
8
  */
9
9
  export interface ImageUrls {
10
10
  /** 360x360 */
11
11
  square_medium: string;
12
- /** 長辺が最大 540px */
12
+ /** Long side is at most 540px */
13
13
  medium: string;
14
- /** 横幅が最大 600px, 縦幅が最大 1200px */
14
+ /** Width is at most 600px, height is at most 1200px */
15
15
  large: string;
16
16
  /**
17
- * オリジナル画像
17
+ * Original image
18
18
  *
19
- * {@link MetaPages.image_urls} の場合のみ存在?
19
+ * Only present for {@link MetaPages.image_urls}?
20
20
  */
21
21
  original?: string;
22
22
  }
@@ -24,53 +24,53 @@ export declare class ImageUrlsCheck extends BaseSimpleCheck<ImageUrls> {
24
24
  checks(): CheckFunctions<ImageUrls>;
25
25
  }
26
26
  /**
27
- * プロフィール画像URL群
27
+ * Profile image URLs
28
28
  */
29
29
  export interface ProfileImageUrls {
30
- /** 中サイズ */
30
+ /** Medium size */
31
31
  medium: string;
32
32
  }
33
33
  /**
34
- * ユーザー情報
34
+ * User information
35
35
  */
36
36
  export interface PixivUser {
37
- /** ユーザー内部 ID */
37
+ /** Internal user ID */
38
38
  id: number;
39
- /** ユーザー名 */
39
+ /** Username */
40
40
  name: string;
41
- /** pixiv ID (URLに使用) */
41
+ /** pixiv ID (used in the URL) */
42
42
  account: string;
43
- /** プロフィール画像URL群 */
43
+ /** Profile image URLs */
44
44
  profile_image_urls: ProfileImageUrls;
45
- /** フォローしているかどうか */
45
+ /** Whether the user is followed */
46
46
  is_followed?: boolean;
47
- /** アクセスをブロックしているユーザーであるか */
47
+ /** Whether this user has blocked access */
48
48
  is_access_blocking_user?: boolean;
49
49
  }
50
50
  export declare class PixivUserCheck extends BaseSimpleCheck<PixivUser> {
51
51
  checks(): CheckFunctions<PixivUser>;
52
52
  }
53
53
  /**
54
- * タグ情報
54
+ * Tag information
55
55
  */
56
56
  export interface Tag {
57
- /** タグ名 */
57
+ /** Tag name */
58
58
  name: string;
59
- /** 翻訳済みタグ名 */
59
+ /** Translated tag name */
60
60
  translated_name: string | null;
61
- /** 投稿者によって追加されたタグかどうか */
61
+ /** Whether the tag was added by the uploader */
62
62
  added_by_uploaded_user?: boolean;
63
63
  }
64
64
  export declare class TagCheck extends BaseSimpleCheck<Tag> {
65
65
  checks(): CheckFunctions<Tag>;
66
66
  }
67
67
  /**
68
- * シリーズ情報
68
+ * Series information
69
69
  */
70
70
  export interface Series {
71
- /** シリーズ ID */
71
+ /** Series ID */
72
72
  id: number;
73
- /** シリーズ名 */
73
+ /** Series title */
74
74
  title: string;
75
75
  }
76
76
  export declare class SeriesCheck extends BaseSimpleCheck<Series> {
@@ -78,11 +78,11 @@ export declare class SeriesCheck extends BaseSimpleCheck<Series> {
78
78
  }
79
79
  export interface PrivacyPolicy {
80
80
  /**
81
- * バージョン
81
+ * Version
82
82
  */
83
83
  version?: string;
84
84
  /**
85
- * メッセージ
85
+ * Message
86
86
  */
87
87
  message?: string;
88
88
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"pixiv-common.d.ts","sourceRoot":"","sources":["../../src/types/pixiv-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE3D;;;;;;GAMG;AACH,MAAM,WAAW,SAAS;IACxB,cAAc;IACd,aAAa,EAAE,MAAM,CAAA;IAErB,kBAAkB;IAClB,MAAM,EAAE,MAAM,CAAA;IAEd,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,qBAAa,cAAe,SAAQ,eAAe,CAAC,SAAS,CAAC;IAC5D,MAAM,IAAI,cAAc,CAAC,SAAS,CAAC;CASpC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,WAAW;IACX,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,gBAAgB;IAChB,EAAE,EAAE,MAAM,CAAA;IAEV,YAAY;IACZ,IAAI,EAAE,MAAM,CAAA;IAEZ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IACnB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,qBAAa,WAAY,SAAQ,eAAe,CAAC,MAAM,CAAC;IACtD,MAAM,IAAI,cAAc,CAAC,MAAM,CAAC;CAMjC;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,qBAAa,kBAAmB,SAAQ,eAAe,CAAC,aAAa,CAAC;IACpE,MAAM,IAAI,cAAc,CAAC,aAAa,CAAC;CASxC"}
@@ -1,52 +1,52 @@
1
1
  import { BaseSimpleCheck, CheckFunctions } from '../checks';
2
2
  import { PixivUser } from './pixiv-common';
3
3
  /**
4
- * pixiv イラストシリーズ詳細情報
4
+ * pixiv illust series details
5
5
  */
6
6
  export interface IllustSeriesDetail {
7
7
  /**
8
- * シリーズ ID
8
+ * Series ID
9
9
  */
10
10
  id: number;
11
11
  /**
12
- * シリーズタイトル
12
+ * Series title
13
13
  */
14
14
  title: string;
15
15
  /**
16
- * シリーズの説明文
16
+ * Series description
17
17
  */
18
18
  caption: string;
19
19
  /**
20
- * カバー画像 URL群
20
+ * Cover image URLs
21
21
  */
22
22
  cover_image_urls: {
23
23
  /**
24
- * 中サイズカバー画像 URL
24
+ * Medium-sized cover image URL
25
25
  */
26
26
  medium: string;
27
27
  };
28
28
  /**
29
- * シリーズ作品数
29
+ * Number of works in the series
30
30
  */
31
31
  series_work_count: number;
32
32
  /**
33
- * シリーズ作成日時
33
+ * Series creation date and time
34
34
  */
35
35
  create_date: string;
36
36
  /**
37
- * シリーズカバー画像の幅
37
+ * Width of the series cover image
38
38
  */
39
39
  width: number;
40
40
  /**
41
- * シリーズカバー画像の高さ
41
+ * Height of the series cover image
42
42
  */
43
43
  height: number;
44
44
  /**
45
- * シリーズ作成者情報
45
+ * Series creator information
46
46
  */
47
47
  user: PixivUser;
48
48
  /**
49
- * ウォッチリストに追加済みかどうか
49
+ * Whether it has been added to the watchlist
50
50
  */
51
51
  watchlist_added: boolean;
52
52
  }