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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.d.ts +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "page2pdf_server",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "文书打印转换器的引用类型",
5
5
  "private": false,
6
6
  "authors": "herzhang",
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
+ }