@acanthis-dec/core 1.4.0 → 1.4.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/dist/index.d.mts +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -84,6 +84,7 @@ interface BookshelfItem {
|
|
|
84
84
|
genres?: string[] | undefined;
|
|
85
85
|
status?: NovelStatus | undefined;
|
|
86
86
|
}
|
|
87
|
+
type DeviceKind = "desktop" | "mobile" | "unknown";
|
|
87
88
|
interface ReadingProgress {
|
|
88
89
|
platform: string;
|
|
89
90
|
novelId: string;
|
|
@@ -96,6 +97,7 @@ interface ReadingProgress {
|
|
|
96
97
|
paragraphIndex: number;
|
|
97
98
|
totalParagraphs: number;
|
|
98
99
|
deviceLabel: string;
|
|
100
|
+
deviceKind?: DeviceKind | undefined;
|
|
99
101
|
updatedAt: number;
|
|
100
102
|
historyHiddenAt?: number | null | undefined;
|
|
101
103
|
}
|
|
@@ -174,4 +176,4 @@ interface ExplorePage {
|
|
|
174
176
|
hasNextPage: boolean;
|
|
175
177
|
}
|
|
176
178
|
export declare function runTimeout<T>(callback: () => T | Promise<T>, delayTime: number): Promise<T>;
|
|
177
|
-
export type { BookshelfCategory, BookshelfItem, CachedGenreItem, Chapter, ChapterContent, ContentNode, DescrambleCoefficients, ExploreChannelOption, ExploreFilterGroup, ExploreFilterOption, ExploreHomeData, ExploreNovelItem, ExplorePage, ExploreRankingOption, ExploreSchema, ExploreSection, ExploreSectionLayout, ExploreSectionMoreTarget, LcgConfig, Novel, NovelInfo, NovelSearchResult, NovelSourceDescriptor, NovelStatus, ReadingProgress, SourceCapability, Volume };
|
|
179
|
+
export type { BookshelfCategory, BookshelfItem, CachedGenreItem, Chapter, ChapterContent, ContentNode, DescrambleCoefficients, DeviceKind, ExploreChannelOption, ExploreFilterGroup, ExploreFilterOption, ExploreHomeData, ExploreNovelItem, ExplorePage, ExploreRankingOption, ExploreSchema, ExploreSection, ExploreSectionLayout, ExploreSectionMoreTarget, LcgConfig, Novel, NovelInfo, NovelSearchResult, NovelSourceDescriptor, NovelStatus, ReadingProgress, SourceCapability, Volume };
|
package/package.json
CHANGED