@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 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
- hide_body?: boolean;
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. Returned by both `Quill.schema` (no ui hints) and
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
- * Schemas live on `Quill.schema` / `Quill.formSchema`; the example on
138
- * `Quill.example`. Extra `quill:` keys appear as `unknown`.
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;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.73.0",
3
+ "version": "0.74.0",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",