@quillmark/wasm 0.33.0 → 0.34.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/bundler/wasm.d.ts +24 -24
- package/bundler/wasm_bg.wasm +0 -0
- package/node-esm/wasm.d.ts +24 -24
- package/node-esm/wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/bundler/wasm.d.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Initialize the WASM module with panic hooks for better error messages
|
|
5
5
|
*/
|
|
6
6
|
export function init(): void;
|
|
7
|
-
export interface
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export interface Location {
|
|
8
|
+
file: string;
|
|
9
|
+
line: number;
|
|
10
|
+
column: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export interface RenderResult {
|
|
@@ -17,20 +17,10 @@ export interface RenderResult {
|
|
|
17
17
|
renderTimeMs: number;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export type OutputFormat = "pdf" | "svg" | "txt";
|
|
26
|
-
|
|
27
|
-
export interface Diagnostic {
|
|
28
|
-
severity: Severity;
|
|
29
|
-
code?: string;
|
|
30
|
-
message: string;
|
|
31
|
-
location?: Location;
|
|
32
|
-
hint?: string;
|
|
33
|
-
sourceChain: string[];
|
|
20
|
+
export interface RenderOptions {
|
|
21
|
+
format?: OutputFormat;
|
|
22
|
+
assets?: Record<string, Uint8Array | number[]>;
|
|
23
|
+
quillName?: string;
|
|
34
24
|
}
|
|
35
25
|
|
|
36
26
|
export interface QuillInfo {
|
|
@@ -44,20 +34,30 @@ export interface QuillInfo {
|
|
|
44
34
|
supportedFormats: OutputFormat[];
|
|
45
35
|
}
|
|
46
36
|
|
|
47
|
-
export
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
37
|
+
export interface Diagnostic {
|
|
38
|
+
severity: Severity;
|
|
39
|
+
code?: string;
|
|
40
|
+
message: string;
|
|
41
|
+
location?: Location;
|
|
42
|
+
hint?: string;
|
|
43
|
+
sourceChain: string[];
|
|
53
44
|
}
|
|
54
45
|
|
|
46
|
+
export type Severity = "error" | "warning" | "note";
|
|
47
|
+
|
|
55
48
|
export interface Artifact {
|
|
56
49
|
format: OutputFormat;
|
|
57
50
|
bytes: Uint8Array;
|
|
58
51
|
mimeType: string;
|
|
59
52
|
}
|
|
60
53
|
|
|
54
|
+
export interface ParsedDocument {
|
|
55
|
+
fields: Record<string, any>;
|
|
56
|
+
quillName: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type OutputFormat = "pdf" | "svg" | "txt";
|
|
60
|
+
|
|
61
61
|
/**
|
|
62
62
|
* Quillmark WASM Engine
|
|
63
63
|
*
|
package/bundler/wasm_bg.wasm
CHANGED
|
Binary file
|
package/node-esm/wasm.d.ts
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Initialize the WASM module with panic hooks for better error messages
|
|
5
5
|
*/
|
|
6
6
|
export function init(): void;
|
|
7
|
-
export interface
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
export interface Location {
|
|
8
|
+
file: string;
|
|
9
|
+
line: number;
|
|
10
|
+
column: number;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export interface RenderResult {
|
|
@@ -17,20 +17,10 @@ export interface RenderResult {
|
|
|
17
17
|
renderTimeMs: number;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export interface
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export type OutputFormat = "pdf" | "svg" | "txt";
|
|
26
|
-
|
|
27
|
-
export interface Diagnostic {
|
|
28
|
-
severity: Severity;
|
|
29
|
-
code?: string;
|
|
30
|
-
message: string;
|
|
31
|
-
location?: Location;
|
|
32
|
-
hint?: string;
|
|
33
|
-
sourceChain: string[];
|
|
20
|
+
export interface RenderOptions {
|
|
21
|
+
format?: OutputFormat;
|
|
22
|
+
assets?: Record<string, Uint8Array | number[]>;
|
|
23
|
+
quillName?: string;
|
|
34
24
|
}
|
|
35
25
|
|
|
36
26
|
export interface QuillInfo {
|
|
@@ -44,20 +34,30 @@ export interface QuillInfo {
|
|
|
44
34
|
supportedFormats: OutputFormat[];
|
|
45
35
|
}
|
|
46
36
|
|
|
47
|
-
export
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
37
|
+
export interface Diagnostic {
|
|
38
|
+
severity: Severity;
|
|
39
|
+
code?: string;
|
|
40
|
+
message: string;
|
|
41
|
+
location?: Location;
|
|
42
|
+
hint?: string;
|
|
43
|
+
sourceChain: string[];
|
|
53
44
|
}
|
|
54
45
|
|
|
46
|
+
export type Severity = "error" | "warning" | "note";
|
|
47
|
+
|
|
55
48
|
export interface Artifact {
|
|
56
49
|
format: OutputFormat;
|
|
57
50
|
bytes: Uint8Array;
|
|
58
51
|
mimeType: string;
|
|
59
52
|
}
|
|
60
53
|
|
|
54
|
+
export interface ParsedDocument {
|
|
55
|
+
fields: Record<string, any>;
|
|
56
|
+
quillName: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type OutputFormat = "pdf" | "svg" | "txt";
|
|
60
|
+
|
|
61
61
|
/**
|
|
62
62
|
* Quillmark WASM Engine
|
|
63
63
|
*
|
package/node-esm/wasm_bg.wasm
CHANGED
|
Binary file
|