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