@book000/pixivts 0.7.2 → 0.9.0
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.d.ts +11 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/options.d.ts +98 -232
- package/dist/options.d.ts.map +1 -1
- package/dist/options.js +59 -0
- package/dist/options.js.map +1 -1
- package/dist/pixiv.d.ts +31 -13
- package/dist/pixiv.d.ts.map +1 -1
- package/dist/pixiv.js +81 -35
- package/dist/pixiv.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/endpoints/v1/illust/detail.d.ts +20 -0
- package/dist/types/endpoints/v1/illust/detail.d.ts.map +1 -0
- package/dist/types/endpoints/v1/illust/detail.js.map +1 -0
- package/dist/types/endpoints/v1/illust/recommended.d.ts +80 -0
- package/dist/types/endpoints/v1/illust/recommended.d.ts.map +1 -0
- package/dist/types/endpoints/v1/illust/recommended.js.map +1 -0
- package/dist/types/endpoints/v1/illust/series.d.ts +40 -0
- package/dist/types/endpoints/v1/illust/series.d.ts.map +1 -0
- package/dist/types/endpoints/v1/illust/series.js.map +1 -0
- package/dist/types/endpoints/v1/novel/recommended.d.ts +67 -0
- package/dist/types/endpoints/v1/novel/recommended.d.ts.map +1 -0
- package/dist/types/endpoints/v1/novel/recommended.js.map +1 -0
- package/dist/types/endpoints/{novel → v1/novel}/text.d.ts +13 -1
- package/dist/types/endpoints/v1/novel/text.d.ts.map +1 -0
- package/dist/types/endpoints/v1/novel/text.js.map +1 -0
- package/dist/types/endpoints/v1/search/illust.d.ts +85 -0
- package/dist/types/endpoints/v1/search/illust.d.ts.map +1 -0
- package/dist/types/endpoints/v1/search/illust.js.map +1 -0
- package/dist/types/endpoints/v1/search/novel.d.ts +85 -0
- package/dist/types/endpoints/v1/search/novel.d.ts.map +1 -0
- package/dist/types/endpoints/v1/search/novel.js.map +1 -0
- package/dist/types/endpoints/{user → v1/user}/detail.d.ts +17 -1
- package/dist/types/endpoints/v1/user/detail.d.ts.map +1 -0
- package/dist/types/endpoints/v1/user/detail.js.map +1 -0
- package/dist/types/endpoints/v2/illust/bookmark/add.d.ts +24 -0
- package/dist/types/endpoints/v2/illust/bookmark/add.d.ts.map +1 -0
- package/dist/types/endpoints/v2/illust/bookmark/add.js.map +1 -0
- package/dist/types/endpoints/v2/novel/detail.d.ts +20 -0
- package/dist/types/endpoints/v2/novel/detail.d.ts.map +1 -0
- package/dist/types/endpoints/v2/novel/detail.js.map +1 -0
- package/dist/types/endpoints/v2/novel/series.d.ts +44 -0
- package/dist/types/endpoints/v2/novel/series.d.ts.map +1 -0
- package/dist/types/endpoints/v2/novel/series.js.map +1 -0
- package/dist/types/error-response.d.ts +12 -0
- package/dist/types/error-response.d.ts.map +1 -1
- package/dist/types/pixiv-common.d.ts +15 -1
- package/dist/types/pixiv-common.d.ts.map +1 -1
- package/dist/types/pixiv-illust-series.d.ts +0 -22
- package/dist/types/pixiv-illust-series.d.ts.map +1 -1
- package/dist/types/pixiv-illust.d.ts +7 -2
- package/dist/types/pixiv-illust.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/types/endpoints/illust/bookmark/add.d.ts +0 -5
- package/dist/types/endpoints/illust/bookmark/add.d.ts.map +0 -1
- package/dist/types/endpoints/illust/bookmark/add.js.map +0 -1
- package/dist/types/endpoints/illust/detail.d.ts +0 -11
- package/dist/types/endpoints/illust/detail.d.ts.map +0 -1
- package/dist/types/endpoints/illust/detail.js.map +0 -1
- package/dist/types/endpoints/illust/recommended.d.ts +0 -35
- package/dist/types/endpoints/illust/recommended.d.ts.map +0 -1
- package/dist/types/endpoints/illust/recommended.js.map +0 -1
- package/dist/types/endpoints/illust/series.d.ts +0 -6
- package/dist/types/endpoints/illust/series.d.ts.map +0 -1
- package/dist/types/endpoints/illust/series.js.map +0 -1
- package/dist/types/endpoints/novel/detail.d.ts +0 -11
- package/dist/types/endpoints/novel/detail.d.ts.map +0 -1
- package/dist/types/endpoints/novel/detail.js.map +0 -1
- package/dist/types/endpoints/novel/recommended.d.ts +0 -29
- package/dist/types/endpoints/novel/recommended.d.ts.map +0 -1
- package/dist/types/endpoints/novel/recommended.js.map +0 -1
- package/dist/types/endpoints/novel/series.d.ts +0 -6
- package/dist/types/endpoints/novel/series.d.ts.map +0 -1
- package/dist/types/endpoints/novel/series.js.map +0 -1
- package/dist/types/endpoints/novel/text.d.ts.map +0 -1
- package/dist/types/endpoints/novel/text.js.map +0 -1
- package/dist/types/endpoints/search/illust.d.ts +0 -23
- package/dist/types/endpoints/search/illust.d.ts.map +0 -1
- package/dist/types/endpoints/search/illust.js.map +0 -1
- package/dist/types/endpoints/search/novel.d.ts +0 -11
- package/dist/types/endpoints/search/novel.d.ts.map +0 -1
- package/dist/types/endpoints/search/novel.js.map +0 -1
- package/dist/types/endpoints/user/detail.d.ts.map +0 -1
- package/dist/types/endpoints/user/detail.js.map +0 -1
- /package/dist/types/endpoints/{illust → v1/illust}/detail.js +0 -0
- /package/dist/types/endpoints/{illust → v1/illust}/recommended.js +0 -0
- /package/dist/types/endpoints/{illust → v1/illust}/series.js +0 -0
- /package/dist/types/endpoints/{novel → v1/novel}/recommended.js +0 -0
- /package/dist/types/endpoints/{novel → v1/novel}/text.js +0 -0
- /package/dist/types/endpoints/{search → v1/search}/illust.js +0 -0
- /package/dist/types/endpoints/{search → v1/search}/novel.js +0 -0
- /package/dist/types/endpoints/{novel → v1/user}/detail.js +0 -0
- /package/dist/types/endpoints/{illust → v2/illust}/bookmark/add.js +0 -0
- /package/dist/types/endpoints/{user → v2/novel}/detail.js +0 -0
- /package/dist/types/endpoints/{novel → v2/novel}/series.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export * from './types/endpoints/illust/bookmark/add';
|
|
2
|
-
export * from './types/endpoints/illust/detail';
|
|
3
|
-
export * from './types/endpoints/illust/recommended';
|
|
4
|
-
export * from './types/endpoints/illust/series';
|
|
5
|
-
export * from './types/endpoints/novel/
|
|
6
|
-
export * from './types/endpoints/novel/
|
|
7
|
-
export * from './types/endpoints/
|
|
8
|
-
export * from './types/endpoints/novel
|
|
9
|
-
export * from './types/endpoints/
|
|
10
|
-
export * from './types/endpoints/
|
|
11
|
-
export * from './types/endpoints/
|
|
1
|
+
export * from './types/endpoints/v2/illust/bookmark/add';
|
|
2
|
+
export * from './types/endpoints/v1/illust/detail';
|
|
3
|
+
export * from './types/endpoints/v1/illust/recommended';
|
|
4
|
+
export * from './types/endpoints/v1/illust/series';
|
|
5
|
+
export * from './types/endpoints/v1/novel/recommended';
|
|
6
|
+
export * from './types/endpoints/v1/novel/text';
|
|
7
|
+
export * from './types/endpoints/v1/search/illust';
|
|
8
|
+
export * from './types/endpoints/v1/search/novel';
|
|
9
|
+
export * from './types/endpoints/v1/user/detail';
|
|
10
|
+
export * from './types/endpoints/v2/novel/detail';
|
|
11
|
+
export * from './types/endpoints/v2/novel/series';
|
|
12
12
|
export * from './types/error-response';
|
|
13
13
|
export * from './types/pixiv-common';
|
|
14
14
|
export * from './types/pixiv-illust-series';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAA;AACxD,cAAc,oCAAoC,CAAA;AAClD,cAAc,yCAAyC,CAAA;AACvD,cAAc,oCAAoC,CAAA;AAClD,cAAc,wCAAwC,CAAA;AACtD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,oCAAoC,CAAA;AAClD,cAAc,mCAAmC,CAAA;AACjD,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mCAAmC,CAAA;AACjD,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -18,17 +18,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
exports.Pixiv = void 0;
|
|
21
|
-
__exportStar(require("./types/endpoints/illust/bookmark/add"), exports);
|
|
22
|
-
__exportStar(require("./types/endpoints/illust/detail"), exports);
|
|
23
|
-
__exportStar(require("./types/endpoints/illust/recommended"), exports);
|
|
24
|
-
__exportStar(require("./types/endpoints/illust/series"), exports);
|
|
25
|
-
__exportStar(require("./types/endpoints/novel/
|
|
26
|
-
__exportStar(require("./types/endpoints/novel/
|
|
27
|
-
__exportStar(require("./types/endpoints/
|
|
28
|
-
__exportStar(require("./types/endpoints/novel
|
|
29
|
-
__exportStar(require("./types/endpoints/
|
|
30
|
-
__exportStar(require("./types/endpoints/
|
|
31
|
-
__exportStar(require("./types/endpoints/
|
|
21
|
+
__exportStar(require("./types/endpoints/v2/illust/bookmark/add"), exports);
|
|
22
|
+
__exportStar(require("./types/endpoints/v1/illust/detail"), exports);
|
|
23
|
+
__exportStar(require("./types/endpoints/v1/illust/recommended"), exports);
|
|
24
|
+
__exportStar(require("./types/endpoints/v1/illust/series"), exports);
|
|
25
|
+
__exportStar(require("./types/endpoints/v1/novel/recommended"), exports);
|
|
26
|
+
__exportStar(require("./types/endpoints/v1/novel/text"), exports);
|
|
27
|
+
__exportStar(require("./types/endpoints/v1/search/illust"), exports);
|
|
28
|
+
__exportStar(require("./types/endpoints/v1/search/novel"), exports);
|
|
29
|
+
__exportStar(require("./types/endpoints/v1/user/detail"), exports);
|
|
30
|
+
__exportStar(require("./types/endpoints/v2/novel/detail"), exports);
|
|
31
|
+
__exportStar(require("./types/endpoints/v2/novel/series"), exports);
|
|
32
32
|
__exportStar(require("./types/error-response"), exports);
|
|
33
33
|
__exportStar(require("./types/pixiv-common"), exports);
|
|
34
34
|
__exportStar(require("./types/pixiv-illust-series"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,2EAAwD;AACxD,qEAAkD;AAClD,0EAAuD;AACvD,qEAAkD;AAClD,yEAAsD;AACtD,kEAA+C;AAC/C,qEAAkD;AAClD,oEAAiD;AACjD,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,yDAAsC;AACtC,uDAAoC;AACpC,8DAA2C;AAC3C,uDAAoC;AACpC,6DAA0C;AAC1C,sDAAmC;AACnC,qDAAkC;AAClC,4CAAyB;AACzB,iCAA0C;AAAjC,+GAAA,OAAO,OAAS"}
|
package/dist/options.d.ts
CHANGED
|
@@ -1,269 +1,135 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { GetV1IllustDetailRequest } from './types/endpoints/v1/illust/detail';
|
|
2
|
+
import { SnakeToCamel } from 'snake-camel-types';
|
|
3
|
+
import { GetV1IllustRecommendedRequest } from './types/endpoints/v1/illust/recommended';
|
|
4
|
+
import { GetV1SearchIllustRequest } from './types/endpoints/v1/search/illust';
|
|
5
|
+
import { PostV2IllustBookmarkAddRequest } from './types/endpoints/v2/illust/bookmark/add';
|
|
6
|
+
import { GetV1IllustSeriesRequest } from './types/endpoints/v1/illust/series';
|
|
7
|
+
import { GetV2NovelDetailRequest } from './types/endpoints/v2/novel/detail';
|
|
8
|
+
import { GetV1NovelTextRequest } from './types/endpoints/v1/novel/text';
|
|
9
|
+
import { GetV1NovelRecommendedRequest } from './types/endpoints/v1/novel/recommended';
|
|
10
|
+
import { GetV1SearchNovelRequest } from './types/endpoints/v1/search/novel';
|
|
11
|
+
import { GetV2NovelSeriesRequest } from './types/endpoints/v2/novel/series';
|
|
12
|
+
import { GetV1UserDetailRequest } from './types/endpoints/v1/user/detail';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* 検索対象
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* ソート順
|
|
27
|
-
*/
|
|
28
|
-
sort?: SearchSorts;
|
|
29
|
-
/**
|
|
30
|
-
* 対象期間
|
|
31
|
-
*/
|
|
32
|
-
duration?: SearchIllustDurations;
|
|
33
|
-
/**
|
|
34
|
-
* 開始日時
|
|
35
|
-
*/
|
|
36
|
-
startDate?: string;
|
|
37
|
-
/**
|
|
38
|
-
* 終了日時
|
|
39
|
-
*/
|
|
40
|
-
endDate?: string;
|
|
41
|
-
/**
|
|
42
|
-
* OSフィルタ
|
|
43
|
-
*/
|
|
44
|
-
filter?: Filters;
|
|
45
|
-
/**
|
|
46
|
-
* オフセット
|
|
47
|
-
*/
|
|
48
|
-
offset?: number;
|
|
16
|
+
export declare enum SearchTarget {
|
|
17
|
+
/** タグの部分一致 */
|
|
18
|
+
PARTIAL_MATCH_FOR_TAGS = "partial_match_for_tags",
|
|
19
|
+
/** タグの完全一致 */
|
|
20
|
+
EXACT_MATCH_FOR_TAGS = "exact_match_for_tags",
|
|
21
|
+
/** タイトル、またはキャプション(アプリ内では本文) */
|
|
22
|
+
TITLE_AND_CAPTION = "title_and_caption",
|
|
23
|
+
/** キーワード */
|
|
24
|
+
KEYWORD = "keyword"
|
|
49
25
|
}
|
|
50
26
|
/**
|
|
51
|
-
*
|
|
27
|
+
* ソート
|
|
52
28
|
*/
|
|
53
|
-
export
|
|
54
|
-
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
29
|
+
export declare enum SearchSort {
|
|
30
|
+
/** 新しい順 */
|
|
31
|
+
DATE_DESC = "date_desc",
|
|
32
|
+
/** 古い順 */
|
|
33
|
+
DATE_ASC = "date_asc",
|
|
34
|
+
/** 人気順 */
|
|
35
|
+
POPULAR_DESC = "popular_desc"
|
|
58
36
|
}
|
|
59
37
|
/**
|
|
60
|
-
*
|
|
38
|
+
* 対象期間
|
|
61
39
|
*/
|
|
62
|
-
export
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
|
|
69
|
-
*/
|
|
70
|
-
includeRankingLabel?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* OSフィルタ
|
|
73
|
-
*/
|
|
74
|
-
filter?: Filters;
|
|
75
|
-
/**
|
|
76
|
-
* おすすめイラストの最大ブックマークID (?)
|
|
77
|
-
*
|
|
78
|
-
* @beta
|
|
79
|
-
*/
|
|
80
|
-
maxBookmarkIdForRecommend?: number;
|
|
81
|
-
/**
|
|
82
|
-
* 最近のイラストの最小ブックマークID (?)
|
|
83
|
-
*
|
|
84
|
-
* @beta
|
|
85
|
-
*/
|
|
86
|
-
minBookmarkIdForRecentIllust?: number;
|
|
87
|
-
/**
|
|
88
|
-
* オフセット
|
|
89
|
-
*/
|
|
90
|
-
offset?: number;
|
|
91
|
-
/**
|
|
92
|
-
* ランキングイラストを含めるか (?)
|
|
93
|
-
*/
|
|
94
|
-
includeRankingIllusts?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* ブックマーク済みのイラストID
|
|
97
|
-
*/
|
|
98
|
-
bookmarkIllustIds?: number[];
|
|
99
|
-
/**
|
|
100
|
-
* プライバシーポリシーを含めるか (?)
|
|
101
|
-
*
|
|
102
|
-
* @beta
|
|
103
|
-
*/
|
|
104
|
-
includePrivacyPolicy?: boolean;
|
|
40
|
+
export declare enum SearchIllustDuration {
|
|
41
|
+
/** 1日以内 */
|
|
42
|
+
WITHIN_LAST_DAY = "within_last_day",
|
|
43
|
+
/** 1週間以内 */
|
|
44
|
+
WITHIN_LAST_WEEK = "within_last_week",
|
|
45
|
+
/** 1ヶ月以内 */
|
|
46
|
+
WITHIN_LAST_MONTH = "within_last_month"
|
|
105
47
|
}
|
|
106
48
|
/**
|
|
107
|
-
*
|
|
49
|
+
* OSフィルタ
|
|
108
50
|
*/
|
|
109
|
-
export
|
|
110
|
-
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* 公開範囲
|
|
116
|
-
*/
|
|
117
|
-
restrict?: BookmarkRestrict;
|
|
118
|
-
/**
|
|
119
|
-
* タグ
|
|
120
|
-
*/
|
|
121
|
-
tags?: string[];
|
|
51
|
+
export declare enum Filter {
|
|
52
|
+
/** iOS */
|
|
53
|
+
FOR_IOS = "for_ios",
|
|
54
|
+
/** Android */
|
|
55
|
+
FOR_ANDROID = "for_android"
|
|
122
56
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
filter?: Filters;
|
|
132
|
-
/**
|
|
133
|
-
* オフセット
|
|
134
|
-
*/
|
|
135
|
-
offset?: number;
|
|
57
|
+
/**
|
|
58
|
+
* ブックマーク公開範囲
|
|
59
|
+
*/
|
|
60
|
+
export declare enum BookmarkRestrict {
|
|
61
|
+
/** 公開 */
|
|
62
|
+
PUBLIC = "public",
|
|
63
|
+
/** 非公開 */
|
|
64
|
+
PRIVATE = "private"
|
|
136
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* オブジェクトの一部を必須にする
|
|
68
|
+
*
|
|
69
|
+
* @see https://qiita.com/yuu_1st/items/71c4fc9cc95a72fa4df9
|
|
70
|
+
*/
|
|
71
|
+
type SomeRequired<T, K extends keyof T> = T & {
|
|
72
|
+
[P in K]-?: T[P];
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* オブジェクトの特定プロパティを上書きする
|
|
76
|
+
*
|
|
77
|
+
* @see https://qiita.com/ibaragi/items/2a6412aeaca5703694b1
|
|
78
|
+
*/
|
|
79
|
+
type Overwrite<T, U extends {
|
|
80
|
+
[Key in keyof T]?: unknown;
|
|
81
|
+
}> = Omit<T, keyof U> & U;
|
|
82
|
+
/**
|
|
83
|
+
* イラスト検索オプション
|
|
84
|
+
*/
|
|
85
|
+
export type SearchIllustOptions = SomeRequired<SnakeToCamel<GetV1SearchIllustRequest>, 'word'>;
|
|
86
|
+
/**
|
|
87
|
+
* イラスト詳細取得オプション
|
|
88
|
+
*/
|
|
89
|
+
export type IllustDetailOptions = SnakeToCamel<GetV1IllustDetailRequest>;
|
|
90
|
+
/**
|
|
91
|
+
* おすすめイラスト取得オプション
|
|
92
|
+
*/
|
|
93
|
+
export type RecommendedIllustOptions = SnakeToCamel<Partial<GetV1IllustRecommendedRequest>>;
|
|
94
|
+
/**
|
|
95
|
+
* イラストブックマーク追加オプション
|
|
96
|
+
*/
|
|
97
|
+
export type IllustBookmarkAddOptions = SomeRequired<SnakeToCamel<PostV2IllustBookmarkAddRequest>, 'illustId'>;
|
|
98
|
+
/**
|
|
99
|
+
* イラストシリーズ取得オプション
|
|
100
|
+
*/
|
|
101
|
+
export type IllustSeriesOptions = SomeRequired<SnakeToCamel<GetV1IllustSeriesRequest>, 'illustSeriesId'>;
|
|
137
102
|
/**
|
|
138
103
|
* 小説詳細取得オプション
|
|
139
104
|
*/
|
|
140
|
-
export
|
|
141
|
-
/**
|
|
142
|
-
* 小説ID
|
|
143
|
-
*/
|
|
144
|
-
novelId: number;
|
|
145
|
-
}
|
|
105
|
+
export type NovelDetailOptions = SnakeToCamel<GetV2NovelDetailRequest>;
|
|
146
106
|
/**
|
|
147
107
|
* 小説本文取得オプション
|
|
148
108
|
*/
|
|
149
|
-
export
|
|
150
|
-
/**
|
|
151
|
-
* 小説ID
|
|
152
|
-
*/
|
|
153
|
-
novelId: number;
|
|
154
|
-
}
|
|
109
|
+
export type NovelTextOptions = SnakeToCamel<GetV1NovelTextRequest>;
|
|
155
110
|
/**
|
|
156
111
|
* 小説検索オプション
|
|
157
112
|
*/
|
|
158
|
-
export
|
|
159
|
-
/**
|
|
160
|
-
* 検索ワード
|
|
161
|
-
*/
|
|
162
|
-
word: string;
|
|
163
|
-
/**
|
|
164
|
-
* 検索対象
|
|
165
|
-
*/
|
|
166
|
-
searchTarget?: SearchTargets;
|
|
167
|
-
/**
|
|
168
|
-
* ソート順
|
|
169
|
-
*/
|
|
170
|
-
sort?: SearchSorts;
|
|
171
|
-
/**
|
|
172
|
-
* プレーンキーワード検索結果をマージするか (?)
|
|
173
|
-
*
|
|
174
|
-
* @beta
|
|
175
|
-
*/
|
|
176
|
-
mergePlainKeywordResults?: boolean;
|
|
177
|
-
/**
|
|
178
|
-
* 翻訳タグ検索結果を含むか
|
|
179
|
-
*/
|
|
180
|
-
includeTranslatedTagResults?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* 開始日時
|
|
183
|
-
*/
|
|
184
|
-
startDate?: string;
|
|
185
|
-
/**
|
|
186
|
-
* 終了日時
|
|
187
|
-
*/
|
|
188
|
-
endDate?: string;
|
|
189
|
-
/**
|
|
190
|
-
* OSフィルタ
|
|
191
|
-
*/
|
|
192
|
-
filter?: Filters;
|
|
193
|
-
/**
|
|
194
|
-
* オフセット
|
|
195
|
-
*/
|
|
196
|
-
offset?: number;
|
|
197
|
-
}
|
|
113
|
+
export type SearchNovelOptions = SomeRequired<SnakeToCamel<GetV1SearchNovelRequest>, 'word'>;
|
|
198
114
|
/**
|
|
199
115
|
* おすすめ小説取得オプション
|
|
200
116
|
*/
|
|
201
|
-
export
|
|
202
|
-
/**
|
|
203
|
-
* ランキングラベルを含めるか
|
|
204
|
-
*/
|
|
205
|
-
includeRankingLabel?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* OSフィルタ
|
|
208
|
-
*/
|
|
209
|
-
filter?: Filters;
|
|
210
|
-
/**
|
|
211
|
-
* オフセット
|
|
212
|
-
*/
|
|
213
|
-
offset?: number;
|
|
117
|
+
export type RecommendedNovelOptions = Overwrite<SnakeToCamel<Partial<GetV1NovelRecommendedRequest>>, {
|
|
214
118
|
/**
|
|
215
|
-
*
|
|
119
|
+
* すでにおすすめした小説ID群 (?)
|
|
216
120
|
*
|
|
121
|
+
* @default undefined
|
|
217
122
|
* @beta
|
|
218
123
|
*/
|
|
219
|
-
includeRankingNovels?: boolean;
|
|
220
|
-
/**
|
|
221
|
-
* おすすめ済みの小説ID
|
|
222
|
-
*/
|
|
223
124
|
alreadyRecommended?: number[];
|
|
224
|
-
|
|
225
|
-
* おすすめ小説の最大ブックマークID (?)
|
|
226
|
-
*
|
|
227
|
-
* @beta
|
|
228
|
-
*/
|
|
229
|
-
maxBookmarkIdForRecommend?: number;
|
|
230
|
-
/**
|
|
231
|
-
* プライバシーポリシーを含めるか (?)
|
|
232
|
-
*
|
|
233
|
-
* @beta
|
|
234
|
-
*/
|
|
235
|
-
includePrivacyPolicy?: boolean;
|
|
236
|
-
}
|
|
125
|
+
}>;
|
|
237
126
|
/**
|
|
238
127
|
* 小説シリーズ詳細取得オプション
|
|
239
128
|
*/
|
|
240
|
-
export
|
|
241
|
-
/**
|
|
242
|
-
* 小説シリーズID
|
|
243
|
-
*/
|
|
244
|
-
seriesId: number;
|
|
245
|
-
/**
|
|
246
|
-
* OSフィルタ
|
|
247
|
-
*/
|
|
248
|
-
filter?: Filters;
|
|
249
|
-
/**
|
|
250
|
-
* (?)
|
|
251
|
-
*
|
|
252
|
-
* @beta
|
|
253
|
-
*/
|
|
254
|
-
lastOrder?: string;
|
|
255
|
-
}
|
|
129
|
+
export type NovelSeriesOptions = SomeRequired<SnakeToCamel<GetV2NovelSeriesRequest>, 'seriesId'>;
|
|
256
130
|
/**
|
|
257
131
|
* ユーザー詳細取得オプション
|
|
258
132
|
*/
|
|
259
|
-
export
|
|
260
|
-
|
|
261
|
-
* ユーザーID
|
|
262
|
-
*/
|
|
263
|
-
userId: number;
|
|
264
|
-
/**
|
|
265
|
-
* OSフィルタ
|
|
266
|
-
*/
|
|
267
|
-
filter?: Filters;
|
|
268
|
-
}
|
|
133
|
+
export type UserDetailOptions = SnakeToCamel<GetV1UserDetailRequest>;
|
|
134
|
+
export {};
|
|
269
135
|
//# sourceMappingURL=options.d.ts.map
|
package/dist/options.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAA;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAA;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAA;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AACvE,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAA;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAm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G;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,wBAAwB,CAAC,CAAA;AAExE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,YAAY,CACjD,OAAO,CAAC,6BAA6B,CAAC,CACvC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,YAAY,CACjD,YAAY,CAAC,8BAA8B,CAAC,EAC5C,UAAU,CACX,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAC5C,YAAY,CAAC,wBAAwB,CAAC,EACtC,gBAAgB,CACjB,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,uBAAuB,CAAC,CAAA;AAEtE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAA;AAElE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,YAAY,CAAC,uBAAuB,CAAC,EACrC,MAAM,CACP,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAC7C,YAAY,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,EACnD;IACE;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC9B,CACF,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAC3C,YAAY,CAAC,uBAAuB,CAAC,EACrC,UAAU,CACX,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,sBAAsB,CAAC,CAAA"}
|
package/dist/options.js
CHANGED
|
@@ -1,3 +1,62 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BookmarkRestrict = exports.Filter = exports.SearchIllustDuration = exports.SearchSort = exports.SearchTarget = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* 検索対象
|
|
6
|
+
*/
|
|
7
|
+
var SearchTarget;
|
|
8
|
+
(function (SearchTarget) {
|
|
9
|
+
/** タグの部分一致 */
|
|
10
|
+
SearchTarget["PARTIAL_MATCH_FOR_TAGS"] = "partial_match_for_tags";
|
|
11
|
+
/** タグの完全一致 */
|
|
12
|
+
SearchTarget["EXACT_MATCH_FOR_TAGS"] = "exact_match_for_tags";
|
|
13
|
+
/** タイトル、またはキャプション(アプリ内では本文) */
|
|
14
|
+
SearchTarget["TITLE_AND_CAPTION"] = "title_and_caption";
|
|
15
|
+
/** キーワード */
|
|
16
|
+
SearchTarget["KEYWORD"] = "keyword";
|
|
17
|
+
})(SearchTarget = exports.SearchTarget || (exports.SearchTarget = {}));
|
|
18
|
+
/**
|
|
19
|
+
* ソート
|
|
20
|
+
*/
|
|
21
|
+
var SearchSort;
|
|
22
|
+
(function (SearchSort) {
|
|
23
|
+
/** 新しい順 */
|
|
24
|
+
SearchSort["DATE_DESC"] = "date_desc";
|
|
25
|
+
/** 古い順 */
|
|
26
|
+
SearchSort["DATE_ASC"] = "date_asc";
|
|
27
|
+
/** 人気順 */
|
|
28
|
+
SearchSort["POPULAR_DESC"] = "popular_desc";
|
|
29
|
+
})(SearchSort = exports.SearchSort || (exports.SearchSort = {}));
|
|
30
|
+
/**
|
|
31
|
+
* 対象期間
|
|
32
|
+
*/
|
|
33
|
+
var SearchIllustDuration;
|
|
34
|
+
(function (SearchIllustDuration) {
|
|
35
|
+
/** 1日以内 */
|
|
36
|
+
SearchIllustDuration["WITHIN_LAST_DAY"] = "within_last_day";
|
|
37
|
+
/** 1週間以内 */
|
|
38
|
+
SearchIllustDuration["WITHIN_LAST_WEEK"] = "within_last_week";
|
|
39
|
+
/** 1ヶ月以内 */
|
|
40
|
+
SearchIllustDuration["WITHIN_LAST_MONTH"] = "within_last_month";
|
|
41
|
+
})(SearchIllustDuration = exports.SearchIllustDuration || (exports.SearchIllustDuration = {}));
|
|
42
|
+
/**
|
|
43
|
+
* OSフィルタ
|
|
44
|
+
*/
|
|
45
|
+
var Filter;
|
|
46
|
+
(function (Filter) {
|
|
47
|
+
/** iOS */
|
|
48
|
+
Filter["FOR_IOS"] = "for_ios";
|
|
49
|
+
/** Android */
|
|
50
|
+
Filter["FOR_ANDROID"] = "for_android";
|
|
51
|
+
})(Filter = exports.Filter || (exports.Filter = {}));
|
|
52
|
+
/**
|
|
53
|
+
* ブックマーク公開範囲
|
|
54
|
+
*/
|
|
55
|
+
var BookmarkRestrict;
|
|
56
|
+
(function (BookmarkRestrict) {
|
|
57
|
+
/** 公開 */
|
|
58
|
+
BookmarkRestrict["PUBLIC"] = "public";
|
|
59
|
+
/** 非公開 */
|
|
60
|
+
BookmarkRestrict["PRIVATE"] = "private";
|
|
61
|
+
})(BookmarkRestrict = exports.BookmarkRestrict || (exports.BookmarkRestrict = {}));
|
|
3
62
|
//# sourceMappingURL=options.js.map
|
package/dist/options.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../src/options.ts"],"names":[],"mappings":";;;AAaA;;GAEG;AACH,IAAY,YASX;AATD,WAAY,YAAY;IACtB,cAAc;IACd,iEAAiD,CAAA;IACjD,cAAc;IACd,6DAA6C,CAAA;IAC7C,+BAA+B;IAC/B,uDAAuC,CAAA;IACvC,YAAY;IACZ,mCAAmB,CAAA;AACrB,CAAC,EATW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QASvB;AAED;;GAEG;AACH,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,WAAW;IACX,qCAAuB,CAAA;IACvB,UAAU;IACV,mCAAqB,CAAA;IACrB,UAAU;IACV,2CAA6B,CAAA;AAC/B,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB;AAED;;GAEG;AACH,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,WAAW;IACX,2DAAmC,CAAA;IACnC,YAAY;IACZ,6DAAqC,CAAA;IACrC,YAAY;IACZ,+DAAuC,CAAA;AACzC,CAAC,EAPW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAO/B;AAED;;GAEG;AACH,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,UAAU;IACV,6BAAmB,CAAA;IACnB,cAAc;IACd,qCAA2B,CAAA;AAC7B,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED;;GAEG;AACH,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,SAAS;IACT,qCAAiB,CAAA;IACjB,UAAU;IACV,uCAAmB,CAAA;AACrB,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B"}
|
package/dist/pixiv.d.ts
CHANGED
|
@@ -3,16 +3,18 @@ import { AxiosInstance, AxiosResponse } from 'axios';
|
|
|
3
3
|
import { ReadStream } from 'node:fs';
|
|
4
4
|
import qs from 'qs';
|
|
5
5
|
import { IllustDetailOptions, SearchIllustOptions, RecommendedIllustOptions, IllustBookmarkAddOptions, NovelDetailOptions, SearchNovelOptions, RecommendedNovelOptions, NovelSeriesOptions, UserDetailOptions, IllustSeriesOptions, NovelTextOptions } from './options';
|
|
6
|
-
import { PostV2IllustBookmarkAddResponse } from './types/endpoints/illust/bookmark/add';
|
|
7
|
-
import { GetV1IllustDetailResponse } from './types/endpoints/illust/detail';
|
|
8
|
-
import { GetV1RecommendedIllustResponse } from './types/endpoints/illust/recommended';
|
|
9
|
-
import { GetV2NovelDetailResponse } from './types/endpoints/novel/detail';
|
|
10
|
-
import { GetV1RecommendedNovelResponse } from './types/endpoints/novel/recommended';
|
|
11
|
-
import { GetV1SearchIllustResponse } from './types/endpoints/search/illust';
|
|
12
|
-
import { GetV1SearchNovelResponse } from './types/endpoints/search/novel';
|
|
13
|
-
import { GetV1UserDetailResponse } from './types/endpoints/user/detail';
|
|
14
|
-
import { GetV1NovelTextResponse } from './types/endpoints/novel/text';
|
|
15
6
|
import { PixivApiError } from './types/error-response';
|
|
7
|
+
import { GetV1IllustDetailResponse } from './types/endpoints/v1/illust/detail';
|
|
8
|
+
import { GetV1SearchIllustResponse } from './types/endpoints/v1/search/illust';
|
|
9
|
+
import { GetV1IllustRecommendedResponse } from './types/endpoints/v1/illust/recommended';
|
|
10
|
+
import { PostV2IllustBookmarkAddResponse } from './types/endpoints/v2/illust/bookmark/add';
|
|
11
|
+
import { GetV1IllustSeriesResponse } from './types/endpoints/v1/illust/series';
|
|
12
|
+
import { GetV2NovelDetailResponse } from './types/endpoints/v2/novel/detail';
|
|
13
|
+
import { GetV1NovelTextResponse } from './types/endpoints/v1/novel/text';
|
|
14
|
+
import { GetV1SearchNovelResponse } from './types/endpoints/v1/search/novel';
|
|
15
|
+
import { GetV1NovelRecommendedResponse } from './types/endpoints/v1/novel/recommended';
|
|
16
|
+
import { GetV2NovelSeriesResponse } from './types/endpoints/v2/novel/series';
|
|
17
|
+
import { GetV1UserDetailResponse } from './types/endpoints/v1/user/detail';
|
|
16
18
|
/**
|
|
17
19
|
* pixiv API
|
|
18
20
|
*/
|
|
@@ -40,6 +42,9 @@ export default class Pixiv {
|
|
|
40
42
|
* @returns Pixiv インスタンス
|
|
41
43
|
*/
|
|
42
44
|
static of(refreshToken: string): Promise<Pixiv>;
|
|
45
|
+
/**
|
|
46
|
+
* 画像のaxiosストリームを取得する。
|
|
47
|
+
*/
|
|
43
48
|
static getAxiosImageStream(url: string): Promise<AxiosResponse<ReadStream, any>>;
|
|
44
49
|
/**
|
|
45
50
|
* イラストの詳細情報を取得する。
|
|
@@ -61,7 +66,7 @@ export default class Pixiv {
|
|
|
61
66
|
* @param options オプション
|
|
62
67
|
* @returns レスポンス
|
|
63
68
|
*/
|
|
64
|
-
recommendedIllust(options
|
|
69
|
+
recommendedIllust(options?: RecommendedIllustOptions): Promise<AxiosResponse<GetV1IllustRecommendedResponse, any>>;
|
|
65
70
|
/**
|
|
66
71
|
* イラストをブックマークする。
|
|
67
72
|
*
|
|
@@ -75,7 +80,7 @@ export default class Pixiv {
|
|
|
75
80
|
* @param options オプション
|
|
76
81
|
* @returns レスポンス
|
|
77
82
|
*/
|
|
78
|
-
illustSeries(options: IllustSeriesOptions): Promise<AxiosResponse<
|
|
83
|
+
illustSeries(options: IllustSeriesOptions): Promise<AxiosResponse<GetV1IllustSeriesResponse, any>>;
|
|
79
84
|
/**
|
|
80
85
|
* 小説の詳細情報を取得する。
|
|
81
86
|
*
|
|
@@ -104,14 +109,14 @@ export default class Pixiv {
|
|
|
104
109
|
* @param options オプション
|
|
105
110
|
* @returns レスポンス
|
|
106
111
|
*/
|
|
107
|
-
recommendedNovel(options?: RecommendedNovelOptions): Promise<AxiosResponse<
|
|
112
|
+
recommendedNovel(options?: RecommendedNovelOptions): Promise<AxiosResponse<GetV1NovelRecommendedResponse, any>>;
|
|
108
113
|
/**
|
|
109
114
|
* 小説シリーズの詳細情報を取得する。
|
|
110
115
|
*
|
|
111
116
|
* @param options オプション
|
|
112
117
|
* @returns レスポンス
|
|
113
118
|
*/
|
|
114
|
-
novelSeries(options: NovelSeriesOptions): Promise<AxiosResponse<
|
|
119
|
+
novelSeries(options: NovelSeriesOptions): Promise<AxiosResponse<GetV2NovelSeriesResponse, any>>;
|
|
115
120
|
/**
|
|
116
121
|
* ユーザーの詳細情報を取得する。
|
|
117
122
|
*
|
|
@@ -143,9 +148,22 @@ export default class Pixiv {
|
|
|
143
148
|
/**
|
|
144
149
|
* リクエストを送信する。
|
|
145
150
|
*
|
|
151
|
+
* ジェネリクスの順番は、T: リクエスト、U: レスポンス。
|
|
152
|
+
*
|
|
146
153
|
* @param options オプション
|
|
147
154
|
* @returns レスポンス
|
|
148
155
|
*/
|
|
149
156
|
private request;
|
|
157
|
+
/**
|
|
158
|
+
* 必須のオプションが含まれているかどうかをチェックする。
|
|
159
|
+
*
|
|
160
|
+
* @param options オプション
|
|
161
|
+
* @param required 必須のオプションキー
|
|
162
|
+
*/
|
|
163
|
+
private checkRequiredOptions;
|
|
164
|
+
/**
|
|
165
|
+
* スネークケースのオブジェクトキーをキャメルケースなオブジェクトキーに変換する。
|
|
166
|
+
*/
|
|
167
|
+
private convertSnakeToCamel;
|
|
150
168
|
}
|
|
151
169
|
//# sourceMappingURL=pixiv.d.ts.map
|
package/dist/pixiv.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pixiv.d.ts","sourceRoot":"","sources":["../src/pixiv.ts"],"names":[],"mappings":";AACA,OAAc,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,MAAM,IAAI,CAAA;AACnB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"pixiv.d.ts","sourceRoot":"","sources":["../src/pixiv.ts"],"names":[],"mappings":";AACA,OAAc,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,MAAM,IAAI,CAAA;AACnB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAKjB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,EAEL,yBAAyB,EAC1B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAEL,yBAAyB,EAC1B,MAAM,oCAAoC,CAAA;AAC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