@shisho/plugin-sdk 0.0.52 → 0.1.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/metadata.d.ts +4 -1
- package/package.json +1 -1
package/metadata.d.ts
CHANGED
|
@@ -18,7 +18,10 @@ export interface ParsedIdentifier {
|
|
|
18
18
|
export interface ParsedChapter {
|
|
19
19
|
/** Chapter title. */
|
|
20
20
|
title: string;
|
|
21
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* CBZ and PDF: 0-indexed page number. A chapter with a negative value is
|
|
23
|
+
* dropped, along with its children, when Shisho stores chapters on scan.
|
|
24
|
+
*/
|
|
22
25
|
startPage?: number;
|
|
23
26
|
/** M4B: milliseconds from start. */
|
|
24
27
|
startTimestampMs?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shisho/plugin-sdk",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "TypeScript SDK for Shisho plugin development — types, host API declarations, and test utilities",
|
|
5
5
|
"homepage": "https://github.com/shishobooks/shisho/blob/master/packages/plugin-sdk/README.md",
|
|
6
6
|
"types": "index.d.ts",
|