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