@malloy-publisher/app 0.0.213 → 0.0.214

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.
Files changed (2) hide show
  1. package/dist/api-doc.yaml +23 -0
  2. package/package.json +2 -2
package/dist/api-doc.yaml CHANGED
@@ -2436,6 +2436,14 @@ components:
2436
2436
  URI (gs:// or s3://) of the externally-computed manifest for this package.
2437
2437
  On (re)load the publisher reads it and binds persist references
2438
2438
  (buildId -> physicalTableName). Null = serve live.
2439
+ materialization:
2440
+ oneOf:
2441
+ - $ref: "#/components/schemas/PackageMaterializationConfig"
2442
+ - type: "null"
2443
+ description: |
2444
+ Package-level Malloy Persistence policy declared in
2445
+ malloy-publisher.json. The control plane reads it to drive scheduled
2446
+ re-materialization. Null/absent = no package-level policy.
2439
2447
  manifestBindingStatus:
2440
2448
  type: string
2441
2449
  readOnly: true
@@ -2485,6 +2493,21 @@ components:
2485
2493
  package is compiled; null only when the package declares no persist
2486
2494
  source.
2487
2495
 
2496
+ PackageMaterializationConfig:
2497
+ type: object
2498
+ description: >-
2499
+ Package-level Malloy Persistence policy from malloy-publisher.json's
2500
+ `materialization` block. Surfaced verbatim so the control plane can drive
2501
+ scheduled version-level re-materialization without re-reading the package
2502
+ files.
2503
+ properties:
2504
+ schedule:
2505
+ type: ["string", "null"]
2506
+ description: >-
2507
+ 5-field UNIX cron controlling how often the control plane
2508
+ re-materializes this package's published versions. Null/absent = no
2509
+ scheduled re-materialization (publish / on-demand only).
2510
+
2488
2511
  Model:
2489
2512
  type: object
2490
2513
  description: Malloy model metadata and status information
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@malloy-publisher/app",
3
3
  "description": "Malloy Publisher App",
4
- "version": "0.0.213",
4
+ "version": "0.0.214",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",
@@ -41,7 +41,7 @@
41
41
  "test:playwright:headed": "bunx playwright test --config=playwright.config.ts --headed"
42
42
  },
43
43
  "dependencies": {
44
- "@malloy-publisher/sdk": "^0.0.213",
44
+ "@malloy-publisher/sdk": "^0.0.214",
45
45
  "@mui/icons-material": "^7.0.2",
46
46
  "@mui/material": "^7.0.2",
47
47
  "@tanstack/react-query": "^5.59.16",