pixivflow 2.22.1 → 2.24.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/commands/SchedulerCommand.js +12 -3
- package/dist/commands/scheduler-runtime.d.ts +29 -0
- package/dist/commands/scheduler-runtime.js +54 -1
- package/dist/download/FileService.d.ts +10 -0
- package/dist/download/FileService.js +6 -0
- package/dist/download/NovelDownloader.js +56 -0
- package/dist/download/exec/DownloadExecutor.js +11 -2
- package/dist/download/handlers/IllustrationTargetHandler.js +15 -0
- package/dist/download/handlers/NovelTargetHandler.js +12 -2
- package/dist/download/novelMarkers.d.ts +54 -0
- package/dist/download/novelMarkers.js +122 -0
- package/dist/interfaces/IDatabase.d.ts +11 -0
- package/dist/interfaces/IFileService.d.ts +4 -0
- package/dist/logger.d.ts +24 -0
- package/dist/logger.js +88 -11
- package/dist/notification/NotificationPolicy.js +18 -5
- package/dist/observability/classify.d.ts +7 -0
- package/dist/observability/classify.js +51 -0
- package/dist/observability/context.d.ts +10 -0
- package/dist/observability/context.js +22 -0
- package/dist/observability/index.d.ts +7 -0
- package/dist/observability/index.js +36 -0
- package/dist/observability/types.d.ts +23 -0
- package/dist/observability/types.js +3 -0
- package/dist/package.json +1 -1
- package/dist/scheduler/RecoveryOutcome.d.ts +24 -0
- package/dist/scheduler/RecoveryOutcome.js +44 -0
- package/dist/scheduler/ScheduleTriggerServer.d.ts +4 -0
- package/dist/scheduler/SlotBusinessStatus.d.ts +32 -0
- package/dist/scheduler/SlotBusinessStatus.js +43 -0
- package/dist/scheduler/SlotCoordinator.d.ts +7 -0
- package/dist/scheduler/SlotCoordinator.js +13 -0
- package/dist/storage/Database.d.ts +4 -0
- package/dist/storage/Database.js +7 -0
- package/dist/storage/DatabaseMigration.js +21 -0
- package/dist/storage/repositories/SystemErrorRepository.d.ts +19 -0
- package/dist/storage/repositories/SystemErrorRepository.js +92 -0
- package/dist/version.js +1 -1
- package/dist/webui/package.json +1 -1
- package/dist/webui/routes/admin-logs.d.ts +3 -0
- package/dist/webui/routes/admin-logs.js +9 -0
- package/dist/webui/routes/handlers/admin-logs-handlers.d.ts +6 -0
- package/dist/webui/routes/handlers/admin-logs-handlers.js +106 -0
- package/dist/webui/routes/handlers/system-errors-handlers.d.ts +6 -0
- package/dist/webui/routes/handlers/system-errors-handlers.js +59 -0
- package/dist/webui/routes/system-errors.d.ts +3 -0
- package/dist/webui/routes/system-errors.js +9 -0
- package/dist/webui/server/server-routes.js +5 -0
- package/node_modules/@redtidev/pixiv-client/dist/app-api/novels.d.ts.map +1 -1
- package/node_modules/@redtidev/pixiv-client/dist/app-api/novels.js +18 -2
- package/node_modules/@redtidev/pixiv-client/dist/app-api/novels.js.map +1 -1
- package/node_modules/@redtidev/pixiv-client/dist/index.d.ts +1 -1
- package/node_modules/@redtidev/pixiv-client/dist/index.d.ts.map +1 -1
- package/node_modules/@redtidev/pixiv-client/dist/index.js.map +1 -1
- package/node_modules/@redtidev/pixiv-client/dist/models/index.d.ts +40 -4
- package/node_modules/@redtidev/pixiv-client/dist/models/index.d.ts.map +1 -1
- package/node_modules/@redtidev/pixiv-client/src/app-api/novels.ts +28 -2
- package/node_modules/@redtidev/pixiv-client/src/index.ts +3 -0
- package/node_modules/@redtidev/pixiv-client/src/models/index.ts +34 -4
- package/package.json +2 -2
|
@@ -85,13 +85,43 @@ export interface PixivNovel {
|
|
|
85
85
|
|
|
86
86
|
export interface PixivNovelTextResponse {
|
|
87
87
|
novel_text: string;
|
|
88
|
-
/**
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
/** Cover thumbnail URL (webview v2 novel: block). */
|
|
89
|
+
coverUrl?: string;
|
|
90
|
+
/** Previous/next series navigation (webview v2 novel: block). */
|
|
91
|
+
seriesNavigation?: { nextNovel?: NovelSeriesNavItem; prevNovel?: NovelSeriesNavItem };
|
|
92
|
+
/** Uploaded inline images, keyed by `[uploadedimage:KEY]` marker id. */
|
|
93
|
+
images?: Record<string, PixivNovelUploadedImage>;
|
|
94
|
+
/** Referenced published illusts, keyed by `[pixivimage:KEY]` marker id; null = deleted/no permission. */
|
|
95
|
+
illusts?: Record<string, PixivNovelIllustRef | null>;
|
|
96
|
+
/** Other endpoint-specific fields (v1/webaudio fallbacks); hosts must not depend on them. */
|
|
92
97
|
[key: string]: unknown;
|
|
93
98
|
}
|
|
94
99
|
|
|
100
|
+
/** Author-uploaded inline image in the webview v2 novel: block. */
|
|
101
|
+
export interface PixivNovelUploadedImage {
|
|
102
|
+
novelImageId?: string;
|
|
103
|
+
urls: {
|
|
104
|
+
the128X128?: string;
|
|
105
|
+
the240Mw?: string;
|
|
106
|
+
the480Mw?: string;
|
|
107
|
+
the1200X1200?: string;
|
|
108
|
+
original?: string;
|
|
109
|
+
[k: string]: string | undefined;
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/** Referenced published illust (webview v2 novel: block). */
|
|
114
|
+
export interface PixivNovelIllustRef {
|
|
115
|
+
illust: { images: { small?: string; medium?: string; original?: string } };
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface NovelSeriesNavItem {
|
|
119
|
+
id: number;
|
|
120
|
+
viewable: boolean;
|
|
121
|
+
title?: string;
|
|
122
|
+
coverUrl?: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
95
125
|
export interface UgoiraFrame {
|
|
96
126
|
file: string;
|
|
97
127
|
delay: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pixivflow",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.24.0",
|
|
4
|
+
"description": "\ud83c\udfa8 Pixiv \u4e0b\u8f7d\u3001\u7b5b\u9009\u4e0e\u81ea\u52a8\u6536\u96c6\u5de5\u5177 - \u6279\u91cf\u4e0b\u8f7d\u63d2\u753b\u548c\u5c0f\u8bf4\u3001\u6309\u6807\u7b7e/\u70ed\u5ea6/\u65e5\u671f\u7b5b\u9009\u3001\u5b9a\u65f6\u4efb\u52a1\u4e0e\u53ef\u9760 HTTP \u4ea4\u4ed8 | Pixiv downloader and automation toolkit with filtering, scheduling and reliable HTTP delivery",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/redtidev1918/PixivFlow.git"
|