@quillmark/wasm 0.73.0 → 0.74.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 +12 -5
- package/bundler/wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/bundler/wasm.d.ts
CHANGED
|
@@ -96,7 +96,14 @@ export interface QuillFieldUi {
|
|
|
96
96
|
/** UI layout hints for a card (main or named card type). */
|
|
97
97
|
export interface QuillCardUi {
|
|
98
98
|
title?: string;
|
|
99
|
-
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Body namespace for a card (main or named card type). */
|
|
102
|
+
export interface QuillCardBody {
|
|
103
|
+
/** When false, consumers must not accept or store body content for this card type. Defaults to true. */
|
|
104
|
+
enabled?: boolean;
|
|
105
|
+
/** Description shown in the body editor placeholder area when the body is empty. */
|
|
106
|
+
description?: string;
|
|
100
107
|
}
|
|
101
108
|
|
|
102
109
|
/** Schema entry for a single field declared in a quill's `Quill.yaml`. */
|
|
@@ -117,11 +124,11 @@ export interface QuillCardSchema {
|
|
|
117
124
|
description?: string;
|
|
118
125
|
fields: Record<string, QuillFieldSchema>;
|
|
119
126
|
ui?: QuillCardUi;
|
|
127
|
+
body?: QuillCardBody;
|
|
120
128
|
}
|
|
121
129
|
|
|
122
130
|
/**
|
|
123
|
-
* Document schema
|
|
124
|
-
* `Quill.formSchema` (with ui hints) — same shape, optional `ui` keys.
|
|
131
|
+
* Document schema returned by `Quill.schema`. Includes optional `ui` keys.
|
|
125
132
|
*
|
|
126
133
|
* `main.fields.QUILL` and `card_types[name].fields.CARD` are required
|
|
127
134
|
* sentinels with `const` values telling consumers what to write.
|
|
@@ -134,8 +141,8 @@ export interface QuillSchema {
|
|
|
134
141
|
|
|
135
142
|
/**
|
|
136
143
|
* Identity snapshot mirroring the `quill:` section of `Quill.yaml`.
|
|
137
|
-
*
|
|
138
|
-
*
|
|
144
|
+
* The schema lives on `Quill.schema`; the example on `Quill.example`.
|
|
145
|
+
* Extra `quill:` keys appear as `unknown`.
|
|
139
146
|
*/
|
|
140
147
|
export interface QuillMetadata {
|
|
141
148
|
name: string;
|
package/bundler/wasm_bg.wasm
CHANGED
|
Binary file
|