@quillmark/wasm 0.24.0 → 0.24.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 CHANGED
@@ -4,26 +4,35 @@
4
4
  * Initialize the WASM module with panic hooks for better error messages
5
5
  */
6
6
  export function init(): void;
7
- export interface Artifact {
8
- format: OutputFormat;
9
- bytes: Uint8Array;
10
- mimeType: string;
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[];
11
16
  }
12
17
 
13
- export type Severity = "error" | "warning" | "note";
18
+ export type OutputFormat = "pdf" | "svg" | "txt";
14
19
 
15
20
  export interface ParsedDocument {
16
21
  fields: Record<string, any>;
17
22
  quillTag: string;
18
23
  }
19
24
 
20
- export interface Diagnostic {
21
- severity: Severity;
22
- code?: string;
23
- message: string;
24
- location?: Location;
25
- hint?: string;
26
- sourceChain: string[];
25
+ export interface RenderResult {
26
+ artifacts: Artifact[];
27
+ warnings: Diagnostic[];
28
+ outputFormat: OutputFormat;
29
+ renderTimeMs: number;
30
+ }
31
+
32
+ export interface Artifact {
33
+ format: OutputFormat;
34
+ bytes: Uint8Array;
35
+ mimeType: string;
27
36
  }
28
37
 
29
38
  export interface RenderOptions {
@@ -32,7 +41,16 @@ export interface RenderOptions {
32
41
  quillName?: string;
33
42
  }
34
43
 
35
- export type OutputFormat = "pdf" | "svg" | "txt";
44
+ export type Severity = "error" | "warning" | "note";
45
+
46
+ export interface Diagnostic {
47
+ severity: Severity;
48
+ code?: string;
49
+ message: string;
50
+ location?: Location;
51
+ hint?: string;
52
+ sourceChain: string[];
53
+ }
36
54
 
37
55
  export interface Location {
38
56
  file: string;
@@ -40,24 +58,6 @@ export interface Location {
40
58
  column: number;
41
59
  }
42
60
 
43
- export interface RenderResult {
44
- artifacts: Artifact[];
45
- warnings: Diagnostic[];
46
- outputFormat: OutputFormat;
47
- renderTimeMs: 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
  *
Binary file
@@ -4,26 +4,35 @@
4
4
  * Initialize the WASM module with panic hooks for better error messages
5
5
  */
6
6
  export function init(): void;
7
- export interface Artifact {
8
- format: OutputFormat;
9
- bytes: Uint8Array;
10
- mimeType: string;
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[];
11
16
  }
12
17
 
13
- export type Severity = "error" | "warning" | "note";
18
+ export type OutputFormat = "pdf" | "svg" | "txt";
14
19
 
15
20
  export interface ParsedDocument {
16
21
  fields: Record<string, any>;
17
22
  quillTag: string;
18
23
  }
19
24
 
20
- export interface Diagnostic {
21
- severity: Severity;
22
- code?: string;
23
- message: string;
24
- location?: Location;
25
- hint?: string;
26
- sourceChain: string[];
25
+ export interface RenderResult {
26
+ artifacts: Artifact[];
27
+ warnings: Diagnostic[];
28
+ outputFormat: OutputFormat;
29
+ renderTimeMs: number;
30
+ }
31
+
32
+ export interface Artifact {
33
+ format: OutputFormat;
34
+ bytes: Uint8Array;
35
+ mimeType: string;
27
36
  }
28
37
 
29
38
  export interface RenderOptions {
@@ -32,7 +41,16 @@ export interface RenderOptions {
32
41
  quillName?: string;
33
42
  }
34
43
 
35
- export type OutputFormat = "pdf" | "svg" | "txt";
44
+ export type Severity = "error" | "warning" | "note";
45
+
46
+ export interface Diagnostic {
47
+ severity: Severity;
48
+ code?: string;
49
+ message: string;
50
+ location?: Location;
51
+ hint?: string;
52
+ sourceChain: string[];
53
+ }
36
54
 
37
55
  export interface Location {
38
56
  file: string;
@@ -40,24 +58,6 @@ export interface Location {
40
58
  column: number;
41
59
  }
42
60
 
43
- export interface RenderResult {
44
- artifacts: Artifact[];
45
- warnings: Diagnostic[];
46
- outputFormat: OutputFormat;
47
- renderTimeMs: 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
  *
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.24.0",
3
+ "version": "0.24.2",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",