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