@quillmark/wasm 0.60.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,21 +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` (mirrors Quill.yaml:
273
- * `schema.main` is the main entry-point card and `schema.cardTypes`
274
- * is a map of the other composable card types keyed by name — both
275
- * are shaped the same way, with `fields`, optional `title`,
276
- * `description`, and `ui`; consumers surfacing a card-type picker
277
- * iterate `Object.keys(schema.cardTypes)`), and any additional
278
- * 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:`.
279
281
  *
280
282
  * Consumers that need validation run their own validator against
281
- * this raw schema.
283
+ * `metadata.schema`.
282
284
  *
283
285
  * Equivalent by value for the lifetime of the handle; the quill is
284
286
  * immutable once constructed.
@@ -420,21 +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` (mirrors Quill.yaml:
429
- * `schema.main` is the main entry-point card and `schema.cardTypes`
430
- * is a map of the other composable card types keyed by name — both
431
- * are shaped the same way, with `fields`, optional `title`,
432
- * `description`, and `ui`; consumers surfacing a card-type picker
433
- * iterate `Object.keys(schema.cardTypes)`), and any additional
434
- * 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:`.
435
437
  *
436
438
  * Consumers that need validation run their own validator against
437
- * this raw schema.
439
+ * `metadata.schema`.
438
440
  *
439
441
  * Equivalent by value for the lifetime of the handle; the quill is
440
442
  * immutable once constructed.
Binary file
@@ -264,21 +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` (mirrors Quill.yaml:
273
- * `schema.main` is the main entry-point card and `schema.cardTypes`
274
- * is a map of the other composable card types keyed by name — both
275
- * are shaped the same way, with `fields`, optional `title`,
276
- * `description`, and `ui`; consumers surfacing a card-type picker
277
- * iterate `Object.keys(schema.cardTypes)`), and any additional
278
- * 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:`.
279
281
  *
280
282
  * Consumers that need validation run their own validator against
281
- * this raw schema.
283
+ * `metadata.schema`.
282
284
  *
283
285
  * Equivalent by value for the lifetime of the handle; the quill is
284
286
  * immutable once constructed.
package/node-esm/wasm.js CHANGED
@@ -424,21 +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` (mirrors Quill.yaml:
433
- * `schema.main` is the main entry-point card and `schema.cardTypes`
434
- * is a map of the other composable card types keyed by name — both
435
- * are shaped the same way, with `fields`, optional `title`,
436
- * `description`, and `ui`; consumers surfacing a card-type picker
437
- * iterate `Object.keys(schema.cardTypes)`), and any additional
438
- * 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:`.
439
441
  *
440
442
  * Consumers that need validation run their own validator against
441
- * this raw schema.
443
+ * `metadata.schema`.
442
444
  *
443
445
  * Equivalent by value for the lifetime of the handle; the quill is
444
446
  * immutable once constructed.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.60.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",