page2pdf_server 2.0.0 → 2.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/package.json +1 -1
- package/src/types.d.ts +12 -0
package/package.json
CHANGED
package/src/types.d.ts
CHANGED
|
@@ -159,3 +159,15 @@ export interface PageNoTempl {
|
|
|
159
159
|
//偏移 正负的
|
|
160
160
|
ofswd: number;
|
|
161
161
|
}
|
|
162
|
+
|
|
163
|
+
export interface PageSeqRequest {
|
|
164
|
+
//每一个唯一不冲突的ID:
|
|
165
|
+
ids: string[];
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export type Translations = Record<string, string>;
|
|
169
|
+
//应答的主内容
|
|
170
|
+
export interface PageSeqRespond {
|
|
171
|
+
//每一个唯一不冲突的ID:可能没有="",可能重复ID多个页都有的:"3,7"。
|
|
172
|
+
ids: Translations;
|
|
173
|
+
}
|