@patterkit/model 0.1.1 → 0.1.2

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/dist/index.d.cts CHANGED
@@ -475,6 +475,12 @@ interface ProjectFile {
475
475
  /** Autosave: periodically persist the edited scene without an explicit Save. Default ON (omitted ===
476
476
  * enabled); set `false` to require manual saves. */
477
477
  autosave?: boolean;
478
+ /** Auto Rebuild: recompile the `.patterc` bundle automatically after edits (debounced), so the on-disk
479
+ * build stays current without a manual Publish Bundle. Editor-only; never reaches the bundle. Default OFF
480
+ * (omitted === off) - opt-in, since it writes the bundle on every real change (poor fit if you commit the
481
+ * bundle to a lock-based VCS). The rebuild is deduped (skipped when the compiled bundle is unchanged) and
482
+ * a mid-edit invalid project silently keeps the last good build. */
483
+ autoRebuild?: boolean;
478
484
  /** Closed captions (#214): the delimiter pair that wraps non-spoken caption cues inside DIALOGUE
479
485
  * lines (e.g. `(sigh)` in `Oh dear. (sigh) What now?`). A game can turn captions off at runtime
480
486
  * (`setClosedCaptions(false)`), and the runtime then strips every `open…close` span - delimiters and
package/dist/index.d.ts CHANGED
@@ -475,6 +475,12 @@ interface ProjectFile {
475
475
  /** Autosave: periodically persist the edited scene without an explicit Save. Default ON (omitted ===
476
476
  * enabled); set `false` to require manual saves. */
477
477
  autosave?: boolean;
478
+ /** Auto Rebuild: recompile the `.patterc` bundle automatically after edits (debounced), so the on-disk
479
+ * build stays current without a manual Publish Bundle. Editor-only; never reaches the bundle. Default OFF
480
+ * (omitted === off) - opt-in, since it writes the bundle on every real change (poor fit if you commit the
481
+ * bundle to a lock-based VCS). The rebuild is deduped (skipped when the compiled bundle is unchanged) and
482
+ * a mid-edit invalid project silently keeps the last good build. */
483
+ autoRebuild?: boolean;
478
484
  /** Closed captions (#214): the delimiter pair that wraps non-spoken caption cues inside DIALOGUE
479
485
  * lines (e.g. `(sigh)` in `Oh dear. (sigh) What now?`). A game can turn captions off at runtime
480
486
  * (`setClosedCaptions(false)`), and the runtime then strips every `open…close` span - delimiters and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patterkit/model",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Patter data-model types: source (scene/block/group/snippet/beat/jump), project, locale, authoring. The shape source-of-truth.",
5
5
  "type": "module",
6
6
  "license": "MIT",