@malloy-publisher/app 0.0.224 → 0.0.225
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/api-doc.yaml +58 -0
- package/package.json +2 -2
package/dist/api-doc.yaml
CHANGED
|
@@ -4124,6 +4124,25 @@ components:
|
|
|
4124
4124
|
The source's declared `#@ persist ... refresh=...` value
|
|
4125
4125
|
("full" | "incremental"), reported verbatim; null = unset.
|
|
4126
4126
|
Metadata pass-through — inert to the publisher today.
|
|
4127
|
+
freshness:
|
|
4128
|
+
oneOf:
|
|
4129
|
+
- $ref: "#/components/schemas/Freshness"
|
|
4130
|
+
- type: "null"
|
|
4131
|
+
description: >-
|
|
4132
|
+
The source's EFFECTIVE freshness objective after most-specific-wins
|
|
4133
|
+
resolution (source > model-file > package). Null = unset at every
|
|
4134
|
+
level; the control plane applies the platform default. Reported
|
|
4135
|
+
verbatim (invalid fields dropped, never defaulted).
|
|
4136
|
+
schedule:
|
|
4137
|
+
type: ["string", "null"]
|
|
4138
|
+
description: >-
|
|
4139
|
+
The source's EFFECTIVE power-tier cron after most-specific-wins
|
|
4140
|
+
resolution of the source's OWN declaration (source > model-file).
|
|
4141
|
+
The package-level cron (PackageMaterializationConfig.schedule) is a
|
|
4142
|
+
distinct package-grain concept and is NOT folded in here. Null =
|
|
4143
|
+
unset. Valid only when the source resolves to sharing="private" (a
|
|
4144
|
+
cron on a shared or unset source is rejected at publish; declare
|
|
4145
|
+
freshness.window instead).
|
|
4127
4146
|
columns:
|
|
4128
4147
|
type: array
|
|
4129
4148
|
description: Output schema of the source.
|
|
@@ -4162,6 +4181,45 @@ components:
|
|
|
4162
4181
|
type: array
|
|
4163
4182
|
items:
|
|
4164
4183
|
$ref: "#/components/schemas/BuildInstruction"
|
|
4184
|
+
referenceManifest:
|
|
4185
|
+
type: array
|
|
4186
|
+
description: >-
|
|
4187
|
+
Already-materialized persist upstreams the built sources may
|
|
4188
|
+
reference but which are NOT rebuilt in this run. The publisher seeds
|
|
4189
|
+
the build Manifest with these so a downstream source's upstream
|
|
4190
|
+
persist reference resolves to the existing physical table instead of
|
|
4191
|
+
recomputing it live. Only consumed on the orchestrated
|
|
4192
|
+
(buildInstructions) path; auto-run seeds its own reference set from
|
|
4193
|
+
the most-recent manifest.
|
|
4194
|
+
items:
|
|
4195
|
+
$ref: "#/components/schemas/ManifestReference"
|
|
4196
|
+
strictUpstreams:
|
|
4197
|
+
type: boolean
|
|
4198
|
+
default: false
|
|
4199
|
+
description: >-
|
|
4200
|
+
When true, a persist upstream that is neither built here nor present
|
|
4201
|
+
in referenceManifest fails the build (compiler strict mode) instead
|
|
4202
|
+
of silently recomputing it live. Per-unit dispatch should set this
|
|
4203
|
+
true.
|
|
4204
|
+
|
|
4205
|
+
ManifestReference:
|
|
4206
|
+
type: object
|
|
4207
|
+
description: >-
|
|
4208
|
+
A reference to an already-materialized persist upstream that the built
|
|
4209
|
+
sources may read but which is not rebuilt in this run.
|
|
4210
|
+
required: [sourceEntityId, physicalTableName]
|
|
4211
|
+
properties:
|
|
4212
|
+
sourceEntityId:
|
|
4213
|
+
type: string
|
|
4214
|
+
description: >-
|
|
4215
|
+
The upstream's content id AS REPORTED BY THE PUBLISHER in
|
|
4216
|
+
PersistSourcePlan.sourceEntityId. It MUST equal what the compiler
|
|
4217
|
+
recomputes for the manifest lookup (mkBuildID over the upstream's
|
|
4218
|
+
manifest-ignorant SQL); do not substitute any other identity here.
|
|
4219
|
+
physicalTableName:
|
|
4220
|
+
type: string
|
|
4221
|
+
description: >-
|
|
4222
|
+
Fully-qualified physical table the upstream currently serves.
|
|
4165
4223
|
|
|
4166
4224
|
BuildInstruction:
|
|
4167
4225
|
type: object
|
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.
|
|
4
|
+
"version": "0.0.225",
|
|
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.
|
|
44
|
+
"@malloy-publisher/sdk": "^0.0.225",
|
|
45
45
|
"@mui/icons-material": "^7.0.2",
|
|
46
46
|
"@mui/material": "^7.0.2",
|
|
47
47
|
"@tanstack/react-query": "^5.59.16",
|