@quillmark/wasm 0.87.0 → 0.87.1
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/CHANGELOG.md +6 -0
- package/bundler/wasm.d.ts +8 -0
- package/bundler/wasm_bg.js +24 -0
- package/bundler/wasm_bg.wasm +0 -0
- package/bundler/wasm_bg.wasm.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.87.1 - 2026-06-01
|
|
4
|
+
|
|
5
|
+
- Make $quill reference grammar a single source of truth (#684)
|
|
6
|
+
- Remove stale FieldType::Date references and add rejection test (#683)
|
|
7
|
+
|
|
8
|
+
|
|
3
9
|
## v0.87.0 - 2026-06-01
|
|
4
10
|
|
|
5
11
|
Arrays become first-class typed fields via a required `items` element
|
package/bundler/wasm.d.ts
CHANGED
|
@@ -316,6 +316,14 @@ export class Document {
|
|
|
316
316
|
* Throws if `card.kind` is not a valid kind name.
|
|
317
317
|
*/
|
|
318
318
|
pushCard(card: CardInput): void;
|
|
319
|
+
/**
|
|
320
|
+
* The canonical `$quill` reference grammar as author-facing text. Single
|
|
321
|
+
* source of truth (CLI, Python, MCP): drive schema `describe` and
|
|
322
|
+
* validation messages from this instead of re-stating the rule — it
|
|
323
|
+
* matches the `hint` on `parse::invalid_quill_reference`. Cache it; the
|
|
324
|
+
* value never changes.
|
|
325
|
+
*/
|
|
326
|
+
static quillRefHint(): string;
|
|
319
327
|
removeCard(index: number): Card | undefined;
|
|
320
328
|
/**
|
|
321
329
|
* Remove a field on the card at `index`. Returns the removed value or
|
package/bundler/wasm_bg.js
CHANGED
|
@@ -276,6 +276,30 @@ export class Document {
|
|
|
276
276
|
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
* The canonical `$quill` reference grammar as author-facing text. Single
|
|
281
|
+
* source of truth (CLI, Python, MCP): drive schema `describe` and
|
|
282
|
+
* validation messages from this instead of re-stating the rule — it
|
|
283
|
+
* matches the `hint` on `parse::invalid_quill_reference`. Cache it; the
|
|
284
|
+
* value never changes.
|
|
285
|
+
* @returns {string}
|
|
286
|
+
*/
|
|
287
|
+
static quillRefHint() {
|
|
288
|
+
let deferred1_0;
|
|
289
|
+
let deferred1_1;
|
|
290
|
+
try {
|
|
291
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
292
|
+
wasm.document_quillRefHint(retptr);
|
|
293
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
294
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
295
|
+
deferred1_0 = r0;
|
|
296
|
+
deferred1_1 = r1;
|
|
297
|
+
return getStringFromWasm0(r0, r1);
|
|
298
|
+
} finally {
|
|
299
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
300
|
+
wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
279
303
|
/**
|
|
280
304
|
* @param {number} index
|
|
281
305
|
* @returns {Card | undefined}
|
package/bundler/wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -20,6 +20,7 @@ export const document_main: (a: number) => number;
|
|
|
20
20
|
export const document_moveCard: (a: number, b: number, c: number, d: number) => void;
|
|
21
21
|
export const document_pushCard: (a: number, b: number, c: number) => void;
|
|
22
22
|
export const document_quillRef: (a: number, b: number) => void;
|
|
23
|
+
export const document_quillRefHint: (a: number) => void;
|
|
23
24
|
export const document_removeCard: (a: number, b: number) => number;
|
|
24
25
|
export const document_removeCardField: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
25
26
|
export const document_removeField: (a: number, b: number, c: number, d: number) => void;
|