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