@malloy-publisher/sdk 0.0.213 → 0.0.215

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.
@@ -1486,6 +1486,12 @@ export interface Package {
1486
1486
  * @memberof Package
1487
1487
  */
1488
1488
  'manifestLocation'?: string | null;
1489
+ /**
1490
+ *
1491
+ * @type {PackageMaterializationConfig}
1492
+ * @memberof Package
1493
+ */
1494
+ 'materialization'?: PackageMaterializationConfig | null;
1489
1495
  /**
1490
1496
  * Server-computed, read-only: whether the configured build manifest is currently bound to this package\'s served models. `unbound` = no manifest configured, so the package serves live. `bound` = a manifest was fetched and applied, so persist sources route to their materialized physical tables. `live_fallback` = a `manifestLocation` is configured but the fetch/bind failed or timed out, so the package is serving live despite intending to be materialized-routed. Lets the caller confirm the publisher actually bound the configured manifest rather than inferring it from logs.
1491
1497
  * @type {string}
@@ -1522,6 +1528,19 @@ export declare const PackageManifestBindingStatusEnum: {
1522
1528
  readonly LiveFallback: "live_fallback";
1523
1529
  };
1524
1530
  export type PackageManifestBindingStatusEnum = typeof PackageManifestBindingStatusEnum[keyof typeof PackageManifestBindingStatusEnum];
1531
+ /**
1532
+ * Package-level Malloy Persistence policy from malloy-publisher.json\'s `materialization` block. Surfaced verbatim so the control plane can drive scheduled version-level re-materialization without re-reading the package files.
1533
+ * @export
1534
+ * @interface PackageMaterializationConfig
1535
+ */
1536
+ export interface PackageMaterializationConfig {
1537
+ /**
1538
+ * 5-field UNIX cron controlling how often the control plane re-materializes this package\'s published versions. Null/absent = no scheduled re-materialization (publish / on-demand only).
1539
+ * @type {string}
1540
+ * @memberof PackageMaterializationConfig
1541
+ */
1542
+ 'schedule'?: string | null;
1543
+ }
1525
1544
  /**
1526
1545
  * Static HTML page (in-package data app) within a Malloy package
1527
1546
  * @export
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@malloy-publisher/sdk",
3
3
  "description": "Malloy Publisher SDK",
4
- "version": "0.0.213",
4
+ "version": "0.0.215",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",