@malloy-publisher/sdk 0.17.0 → 0.17.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/README.md +32 -50
- package/dist/{RenderedResult-BcEDcw0V.es.js → RenderedResult-CYJ2Y9Fm.es.js} +24 -24
- package/dist/{RenderedResult-uT2oc6ke.cjs.js → RenderedResult-hRvgFMAF.cjs.js} +1 -1
- package/dist/ServerProvider-DeVejmVr.cjs.js +1 -0
- package/dist/{ServerProvider-vmEUjlEu.es.js → ServerProvider-DzzfVDg_.es.js} +1314 -1712
- package/dist/builder/index.cjs.js +12 -12
- package/dist/builder/index.es.js +4 -9
- package/dist/client/api.d.ts +63 -506
- package/dist/client/configuration.d.ts +1 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.es.js +132 -144
- package/dist/components/Dashboard/DashboardGrid.d.ts +1 -1
- package/dist/components/Model/ExplorerPage.d.ts +1 -3
- package/dist/components/Model/Model.d.ts +1 -4
- package/dist/components/Model/ModelExplorer.d.ts +1 -2
- package/dist/components/Package/reportQueries.d.ts +2 -4
- package/dist/components/Report/Report.d.ts +20 -9
- package/dist/components/{legacy → Report}/malloynb/CellRunnerView.d.ts +13 -16
- package/dist/components/Report/malloynb/MalloynbReport.d.ts +11 -0
- package/dist/components/{legacy → Report}/malloynb/cellKind.d.ts +1 -1
- package/dist/components/ServerProvider.d.ts +1 -3
- package/dist/components/drill/drillClauses.d.ts +8 -9
- package/dist/components/drill/rowsTarget.d.ts +7 -9
- package/dist/components/legacy/index.d.ts +3 -7
- package/dist/components/modelPage.d.ts +2 -5
- package/dist/hooks/useModelGivens.d.ts +2 -2
- package/dist/hooks/useQueryResult.d.ts +7 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.es.js +8799 -8903
- package/dist/{useCompiledDocument-h5-Kc1Zh.cjs.js → useCompiledDocument-BCr-xB_i.cjs.js} +4 -4
- package/dist/{useCompiledDocument-rOwDSK_s.es.js → useCompiledDocument-E0tU5KzP.es.js} +266 -277
- package/package.json +1 -1
- package/src/components/Dashboard/DashboardGrid.tsx +1 -1
- package/src/components/Dashboard/DashboardTile.spec.tsx +1 -1
- package/src/components/Model/ExplorerPage.tsx +1 -3
- package/src/components/Model/Model.tsx +1 -4
- package/src/components/Model/ModelExplorer.tsx +1 -2
- package/src/components/Package/Package.tsx +1 -5
- package/src/components/Package/reportQueries.ts +3 -15
- package/src/components/Report/Report.malloynb.spec.tsx +230 -0
- package/src/components/Report/Report.spec.tsx +429 -38
- package/src/components/Report/Report.telemetry.spec.tsx +51 -10
- package/src/components/Report/Report.tsx +63 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.spec.tsx +11 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.tsx +63 -107
- package/src/components/Report/malloynb/MalloynbReport.tsx +110 -0
- package/src/components/{legacy → Report}/malloynb/cellKind.ts +5 -4
- package/src/components/ReportBuilder/EditorSurface.tsx +3 -3
- package/src/components/ReportBuilder/ReportBuilder.spec.tsx +2 -2
- package/src/components/ReportBuilder/ReportEditor.notebook.spec.tsx +0 -4
- package/src/components/ReportBuilder/ReportEditor.queryVersion.spec.tsx +0 -1
- package/src/components/ReportBuilder/ReportEditor.resourceUri.spec.tsx +3 -3
- package/src/components/ReportBuilder/ReportEditor.tsx +1 -1
- package/src/components/ReportBuilder/loadMalloy.ts +1 -4
- package/src/components/ReportBuilder/useSaveChannel.ts +1 -6
- package/src/components/ServerProvider.tsx +0 -4
- package/src/components/drill/drillClauses.ts +8 -9
- package/src/components/drill/rowsTarget.ts +7 -9
- package/src/components/index.ts +2 -3
- package/src/components/legacy/index.ts +3 -7
- package/src/components/modelPage.ts +2 -5
- package/src/hooks/useGivensState.ts +8 -8
- package/src/hooks/useModelGivens.ts +2 -2
- package/src/hooks/useQueryResult.ts +30 -18
- package/test/README.md +4 -4
- package/dist/ServerProvider-DDRwHiPz.cjs.js +0 -1
- package/dist/components/legacy/Dashboard.d.ts +0 -68
- package/dist/components/legacy/malloynb/MalloynbCells.d.ts +0 -13
- package/dist/components/legacy/malloynb/Notebook.d.ts +0 -15
- package/dist/components/legacy/queryKeys.d.ts +0 -8
- package/src/components/legacy/Dashboard.spec.tsx +0 -242
- package/src/components/legacy/Dashboard.tsx +0 -181
- package/src/components/legacy/malloynb/MalloynbCells.tsx +0 -88
- package/src/components/legacy/malloynb/Notebook.layout.spec.tsx +0 -103
- package/src/components/legacy/malloynb/Notebook.served.spec.tsx +0 -84
- package/src/components/legacy/malloynb/Notebook.spec.tsx +0 -223
- package/src/components/legacy/malloynb/Notebook.tsx +0 -46
- package/src/components/legacy/queryKeys.ts +0 -26
- /package/dist/components/{legacy → Report}/malloynb/NotebookCell.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/runPlan.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/types.d.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/NotebookCell.tsx +0 -0
- /package/src/components/{legacy → Report}/malloynb/cellKind.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/types.ts +0 -0
package/dist/client/api.d.ts
CHANGED
|
@@ -470,7 +470,7 @@ export interface CompileRequest {
|
|
|
470
470
|
*/
|
|
471
471
|
'source'?: string;
|
|
472
472
|
/**
|
|
473
|
-
* What the source means, and how far the check reaches. \"append\" (default) appends the source to the model in the URL and compiles it in that namespace — right for NEW definitions; an edit to an existing definition collides (\"Cannot redefine\"), and diagnostic positions land in the concatenated virtual file. \"file\" compiles the source AS that model, replacing its on-disk content for the check — validates an edit before saving, at true file coordinates. \"package\" runs the same worker compiler and file selection as reload over every .malloy and .malloynb file, without swapping the result into the served package; with a source, importers compile against the replacement. It also reports the render-tag findings (code \"render-tag\")
|
|
473
|
+
* What the source means, and how far the check reaches. \"append\" (default) appends the source to the model in the URL and compiles it in that namespace — right for NEW definitions; an edit to an existing definition collides (\"Cannot redefine\"), and diagnostic positions land in the concatenated virtual file. \"file\" compiles the source AS that model, replacing its on-disk content for the check — validates an edit before saving, at true file coordinates. \"package\" runs the same worker compiler and file selection as reload over every .malloy and .malloynb file, without swapping the result into the served package; with a source, importers compile against the replacement. It also reports the render-tag findings (code \"render-tag\"), the dashboard, given and drill findings (code \"dashboard-lint\") and each .malloynb code cell the query route would refuse (code \"malloynb-cell-refused\", at most 10 per notebook and 50 per package, with the rest named in \"malloynb-cells-unlisted\" summaries, one per notebook that lists some and one for the notebooks past the package limit, and \"malloynb-cell-check-failed\" for a notebook that could not be checked) a reload would put on the package\'s warnings, at their own severity and with no position, and the load\'s verdict on the materialization annotations: each line a load fails with as an error with its code, each annotation the load leaves unbuilt as a warning (\"file\" reports the same verdict when the file names a materialization route or the package plans a table). The package\'s other warnings (storage, bound tables, explores, surface and discovery warnings, among others) are not reported. Package diagnostics can name files hidden from discovery. No rows or SQL are returned, and caller-provided source remains subject to authorize gates. includeSql is not available at \"package\". \"append\" text is checked against the model\'s PUBLISHED surface, so it may not declare its own data roots: import, connection.table(…), connection.sql(…), given:, ##! compiler flags and the raw-SQL function forms (name!type(…), sql_number, sql_string and the rest of that family) are refused with a 400. Those belong in a model file, so validate text declaring them at \"file\" or \"package\", which are not restricted. \"append\" text must also stand alone as top-level Malloy: a bare view:, dimension: or measure:, and anything that only parses as a continuation of the model\'s last statement, is refused with a 400, because the check reads the submitted text by itself. Wrap a view body in a top-level query:, or a field in a throwaway source: check is <source> extend { … }. Compiling at \"append\" also requires the model named in the URL to load: a model that does not compile is a 400 carrying that model\'s own problems, and a model that does not exist is a 400 that deliberately says only that it could not be loaded. An invalid scope value is rejected with a 400 naming the valid set. \"append\" text that carries a model-level `## artifact` tag is a document, which other viewers run, and is also refused with a 400 for `# image`, `# link`, markup in a `# label`, `@env.` in an annotation, an annotation the tag parser rejects or that exceeds 8,192 characters, `except:` or `rename:` followed by a declaration of the same name in the same extend chain, and more than 1,000 annotations or 64 KB of them. Plain \"append\" text without that tag keeps those tags; a model file defines them itself, and its edit is checked at \"file\".
|
|
474
474
|
*/
|
|
475
475
|
'scope'?: CompileRequestScopeEnum;
|
|
476
476
|
/**
|
|
@@ -755,39 +755,6 @@ export interface CreateMaterializationRequest {
|
|
|
755
755
|
*/
|
|
756
756
|
'runContext'?: RunContext | null;
|
|
757
757
|
}
|
|
758
|
-
/**
|
|
759
|
-
* DEPRECATED: use `Report`. A grid report (see list-reports), as the deprecated list-dashboards route lists it. The list entry; see DashboardManifest for the detail a viewer needs to render one.
|
|
760
|
-
*/
|
|
761
|
-
export interface Dashboard {
|
|
762
|
-
/**
|
|
763
|
-
* Resource path to the dashboard
|
|
764
|
-
*/
|
|
765
|
-
'resource'?: string;
|
|
766
|
-
/**
|
|
767
|
-
* Name of the package containing this dashboard
|
|
768
|
-
*/
|
|
769
|
-
'packageName'?: string;
|
|
770
|
-
/**
|
|
771
|
-
* The report\'s filename basename: a display label, and the segment of the deprecated get-dashboard URL. Not an identity: two reports may share it. A change since reports: it used to be unique within the package (every dashboard was directly under `dashboards/`), and a client that keyed a map on it must key on `path` instead.
|
|
772
|
-
*/
|
|
773
|
-
'name'?: string;
|
|
774
|
-
/**
|
|
775
|
-
* Relative path to the report file within its package directory, which is its identity
|
|
776
|
-
*/
|
|
777
|
-
'path'?: string;
|
|
778
|
-
/**
|
|
779
|
-
* Human title from the artifact tag, falling back to the file\'s `#\"` doc comment and then to the slug
|
|
780
|
-
*/
|
|
781
|
-
'title'?: string;
|
|
782
|
-
/**
|
|
783
|
-
* The file\'s unnamed `\"` notes above the `## artifact` tag; when it has none there, the ones below it (a legacy spot the lint flags). For a dashboard whose tag sits on one query, that query\'s `#\"` notes.
|
|
784
|
-
*/
|
|
785
|
-
'description'?: string;
|
|
786
|
-
/**
|
|
787
|
-
* Error message if the dashboard file failed to compile
|
|
788
|
-
*/
|
|
789
|
-
'error'?: string;
|
|
790
|
-
}
|
|
791
758
|
/**
|
|
792
759
|
* DEPRECATED: use `ReportManifest`. Everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running needs no dashboard-specific endpoint — the query, each tile, and each control\'s suggest query all run through the ordinary model query endpoint with `givens`.
|
|
793
760
|
*/
|
|
@@ -801,7 +768,7 @@ export interface DashboardManifest {
|
|
|
801
768
|
*/
|
|
802
769
|
'packageName'?: string;
|
|
803
770
|
/**
|
|
804
|
-
* The report\'s filename basename: a display label
|
|
771
|
+
* The report\'s filename basename: a display label. Not an identity: two reports may share it. A change since reports: it used to be unique within the package (every dashboard was directly under `dashboards/`), and a client that keyed a map on it must key on `path` instead.
|
|
805
772
|
*/
|
|
806
773
|
'name'?: string;
|
|
807
774
|
/**
|
|
@@ -825,7 +792,7 @@ export interface DashboardManifest {
|
|
|
825
792
|
*/
|
|
826
793
|
'layout'?: DashboardManifestLayoutEnum;
|
|
827
794
|
/**
|
|
828
|
-
* DEPRECATED: read `layout`. The same thing in the old vocabulary: `dashboard` for a grid report, `notebook` for a linear one.
|
|
795
|
+
* DEPRECATED: read `layout`. The same thing in the old vocabulary: `dashboard` for a grid report, `notebook` for a linear one.
|
|
829
796
|
* @deprecated
|
|
830
797
|
*/
|
|
831
798
|
'kind'?: DashboardManifestKindEnum;
|
|
@@ -863,7 +830,7 @@ export declare const DashboardManifestKindEnum: {
|
|
|
863
830
|
};
|
|
864
831
|
export type DashboardManifestKindEnum = typeof DashboardManifestKindEnum[keyof typeof DashboardManifestKindEnum];
|
|
865
832
|
/**
|
|
866
|
-
* DEPRECATED: `ReportTile`, under the name the
|
|
833
|
+
* DEPRECATED: `ReportTile`, under the name the removed dashboard routes gave it.
|
|
867
834
|
*/
|
|
868
835
|
export interface DashboardTile {
|
|
869
836
|
/**
|
|
@@ -1517,7 +1484,7 @@ export interface ManifestEntry {
|
|
|
1517
1484
|
*/
|
|
1518
1485
|
'queryCostBytes'?: number | null;
|
|
1519
1486
|
/**
|
|
1520
|
-
* For a source that reads another persisted source, how this table\'s rows were computed from it. `reused`: every persisted upstream was read from its already-materialized table, so the rows are a function of those snapshots and consistent with them. `recomputed`: at least one persisted upstream was recomputed from its definition and inlined into this build, because its table could not be read -- on either tier, an upstream this build neither materialized nor was handed by reference; for a database build, an upstream that landed in a `storage=` destination; for a `storage=` build, a source that reaches the warehouse through a non-persisted source, or whose shape does not compile in the destination. `upstreamRecomputeReason` says which. Such a table reflects the warehouse at THIS build\'s time rather than the upstream\'s snapshot, so the two can disagree when their refresh cadences differ. Not a location: it does not name the table the rows came from. Absent for a source that reads no persisted upstream, which has one way to build and no choice to report. A database rollup reports what its build actually read: `reused` only when it built from its base\'s materialized table, and absent when it built from the warehouse
|
|
1487
|
+
* For a source that reads another persisted source, how this table\'s rows were computed from it. `reused`: every persisted upstream was read from its already-materialized table, so the rows are a function of those snapshots and consistent with them. `recomputed`: at least one persisted upstream was recomputed from its definition and inlined into this build, because its table could not be read -- on either tier, an upstream this build neither materialized nor was handed by reference; for a database build, an upstream that landed in a `storage=` destination; for a `storage=` build, a source that reaches the warehouse through a non-persisted source, or whose shape does not compile in the destination; on the database tier, an upstream whose table holds other columns than its build recorded (retyped or dropped since), could not be read, or whose build recorded no column types; and always, for a persisted view or named query, which builds from its source\'s definition. `upstreamRecomputeReason` says which. Such a table reflects the warehouse at THIS build\'s time rather than the upstream\'s snapshot, so the two can disagree when their refresh cadences differ. Not a location: it does not name the table the rows came from. Absent for a source that reads no persisted upstream, which has one way to build and no choice to report. A database rollup reports what its build actually read: `reused` only when it built from its base\'s materialized table, `recomputed` when it could not because that table holds other columns than its build recorded, could not be read, or recorded no column types, and absent when it built from the warehouse for any other reason. Before 0.15.0 every rollup over a persisted base reported `reused`. A `storage=` rollup reports `reused` only when it stacked on a stored table.
|
|
1521
1488
|
*/
|
|
1522
1489
|
'upstreamReuse'?: ManifestEntryUpstreamReuseEnum;
|
|
1523
1490
|
/**
|
|
@@ -1609,6 +1576,10 @@ export interface ManifestReference {
|
|
|
1609
1576
|
* The storage destination the upstream table lives in, for a table a `storage=` build wrote; omit it for a table in the source\'s own warehouse. A stored table\'s `connectionName` is the source\'s warehouse connection, so without this field a reference to a stored table reads as a warehouse table. The publisher uses a reference as an upstream only where this agrees with where the upstream source is declared now (a source that moved to or from `storage=` keeps its content address): a stored upstream is stacked on in its destination, and never rendered into warehouse SQL. Optional and additive: a reference without it still serves a database upstream.
|
|
1610
1577
|
*/
|
|
1611
1578
|
'storageDestinationName'?: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* For a database upstream (no `storageDestinationName`): the `nativeSchema` the upstream\'s build reported on its manifest entry, sent back as it came. Before a build reads the referenced table in place of its source, it reads the table\'s columns from the warehouse and compares each with this type (case and spacing aside). If a column was retyped or dropped since, or cannot be read, a strict build is refused and any other build recomputes the upstream from its definition. Without it nothing can be checked: a strict build reads the table unchecked, with a warning and a count (`publisher_materialization_upstream_recompute_total`, `reason=\"reference_types_unrecorded\"`), and any other build recomputes the upstream. Ignored for a `storage=` upstream: omit it there. Optional and additive.
|
|
1581
|
+
*/
|
|
1582
|
+
'nativeSchema'?: Array<Column>;
|
|
1612
1583
|
}
|
|
1613
1584
|
/**
|
|
1614
1585
|
* A record of one materialization run for a package.
|
|
@@ -1850,33 +1821,17 @@ export interface MysqlConnection {
|
|
|
1850
1821
|
'password'?: string;
|
|
1851
1822
|
}
|
|
1852
1823
|
/**
|
|
1853
|
-
*
|
|
1824
|
+
* One model whose served copy holds a materialized source but does not read its table, and why.
|
|
1854
1825
|
*/
|
|
1855
|
-
export interface
|
|
1826
|
+
export interface NotServedIn {
|
|
1856
1827
|
/**
|
|
1857
|
-
*
|
|
1828
|
+
* The model file.
|
|
1858
1829
|
*/
|
|
1859
|
-
'
|
|
1830
|
+
'model': string;
|
|
1860
1831
|
/**
|
|
1861
|
-
*
|
|
1862
|
-
*/
|
|
1863
|
-
'packageName'?: string;
|
|
1864
|
-
/**
|
|
1865
|
-
* Relative path to the notebook file within its package directory
|
|
1832
|
+
* Every reason the served copy gives for not reading the source\'s table in this model: the `reason` of each `served-copy-not-served` package warning on that model that names the source or the model\'s whole copy, the codes `publisher_served_copy_bind_total` counts, most actionable first (for example `cross_connection_join` before `fields_not_carried`): `cross_connection_join`, `cross_connection_unbuilt`, `inline_join_kept`, `read_terms_not_kept`, `fields_not_carried`, `column_types`, `classification_not_kept`, `pair_join_not_found`, `pair_not_compiled`, `definition_not_parsed`, `compile_failed`, `no_declaration`, `reroot_not_compiled`. `not_rerooted` alone when no warning names one (also `servePathReason`\'s value for that case). Never empty. An open set: treat an unknown value as `not_rerooted`.
|
|
1866
1833
|
*/
|
|
1867
|
-
'
|
|
1868
|
-
/**
|
|
1869
|
-
* Human title. For a `.malloynb`, resolved from its own `## title=\"…\"`, then its `#\"` doc comment, then its first markdown heading. For a `.malloy` notebook, from the `title` in its `## artifact` tag, then the first line of the `\"` notes above that tag, then its first markdown heading when no prose precedes it. Absent when none of those resolve, leaving the caller to show the path.
|
|
1870
|
-
*/
|
|
1871
|
-
'title'?: string;
|
|
1872
|
-
/**
|
|
1873
|
-
* The notebook\'s doc comment, when it has one. For a `.malloy` notebook that is the `\"` notes above the `## artifact` line; prose below it is a `##(markdown)` or `##|(markdown)` cell.
|
|
1874
|
-
*/
|
|
1875
|
-
'description'?: string;
|
|
1876
|
-
/**
|
|
1877
|
-
* Error message if the notebook failed to compile or load
|
|
1878
|
-
*/
|
|
1879
|
-
'error'?: string;
|
|
1834
|
+
'reasons': Array<string>;
|
|
1880
1835
|
}
|
|
1881
1836
|
/**
|
|
1882
1837
|
* Individual cell within a Malloy notebook
|
|
@@ -1887,7 +1842,7 @@ export interface NotebookCell {
|
|
|
1887
1842
|
*/
|
|
1888
1843
|
'type'?: NotebookCellTypeEnum;
|
|
1889
1844
|
/**
|
|
1890
|
-
* What a cell is, on a
|
|
1845
|
+
* What a cell is, on a cell of a compiled document (`CompileResult.document.cells`), where every cell is a definition: a `source:`, `import`, `query:`, `given:`, `type:` or `export` statement, with type `code`, that produces no result. Absent on a `.malloynb`\'s cells. `markdown` and `query` are no longer returned: they marked a linear `.malloy` report\'s prose and query cells, which no route serves as cells now.
|
|
1891
1846
|
*/
|
|
1892
1847
|
'kind'?: NotebookCellKindEnum;
|
|
1893
1848
|
/**
|
|
@@ -1895,11 +1850,11 @@ export interface NotebookCell {
|
|
|
1895
1850
|
*/
|
|
1896
1851
|
'text'?: string;
|
|
1897
1852
|
/**
|
|
1898
|
-
* On a
|
|
1853
|
+
* On a compiled document\'s code cell, the prose written on the `(markdown)` route in its own tag lines (`#(markdown) text` lines, `#|(markdown)` … `|#` blocks), which `text` still contains. Blocks join with a blank line, adjacent lines with a newline. Author prose, so it is served even when `queryInfo` is withheld. Absent when the cell has none.
|
|
1899
1854
|
*/
|
|
1900
1855
|
'markdown'?: string;
|
|
1901
1856
|
/**
|
|
1902
|
-
* Present on every code cell of a
|
|
1857
|
+
* Present on every code cell of a compiled document, and absent on a `.malloynb`\'s cells or from a server that predates it. The lines of `text` that hold `markdown`, as `[start, end]` pairs in file order; `[]` when the cell has none. Lines are 0-based and inclusive, counted on `text` split at `\\n`. Strip exactly these lines to get the cell\'s code without its prose; do not re-derive them from `text`, whose first line has lost its indentation.
|
|
1903
1858
|
*/
|
|
1904
1859
|
'proseLines'?: Array<Array<number>>;
|
|
1905
1860
|
/**
|
|
@@ -1907,11 +1862,11 @@ export interface NotebookCell {
|
|
|
1907
1862
|
*/
|
|
1908
1863
|
'restricted'?: boolean;
|
|
1909
1864
|
/**
|
|
1910
|
-
* Present on every code cell of a
|
|
1865
|
+
* Present on every code cell of a compiled document, as `proseLines` is. The 0-based line of `text` (split at `\\n`) where the statement\'s code starts, its first token that is neither a note nor a comment, so the `source`, `run`, `given` or `import` keyword sits on it.
|
|
1911
1866
|
*/
|
|
1912
1867
|
'codeLine'?: number;
|
|
1913
1868
|
/**
|
|
1914
|
-
* On a
|
|
1869
|
+
* On a compiled document\'s code cell, the joined text of its leading `#\"` lines (space-joined, trimmed). Author prose, so it is served even when `queryInfo` is withheld. Absent when the cell has none, which is authoritative wherever `proseLines` is present.
|
|
1915
1870
|
*/
|
|
1916
1871
|
'caption'?: string;
|
|
1917
1872
|
/**
|
|
@@ -1922,6 +1877,10 @@ export interface NotebookCell {
|
|
|
1922
1877
|
* JSON string containing QueryInfo object for the query in this cell (if the cell contains a query). On a package with a surface, left out for a cell whose query reads a source the notebook may not read.
|
|
1923
1878
|
*/
|
|
1924
1879
|
'queryInfo'?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* On a `.malloynb` code cell, the text to send as `query` to `POST …/models/{path}/query`, with the notebook\'s own path as the model, to run the cell. It is the cell\'s last top-level `run:` statement, up to the next top-level statement or `;`, with the render tags written above it: the `#` lines and `#|` … `|#` blocks between the statement before it and the `run:`, and any comment among them. A `##` line or `##|` block, the notebook\'s own, ends them. The cell\'s imports and declarations are left out, since the notebook\'s path compiles every cell. Read by Publisher\'s own lexer, so a `run:` in a comment, a string or a block annotation does not count. Absent on a markdown cell, on a code cell with no `run:`, on a compiled document\'s cells, and from a server that predates it.
|
|
1882
|
+
*/
|
|
1883
|
+
'runQuery'?: string;
|
|
1925
1884
|
}
|
|
1926
1885
|
export declare const NotebookCellTypeEnum: {
|
|
1927
1886
|
readonly Markdown: "markdown";
|
|
@@ -1934,58 +1893,6 @@ export declare const NotebookCellKindEnum: {
|
|
|
1934
1893
|
readonly Definition: "definition";
|
|
1935
1894
|
};
|
|
1936
1895
|
export type NotebookCellKindEnum = typeof NotebookCellKindEnum[keyof typeof NotebookCellKindEnum];
|
|
1937
|
-
/**
|
|
1938
|
-
* Result of executing a notebook cell
|
|
1939
|
-
*/
|
|
1940
|
-
export interface NotebookCellResult {
|
|
1941
|
-
/**
|
|
1942
|
-
* Type of notebook cell
|
|
1943
|
-
*/
|
|
1944
|
-
'type'?: NotebookCellResultTypeEnum;
|
|
1945
|
-
/**
|
|
1946
|
-
* The cell\'s kind, on a `.malloy` notebook. Absent on a `.malloynb`.
|
|
1947
|
-
*/
|
|
1948
|
-
'kind'?: NotebookCellResultKindEnum;
|
|
1949
|
-
/**
|
|
1950
|
-
* Text contents of the notebook cell
|
|
1951
|
-
*/
|
|
1952
|
-
'text'?: string;
|
|
1953
|
-
/**
|
|
1954
|
-
* A `.malloy` notebook code cell\'s own `(markdown)` prose, as on `NotebookCell`. Absent when the cell has none.
|
|
1955
|
-
*/
|
|
1956
|
-
'markdown'?: string;
|
|
1957
|
-
/**
|
|
1958
|
-
* The lines of `text` that hold `markdown`, as on `NotebookCell`; `[]` when none.
|
|
1959
|
-
*/
|
|
1960
|
-
'proseLines'?: Array<Array<number>>;
|
|
1961
|
-
/**
|
|
1962
|
-
* The line of `text` where the statement\'s code starts, as on `NotebookCell`.
|
|
1963
|
-
*/
|
|
1964
|
-
'codeLine'?: number;
|
|
1965
|
-
/**
|
|
1966
|
-
* The cell\'s leading `#\"` caption, as on `NotebookCell`. Absent when the cell has none.
|
|
1967
|
-
*/
|
|
1968
|
-
'caption'?: string;
|
|
1969
|
-
/**
|
|
1970
|
-
* JSON string containing the execution result for this cell
|
|
1971
|
-
*/
|
|
1972
|
-
'result'?: string;
|
|
1973
|
-
/**
|
|
1974
|
-
* Array of JSON strings containing SourceInfo objects made available in this cell
|
|
1975
|
-
*/
|
|
1976
|
-
'newSources'?: Array<string>;
|
|
1977
|
-
}
|
|
1978
|
-
export declare const NotebookCellResultTypeEnum: {
|
|
1979
|
-
readonly Markdown: "markdown";
|
|
1980
|
-
readonly Code: "code";
|
|
1981
|
-
};
|
|
1982
|
-
export type NotebookCellResultTypeEnum = typeof NotebookCellResultTypeEnum[keyof typeof NotebookCellResultTypeEnum];
|
|
1983
|
-
export declare const NotebookCellResultKindEnum: {
|
|
1984
|
-
readonly Markdown: "markdown";
|
|
1985
|
-
readonly Query: "query";
|
|
1986
|
-
readonly Definition: "definition";
|
|
1987
|
-
};
|
|
1988
|
-
export type NotebookCellResultKindEnum = typeof NotebookCellResultKindEnum[keyof typeof NotebookCellResultKindEnum];
|
|
1989
1896
|
/**
|
|
1990
1897
|
* A file whose sources a build plan could not name, because the planner that would have named them failed first, and a code for the failure. Carries the file and a code only, never the failure\'s message.
|
|
1991
1898
|
*/
|
|
@@ -2717,15 +2624,15 @@ export interface PackageWarningsInner {
|
|
|
2717
2624
|
*/
|
|
2718
2625
|
'message'?: string;
|
|
2719
2626
|
/**
|
|
2720
|
-
* A stable identifier for the finding\'s family, for a client that acts on it rather than only showing it; absent for a family that has none yet. `deprecated-malloynb-notebook`: a `.malloynb` notebook, the deprecated cell format (one per file, `model` naming it). `deprecated-filter-annotation`: a source declaring deprecated `#(filter)` annotations (one per declaring source, `model` naming its file and `subject` the source). `deprecated-preaggregate-annotation`: a measure declaring `#@ preaggregate` or the deprecated alias `#(preaggregate)`, whose v2 spelling is `#(rollup)`; the message names the spelling it found (one per measure, `model` its file, `subject` the source and the message the measure; `warn`; only while `PUBLISHER_MATERIALIZE` is on). `deprecated-rollup-namespace`: a rollup line placed with `namespace=`, the deprecated spelling of its `name=` container; still read, in that container under the readable name (one per measure and container, `subject` `<base>.<measure>`; `warn`). `report-name-ambiguous`: two or more grid reports share a basename, so the deprecated `GET …/dashboards/{name}` route answers 409 for it (one per name, `subject` naming it and the message every path; `warn`). `classification-coverage`: a published source with a dimension or measure that carries no `#(classification)` while some field in the package does (one per source, `model` naming its file and `subject` the source; `warn`; see docs/classification.md). `classification-malformed`: a `#(classification)` annotation that names no single class (one per field, `subject` the source; `warn`). `classification-downgrade`: a field that declares a lower class than the fields its expression reads, which Publisher cannot tell from a real de-identification, so a review has to (one per field, `subject` the source; `warn`; a plain copy under `#(carries)` refuses the load instead). Materialization codes follow one rule: the suffix tells the outcome. An INVALID annotation (or invalid code it covers) fails the publish and the load, on every path, so its code appears only in the load failure\'s message (the publish 4xx and `loadErrors`), never as a warning here: `persist-invalid`, `materialize-invalid`, `rollup-invalid`, `persist-view-invalid` and `persist-query-invalid` (a bad value or contradictory combination: a `storage=` that names nothing, an `@env.` reference, an unusable, unsafe, unquoted or reserved `name=`, an `inline=` that names no join, an incremental key or `refresh=\"incremental\"` on a view or query); `persist-unknown-key`, `materialize-unknown-key` and `rollup-unknown-key` (every route\'s key set is closed, a `freshness.` group\'s included); `persist-retired-key` and `materialize-retired-key` (`sharing=`, `schedule=`, `partition=`, and on `#@ persist` `realization=`); `persist-unparseable`, `materialize-unparseable`, `rollup-unparseable`, `persist-view-unparseable` and `persist-query-unparseable`; `persist-not-materializable` (a `#@ persist` on a shape Malloy does not plan); `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable` (a rollup line on a field that is not a measure, a grain naming no dimension, a measure no rollup can merge); `materialization-table-collision` (two sources whose `name=` puts them on one table; under `PERSIST_COLLISION_ENFORCE=false` a refusal instead); and `materialization-near-miss` (a misspelled materialization route or directive, such as `#(materialise)` or `#@ persits`). `preaggregate-malformed` is retained and no longer produced: it is `rollup-invalid` or `rollup-unparseable` now. Retained, no longer produced: `preaggregate-invalid`, `preaggregate-unknown-key`, `preaggregate-unparseable`, `preaggregate-not-a-measure`, `preaggregate-unknown-grain` and `preaggregate-not-mergeable`, now `rollup-invalid`, `rollup-unknown-key`, `rollup-unparseable`, `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable`. A measure or source that carries both `#(rollup)` and `#(preaggregate)` is `rollup-invalid`. A VALID annotation Publisher cannot build here is refused alone, answered live, while the package loads, and is severity `warn`, never `error`. Every one is a `BuildPlan.refusedSources` entry with a bounded `reason`, and its warning\'s code names the mechanism: `persist-not-built` (a `#@ persist` source; `subject` the source), `materialize-not-built` (a `#(materialize)` source; `subject` the source), `persist-view-not-built` and `persist-query-not-built` (a persisted view or named query; `subject` the view or query), and `rollup-not-built` (a `#(rollup)` or `#@ preaggregate` rollup; `subject` the base, or `<base>.<measure>` for one measure). The message says why, and `reason` is the refusal record\'s bounded reason. `preaggregate-not-built` is `rollup-not-built`\'s former name, retained, no longer produced: 0.15.0 and 0.16 repeated each `rollup-not-built` warning under it. `persist-source-refused`, the former name of `persist-not-built` repeated beside it in 0.14.0, is no longer produced. Retained, no longer produced: the rollup sub-family `preaggregate-hidden-field`, `-access-filter`, `-time-zone`, `-current-time`, `-reads-given`, `-unreadable-measure`, `-join-level` and `-name-clash`, now each `rollup-not-built` with the reasons `hidden_field`, `access_filter` (or `authorize`), `time_zone`, `current_time`, `reads_given`, `inherited_where_with_given` or `given_where_over_unstored_field`, `unreadable_measure`, `join_not_in_grain` and `partial_name_collision`. `materialization-storage-mode`: a `storage=` source the deployment\'s `PERSIST_STORAGE_MODE` (`off` or `write-only`) does not serve from storage (`subject` the source, or a rollup\'s base; `reason` `storage_mode`; `warn`). `materialization-unreachable`, `materialization-destination-missing` and `materialization-connection-cannot-hold-table`: a source whose serve verdict is `live` for the reason each names (no published source reaches it; its `storage=` destination is not configured; its connection creates no tables), with the verdict\'s `message` and `fixes` (`subject` the source; `reason` the verdict\'s; `warn`). `materialize-pair-full-refresh`: a `#(materialize)` pair table (an inlined `join_many`) whose `refresh=\"incremental\"` is not honoured: it is rebuilt in full on every refresh, and served (`subject` the source; `warn`). `rollup-join-one-key-repeated`: a rollup\'s last build found a `join_one` key repeated in the data, so queries that read that join beside other aggregates are answered live (`subject` the rollup\'s base; `warn`). Its former name, `preaggregate-join-one-key-repeated`, is retained, no longer produced. `served-copy-not-served`: the served copy (the author\'s own files, each stored source re-rooted on its table) leaves a source as written, so it answers live, or serves it with a join read as written or left out; `reason` names why (`compile_failed`, `cross_connection_unbuilt`, `column_types`, `no_declaration`, `definition_not_parsed`, `pair_join_not_found`, `pair_not_compiled`, `fields_not_carried`, `read_terms_not_kept`, `cross_connection_join`, `inline_join_kept`, `reroot_not_compiled`, `classification_not_kept`; an open set) (`subject` the source; `warn`). `row-level-gate-unexpressible`: a row-level gate an entry point inherits, whose field it no longer carries, so that entry point denies every request; `row-level-gate-reads-no-given`: a source-line gate that reads no given, a fixed predicate rather than an access rule keyed on the caller; `row-level-gate-negated-membership`: a source-line gate that negates a membership test, which an empty given turns into match-all, or that is too deep to check for one (its message then says it is too deep to check, not that it negates one) (`model` the entry point\'s file, `subject` the entry point; `warn`; the model still loads). `annotation-near-miss` and `annotation-malformed-route`: an annotation whose route or directive looks like a misspelled one Publisher reads (`warn`); `annotation-gate-near-miss`: a misspelled gate annotation (`#(authorise)`), which `compile_model` refuses. `persist-incremental-no-merge-key`: an incremental source with no `merge_key=`, so each refresh replaces its watermark range (`subject` the source; `warn`). `persist-reads-current-time`: a `#@ persist` source, persisted view or persisted named query whose stored relation reads the current time (`now`, or a relative time filter string such as `f\'last 7 days\'`), so its answers are as of its last build and it is rebuilt on every run; the message names where it reads the clock and how to answer as of each query instead (one per table, `subject` the source, the view as `<source> -> <view>`, or the query; `warn`). `persist-incremental-shared-address`: sources that compile to the same SQL on one connection, so they share one table and one boundary, where at least one is incremental (one per source; `warn`). `persist-incremental-late-rows`: an incremental source whose bound table a delta\'s late-row check found missing rows stamped just below where a delta started reading, which no later delta reads (its manifest entry\'s `lateRows`); it is carried until the source is rebuilt in full (one per source; `warn`). `rollup-join-one-key-repeated`: a bound rollup whose last build found the key of a `join_one` it reads repeated, so a query reading that join beside other aggregates is answered live; it clears once a build finds the key unique (one per rollup; `warn`). `preaggregate-join-one-key-repeated` is retained, no longer produced: it is `rollup-join-one-key-repeated` now. `join-bypass`: an author join from a published source to one with a stricter gate, which the join does not carry (one per join, or one for a walk cut short at the join bound; always a `warn`, never a load refusal; see docs/authorize.md). `storage-column-type-mismatch`: a `storage=` table of any kind (`#@ persist`, `#(materialize)`, a rollup, a persisted view or query) stores a column as a type other than the one its build declares. It is read through a cast to the declared type where that is faithful, and otherwise answered live, never read as its stored type (one per source and column, `model` the model declaring it, `subject` the source, a rollup\'s base, or a view\'s or query\'s build source, the message naming the column, both types and which applies; `warn`; see docs/materialization.md). `database-column-type-mismatch`: a bound table in a source\'s own database whose column was altered, or dropped, outside a build, so it no longer stores the declared type; it is read through a cast where that is faithful, and otherwise answered live, until the table is rebuilt (one per source and column, `subject` the source; `warn`). `table-kept`: a table an auto-run replaced when its source\'s table was renamed or moved, which Publisher keeps rather than drops: one at an author\'s exact `name=` (never dropped), one in a storage destination that is no longer configured (which, when the destination was renamed rather than removed, may be the table served under the new name), or one a `storage=` or tier move left under the name the source is served under now (which may be the very table served, so it is never dropped). Listed on the newest run\'s `metadata.keptTables` until no committed run names it in its place (its runs deleted; a delete is record-only), a run finds it dropped by hand (never on Snowflake or MySQL, whose catalogs hide tables), or its name is used again in its own place (one per table, `model` the model declaring the source, `subject` the source or a rollup\'s base, the message naming the table and where it is, `reason` the kept table\'s `author_name`, `destination_missing` or `may_be_served`; `warn`; see docs/materialization.md). `database-table-unread`: a bound table in a source\'s own database whose columns could not be read when it was bound (missing, unreadable, slower than the read\'s bound, or named in more than one schema), so its queries are answered live until a read succeeds; the message names the table or rollup, one fixed reason (its connection could not be opened, the catalog read timed out, the catalog query failed, not found, a name matching more than one table, a name the catalog cannot read; never the driver\'s text) and whether a retry is pending, and the warning clears once the table is read (only for a table a source of the package reads; one per table, `model` the model declaring its source, `subject` the source, or a rollup\'s base, when the plan knows the table; `reason` one of `connection_failed`, `timed_out`, `catalog_query_failed`, `not_found`, `ambiguous`, `unparseable`, `not_read`; `warn`; see docs/materialization.md). `database-native-type-missing`: a database table is bound with no captured warehouse type (its manifest entry\'s `nativeSchema`) for a column whose field Malloy types as a big integer. On BigQuery the column is read as `INT64`, its only integer type, and still serves; on any other dialect it is left out, so a query that reads it is answered live. The next full rebuild captures the types (one per source, `model` the first model binding it, `subject` the source, the message naming the columns and which applies; `warn`; see docs/materialization.md). Its former name, `stored-native-schema-missing`, is retained, no longer produced. `entities-…` (`entities-not-a-dimension`, `entities-parameterized-source`, `entities-multiple-required-filters`, `entities-sharing-not-allowed-on-dimension`, `entities-schedule-not-allowed-on-dimension`, `entities-required-filter-missing-dimension`, `entities-required-filter-non-public-dimension`): an `#(index)` or required `#(filter)` an index cannot honor, left out of `GET …/entities` (`model` its file; `warn`). The per-file report findings (`notebook-…`, `report-…`) and the report curation findings (`report-on-surface`, `index-is-not-a-report`). The message wording may change; the code does not.
|
|
2627
|
+
* A stable identifier for the finding\'s family, for a client that acts on it rather than only showing it; absent for a family that has none yet. `deprecated-malloynb-notebook`: a `.malloynb` notebook, the deprecated cell format (one per file, `model` naming it). `malloynb-cell-refused`: a `.malloynb` code cell whose `run:` statement the query route refuses for every reader in the Console, which sends no privilege and no `filterParams`, so the cell never runs there. One per cell, up to the bound below, `model` naming the notebook, severity `warn`. The message names the cell by its 1-based position among the notebook\'s cells, markdown cells included, and the fix. `reason` names the rule: `off_surface` is the 404 for a source the package surface does not publish, which a source the notebook declares never is on a package with a curated surface, an `index.malloy` or the deprecated `explores`; a caller with `includeHiddenFilesAndSources` still runs such a cell. `caller_annotation` is the 400 for text carrying an annotation only the model author may write, such as `#(authorize)`, comments included. `required_filter` is the 400 for a source with a required `#(filter)`. `restricted_mode` is the 400 for a `sql_*` call or a direct table read. `compile_error` is the 400 for any other failure of the statement to compile on its own. A cell that only a reader\'s givens refuse, by `#(authorize)` or a row-level gate, is not reported. Markdown cells are not read, as the Console does not run them. A notebook lists at most 10 refused cells one by one, and the package at most 50. The rest of a notebook that lists some are named by number and reason in one `malloynb-cells-unlisted` warning (`model` the notebook; `warn`). The notebooks after the package limit share one `malloynb-cells-unlisted` warning with no `model`, which counts their cells by reason and names the first 10 of them. The report lint metric still counts each refused cell under `malloynb-cell-refused`. `malloynb-cell-check-failed`: a notebook whose cell check could not run, so a refused cell of it may have no warning; the cause is in the server log (one per notebook, `warn`). `deprecated-filter-annotation`: a source declaring deprecated `#(filter)` annotations (one per declaring source, `model` naming its file and `subject` the source). `deprecated-preaggregate-annotation`: a measure declaring `#@ preaggregate` or the deprecated alias `#(preaggregate)`, whose v2 spelling is `#(rollup)`; the message names the spelling it found (one per measure, `model` its file, `subject` the source and the message the measure; `warn`; only while `PUBLISHER_MATERIALIZE` is on). `deprecated-rollup-namespace`: a rollup line placed with `namespace=`, the deprecated spelling of its `name=` container; still read, in that container under the readable name (one per measure and container, `subject` `<base>.<measure>`; `warn`). `classification-coverage`: a published source with a dimension or measure that carries no `#(classification)` while some field in the package does (one per source, `model` naming its file and `subject` the source; `warn`; see docs/classification.md). `classification-malformed`: a `#(classification)` annotation that names no single class (one per field, `subject` the source; `warn`). `classification-downgrade`: a field that declares a lower class than the fields its expression reads, which Publisher cannot tell from a real de-identification, so a review has to (one per field, `subject` the source; `warn`; a plain copy under `#(carries)` refuses the load instead). Materialization codes follow one rule: the suffix tells the outcome. An INVALID annotation (or invalid code it covers) fails the publish and the load, on every path, so its code appears only in the load failure\'s message (the publish 4xx and `loadErrors`), never as a warning here: `persist-invalid`, `materialize-invalid`, `rollup-invalid`, `persist-view-invalid` and `persist-query-invalid` (a bad value or contradictory combination: a `storage=` that names nothing, an `@env.` reference, an unusable, unsafe, unquoted or reserved `name=`, an `inline=` that names no join, an incremental key or `refresh=\"incremental\"` on a view or query); `persist-unknown-key`, `materialize-unknown-key` and `rollup-unknown-key` (every route\'s key set is closed, a `freshness.` group\'s included); `persist-retired-key` and `materialize-retired-key` (`sharing=`, `schedule=`, `partition=`, and on `#@ persist` `realization=`); `persist-unparseable`, `materialize-unparseable`, `rollup-unparseable`, `persist-view-unparseable` and `persist-query-unparseable`; `persist-not-materializable` (a `#@ persist` on a shape Malloy does not plan); `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable` (a rollup line on a field that is not a measure, a grain naming no dimension, a measure no rollup can merge); `materialization-table-collision` (two sources whose `name=` puts them on one table; under `PERSIST_COLLISION_ENFORCE=false` a refusal instead); and `materialization-near-miss` (a misspelled materialization route or directive, such as `#(materialise)` or `#@ persits`). `preaggregate-malformed` is retained and no longer produced: it is `rollup-invalid` or `rollup-unparseable` now. Retained, no longer produced: `preaggregate-invalid`, `preaggregate-unknown-key`, `preaggregate-unparseable`, `preaggregate-not-a-measure`, `preaggregate-unknown-grain` and `preaggregate-not-mergeable`, now `rollup-invalid`, `rollup-unknown-key`, `rollup-unparseable`, `rollup-not-a-measure`, `rollup-unknown-grain` and `rollup-not-mergeable`. A measure or source that carries both `#(rollup)` and `#(preaggregate)` is `rollup-invalid`. A VALID annotation Publisher cannot build here is refused alone, answered live, while the package loads, and is severity `warn`, never `error`. Every one is a `BuildPlan.refusedSources` entry with a bounded `reason`, and its warning\'s code names the mechanism: `persist-not-built` (a `#@ persist` source; `subject` the source), `materialize-not-built` (a `#(materialize)` source; `subject` the source), `persist-view-not-built` and `persist-query-not-built` (a persisted view or named query; `subject` the view or query), and `rollup-not-built` (a `#(rollup)` or `#@ preaggregate` rollup; `subject` the base, or `<base>.<measure>` for one measure). The message says why, and `reason` is the refusal record\'s bounded reason. `preaggregate-not-built` is `rollup-not-built`\'s former name, retained, no longer produced: 0.15.0 and 0.16 repeated each `rollup-not-built` warning under it. `persist-source-refused`, the former name of `persist-not-built` repeated beside it in 0.14.0, is no longer produced. Retained, no longer produced: the rollup sub-family `preaggregate-hidden-field`, `-access-filter`, `-time-zone`, `-current-time`, `-reads-given`, `-unreadable-measure`, `-join-level` and `-name-clash`, now each `rollup-not-built` with the reasons `hidden_field`, `access_filter` (or `authorize`), `time_zone`, `current_time`, `reads_given`, `inherited_where_with_given` or `given_where_over_unstored_field`, `unreadable_measure`, `join_not_in_grain` and `partial_name_collision`. `materialization-storage-mode`: a `storage=` source the deployment\'s `PERSIST_STORAGE_MODE` (`off` or `write-only`) does not serve from storage (`subject` the source, or a rollup\'s base; `reason` `storage_mode`; `warn`). `materialization-unreachable`, `materialization-destination-missing` and `materialization-connection-cannot-hold-table`: a source whose serve verdict is `live` for the reason each names (no published source reaches it; its `storage=` destination is not configured; its connection creates no tables), with the verdict\'s `message` and `fixes` (`subject` the source; `reason` the verdict\'s; `warn`). `materialize-pair-full-refresh`: a `#(materialize)` pair table (an inlined `join_many`) whose `refresh=\"incremental\"` is not honoured: it is rebuilt in full on every refresh, and served (`subject` the source; `warn`). `rollup-join-one-key-repeated`: a rollup\'s last build found a `join_one` key repeated in the data, so queries that read that join beside other aggregates are answered live (`subject` the rollup\'s base; `warn`). Its former name, `preaggregate-join-one-key-repeated`, is retained, no longer produced. `served-copy-not-served`: the served copy (the author\'s own files, each stored source re-rooted on its table) leaves a source as written, so it answers live, or serves it with a join read as written or left out; `reason` names why (`compile_failed`, `cross_connection_unbuilt`, `column_types`, `no_declaration`, `definition_not_parsed`, `pair_join_not_found`, `pair_not_compiled`, `fields_not_carried`, `read_terms_not_kept`, `cross_connection_join`, `inline_join_kept`, `reroot_not_compiled`, `classification_not_kept`; an open set) (`subject` the source; `warn`). `row-level-gate-unexpressible`: a row-level gate an entry point inherits, whose field it no longer carries, so that entry point denies every request; `row-level-gate-reads-no-given`: a source-line gate that reads no given, a fixed predicate rather than an access rule keyed on the caller; `row-level-gate-negated-membership`: a source-line gate that negates a membership test, which an empty given turns into match-all, or that is too deep to check for one (its message then says it is too deep to check, not that it negates one) (`model` the entry point\'s file, `subject` the entry point; `warn`; the model still loads). `annotation-near-miss` and `annotation-malformed-route`: an annotation whose route or directive looks like a misspelled one Publisher reads (`warn`); `annotation-gate-near-miss`: a misspelled gate annotation (`#(authorise)`), which `compile_model` refuses. `persist-incremental-no-merge-key`: an incremental source with no `merge_key=`, so each refresh replaces its watermark range (`subject` the source; `warn`). `persist-reads-current-time`: a `#@ persist` source, persisted view or persisted named query whose stored relation reads the current time (`now`, or a relative time filter string such as `f\'last 7 days\'`), so its answers are as of its last build and it is rebuilt on every run; the message names where it reads the clock and how to answer as of each query instead (one per table, `subject` the source, the view as `<source> -> <view>`, or the query; `warn`). `persist-incremental-shared-address`: sources that compile to the same SQL on one connection, so they share one table and one boundary, where at least one is incremental (one per source; `warn`). `persist-incremental-late-rows`: an incremental source whose bound table a delta\'s late-row check found missing rows stamped just below where a delta started reading, which no later delta reads (its manifest entry\'s `lateRows`); it is carried until the source is rebuilt in full (one per source; `warn`). `rollup-join-one-key-repeated`: a bound rollup whose last build found the key of a `join_one` it reads repeated, so a query reading that join beside other aggregates is answered live; it clears once a build finds the key unique (one per rollup; `warn`). `preaggregate-join-one-key-repeated` is retained, no longer produced: it is `rollup-join-one-key-repeated` now. `join-bypass`: an author join from a published source to one with a stricter gate, which the join does not carry (one per join, or one for a walk cut short at the join bound; always a `warn`, never a load refusal; see docs/authorize.md). `storage-column-type-mismatch`: a `storage=` table of any kind (`#@ persist`, `#(materialize)`, a rollup, a persisted view or query) stores a column as a type other than the one its build declares. It is read through a cast to the declared type where that is faithful, and otherwise answered live, never read as its stored type (one per source and column, `model` the model declaring it, `subject` the source, a rollup\'s base, or a view\'s or query\'s build source, the message naming the column, both types and which applies; `warn`; see docs/materialization.md). `database-column-type-mismatch`: a bound table in a source\'s own database whose column was altered, or dropped, outside a build, so it no longer stores the declared type; it is read through a cast where that is faithful, and otherwise answered live, until the table is rebuilt (one per source and column, `subject` the source; `warn`). `table-kept`: a table an auto-run replaced when its source\'s table was renamed or moved, which Publisher keeps rather than drops: one at an author\'s exact `name=` (never dropped), one in a storage destination that is no longer configured (which, when the destination was renamed rather than removed, may be the table served under the new name), or one a `storage=` or tier move left under the name the source is served under now (which may be the very table served, so it is never dropped). Listed on the newest run\'s `metadata.keptTables` until no committed run names it in its place (its runs deleted; a delete is record-only), a run finds it dropped by hand (never on Snowflake or MySQL, whose catalogs hide tables), or its name is used again in its own place (one per table, `model` the model declaring the source, `subject` the source or a rollup\'s base, the message naming the table and where it is, `reason` the kept table\'s `author_name`, `destination_missing` or `may_be_served`; `warn`; see docs/materialization.md). `database-table-unread`: a bound table in a source\'s own database whose columns could not be read when it was bound (missing, unreadable, slower than the read\'s bound, or named in more than one schema), so its queries are answered live until a read succeeds; the message names the table or rollup, one fixed reason (its connection could not be opened, the catalog read timed out, the catalog query failed, not found, a name matching more than one table, a name the catalog cannot read; never the driver\'s text) and whether a retry is pending, and the warning clears once the table is read (only for a table a source of the package reads; one per table, `model` the model declaring its source, `subject` the source, or a rollup\'s base, when the plan knows the table; `reason` one of `connection_failed`, `timed_out`, `catalog_query_failed`, `not_found`, `ambiguous`, `unparseable`, `not_read`; `warn`; see docs/materialization.md). `database-native-type-missing`: a database table is bound with no captured warehouse type (its manifest entry\'s `nativeSchema`) for a column whose field Malloy types as a big integer. On BigQuery the column is read as `INT64`, its only integer type, and still serves; on any other dialect it is left out, so a query that reads it is answered live. The next full rebuild captures the types (one per source, `model` the first model binding it, `subject` the source, the message naming the columns and which applies; `warn`; see docs/materialization.md). Its former name, `stored-native-schema-missing`, is retained, no longer produced. `entities-…` (`entities-not-a-dimension`, `entities-parameterized-source`, `entities-multiple-required-filters`, `entities-sharing-not-allowed-on-dimension`, `entities-schedule-not-allowed-on-dimension`, `entities-required-filter-missing-dimension`, `entities-required-filter-non-public-dimension`): an `#(index)` or required `#(filter)` an index cannot honor, left out of `GET …/entities` (`model` its file; `warn`). The per-file report findings (`notebook-…`, `report-…`) and the report curation findings (`report-on-surface`, `index-is-not-a-report`). The message wording may change; the code does not.
|
|
2721
2628
|
*/
|
|
2722
2629
|
'code'?: string;
|
|
2723
2630
|
/**
|
|
2724
|
-
* The bounded cause of a
|
|
2631
|
+
* The bounded cause of a finding, so a client branches on it rather than on the message (whose wording may change): the refusal record\'s `reason` on a `*-not-built` warning; the served copy\'s reason on `served-copy-not-served`; the unread reason on `database-table-unread`; the kept table\'s reason on `table-kept`; the serve verdict\'s reason on a `materialization-*` verdict warning; `storage_mode` on `materialization-storage-mode`; the rule a cell breaks on `malloynb-cell-refused` (`off_surface`, `caller_annotation`, `required_filter`, `restricted_mode`, `compile_error`). Always snake_case. An open string; absent on a finding that has none.
|
|
2725
2632
|
*/
|
|
2726
2633
|
'reason'?: string;
|
|
2727
2634
|
/**
|
|
2728
|
-
* Finding severity, `error` or `warn` and nothing else; a deprecated form that still loads (such as `deprecated-malloynb-notebook`) is `warn`. Render-tag findings use both: `error` for a tag malformed for the field it sits on, which renders as \"[object Object]\" or an inline error at query time, and `warn` for one that is well-formed but inert where it sits and so is silently ignored (e.g. `# colspan` outside `# dashboard { columns=N }`), where nothing looks broken at query time and the layout simply is not what was written. Those are the only two severities the renderer emits, so no render finding is withheld. Materialization and dashboard findings use both: `error` for something that cannot work as written, such as a tile naming a view the source does not have, and `warn` for something that works but not as the author probably intended
|
|
2635
|
+
* Finding severity, `error` or `warn` and nothing else; a deprecated form that still loads (such as `deprecated-malloynb-notebook`) is `warn`. Render-tag findings use both: `error` for a tag malformed for the field it sits on, which renders as \"[object Object]\" or an inline error at query time, and `warn` for one that is well-formed but inert where it sits and so is silently ignored (e.g. `# colspan` outside `# dashboard { columns=N }`), where nothing looks broken at query time and the layout simply is not what was written. Those are the only two severities the renderer emits, so no render finding is withheld. Materialization and dashboard findings use both: `error` for something that cannot work as written, such as a tile naming a view the source does not have, and `warn` for something that works but not as the author probably intended. The two findings about Publisher rather than about the package split across both: a file that carries an artifact tag and could not be read is `error`, because the dashboard it should have produced does not exist, and a lint that stopped early is `warn`, because the lint failing is not itself a defect in the package. That `warn` does NOT mean the package is free of `error`-severity findings, since the ones the lint never reached are exactly what it cannot report.
|
|
2729
2636
|
*/
|
|
2730
2637
|
'severity'?: PackageWarningsInnerSeverityEnum;
|
|
2731
2638
|
}
|
|
@@ -3251,71 +3158,6 @@ export interface QueryShape {
|
|
|
3251
3158
|
*/
|
|
3252
3159
|
'timeZone'?: string;
|
|
3253
3160
|
}
|
|
3254
|
-
/**
|
|
3255
|
-
* DEPRECATED: `ReportCells`, as get-notebook answers them, plus the tile layout of a linear report written as tiles.
|
|
3256
|
-
*/
|
|
3257
|
-
export interface RawNotebook {
|
|
3258
|
-
/**
|
|
3259
|
-
* Always `notebook`. Distinguishes the payload from the compiled-model shape returned by the model endpoint.
|
|
3260
|
-
*/
|
|
3261
|
-
'type'?: string;
|
|
3262
|
-
/**
|
|
3263
|
-
* Name of the package containing this notebook
|
|
3264
|
-
*/
|
|
3265
|
-
'packageName'?: string;
|
|
3266
|
-
/**
|
|
3267
|
-
* Relative path to the notebook file within its package directory
|
|
3268
|
-
*/
|
|
3269
|
-
'modelPath'?: string;
|
|
3270
|
-
/**
|
|
3271
|
-
* The file format the notebook is written in. `malloynb` is the cell-separated format; `malloy` is a linear `.malloy` report (see list-reports), wherever it lives, whose cells are its statements and its floating `(markdown)` notes in file order.
|
|
3272
|
-
*/
|
|
3273
|
-
'format'?: RawNotebookFormatEnum;
|
|
3274
|
-
/**
|
|
3275
|
-
* Version of the Malloy compiler used to generate the notebook data
|
|
3276
|
-
*/
|
|
3277
|
-
'malloyVersion'?: string;
|
|
3278
|
-
/**
|
|
3279
|
-
* JSON string containing model metadata and structure information
|
|
3280
|
-
*/
|
|
3281
|
-
'modelInfo'?: string;
|
|
3282
|
-
/**
|
|
3283
|
-
* Array of notebook cells containing raw markdown and code content
|
|
3284
|
-
*/
|
|
3285
|
-
'notebookCells'?: Array<NotebookCell>;
|
|
3286
|
-
/**
|
|
3287
|
-
* Array of file-level (##) annotations attached to the notebook. For a `.malloy` notebook, every own note that is not a floating `(markdown)` cell, in file order, each note once. A `\"` or `(text)` note below the `## artifact` tag is dropped and not listed.
|
|
3288
|
-
*/
|
|
3289
|
-
'annotations'?: Array<string>;
|
|
3290
|
-
/**
|
|
3291
|
-
* Starting values for the notebook\'s controls. A `.malloy` notebook declares them in its artifact tag (`## artifact { givens { … } }`), a `.malloynb` in its file-level tags (`## givens { … }`). URL parameters override these, which is why the two share a shape. Omitted when the notebook declares none.
|
|
3292
|
-
*/
|
|
3293
|
-
'startingGivens'?: {
|
|
3294
|
-
[key: string]: string;
|
|
3295
|
-
};
|
|
3296
|
-
/**
|
|
3297
|
-
* False batches control changes behind an Apply button instead of re-running on every change. Defaults to true. A `.malloy` notebook reads it from its artifact tag (`## artifact { autorun=false }`), a `.malloynb` from its file-level tags (`## autorun=false`). The same flag, with the same default, that `DashboardManifest.autorun` carries.
|
|
3298
|
-
*/
|
|
3299
|
-
'autorun'?: boolean;
|
|
3300
|
-
/**
|
|
3301
|
-
* Sources defined in the notebook\'s model
|
|
3302
|
-
*/
|
|
3303
|
-
'sources'?: Array<Source>;
|
|
3304
|
-
/**
|
|
3305
|
-
* Named queries defined in the notebook\'s model
|
|
3306
|
-
*/
|
|
3307
|
-
'queries'?: Array<Query>;
|
|
3308
|
-
/**
|
|
3309
|
-
* The tile layout of a linear report written as one (`## artifact { layout=linear tiles=[…] }`), in the shape a dashboard has, with `layout` `linear` and one column. Absent on a `.malloynb`. Its tiles run through the model query endpoint at `modelPath`; `notebookCells` carries the same content as cells for readers that do not draw a layout.
|
|
3310
|
-
* @deprecated
|
|
3311
|
-
*/
|
|
3312
|
-
'dashboard'?: DashboardManifest;
|
|
3313
|
-
}
|
|
3314
|
-
export declare const RawNotebookFormatEnum: {
|
|
3315
|
-
readonly Malloynb: "malloynb";
|
|
3316
|
-
readonly Malloy: "malloy";
|
|
3317
|
-
};
|
|
3318
|
-
export type RawNotebookFormatEnum = typeof RawNotebookFormatEnum[keyof typeof RawNotebookFormatEnum];
|
|
3319
3161
|
/**
|
|
3320
3162
|
* COPY = CREATE TABLE AS SELECT, the only realization built. SNAPSHOT (a warehouse clone or snapshot) is refused.
|
|
3321
3163
|
*/
|
|
@@ -3470,7 +3312,7 @@ export declare const ReportLayoutEnum: {
|
|
|
3470
3312
|
};
|
|
3471
3313
|
export type ReportLayoutEnum = typeof ReportLayoutEnum[keyof typeof ReportLayoutEnum];
|
|
3472
3314
|
/**
|
|
3473
|
-
* A `.malloynb
|
|
3315
|
+
* A `.malloynb` read as cells: its cells, unexecuted, and its model. `GET …/reports/{path}` serves it for a `.malloynb` only; a `.malloy` report carries its manifest instead.
|
|
3474
3316
|
*/
|
|
3475
3317
|
export interface ReportCells {
|
|
3476
3318
|
/**
|
|
@@ -3486,7 +3328,7 @@ export interface ReportCells {
|
|
|
3486
3328
|
*/
|
|
3487
3329
|
'modelPath'?: string;
|
|
3488
3330
|
/**
|
|
3489
|
-
* The file format the notebook is written in. `malloynb
|
|
3331
|
+
* The file format the notebook is written in. Always `malloynb`, the cell-separated format. `malloy`, a linear `.malloy` report read statement by statement, is no longer returned: no route serves a `.malloy` report as cells.
|
|
3490
3332
|
*/
|
|
3491
3333
|
'format'?: ReportCellsFormatEnum;
|
|
3492
3334
|
/**
|
|
@@ -3502,17 +3344,17 @@ export interface ReportCells {
|
|
|
3502
3344
|
*/
|
|
3503
3345
|
'notebookCells'?: Array<NotebookCell>;
|
|
3504
3346
|
/**
|
|
3505
|
-
* Array of file-level (##) annotations attached to the notebook.
|
|
3347
|
+
* Array of file-level (##) annotations attached to the notebook.
|
|
3506
3348
|
*/
|
|
3507
3349
|
'annotations'?: Array<string>;
|
|
3508
3350
|
/**
|
|
3509
|
-
* Starting values for the notebook\'s controls
|
|
3351
|
+
* Starting values for the notebook\'s controls, from its file-level tags (`## givens { … }`). URL parameters override these. Omitted when the notebook declares none.
|
|
3510
3352
|
*/
|
|
3511
3353
|
'startingGivens'?: {
|
|
3512
3354
|
[key: string]: string;
|
|
3513
3355
|
};
|
|
3514
3356
|
/**
|
|
3515
|
-
* False batches control changes behind an Apply button instead of re-running on every change. Defaults to true.
|
|
3357
|
+
* False batches control changes behind an Apply button instead of re-running on every change. Defaults to true. Read from the notebook\'s file-level tags (`## autorun=false`). The same flag, with the same default, that `DashboardManifest.autorun` carries.
|
|
3516
3358
|
*/
|
|
3517
3359
|
'autorun'?: boolean;
|
|
3518
3360
|
/**
|
|
@@ -3592,7 +3434,7 @@ export interface ReportManifest {
|
|
|
3592
3434
|
*/
|
|
3593
3435
|
'givens'?: Array<Given>;
|
|
3594
3436
|
/**
|
|
3595
|
-
* For a `.malloynb`: its cells and model, each cell run with
|
|
3437
|
+
* For a `.malloynb`: its cells and model, each code cell run through `POST …/models/{path}/query` with `givens`, using the report\'s `path` as the model. Absent on a `.malloy` report, and on a `.malloynb` that failed to compile.
|
|
3596
3438
|
*/
|
|
3597
3439
|
'notebook'?: ReportCells;
|
|
3598
3440
|
}
|
|
@@ -3791,9 +3633,17 @@ export interface ServeVerdict {
|
|
|
3791
3633
|
*/
|
|
3792
3634
|
'verdict': string;
|
|
3793
3635
|
/**
|
|
3794
|
-
* For a `live` verdict, why: `refused` (the plan refused to build it), `storage_mode` (`storage=` while `PERSIST_STORAGE_MODE` is not `on`), `unreachable` (no source on the package\'s published surface reads it), `row_level_gate` (every query through it carries an `#(authorize)` or `#(access_filter)` gate its table cannot keep yet, on either tier), `stale` (its table is past its freshness window, and its fallback does not serve stale), `shadowed` (its storage table is bound, but every model\'s source of that name is another source), `destination_missing` (`storage=` names a destination the environment does not configure), `connection_cannot_hold_table` (database, on a connection whose type creates no tables), `materialization_off` (a `#(materialize)` source, which only the served copy reads, and the served copy is off: `PUBLISHER_MATERIALIZE`, and for `storage=` `PERSIST_STORAGE_MODE`), `served_copy` (a `#(materialize)`
|
|
3636
|
+
* For a `live` verdict, why: `refused` (the plan refused to build it), `storage_mode` (`storage=` while `PERSIST_STORAGE_MODE` is not `on`), `unreachable` (no source on the package\'s published surface reads it), `row_level_gate` (every query through it carries an `#(authorize)` or `#(access_filter)` gate its table cannot keep yet, on either tier), `stale` (its table is past its freshness window, and its fallback does not serve stale), `shadowed` (its storage table is bound, but every model\'s source of that name is another source), `destination_missing` (`storage=` names a destination the environment does not configure), `connection_cannot_hold_table` (database, on a connection whose type creates no tables), `types_unrecorded` (database, bound, but its manifest entry records no column types, neither `schema` nor `nativeSchema`, so a change since the build cannot be ruled out; rebuild it), `materialization_off` (a `#(materialize)` source, which only the served copy reads, and the served copy is off: `PUBLISHER_MATERIALIZE`, and for `storage=` `PERSIST_STORAGE_MODE`), `served_copy` (a source the served copy reads, `#(materialize)` or `#@ persist`, whose table is bound and built, but no model\'s served copy re-roots it, so its queries are answered live; `notServedIn` says where and why). An open set.
|
|
3795
3637
|
*/
|
|
3796
3638
|
'reason'?: string;
|
|
3639
|
+
/**
|
|
3640
|
+
* Each model file whose served copy holds this source (declares or imports it) but does not read its table, sorted by model, the same for a `#(materialize)` source and a `#@ persist` one. Present exactly when some model that holds the source does not read its table. With a `served_copy` reason it lists every such model (a model whose whole copy is off lists every stored source it holds, not only the one whose join failed it; a source no model\'s copy holds lists its declaring model, `not_rerooted`). On a `serves` verdict it lists the models that answer the source\'s queries live while another model serves it, so a consumer must read it: `serves` alone does not mean every model reads the table. Absent while a served copy has yet to compile. Read from the same compile of record as the `served-copy-not-served` warnings, never by running a query.
|
|
3641
|
+
*/
|
|
3642
|
+
'notServedIn'?: Array<NotServedIn>;
|
|
3643
|
+
/**
|
|
3644
|
+
* Present, and always `true`, while some model that holds this source, which its served copy reads (`#(materialize)` or `#@ persist`), has yet to compile its served copy over the tables bound now. A bind returns before that compile, so the verdict carries no served-copy judgement yet: it may read `serves` for a table the compile will leave unread. A host must re-read the verdict while it is present; it is absent once every such model\'s copy is current, and then `notServedIn` and a `served_copy` reason are final for the bind.
|
|
3645
|
+
*/
|
|
3646
|
+
'servedCopyPending'?: boolean;
|
|
3797
3647
|
/**
|
|
3798
3648
|
* What the verdict means for this source, in a sentence.
|
|
3799
3649
|
*/
|
|
@@ -3858,7 +3708,7 @@ export interface ServerStatus {
|
|
|
3858
3708
|
*/
|
|
3859
3709
|
'versionPromotion'?: ServerStatusVersionPromotionEnum;
|
|
3860
3710
|
/**
|
|
3861
|
-
* Which page the Console shows for a model (`PUBLISHER_MODEL_PAGE`, \"explorer\" by default). \"explorer\" is the Malloy Explorer, which
|
|
3711
|
+
* Which page the Console shows for a model (`PUBLISHER_MODEL_PAGE`, \"explorer\" by default). \"explorer\" is the Malloy Explorer, which builds queries. \"viewer\" shows a page that builds no query, and takes the Explorer out of the legacy notebook too. Absent from a server that predates the setting, which reads as \"explorer\".
|
|
3862
3712
|
*/
|
|
3863
3713
|
'modelPage'?: ServerStatusModelPageEnum;
|
|
3864
3714
|
/**
|
|
@@ -5654,118 +5504,6 @@ export declare class ConnectionsTestApi extends BaseAPI {
|
|
|
5654
5504
|
*/
|
|
5655
5505
|
testConnectionConfiguration(connection: Connection, options?: RawAxiosRequestConfig): Promise< AxiosResponse<ConnectionStatus, any, {}, any>>;
|
|
5656
5506
|
}
|
|
5657
|
-
/**
|
|
5658
|
-
* DashboardsApi - axios parameter creator
|
|
5659
|
-
*/
|
|
5660
|
-
export declare const DashboardsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5661
|
-
/**
|
|
5662
|
-
* **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
|
|
5663
|
-
* @summary Get a dashboard manifest (deprecated; use get-report)
|
|
5664
|
-
* @param {string} environmentName Name of the environment
|
|
5665
|
-
* @param {string} packageName Name of the package
|
|
5666
|
-
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
5667
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5668
|
-
* @param {*} [options] Override http request option.
|
|
5669
|
-
* @deprecated
|
|
5670
|
-
* @throws {RequiredError}
|
|
5671
|
-
*/
|
|
5672
|
-
getDashboard: (environmentName: string, packageName: string, dashboardName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5673
|
-
/**
|
|
5674
|
-
* **DEPRECATED**: use list-reports, which lists every report of either layout by path. This route lists the package\'s grid reports (see list-reports for what makes a file a report and which layout it has), wherever they live in the package. Two may share a `name`; their `path` tells them apart. A file with no artifact tag is an ordinary model and is not listed, whether or not it compiles. **Contract change since reports.** This route used to list only `.malloy` files directly under `dashboards/`, so every `name` was unique and every `path` was `dashboards/<name>.malloy`. It now lists grid reports from anywhere in the package (`sales/q3.malloy`, `notebooks/x.malloy`, `a/b/c.malloy`), so `path` may have any depth and `name` may repeat. Key on `path`. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
|
|
5675
|
-
* @summary List package dashboards (deprecated; use list-reports)
|
|
5676
|
-
* @param {string} environmentName Name of the environment
|
|
5677
|
-
* @param {string} packageName Name of the package
|
|
5678
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5679
|
-
* @param {*} [options] Override http request option.
|
|
5680
|
-
* @deprecated
|
|
5681
|
-
* @throws {RequiredError}
|
|
5682
|
-
*/
|
|
5683
|
-
listDashboards: (environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5684
|
-
};
|
|
5685
|
-
/**
|
|
5686
|
-
* DashboardsApi - functional programming interface
|
|
5687
|
-
*/
|
|
5688
|
-
export declare const DashboardsApiFp: (configuration?: Configuration) => {
|
|
5689
|
-
/**
|
|
5690
|
-
* **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
|
|
5691
|
-
* @summary Get a dashboard manifest (deprecated; use get-report)
|
|
5692
|
-
* @param {string} environmentName Name of the environment
|
|
5693
|
-
* @param {string} packageName Name of the package
|
|
5694
|
-
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
5695
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5696
|
-
* @param {*} [options] Override http request option.
|
|
5697
|
-
* @deprecated
|
|
5698
|
-
* @throws {RequiredError}
|
|
5699
|
-
*/
|
|
5700
|
-
getDashboard(environmentName: string, packageName: string, dashboardName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashboardManifest>>;
|
|
5701
|
-
/**
|
|
5702
|
-
* **DEPRECATED**: use list-reports, which lists every report of either layout by path. This route lists the package\'s grid reports (see list-reports for what makes a file a report and which layout it has), wherever they live in the package. Two may share a `name`; their `path` tells them apart. A file with no artifact tag is an ordinary model and is not listed, whether or not it compiles. **Contract change since reports.** This route used to list only `.malloy` files directly under `dashboards/`, so every `name` was unique and every `path` was `dashboards/<name>.malloy`. It now lists grid reports from anywhere in the package (`sales/q3.malloy`, `notebooks/x.malloy`, `a/b/c.malloy`), so `path` may have any depth and `name` may repeat. Key on `path`. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
|
|
5703
|
-
* @summary List package dashboards (deprecated; use list-reports)
|
|
5704
|
-
* @param {string} environmentName Name of the environment
|
|
5705
|
-
* @param {string} packageName Name of the package
|
|
5706
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5707
|
-
* @param {*} [options] Override http request option.
|
|
5708
|
-
* @deprecated
|
|
5709
|
-
* @throws {RequiredError}
|
|
5710
|
-
*/
|
|
5711
|
-
listDashboards(environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Dashboard>>>;
|
|
5712
|
-
};
|
|
5713
|
-
/**
|
|
5714
|
-
* DashboardsApi - factory interface
|
|
5715
|
-
*/
|
|
5716
|
-
export declare const DashboardsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5717
|
-
/**
|
|
5718
|
-
* **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
|
|
5719
|
-
* @summary Get a dashboard manifest (deprecated; use get-report)
|
|
5720
|
-
* @param {string} environmentName Name of the environment
|
|
5721
|
-
* @param {string} packageName Name of the package
|
|
5722
|
-
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
5723
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5724
|
-
* @param {*} [options] Override http request option.
|
|
5725
|
-
* @deprecated
|
|
5726
|
-
* @throws {RequiredError}
|
|
5727
|
-
*/
|
|
5728
|
-
getDashboard(environmentName: string, packageName: string, dashboardName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DashboardManifest>;
|
|
5729
|
-
/**
|
|
5730
|
-
* **DEPRECATED**: use list-reports, which lists every report of either layout by path. This route lists the package\'s grid reports (see list-reports for what makes a file a report and which layout it has), wherever they live in the package. Two may share a `name`; their `path` tells them apart. A file with no artifact tag is an ordinary model and is not listed, whether or not it compiles. **Contract change since reports.** This route used to list only `.malloy` files directly under `dashboards/`, so every `name` was unique and every `path` was `dashboards/<name>.malloy`. It now lists grid reports from anywhere in the package (`sales/q3.malloy`, `notebooks/x.malloy`, `a/b/c.malloy`), so `path` may have any depth and `name` may repeat. Key on `path`. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
|
|
5731
|
-
* @summary List package dashboards (deprecated; use list-reports)
|
|
5732
|
-
* @param {string} environmentName Name of the environment
|
|
5733
|
-
* @param {string} packageName Name of the package
|
|
5734
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5735
|
-
* @param {*} [options] Override http request option.
|
|
5736
|
-
* @deprecated
|
|
5737
|
-
* @throws {RequiredError}
|
|
5738
|
-
*/
|
|
5739
|
-
listDashboards(environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Dashboard>>;
|
|
5740
|
-
};
|
|
5741
|
-
/**
|
|
5742
|
-
* DashboardsApi - object-oriented interface
|
|
5743
|
-
*/
|
|
5744
|
-
export declare class DashboardsApi extends BaseAPI {
|
|
5745
|
-
/**
|
|
5746
|
-
* **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
|
|
5747
|
-
* @summary Get a dashboard manifest (deprecated; use get-report)
|
|
5748
|
-
* @param {string} environmentName Name of the environment
|
|
5749
|
-
* @param {string} packageName Name of the package
|
|
5750
|
-
* @param {string} dashboardName The report\'s name: its filename basename. Conventionally letters, digits, \"-\" and \"_\", and a package is warned when one of its grid reports falls outside that. It is NOT constrained to it, because the name comes from a filename rather than being chosen: a file such as `v1.2.malloy` is served, and its published `resource` carries the name percent-encoded. Send it percent-encoded.
|
|
5751
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5752
|
-
* @param {*} [options] Override http request option.
|
|
5753
|
-
* @deprecated
|
|
5754
|
-
* @throws {RequiredError}
|
|
5755
|
-
*/
|
|
5756
|
-
getDashboard(environmentName: string, packageName: string, dashboardName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<DashboardManifest, any, {}, any>>;
|
|
5757
|
-
/**
|
|
5758
|
-
* **DEPRECATED**: use list-reports, which lists every report of either layout by path. This route lists the package\'s grid reports (see list-reports for what makes a file a report and which layout it has), wherever they live in the package. Two may share a `name`; their `path` tells them apart. A file with no artifact tag is an ordinary model and is not listed, whether or not it compiles. **Contract change since reports.** This route used to list only `.malloy` files directly under `dashboards/`, so every `name` was unique and every `path` was `dashboards/<name>.malloy`. It now lists grid reports from anywhere in the package (`sales/q3.malloy`, `notebooks/x.malloy`, `a/b/c.malloy`), so `path` may have any depth and `name` may repeat. Key on `path`. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
|
|
5759
|
-
* @summary List package dashboards (deprecated; use list-reports)
|
|
5760
|
-
* @param {string} environmentName Name of the environment
|
|
5761
|
-
* @param {string} packageName Name of the package
|
|
5762
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
5763
|
-
* @param {*} [options] Override http request option.
|
|
5764
|
-
* @deprecated
|
|
5765
|
-
* @throws {RequiredError}
|
|
5766
|
-
*/
|
|
5767
|
-
listDashboards(environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Dashboard[], any, {}, any>>;
|
|
5768
|
-
}
|
|
5769
5507
|
/**
|
|
5770
5508
|
* DataAppsApi - axios parameter creator
|
|
5771
5509
|
*/
|
|
@@ -6393,7 +6131,7 @@ export declare const ModelsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6393
6131
|
* @param {string} packageName Name of the package
|
|
6394
6132
|
* @param {string} path Path to the model within the package
|
|
6395
6133
|
* @param {QueryRequest} queryRequest
|
|
6396
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6134
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6397
6135
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6398
6136
|
* @param {*} [options] Override http request option.
|
|
6399
6137
|
* @throws {RequiredError}
|
|
@@ -6406,7 +6144,7 @@ export declare const ModelsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6406
6144
|
* @param {string} packageName Name of the package
|
|
6407
6145
|
* @param {string} path Path to the model within the package
|
|
6408
6146
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6409
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6147
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6410
6148
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
6411
6149
|
* @param {*} [options] Override http request option.
|
|
6412
6150
|
* @throws {RequiredError}
|
|
@@ -6418,7 +6156,7 @@ export declare const ModelsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6418
6156
|
* @param {string} environmentName Name of the environment
|
|
6419
6157
|
* @param {string} packageName Name of the package
|
|
6420
6158
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6421
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6159
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6422
6160
|
* @param {*} [options] Override http request option.
|
|
6423
6161
|
* @throws {RequiredError}
|
|
6424
6162
|
*/
|
|
@@ -6459,7 +6197,7 @@ export declare const ModelsApiFp: (configuration?: Configuration) => {
|
|
|
6459
6197
|
* @param {string} packageName Name of the package
|
|
6460
6198
|
* @param {string} path Path to the model within the package
|
|
6461
6199
|
* @param {QueryRequest} queryRequest
|
|
6462
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6200
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6463
6201
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6464
6202
|
* @param {*} [options] Override http request option.
|
|
6465
6203
|
* @throws {RequiredError}
|
|
@@ -6472,7 +6210,7 @@ export declare const ModelsApiFp: (configuration?: Configuration) => {
|
|
|
6472
6210
|
* @param {string} packageName Name of the package
|
|
6473
6211
|
* @param {string} path Path to the model within the package
|
|
6474
6212
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6475
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6213
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6476
6214
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
6477
6215
|
* @param {*} [options] Override http request option.
|
|
6478
6216
|
* @throws {RequiredError}
|
|
@@ -6484,7 +6222,7 @@ export declare const ModelsApiFp: (configuration?: Configuration) => {
|
|
|
6484
6222
|
* @param {string} environmentName Name of the environment
|
|
6485
6223
|
* @param {string} packageName Name of the package
|
|
6486
6224
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6487
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6225
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6488
6226
|
* @param {*} [options] Override http request option.
|
|
6489
6227
|
* @throws {RequiredError}
|
|
6490
6228
|
*/
|
|
@@ -6525,7 +6263,7 @@ export declare const ModelsApiFactory: (configuration?: Configuration, basePath?
|
|
|
6525
6263
|
* @param {string} packageName Name of the package
|
|
6526
6264
|
* @param {string} path Path to the model within the package
|
|
6527
6265
|
* @param {QueryRequest} queryRequest
|
|
6528
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6266
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6529
6267
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6530
6268
|
* @param {*} [options] Override http request option.
|
|
6531
6269
|
* @throws {RequiredError}
|
|
@@ -6538,7 +6276,7 @@ export declare const ModelsApiFactory: (configuration?: Configuration, basePath?
|
|
|
6538
6276
|
* @param {string} packageName Name of the package
|
|
6539
6277
|
* @param {string} path Path to the model within the package
|
|
6540
6278
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6541
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6279
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6542
6280
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
6543
6281
|
* @param {*} [options] Override http request option.
|
|
6544
6282
|
* @throws {RequiredError}
|
|
@@ -6550,7 +6288,7 @@ export declare const ModelsApiFactory: (configuration?: Configuration, basePath?
|
|
|
6550
6288
|
* @param {string} environmentName Name of the environment
|
|
6551
6289
|
* @param {string} packageName Name of the package
|
|
6552
6290
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6553
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6291
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6554
6292
|
* @param {*} [options] Override http request option.
|
|
6555
6293
|
* @throws {RequiredError}
|
|
6556
6294
|
*/
|
|
@@ -6591,7 +6329,7 @@ export declare class ModelsApi extends BaseAPI {
|
|
|
6591
6329
|
* @param {string} packageName Name of the package
|
|
6592
6330
|
* @param {string} path Path to the model within the package
|
|
6593
6331
|
* @param {QueryRequest} queryRequest
|
|
6594
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6332
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6595
6333
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6596
6334
|
* @param {*} [options] Override http request option.
|
|
6597
6335
|
* @throws {RequiredError}
|
|
@@ -6604,7 +6342,7 @@ export declare class ModelsApi extends BaseAPI {
|
|
|
6604
6342
|
* @param {string} packageName Name of the package
|
|
6605
6343
|
* @param {string} path Path to the model within the package
|
|
6606
6344
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6607
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6345
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6608
6346
|
* @param {string} [givens] The caller\'s givens as the trusted tier set them, one JSON object (`{\"ROLES\":[\"clinician\"]}`). A source whose `#(authorize)` lock cannot admit the caller on the `#(secure)` givens supplied, or reads a secure given not supplied, is omitted from `sources`, `queries` and `sourceInfos`, as a source locked with `false` is. Plain givens and `#(access_filter)` row filters hide nothing. Discovery only: the query route\'s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
|
|
6609
6347
|
* @param {*} [options] Override http request option.
|
|
6610
6348
|
* @throws {RequiredError}
|
|
@@ -6616,7 +6354,7 @@ export declare class ModelsApi extends BaseAPI {
|
|
|
6616
6354
|
* @param {string} environmentName Name of the environment
|
|
6617
6355
|
* @param {string} packageName Name of the package
|
|
6618
6356
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6619
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6357
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6620
6358
|
* @param {*} [options] Override http request option.
|
|
6621
6359
|
* @throws {RequiredError}
|
|
6622
6360
|
*/
|
|
@@ -6634,187 +6372,6 @@ export declare class ModelsApi extends BaseAPI {
|
|
|
6634
6372
|
*/
|
|
6635
6373
|
updateModelSource(environmentName: string, packageName: string, path: string, modelSourceWriteRequest: ModelSourceWriteRequest, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<ModelSourceWriteResult, any, {}, any>>;
|
|
6636
6374
|
}
|
|
6637
|
-
/**
|
|
6638
|
-
* NotebooksApi - axios parameter creator
|
|
6639
|
-
*/
|
|
6640
|
-
export declare const NotebooksApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6641
|
-
/**
|
|
6642
|
-
* **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
|
|
6643
|
-
* @summary Execute a specific notebook cell (deprecated)
|
|
6644
|
-
* @param {string} environmentName Name of the environment
|
|
6645
|
-
* @param {string} packageName Name of the package
|
|
6646
|
-
* @param {string} path Path to notebook within the package
|
|
6647
|
-
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
6648
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6649
|
-
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
6650
|
-
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
6651
|
-
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
6652
|
-
* @param {*} [options] Override http request option.
|
|
6653
|
-
* @deprecated
|
|
6654
|
-
* @throws {RequiredError}
|
|
6655
|
-
*/
|
|
6656
|
-
executeNotebookCell: (environmentName: string, packageName: string, path: string, cellIndex: number, versionId?: string, filterParams?: string, bypassFilters?: ExecuteNotebookCellBypassFiltersEnum, givens?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6657
|
-
/**
|
|
6658
|
-
* **DEPRECATED**: use get-report. Retrieves a linear report with its raw cell contents (markdown and code). A `.malloy` report\'s cells run through the model query endpoint (each cell\'s `text` as the query); a `.malloynb`\'s through execute-notebook-cell. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
|
|
6659
|
-
* @summary Get Malloy notebook cells (deprecated; use get-report)
|
|
6660
|
-
* @param {string} environmentName Name of the environment
|
|
6661
|
-
* @param {string} packageName Name of the package
|
|
6662
|
-
* @param {string} path Path to notebook within the package.
|
|
6663
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6664
|
-
* @param {*} [options] Override http request option.
|
|
6665
|
-
* @deprecated
|
|
6666
|
-
* @throws {RequiredError}
|
|
6667
|
-
*/
|
|
6668
|
-
getNotebook: (environmentName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6669
|
-
/**
|
|
6670
|
-
* **DEPRECATED**: use list-reports. Lists the package\'s linear reports (see list-reports): every `.malloynb` file outside `public/`, and every tagged `.malloy` report whose layout is linear, wherever it lives. Each entry includes the relative path, package name, title, description, and any compilation or reading error. **Contract change since reports.** This route used to list `.malloy` notebooks only directly under `notebooks/`. It now lists linear reports from anywhere in the package, including `dashboards/` and nested directories, and no longer lists a kindless tiled file in `notebooks/`, which is now grid.
|
|
6671
|
-
* @summary List package notebooks (deprecated; use list-reports)
|
|
6672
|
-
* @param {string} environmentName Name of the environment
|
|
6673
|
-
* @param {string} packageName Name of the package
|
|
6674
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6675
|
-
* @param {*} [options] Override http request option.
|
|
6676
|
-
* @deprecated
|
|
6677
|
-
* @throws {RequiredError}
|
|
6678
|
-
*/
|
|
6679
|
-
listNotebooks: (environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6680
|
-
};
|
|
6681
|
-
/**
|
|
6682
|
-
* NotebooksApi - functional programming interface
|
|
6683
|
-
*/
|
|
6684
|
-
export declare const NotebooksApiFp: (configuration?: Configuration) => {
|
|
6685
|
-
/**
|
|
6686
|
-
* **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
|
|
6687
|
-
* @summary Execute a specific notebook cell (deprecated)
|
|
6688
|
-
* @param {string} environmentName Name of the environment
|
|
6689
|
-
* @param {string} packageName Name of the package
|
|
6690
|
-
* @param {string} path Path to notebook within the package
|
|
6691
|
-
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
6692
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6693
|
-
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
6694
|
-
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
6695
|
-
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
6696
|
-
* @param {*} [options] Override http request option.
|
|
6697
|
-
* @deprecated
|
|
6698
|
-
* @throws {RequiredError}
|
|
6699
|
-
*/
|
|
6700
|
-
executeNotebookCell(environmentName: string, packageName: string, path: string, cellIndex: number, versionId?: string, filterParams?: string, bypassFilters?: ExecuteNotebookCellBypassFiltersEnum, givens?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotebookCellResult>>;
|
|
6701
|
-
/**
|
|
6702
|
-
* **DEPRECATED**: use get-report. Retrieves a linear report with its raw cell contents (markdown and code). A `.malloy` report\'s cells run through the model query endpoint (each cell\'s `text` as the query); a `.malloynb`\'s through execute-notebook-cell. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
|
|
6703
|
-
* @summary Get Malloy notebook cells (deprecated; use get-report)
|
|
6704
|
-
* @param {string} environmentName Name of the environment
|
|
6705
|
-
* @param {string} packageName Name of the package
|
|
6706
|
-
* @param {string} path Path to notebook within the package.
|
|
6707
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6708
|
-
* @param {*} [options] Override http request option.
|
|
6709
|
-
* @deprecated
|
|
6710
|
-
* @throws {RequiredError}
|
|
6711
|
-
*/
|
|
6712
|
-
getNotebook(environmentName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RawNotebook>>;
|
|
6713
|
-
/**
|
|
6714
|
-
* **DEPRECATED**: use list-reports. Lists the package\'s linear reports (see list-reports): every `.malloynb` file outside `public/`, and every tagged `.malloy` report whose layout is linear, wherever it lives. Each entry includes the relative path, package name, title, description, and any compilation or reading error. **Contract change since reports.** This route used to list `.malloy` notebooks only directly under `notebooks/`. It now lists linear reports from anywhere in the package, including `dashboards/` and nested directories, and no longer lists a kindless tiled file in `notebooks/`, which is now grid.
|
|
6715
|
-
* @summary List package notebooks (deprecated; use list-reports)
|
|
6716
|
-
* @param {string} environmentName Name of the environment
|
|
6717
|
-
* @param {string} packageName Name of the package
|
|
6718
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6719
|
-
* @param {*} [options] Override http request option.
|
|
6720
|
-
* @deprecated
|
|
6721
|
-
* @throws {RequiredError}
|
|
6722
|
-
*/
|
|
6723
|
-
listNotebooks(environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Notebook>>>;
|
|
6724
|
-
};
|
|
6725
|
-
/**
|
|
6726
|
-
* NotebooksApi - factory interface
|
|
6727
|
-
*/
|
|
6728
|
-
export declare const NotebooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6729
|
-
/**
|
|
6730
|
-
* **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
|
|
6731
|
-
* @summary Execute a specific notebook cell (deprecated)
|
|
6732
|
-
* @param {string} environmentName Name of the environment
|
|
6733
|
-
* @param {string} packageName Name of the package
|
|
6734
|
-
* @param {string} path Path to notebook within the package
|
|
6735
|
-
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
6736
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6737
|
-
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
6738
|
-
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
6739
|
-
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
6740
|
-
* @param {*} [options] Override http request option.
|
|
6741
|
-
* @deprecated
|
|
6742
|
-
* @throws {RequiredError}
|
|
6743
|
-
*/
|
|
6744
|
-
executeNotebookCell(environmentName: string, packageName: string, path: string, cellIndex: number, versionId?: string, filterParams?: string, bypassFilters?: ExecuteNotebookCellBypassFiltersEnum, givens?: string, options?: RawAxiosRequestConfig): AxiosPromise<NotebookCellResult>;
|
|
6745
|
-
/**
|
|
6746
|
-
* **DEPRECATED**: use get-report. Retrieves a linear report with its raw cell contents (markdown and code). A `.malloy` report\'s cells run through the model query endpoint (each cell\'s `text` as the query); a `.malloynb`\'s through execute-notebook-cell. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
|
|
6747
|
-
* @summary Get Malloy notebook cells (deprecated; use get-report)
|
|
6748
|
-
* @param {string} environmentName Name of the environment
|
|
6749
|
-
* @param {string} packageName Name of the package
|
|
6750
|
-
* @param {string} path Path to notebook within the package.
|
|
6751
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6752
|
-
* @param {*} [options] Override http request option.
|
|
6753
|
-
* @deprecated
|
|
6754
|
-
* @throws {RequiredError}
|
|
6755
|
-
*/
|
|
6756
|
-
getNotebook(environmentName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<RawNotebook>;
|
|
6757
|
-
/**
|
|
6758
|
-
* **DEPRECATED**: use list-reports. Lists the package\'s linear reports (see list-reports): every `.malloynb` file outside `public/`, and every tagged `.malloy` report whose layout is linear, wherever it lives. Each entry includes the relative path, package name, title, description, and any compilation or reading error. **Contract change since reports.** This route used to list `.malloy` notebooks only directly under `notebooks/`. It now lists linear reports from anywhere in the package, including `dashboards/` and nested directories, and no longer lists a kindless tiled file in `notebooks/`, which is now grid.
|
|
6759
|
-
* @summary List package notebooks (deprecated; use list-reports)
|
|
6760
|
-
* @param {string} environmentName Name of the environment
|
|
6761
|
-
* @param {string} packageName Name of the package
|
|
6762
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6763
|
-
* @param {*} [options] Override http request option.
|
|
6764
|
-
* @deprecated
|
|
6765
|
-
* @throws {RequiredError}
|
|
6766
|
-
*/
|
|
6767
|
-
listNotebooks(environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Notebook>>;
|
|
6768
|
-
};
|
|
6769
|
-
/**
|
|
6770
|
-
* NotebooksApi - object-oriented interface
|
|
6771
|
-
*/
|
|
6772
|
-
export declare class NotebooksApi extends BaseAPI {
|
|
6773
|
-
/**
|
|
6774
|
-
* **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
|
|
6775
|
-
* @summary Execute a specific notebook cell (deprecated)
|
|
6776
|
-
* @param {string} environmentName Name of the environment
|
|
6777
|
-
* @param {string} packageName Name of the package
|
|
6778
|
-
* @param {string} path Path to notebook within the package
|
|
6779
|
-
* @param {number} cellIndex Index of the cell to execute (0-based)
|
|
6780
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6781
|
-
* @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
|
|
6782
|
-
* @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
|
|
6783
|
-
* @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
|
|
6784
|
-
* @param {*} [options] Override http request option.
|
|
6785
|
-
* @deprecated
|
|
6786
|
-
* @throws {RequiredError}
|
|
6787
|
-
*/
|
|
6788
|
-
executeNotebookCell(environmentName: string, packageName: string, path: string, cellIndex: number, versionId?: string, filterParams?: string, bypassFilters?: ExecuteNotebookCellBypassFiltersEnum, givens?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<NotebookCellResult, any, {}, any>>;
|
|
6789
|
-
/**
|
|
6790
|
-
* **DEPRECATED**: use get-report. Retrieves a linear report with its raw cell contents (markdown and code). A `.malloy` report\'s cells run through the model query endpoint (each cell\'s `text` as the query); a `.malloynb`\'s through execute-notebook-cell. A linear `.malloy` report, wherever it lives, answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
|
|
6791
|
-
* @summary Get Malloy notebook cells (deprecated; use get-report)
|
|
6792
|
-
* @param {string} environmentName Name of the environment
|
|
6793
|
-
* @param {string} packageName Name of the package
|
|
6794
|
-
* @param {string} path Path to notebook within the package.
|
|
6795
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6796
|
-
* @param {*} [options] Override http request option.
|
|
6797
|
-
* @deprecated
|
|
6798
|
-
* @throws {RequiredError}
|
|
6799
|
-
*/
|
|
6800
|
-
getNotebook(environmentName: string, packageName: string, path: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<RawNotebook, any, {}, any>>;
|
|
6801
|
-
/**
|
|
6802
|
-
* **DEPRECATED**: use list-reports. Lists the package\'s linear reports (see list-reports): every `.malloynb` file outside `public/`, and every tagged `.malloy` report whose layout is linear, wherever it lives. Each entry includes the relative path, package name, title, description, and any compilation or reading error. **Contract change since reports.** This route used to list `.malloy` notebooks only directly under `notebooks/`. It now lists linear reports from anywhere in the package, including `dashboards/` and nested directories, and no longer lists a kindless tiled file in `notebooks/`, which is now grid.
|
|
6803
|
-
* @summary List package notebooks (deprecated; use list-reports)
|
|
6804
|
-
* @param {string} environmentName Name of the environment
|
|
6805
|
-
* @param {string} packageName Name of the package
|
|
6806
|
-
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6807
|
-
* @param {*} [options] Override http request option.
|
|
6808
|
-
* @deprecated
|
|
6809
|
-
* @throws {RequiredError}
|
|
6810
|
-
*/
|
|
6811
|
-
listNotebooks(environmentName: string, packageName: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Notebook[], any, {}, any>>;
|
|
6812
|
-
}
|
|
6813
|
-
export declare const ExecuteNotebookCellBypassFiltersEnum: {
|
|
6814
|
-
readonly True: "true";
|
|
6815
|
-
readonly False: "false";
|
|
6816
|
-
};
|
|
6817
|
-
export type ExecuteNotebookCellBypassFiltersEnum = typeof ExecuteNotebookCellBypassFiltersEnum[keyof typeof ExecuteNotebookCellBypassFiltersEnum];
|
|
6818
6375
|
/**
|
|
6819
6376
|
* PackagesApi - axios parameter creator
|
|
6820
6377
|
*/
|
|
@@ -6885,7 +6442,7 @@ export declare const PackagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6885
6442
|
* @param {string} environmentName Name of the environment
|
|
6886
6443
|
* @param {string} packageName Name of the package
|
|
6887
6444
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6888
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6445
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6889
6446
|
* @param {*} [options] Override http request option.
|
|
6890
6447
|
* @throws {RequiredError}
|
|
6891
6448
|
*/
|
|
@@ -6990,7 +6547,7 @@ export declare const PackagesApiFp: (configuration?: Configuration) => {
|
|
|
6990
6547
|
* @param {string} environmentName Name of the environment
|
|
6991
6548
|
* @param {string} packageName Name of the package
|
|
6992
6549
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
6993
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6550
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
6994
6551
|
* @param {*} [options] Override http request option.
|
|
6995
6552
|
* @throws {RequiredError}
|
|
6996
6553
|
*/
|
|
@@ -7095,7 +6652,7 @@ export declare const PackagesApiFactory: (configuration?: Configuration, basePat
|
|
|
7095
6652
|
* @param {string} environmentName Name of the environment
|
|
7096
6653
|
* @param {string} packageName Name of the package
|
|
7097
6654
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
7098
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6655
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
7099
6656
|
* @param {*} [options] Override http request option.
|
|
7100
6657
|
* @throws {RequiredError}
|
|
7101
6658
|
*/
|
|
@@ -7200,7 +6757,7 @@ export declare class PackagesApi extends BaseAPI {
|
|
|
7200
6757
|
* @param {string} environmentName Name of the environment
|
|
7201
6758
|
* @param {string} packageName Name of the package
|
|
7202
6759
|
* @param {string} [versionId] The published version of the package to serve, a semantic version such as `1.2.0` or `1.2.0-rc1`. `latest`, omitted or empty (`versionId=`, which a proxy forwarding a page\'s query string may send), the request is served from the package\'s `latest` version. Any other value that is not a semantic version answers 400 with `reason` VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with `reason` VERSION_NOT_FOUND, and an archived one answers 410 with `reason` VERSION_ARCHIVED. A package that has no versions (one loaded from `publisher.config.json` or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send `1.2.0+build.5` as `1.2.0%2Bbuild.5`, since a bare `+` in a query string decodes to a space. Accepted: `latest`, empty, or a semantic version. The schema carries no pattern on purpose: a validator generated from one would refuse `latest` and the empty value.
|
|
7203
|
-
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The
|
|
6760
|
+
* @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root `index.malloy`, or a legacy `explores`) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as `queryableSources: \"all\"` does for every request. `#(authorize)` and `#(access_filter)` still apply: it lifts curation, never the lock. The model GET goes one step further than `queryableSources: \"all\"`: it returns the file\'s `sourceText` even when that text names a source the file does not publish. That text can include `#(authorize)` expressions, `given:` defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP `execute_query` tool\'s argument of the same name, which runs a query the way this route does. MCP offers that argument only when `publisher.config.json` sets `\"mcp\": { \"includeHiddenFilesAndSources\": true }`, which is for authoring servers. Without it the argument is not in the tool\'s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The other MCP tools and the legacy `/projects/...` aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\'s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the `execute_query` argument. Only `true` and `false` are accepted. Any other value is refused with 400.
|
|
7204
6761
|
* @param {*} [options] Override http request option.
|
|
7205
6762
|
* @throws {RequiredError}
|
|
7206
6763
|
*/
|
|
@@ -7380,7 +6937,7 @@ export declare class PublisherApi extends BaseAPI {
|
|
|
7380
6937
|
*/
|
|
7381
6938
|
export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7382
6939
|
/**
|
|
7383
|
-
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells
|
|
6940
|
+
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells and model. Its code cells run through the same model query endpoint, using `path` as the model, where every cell compiles into one model, so a cell\'s imports and declarations are in scope.
|
|
7384
6941
|
* @summary Get a report manifest
|
|
7385
6942
|
* @param {string} environmentName Name of the environment
|
|
7386
6943
|
* @param {string} packageName Name of the package
|
|
@@ -7406,7 +6963,7 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7406
6963
|
*/
|
|
7407
6964
|
export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
7408
6965
|
/**
|
|
7409
|
-
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells
|
|
6966
|
+
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells and model. Its code cells run through the same model query endpoint, using `path` as the model, where every cell compiles into one model, so a cell\'s imports and declarations are in scope.
|
|
7410
6967
|
* @summary Get a report manifest
|
|
7411
6968
|
* @param {string} environmentName Name of the environment
|
|
7412
6969
|
* @param {string} packageName Name of the package
|
|
@@ -7432,7 +6989,7 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
|
7432
6989
|
*/
|
|
7433
6990
|
export declare const ReportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7434
6991
|
/**
|
|
7435
|
-
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells
|
|
6992
|
+
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells and model. Its code cells run through the same model query endpoint, using `path` as the model, where every cell compiles into one model, so a cell\'s imports and declarations are in scope.
|
|
7436
6993
|
* @summary Get a report manifest
|
|
7437
6994
|
* @param {string} environmentName Name of the environment
|
|
7438
6995
|
* @param {string} packageName Name of the package
|
|
@@ -7458,7 +7015,7 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
|
7458
7015
|
*/
|
|
7459
7016
|
export declare class ReportsApi extends BaseAPI {
|
|
7460
7017
|
/**
|
|
7461
|
-
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells
|
|
7018
|
+
* Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells and model. Its code cells run through the same model query endpoint, using `path` as the model, where every cell compiles into one model, so a cell\'s imports and declarations are in scope.
|
|
7462
7019
|
* @summary Get a report manifest
|
|
7463
7020
|
* @param {string} environmentName Name of the environment
|
|
7464
7021
|
* @param {string} packageName Name of the package
|