@quillmark/wasm 0.23.1 → 0.24.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 +16 -16
- package/bundler/wasm_bg.wasm +0 -0
- package/node-esm/wasm.d.ts +16 -16
- package/node-esm/wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/bundler/wasm.d.ts
CHANGED
|
@@ -4,31 +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 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
7
|
export interface Artifact {
|
|
19
8
|
format: OutputFormat;
|
|
20
9
|
bytes: Uint8Array;
|
|
21
10
|
mimeType: string;
|
|
22
11
|
}
|
|
23
12
|
|
|
24
|
-
export type Severity = "error" | "warning" | "note";
|
|
25
|
-
|
|
26
13
|
export interface Location {
|
|
27
14
|
file: string;
|
|
28
15
|
line: number;
|
|
29
16
|
column: number;
|
|
30
17
|
}
|
|
31
18
|
|
|
19
|
+
export interface ParsedDocument {
|
|
20
|
+
fields: Record<string, any>;
|
|
21
|
+
quillTag: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
32
24
|
export type OutputFormat = "pdf" | "svg" | "txt";
|
|
33
25
|
|
|
34
26
|
export interface Diagnostic {
|
|
@@ -40,9 +32,17 @@ export interface Diagnostic {
|
|
|
40
32
|
sourceChain: string[];
|
|
41
33
|
}
|
|
42
34
|
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
35
|
+
export type Severity = "error" | "warning" | "note";
|
|
36
|
+
|
|
37
|
+
export interface QuillInfo {
|
|
38
|
+
name: string;
|
|
39
|
+
backend: string;
|
|
40
|
+
metadata: Record<string, any>;
|
|
41
|
+
example?: string;
|
|
42
|
+
schema: Record<string, any>;
|
|
43
|
+
defaults: Record<string, any>;
|
|
44
|
+
examples: Record<string, any[]>;
|
|
45
|
+
supportedFormats: OutputFormat[];
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export interface RenderOptions {
|
package/bundler/wasm_bg.wasm
CHANGED
|
Binary file
|
package/node-esm/wasm.d.ts
CHANGED
|
@@ -4,31 +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 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
7
|
export interface Artifact {
|
|
19
8
|
format: OutputFormat;
|
|
20
9
|
bytes: Uint8Array;
|
|
21
10
|
mimeType: string;
|
|
22
11
|
}
|
|
23
12
|
|
|
24
|
-
export type Severity = "error" | "warning" | "note";
|
|
25
|
-
|
|
26
13
|
export interface Location {
|
|
27
14
|
file: string;
|
|
28
15
|
line: number;
|
|
29
16
|
column: number;
|
|
30
17
|
}
|
|
31
18
|
|
|
19
|
+
export interface ParsedDocument {
|
|
20
|
+
fields: Record<string, any>;
|
|
21
|
+
quillTag: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
32
24
|
export type OutputFormat = "pdf" | "svg" | "txt";
|
|
33
25
|
|
|
34
26
|
export interface Diagnostic {
|
|
@@ -40,9 +32,17 @@ export interface Diagnostic {
|
|
|
40
32
|
sourceChain: string[];
|
|
41
33
|
}
|
|
42
34
|
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
35
|
+
export type Severity = "error" | "warning" | "note";
|
|
36
|
+
|
|
37
|
+
export interface QuillInfo {
|
|
38
|
+
name: string;
|
|
39
|
+
backend: string;
|
|
40
|
+
metadata: Record<string, any>;
|
|
41
|
+
example?: string;
|
|
42
|
+
schema: Record<string, any>;
|
|
43
|
+
defaults: Record<string, any>;
|
|
44
|
+
examples: Record<string, any[]>;
|
|
45
|
+
supportedFormats: OutputFormat[];
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
export interface RenderOptions {
|
package/node-esm/wasm_bg.wasm
CHANGED
|
Binary file
|