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