@quillmark/wasm 0.59.0 → 0.61.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
@@ -264,15 +264,23 @@ export class Quill {
264
264
  */
265
265
  readonly backendId: string;
266
266
  /**
267
- * Read-only snapshot of the loaded `Quill.yaml`.
268
- *
269
- * Returns a plain JS object with `name`, `backend`, `description`,
270
- * `version`, `author`, optional `example` (content of the example
271
- * markdown, when the quill ships one), `supportedFormats` (backend's
272
- * output formats as lowercase strings), `schema` (the raw main-card
273
- * field schema as parsed from YAML consumers that need validation
274
- * run their own validator against this), and any additional
275
- * unstructured keys declared inside the `quill:` section.
267
+ * Read-only snapshot of the loaded quill's engine info and declared schema.
268
+ *
269
+ * Returns a plain JS object with:
270
+ * - `schema` the quill's public schema contract, identical to
271
+ * `QuillConfig::public_schema()`. Top-level keys: `name`, `main`,
272
+ * optional `card_types` (map keyed by card name, omitted when empty),
273
+ * optional `example`. `main` and each card under `card_types` share
274
+ * the same shape: `fields` (map keyed by field name), optional
275
+ * `title`, `description`, `ui`.
276
+ * - `backend`, `version`, `author` — quill identity declared in
277
+ * `Quill.yaml`'s `quill:` section.
278
+ * - `supportedFormats` — output formats the backend produces, as
279
+ * lowercase strings.
280
+ * - Any additional unstructured keys declared under `quill:`.
281
+ *
282
+ * Consumers that need validation run their own validator against
283
+ * `metadata.schema`.
276
284
  *
277
285
  * Equivalent by value for the lifetime of the handle; the quill is
278
286
  * immutable once constructed.
@@ -420,15 +420,23 @@ export class Quill {
420
420
  }
421
421
  }
422
422
  /**
423
- * Read-only snapshot of the loaded `Quill.yaml`.
423
+ * Read-only snapshot of the loaded quill's engine info and declared schema.
424
424
  *
425
- * Returns a plain JS object with `name`, `backend`, `description`,
426
- * `version`, `author`, optional `example` (content of the example
427
- * markdown, when the quill ships one), `supportedFormats` (backend's
428
- * output formats as lowercase strings), `schema` (the raw main-card
429
- * field schema as parsed from YAML consumers that need validation
430
- * run their own validator against this), and any additional
431
- * unstructured keys declared inside the `quill:` section.
425
+ * Returns a plain JS object with:
426
+ * - `schema` the quill's public schema contract, identical to
427
+ * `QuillConfig::public_schema()`. Top-level keys: `name`, `main`,
428
+ * optional `card_types` (map keyed by card name, omitted when empty),
429
+ * optional `example`. `main` and each card under `card_types` share
430
+ * the same shape: `fields` (map keyed by field name), optional
431
+ * `title`, `description`, `ui`.
432
+ * - `backend`, `version`, `author` — quill identity declared in
433
+ * `Quill.yaml`'s `quill:` section.
434
+ * - `supportedFormats` — output formats the backend produces, as
435
+ * lowercase strings.
436
+ * - Any additional unstructured keys declared under `quill:`.
437
+ *
438
+ * Consumers that need validation run their own validator against
439
+ * `metadata.schema`.
432
440
  *
433
441
  * Equivalent by value for the lifetime of the handle; the quill is
434
442
  * immutable once constructed.
Binary file
@@ -264,15 +264,23 @@ export class Quill {
264
264
  */
265
265
  readonly backendId: string;
266
266
  /**
267
- * Read-only snapshot of the loaded `Quill.yaml`.
268
- *
269
- * Returns a plain JS object with `name`, `backend`, `description`,
270
- * `version`, `author`, optional `example` (content of the example
271
- * markdown, when the quill ships one), `supportedFormats` (backend's
272
- * output formats as lowercase strings), `schema` (the raw main-card
273
- * field schema as parsed from YAML consumers that need validation
274
- * run their own validator against this), and any additional
275
- * unstructured keys declared inside the `quill:` section.
267
+ * Read-only snapshot of the loaded quill's engine info and declared schema.
268
+ *
269
+ * Returns a plain JS object with:
270
+ * - `schema` the quill's public schema contract, identical to
271
+ * `QuillConfig::public_schema()`. Top-level keys: `name`, `main`,
272
+ * optional `card_types` (map keyed by card name, omitted when empty),
273
+ * optional `example`. `main` and each card under `card_types` share
274
+ * the same shape: `fields` (map keyed by field name), optional
275
+ * `title`, `description`, `ui`.
276
+ * - `backend`, `version`, `author` — quill identity declared in
277
+ * `Quill.yaml`'s `quill:` section.
278
+ * - `supportedFormats` — output formats the backend produces, as
279
+ * lowercase strings.
280
+ * - Any additional unstructured keys declared under `quill:`.
281
+ *
282
+ * Consumers that need validation run their own validator against
283
+ * `metadata.schema`.
276
284
  *
277
285
  * Equivalent by value for the lifetime of the handle; the quill is
278
286
  * immutable once constructed.
package/node-esm/wasm.js CHANGED
@@ -424,15 +424,23 @@ export class Quill {
424
424
  }
425
425
  }
426
426
  /**
427
- * Read-only snapshot of the loaded `Quill.yaml`.
427
+ * Read-only snapshot of the loaded quill's engine info and declared schema.
428
428
  *
429
- * Returns a plain JS object with `name`, `backend`, `description`,
430
- * `version`, `author`, optional `example` (content of the example
431
- * markdown, when the quill ships one), `supportedFormats` (backend's
432
- * output formats as lowercase strings), `schema` (the raw main-card
433
- * field schema as parsed from YAML consumers that need validation
434
- * run their own validator against this), and any additional
435
- * unstructured keys declared inside the `quill:` section.
429
+ * Returns a plain JS object with:
430
+ * - `schema` the quill's public schema contract, identical to
431
+ * `QuillConfig::public_schema()`. Top-level keys: `name`, `main`,
432
+ * optional `card_types` (map keyed by card name, omitted when empty),
433
+ * optional `example`. `main` and each card under `card_types` share
434
+ * the same shape: `fields` (map keyed by field name), optional
435
+ * `title`, `description`, `ui`.
436
+ * - `backend`, `version`, `author` — quill identity declared in
437
+ * `Quill.yaml`'s `quill:` section.
438
+ * - `supportedFormats` — output formats the backend produces, as
439
+ * lowercase strings.
440
+ * - Any additional unstructured keys declared under `quill:`.
441
+ *
442
+ * Consumers that need validation run their own validator against
443
+ * `metadata.schema`.
436
444
  *
437
445
  * Equivalent by value for the lifetime of the handle; the quill is
438
446
  * immutable once constructed.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.59.0",
3
+ "version": "0.61.0",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",