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