@malloy-publisher/app 0.10.3 → 0.10.5

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 +24 -11
  2. package/package.json +2 -2
package/dist/api-doc.yaml CHANGED
@@ -6685,8 +6685,11 @@ components:
6685
6685
  `sqlSource` answer 400 for anything else (another statement type, or
6686
6686
  more than one statement), and `sqlTemporaryTable` answers 400 always.
6687
6687
  This is a rule on statements, not on what a SELECT reads: that is
6688
- bounded by the session's storage secret and catalog role. Absent or
6689
- false is the pre-existing behavior.
6688
+ bounded by the catalog role and by the session's storage secret,
6689
+ which on a managed connection attached read-only is scoped to the
6690
+ `main` schema's recorded path, so a SELECT reads only that schema's
6691
+ files; another schema's files, and any other object in the bucket,
6692
+ are unsigned (403). Absent or false is the pre-existing behavior.
6690
6693
  fingerprint:
6691
6694
  type: string
6692
6695
  description: >
@@ -7157,7 +7160,11 @@ components:
7157
7160
  every attach uses the data path the catalog recorded at its
7158
7161
  creation, and no attach ever creates a catalog: the shape for a
7159
7162
  catalog created elsewhere, through the admin API
7160
- (admin-api-doc.yaml) or by another tool.
7163
+ (admin-api-doc.yaml) or by another tool. Either way the storage
7164
+ secret is scoped to the data path, the given one or the
7165
+ recorded one: a read of any other object through this
7166
+ connection is unsigned, and on S3 the host's AWS_* environment
7167
+ never signs it either. A catalog with neither is not attached.
7161
7168
  s3Connection:
7162
7169
  $ref: "#/components/schemas/S3Connection"
7163
7170
  description: AWS S3 connection configuration for data storage
@@ -7990,17 +7997,18 @@ components:
7990
7997
  BuildPlan:
7991
7998
  type: object
7992
7999
  description: |
7993
- The package's persist build plan. Mirrors Malloy's native build plan plus
7994
- the minimal per-source detail a caller needs to assign
7995
- identity/naming/realization. Lineage, policy, and connection capability
7996
- are intentionally omitted until they carry real data.
8000
+ The package's persist build plan, from Malloy's build targets: the order
8001
+ its persist sources build in, the tables each reads, and the minimal
8002
+ per-source detail a caller needs to assign identity/naming/realization.
8003
+ Policy and connection capability are intentionally omitted until they
8004
+ carry real data.
7997
8005
  required: [graphs, sources]
7998
8006
  properties:
7999
8007
  graphs:
8000
8008
  type: array
8001
8009
  description: >-
8002
8010
  Dependency-ordered build graphs. One per connection per model, not one
8003
- per connection: a model contributes a graph for each connection its ROOT
8011
+ per connection: a model contributes a graph for each connection its
8004
8012
  persist sources use, and a package's plan concatenates every model's, so
8005
8013
  the same source appears in the graph of every model that imports it.
8006
8014
  items:
@@ -8143,8 +8151,9 @@ components:
8143
8151
  nodes:
8144
8152
  type: array
8145
8153
  description:
8146
- Leveled build nodes; each inner array is one parallelizable level,
8147
- levels run in order.
8154
+ A single level holding every persist source of the graph, in build
8155
+ order. Each node's `dependsOn` names every source on every table it
8156
+ reads, so the edges are complete without walking anything.
8148
8157
  items:
8149
8158
  type: array
8150
8159
  items:
@@ -8159,7 +8168,11 @@ components:
8159
8168
  description: "sourceName@modelURL"
8160
8169
  dependsOn:
8161
8170
  type: array
8162
- description: Upstream sourceIDs in this graph.
8171
+ description: >-
8172
+ sourceIDs of the sources on the tables this source reads. Sources on
8173
+ one table (a source and its extensions) read none of each other. A
8174
+ source Malloy cannot plan, which is refused rather than built, lists
8175
+ none.
8163
8176
  items:
8164
8177
  type: string
8165
8178
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@malloy-publisher/app",
3
3
  "description": "Malloy Publisher Console (the built-in web UI)",
4
- "version": "0.10.3",
4
+ "version": "0.10.5",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",
@@ -42,7 +42,7 @@
42
42
  "test:playwright:headed": "bunx playwright test --config=playwright.config.ts --headed"
43
43
  },
44
44
  "dependencies": {
45
- "@malloy-publisher/sdk": "^0.10.3",
45
+ "@malloy-publisher/sdk": "^0.10.5",
46
46
  "@mui/icons-material": "^7.0.2",
47
47
  "@mui/material": "^7.0.2",
48
48
  "@tanstack/react-query": "^5.59.16",