@quillmark/wasm 0.44.0 → 0.46.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 +34 -33
- package/bundler/wasm_bg.js +3 -2
- package/bundler/wasm_bg.wasm +0 -0
- package/node-esm/wasm.d.ts +34 -33
- package/node-esm/wasm_bg.js +3 -2
- package/node-esm/wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/bundler/wasm.d.ts
CHANGED
|
@@ -4,24 +4,13 @@
|
|
|
4
4
|
* Initialize the WASM module with panic hooks for better error messages
|
|
5
5
|
*/
|
|
6
6
|
export function init(): void;
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface QuillInfo {
|
|
14
|
-
name: string;
|
|
15
|
-
backend: string;
|
|
16
|
-
metadata: Record<string, any>;
|
|
17
|
-
example?: string;
|
|
18
|
-
schema: Record<string, any>;
|
|
19
|
-
defaults: Record<string, any>;
|
|
20
|
-
examples: Record<string, any[]>;
|
|
21
|
-
supportedFormats: OutputFormat[];
|
|
7
|
+
export interface Artifact {
|
|
8
|
+
format: OutputFormat;
|
|
9
|
+
bytes: Uint8Array;
|
|
10
|
+
mimeType: string;
|
|
22
11
|
}
|
|
23
12
|
|
|
24
|
-
export type
|
|
13
|
+
export type OutputFormat = "pdf" | "svg" | "txt" | "png";
|
|
25
14
|
|
|
26
15
|
export interface Location {
|
|
27
16
|
file: string;
|
|
@@ -29,10 +18,22 @@ export interface Location {
|
|
|
29
18
|
column: number;
|
|
30
19
|
}
|
|
31
20
|
|
|
32
|
-
export
|
|
21
|
+
export type Severity = "error" | "warning" | "note";
|
|
22
|
+
|
|
23
|
+
export interface RenderOptions {
|
|
24
|
+
format?: OutputFormat;
|
|
25
|
+
assets?: Record<string, Uint8Array | number[]>;
|
|
26
|
+
quillRef?: string;
|
|
27
|
+
ppi?: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface RenderPagesOptions {
|
|
33
31
|
format: OutputFormat;
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
ppi?: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface CompileOptions {
|
|
36
|
+
quillRef?: string;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
export interface ParsedDocument {
|
|
@@ -47,18 +48,6 @@ export interface RenderResult {
|
|
|
47
48
|
renderTimeMs: number;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
export interface RenderOptions {
|
|
51
|
-
format?: OutputFormat;
|
|
52
|
-
assets?: Record<string, Uint8Array | number[]>;
|
|
53
|
-
quillRef?: string;
|
|
54
|
-
ppi?: number;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export interface RenderPagesOptions {
|
|
58
|
-
format: OutputFormat;
|
|
59
|
-
ppi?: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
51
|
export interface Diagnostic {
|
|
63
52
|
severity: Severity;
|
|
64
53
|
code?: string;
|
|
@@ -68,6 +57,17 @@ export interface Diagnostic {
|
|
|
68
57
|
sourceChain: string[];
|
|
69
58
|
}
|
|
70
59
|
|
|
60
|
+
export interface QuillInfo {
|
|
61
|
+
name: string;
|
|
62
|
+
backend: string;
|
|
63
|
+
metadata: Record<string, any>;
|
|
64
|
+
example?: string;
|
|
65
|
+
schema: Record<string, any>;
|
|
66
|
+
defaults: Record<string, any>;
|
|
67
|
+
examples: Record<string, any[]>;
|
|
68
|
+
supportedFormats: OutputFormat[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
71
|
export class CompiledDocument {
|
|
72
72
|
private constructor();
|
|
73
73
|
free(): void;
|
|
@@ -140,10 +140,11 @@ export class Quillmark {
|
|
|
140
140
|
*/
|
|
141
141
|
unregisterQuill(name_or_ref: string): boolean;
|
|
142
142
|
/**
|
|
143
|
-
* Get the
|
|
143
|
+
* Get the AI-projected JSON schema of a Quill (strips UI metadata and CARDS)
|
|
144
144
|
*
|
|
145
145
|
* This returns the schema in a format suitable for feeding to LLMs or
|
|
146
|
-
* other consumers that don't need the UI configuration "x-ui" fields
|
|
146
|
+
* other consumers that don't need the UI configuration "x-ui" fields
|
|
147
|
+
* or the internal CARDS array structure.
|
|
147
148
|
*/
|
|
148
149
|
getStrippedSchema(name: string): any;
|
|
149
150
|
/**
|
package/bundler/wasm_bg.js
CHANGED
|
@@ -468,10 +468,11 @@ export class Quillmark {
|
|
|
468
468
|
return ret !== 0;
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
|
-
* Get the
|
|
471
|
+
* Get the AI-projected JSON schema of a Quill (strips UI metadata and CARDS)
|
|
472
472
|
*
|
|
473
473
|
* This returns the schema in a format suitable for feeding to LLMs or
|
|
474
|
-
* other consumers that don't need the UI configuration "x-ui" fields
|
|
474
|
+
* other consumers that don't need the UI configuration "x-ui" fields
|
|
475
|
+
* or the internal CARDS array structure.
|
|
475
476
|
* @param {string} name
|
|
476
477
|
* @returns {any}
|
|
477
478
|
*/
|
package/bundler/wasm_bg.wasm
CHANGED
|
Binary file
|
package/node-esm/wasm.d.ts
CHANGED
|
@@ -4,24 +4,13 @@
|
|
|
4
4
|
* Initialize the WASM module with panic hooks for better error messages
|
|
5
5
|
*/
|
|
6
6
|
export function init(): void;
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface QuillInfo {
|
|
14
|
-
name: string;
|
|
15
|
-
backend: string;
|
|
16
|
-
metadata: Record<string, any>;
|
|
17
|
-
example?: string;
|
|
18
|
-
schema: Record<string, any>;
|
|
19
|
-
defaults: Record<string, any>;
|
|
20
|
-
examples: Record<string, any[]>;
|
|
21
|
-
supportedFormats: OutputFormat[];
|
|
7
|
+
export interface Artifact {
|
|
8
|
+
format: OutputFormat;
|
|
9
|
+
bytes: Uint8Array;
|
|
10
|
+
mimeType: string;
|
|
22
11
|
}
|
|
23
12
|
|
|
24
|
-
export type
|
|
13
|
+
export type OutputFormat = "pdf" | "svg" | "txt" | "png";
|
|
25
14
|
|
|
26
15
|
export interface Location {
|
|
27
16
|
file: string;
|
|
@@ -29,10 +18,22 @@ export interface Location {
|
|
|
29
18
|
column: number;
|
|
30
19
|
}
|
|
31
20
|
|
|
32
|
-
export
|
|
21
|
+
export type Severity = "error" | "warning" | "note";
|
|
22
|
+
|
|
23
|
+
export interface RenderOptions {
|
|
24
|
+
format?: OutputFormat;
|
|
25
|
+
assets?: Record<string, Uint8Array | number[]>;
|
|
26
|
+
quillRef?: string;
|
|
27
|
+
ppi?: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface RenderPagesOptions {
|
|
33
31
|
format: OutputFormat;
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
ppi?: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface CompileOptions {
|
|
36
|
+
quillRef?: string;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
export interface ParsedDocument {
|
|
@@ -47,18 +48,6 @@ export interface RenderResult {
|
|
|
47
48
|
renderTimeMs: number;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
|
-
export interface RenderOptions {
|
|
51
|
-
format?: OutputFormat;
|
|
52
|
-
assets?: Record<string, Uint8Array | number[]>;
|
|
53
|
-
quillRef?: string;
|
|
54
|
-
ppi?: number;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export interface RenderPagesOptions {
|
|
58
|
-
format: OutputFormat;
|
|
59
|
-
ppi?: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
51
|
export interface Diagnostic {
|
|
63
52
|
severity: Severity;
|
|
64
53
|
code?: string;
|
|
@@ -68,6 +57,17 @@ export interface Diagnostic {
|
|
|
68
57
|
sourceChain: string[];
|
|
69
58
|
}
|
|
70
59
|
|
|
60
|
+
export interface QuillInfo {
|
|
61
|
+
name: string;
|
|
62
|
+
backend: string;
|
|
63
|
+
metadata: Record<string, any>;
|
|
64
|
+
example?: string;
|
|
65
|
+
schema: Record<string, any>;
|
|
66
|
+
defaults: Record<string, any>;
|
|
67
|
+
examples: Record<string, any[]>;
|
|
68
|
+
supportedFormats: OutputFormat[];
|
|
69
|
+
}
|
|
70
|
+
|
|
71
71
|
export class CompiledDocument {
|
|
72
72
|
private constructor();
|
|
73
73
|
free(): void;
|
|
@@ -140,10 +140,11 @@ export class Quillmark {
|
|
|
140
140
|
*/
|
|
141
141
|
unregisterQuill(name_or_ref: string): boolean;
|
|
142
142
|
/**
|
|
143
|
-
* Get the
|
|
143
|
+
* Get the AI-projected JSON schema of a Quill (strips UI metadata and CARDS)
|
|
144
144
|
*
|
|
145
145
|
* This returns the schema in a format suitable for feeding to LLMs or
|
|
146
|
-
* other consumers that don't need the UI configuration "x-ui" fields
|
|
146
|
+
* other consumers that don't need the UI configuration "x-ui" fields
|
|
147
|
+
* or the internal CARDS array structure.
|
|
147
148
|
*/
|
|
148
149
|
getStrippedSchema(name: string): any;
|
|
149
150
|
/**
|
package/node-esm/wasm_bg.js
CHANGED
|
@@ -462,10 +462,11 @@ export class Quillmark {
|
|
|
462
462
|
return ret !== 0;
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
|
-
* Get the
|
|
465
|
+
* Get the AI-projected JSON schema of a Quill (strips UI metadata and CARDS)
|
|
466
466
|
*
|
|
467
467
|
* This returns the schema in a format suitable for feeding to LLMs or
|
|
468
|
-
* other consumers that don't need the UI configuration "x-ui" fields
|
|
468
|
+
* other consumers that don't need the UI configuration "x-ui" fields
|
|
469
|
+
* or the internal CARDS array structure.
|
|
469
470
|
* @param {string} name
|
|
470
471
|
* @returns {any}
|
|
471
472
|
*/
|
package/node-esm/wasm_bg.wasm
CHANGED
|
Binary file
|