@malloy-publisher/sdk 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{RenderedResult-B2VzqpJV.cjs.js → RenderedResult-DTM9o4Ql.cjs.js} +1 -1
- package/dist/{RenderedResult-Ct3z543g.es.js → RenderedResult-vyM2wQbC.es.js} +2 -2
- package/dist/ServerProvider-DpOy4_Kf.cjs.js +1 -0
- package/dist/{ServerProvider-Be9eusDF.es.js → ServerProvider-lAZ5ZdQS.es.js} +171 -100
- package/dist/builder/index.cjs.js +1 -1
- package/dist/builder/index.es.js +3 -3
- package/dist/client/api.d.ts +88 -18
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -5
- package/dist/{useCompiledDocument-CQG6VO-x.cjs.js → useCompiledDocument-2huaKTJN.cjs.js} +2 -2
- package/dist/{useCompiledDocument-CuSAYHX_.es.js → useCompiledDocument-CSXZufFO.es.js} +2 -2
- package/package.json +1 -1
- package/src/components/RenderedResult/RenderedResult.lifecycle.spec.tsx +15 -1
- package/dist/ServerProvider-DDr5VOVF.cjs.js +0 -1
package/dist/client/api.d.ts
CHANGED
|
@@ -1513,7 +1513,7 @@ export interface ManifestEntry {
|
|
|
1513
1513
|
*/
|
|
1514
1514
|
'queryCostBytes'?: number | null;
|
|
1515
1515
|
/**
|
|
1516
|
-
* 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.
|
|
1516
|
+
* 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, even over a persisted base. 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.
|
|
1517
1517
|
*/
|
|
1518
1518
|
'upstreamReuse'?: ManifestEntryUpstreamReuseEnum;
|
|
1519
1519
|
/**
|
|
@@ -1540,6 +1540,7 @@ export interface ManifestEntry {
|
|
|
1540
1540
|
* What this run\'s refresh DID to the table, for a source declaring `refresh=\"incremental\"`: advanced it in place by a bounded range (`delta`), rebuilt it (`full`), or applied nothing because the watermark had not moved (`none`, which leaves the boundary in `ledger` in force). Reported because it cannot be inferred: every fallback the publisher applies — no recorded boundary, a table the delta path cannot build on, `reseed` — answers success and rebuilds, so a source quietly rebuilding on every run is otherwise indistinguishable from one advancing. Present exactly when the source is refreshed incrementally, so absent means only that it is not: a source declaring `refresh=\"full\"`, or one whose declaration the delta path cannot act on at all (an unsupported source dialect), which the publish gate rejects anyway.
|
|
1541
1541
|
*/
|
|
1542
1542
|
'refresh'?: ManifestEntryRefreshEnum;
|
|
1543
|
+
'lateRows'?: ManifestEntryLateRows;
|
|
1543
1544
|
}
|
|
1544
1545
|
export declare const ManifestEntryOriginEnum: {
|
|
1545
1546
|
readonly Persist: "persist";
|
|
@@ -1567,6 +1568,23 @@ export declare const ManifestEntryRefreshEnum: {
|
|
|
1567
1568
|
readonly None: "none";
|
|
1568
1569
|
};
|
|
1569
1570
|
export type ManifestEntryRefreshEnum = typeof ManifestEntryRefreshEnum[keyof typeof ManifestEntryRefreshEnum];
|
|
1571
|
+
/**
|
|
1572
|
+
* For a source this run advanced by a delta (`refresh` is `delta`): rows the source holds below where the delta started reading that the stored table lacks. A delta reads from the newest watermark the table holds (less the source\'s `lookback=`), so a row stamped below that, landing after the rows above it were stored, is never read, and the table undercounts it until it is rebuilt. The check reads one window directly below the delta\'s start, as wide as the delta\'s own range, so it finds a row stamped within that window and not one older. With `merge_key=` a source row counts when no stored row has its keys and its watermark (a skipped restatement counts too); without one, it is the source\'s rows in the window less the table\'s. The window is capped, for a date or timestamp watermark, at seven days or the source\'s `lookback=`, whichever is longer. Carried until the source is rebuilt in full: a later delta or skip reports what earlier ones found (read from the manifest bound when it runs), with its own findings added to `count` and `to` moved up, and a slice is checked once, so a row is counted once, so `count` is a lower bound: a row that lands in a slice already checked is not counted. It stays until a full rebuild, even after a widened `lookback=` has written the rows. `from` is where the first such window started. Absent when nothing was found since the last full rebuild. The check is best-effort, and not run for a pair table, a string watermark or a `storage=` source on BigQuery: it gives up after 60 seconds, stopping its statement, and one that fails is logged and leaves what was carried. While the run\'s manifest is bound, the package also warns with code `persist-incremental-late-rows`.
|
|
1573
|
+
*/
|
|
1574
|
+
export interface ManifestEntryLateRows {
|
|
1575
|
+
/**
|
|
1576
|
+
* Source rows in the window the stored table lacks.
|
|
1577
|
+
*/
|
|
1578
|
+
'count': number;
|
|
1579
|
+
/**
|
|
1580
|
+
* Where the window starts (inclusive), as the watermark\'s value: ISO-8601 for a date or timestamp, decimal text for a number.
|
|
1581
|
+
*/
|
|
1582
|
+
'from': string;
|
|
1583
|
+
/**
|
|
1584
|
+
* Where it ends (exclusive): the delta\'s lower bound, spelled as `from` is.
|
|
1585
|
+
*/
|
|
1586
|
+
'to': string;
|
|
1587
|
+
}
|
|
1570
1588
|
/**
|
|
1571
1589
|
* A reference to an already-materialized persist upstream that the built sources may read but which is not rebuilt in this run.
|
|
1572
1590
|
*/
|
|
@@ -1747,7 +1765,7 @@ export interface ModelError {
|
|
|
1747
1765
|
*/
|
|
1748
1766
|
'refusalReason'?: string;
|
|
1749
1767
|
/**
|
|
1750
|
-
* Machine-readable discriminator, for callers that must branch on which error they got rather than on prose. Absent unless a caller is expected to act on it, so treat absence as \"no special handling\". TABLE_NOT_FOUND distinguishes a table that is not in the database from the other conditions that also answer 404 on these routes -- an environment or connection this server does not host. The former says nothing about whether the caller reached the right server; the latter is a routing problem worth retrying elsewhere. CONNECTION_FAILED, on a 502, means the database could not be reached (the connection was refused, reset or timed out, or the server closed it), so the query never ran. The query and the model are fine; retrying elsewhere will not help, and neither will rewriting the query. CONNECTION_AUTH_FAILED, on a 424, means the database rejected the connection\'s credentials (a wrong password, an invalid key, an expired token), so the query never ran. Whoever configures the connection has to fix it; retrying fails the same way. CONNECTION_NOT_FOUND, on a 424, means the model names a connection the environment does not have, usually one deleted after the package was loaded. STORAGE_ACCESS_DENIED, on a 403, means an object store refused the database\'s read under a data path the environment configures (a DuckLake catalog\'s, a storage destination\'s): the query and the model are fine, and whoever configures the database\'s storage credentials has to fix it. PATH_ACCESS_DENIED, on a 403, means the object store at a path the query or the model reads itself (a file or table URL) refused access: change the path, or get the caller a grant to it. Retrying either fails the same way. The body names the source or connection the caller read and no storage path. ACCESS_DENIED, on a 403, means a gate (`#(authorize)` or `#(access_filter)`) refused the caller. Every gate 403 carries it, including a gate that could not be decided, which fails closed and answers the same: only the server\'s metrics and log tell those apart. A 403 with any other reason is not a gate\'s. MATERIALIZATION_REFUSED
|
|
1768
|
+
* Machine-readable discriminator, for callers that must branch on which error they got rather than on prose. Absent unless a caller is expected to act on it, so treat absence as \"no special handling\". TABLE_NOT_FOUND distinguishes a table that is not in the database from the other conditions that also answer 404 on these routes -- an environment or connection this server does not host. The former says nothing about whether the caller reached the right server; the latter is a routing problem worth retrying elsewhere. CONNECTION_FAILED, on a 502, means the database could not be reached (the connection was refused, reset or timed out, or the server closed it), so the query never ran. The query and the model are fine; retrying elsewhere will not help, and neither will rewriting the query. CONNECTION_AUTH_FAILED, on a 424, means the database rejected the connection\'s credentials (a wrong password, an invalid key, an expired token), so the query never ran. Whoever configures the connection has to fix it; retrying fails the same way. CONNECTION_NOT_FOUND, on a 424, means the model names a connection the environment does not have, usually one deleted after the package was loaded. STORAGE_ACCESS_DENIED, on a 403, means an object store refused the database\'s read under a data path the environment configures (a DuckLake catalog\'s, a storage destination\'s): the query and the model are fine, and whoever configures the database\'s storage credentials has to fix it. PATH_ACCESS_DENIED, on a 403, means the object store at a path the query or the model reads itself (a file or table URL) refused access: change the path, or get the caller a grant to it. Retrying either fails the same way. The body names the source or connection the caller read and no storage path. ACCESS_DENIED, on a 403, means a gate (`#(authorize)` or `#(access_filter)`) refused the caller. Every gate 403 carries it, including a gate that could not be decided, which fails closed and answers the same: only the server\'s metrics and log tell those apart. A 403 with any other reason is not a gate\'s. MATERIALIZATION_REFUSED means a valid materialization declaration this server will not build, and the body\'s `refusalReason` is the refusal\'s `RefusedSource.reason`. Reserved: no route answers with it today. The eligibility gate runs inside a materialization run, after `POST …/materializations` has answered 201, so a refusal is recorded on the run instead: as a `SourceFailure` with `refused` and `refusalReason` on a run with `buildInstructions`, otherwise in the run\'s `metadata.refusedSources`, or its `error` when nothing else was left to build. TABLE_OWNED_ELSEWHERE and TABLE_OWNERSHIP_UNVERIFIED, on a 400, mean a build was refused before it wrote because its `name=` is held by a table this package does not own, or because who holds it could not be read. On a 409 from dropping a materialized table (`drop-materialized-table`), they mean the drop was refused for the same reasons: the table is another\'s, or nothing proves it is this package\'s. TABLE_IN_USE, on a 409 from dropping a materialized table, means the table may still be read: a committed run of the package, of any version, names a table with that name (other than the run the caller named, unless that run is the one a version or the package serves); a loaded copy of any package in the environment, or any loaded version of one, is bound to a table with that name; or the warehouse refused the drop because other objects depend on the table. Delete or replace that run, rebind that copy, or drop those objects first. BUILD_INSTRUCTIONS_INVALID, on a 400 from creating a materialization, means its body or build instructions are not a run this package can take (a field of the wrong shape, an unknown source, a table named twice, a ledger entry that does not fit); the message names which. Retrying unchanged fails the same way. MATERIALIZATION_CONFLICT, on a 409, means a materialization run conflicts with another run or with the package\'s binding. Two of its cases clear on their own, so retry later: a run already active for the package, and a table another run is writing. Two do not clear until something changes, so a retry fails the same way: an auto-run of a package or version a host manifest serves (pass `buildInstructions`, or clear the binding), and a run of a version that is not latest touching the tables a `scope: package` package\'s versions share (name tables of its own in `buildInstructions`). The message says which. Deliberately an open string rather than an enum. Generators render an enum closed, so adding a second value here would break every client generated before it -- on the one field whose purpose is to grow. Callers must treat an unrecognized value as absent. The package-version values let a caller tell \"forgot to bump the version\" from \"the model is broken\", which share a status code: * MANIFEST_VERSION_MISSING (400): with package versioning on, a publish whose publisher.json has no `version`. * MANIFEST_VERSION_INVALID (400): such a publish whose `version` is not a semantic version. * VERSION_CONFLICT (409): that version is already published with different content. * PACKAGE_IS_VERSIONED (409): the package has published versions, so it cannot be changed in place (a write, or a publish with package versioning off). * PACKAGE_INSTALLED_FROM_LOCATION (409): the package is fetched again from a `location` on reload, which would discard a report write or a package update\'s change to its settings. * FILE_EXISTS (409): a report write with no `expectedHash` (a create) found a file already at the path; another path may be free. A stale `expectedHash` answers 409 with no `reason`. * VERSION_IS_LATEST (409): the package\'s `latest` version cannot be archived, or deleted while other versions remain. * VERSION_IS_LAST_ACTIVE (409): the package\'s last version in service cannot be archived, or deleted while archived versions remain. * VERSION_BUILDING (409): a materialization of the version is running, so it cannot be archived or deleted yet. * VERSION_ID_INVALID (400): a requested `versionId` is not a semantic version. * VERSION_NOT_LATEST (400): an auto-run of a version other than `latest`, in a package whose versions share their tables. A package with no `latest` yet refuses none. * VERSION_NOT_FOUND (404): the package has no such version. * VERSION_ARCHIVED (410): the version is archived. Known values: TABLE_NOT_FOUND, CONNECTION_FAILED, CONNECTION_AUTH_FAILED, CONNECTION_NOT_FOUND, STORAGE_ACCESS_DENIED, PATH_ACCESS_DENIED, ACCESS_DENIED, MATERIALIZATION_REFUSED, TABLE_OWNED_ELSEWHERE, TABLE_OWNERSHIP_UNVERIFIED, TABLE_IN_USE, BUILD_INSTRUCTIONS_INVALID, MATERIALIZATION_CONFLICT, MANIFEST_VERSION_MISSING, MANIFEST_VERSION_INVALID, VERSION_CONFLICT, PACKAGE_IS_VERSIONED, PACKAGE_INSTALLED_FROM_LOCATION, FILE_EXISTS, VERSION_IS_LATEST, VERSION_IS_LAST_ACTIVE, VERSION_BUILDING, VERSION_ID_INVALID, VERSION_NOT_LATEST, VERSION_NOT_FOUND, VERSION_ARCHIVED.
|
|
1751
1769
|
*/
|
|
1752
1770
|
'reason'?: string;
|
|
1753
1771
|
/**
|
|
@@ -2695,7 +2713,7 @@ export interface PackageWarningsInner {
|
|
|
2695
2713
|
*/
|
|
2696
2714
|
'message'?: string;
|
|
2697
2715
|
/**
|
|
2698
|
-
* 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: each `rollup-not-built` warning is repeated under it, with the same message, for this release only. `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`). Repeated under its former name `preaggregate-join-one-key-repeated` for this release only. `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-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`). `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). Repeated under its former name `stored-native-schema-missing` for this release only. `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.
|
|
2716
|
+
* 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: each `rollup-not-built` warning is repeated under it, with the same message, for this release only. `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`). Repeated under its former name `preaggregate-join-one-key-repeated` for this release only. `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-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). Repeated under its former name `stored-native-schema-missing` for this release only. `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.
|
|
2699
2717
|
*/
|
|
2700
2718
|
'code'?: string;
|
|
2701
2719
|
/**
|
|
@@ -2765,7 +2783,7 @@ export interface PersistSourcePlan {
|
|
|
2765
2783
|
*/
|
|
2766
2784
|
'columns': Array<Column>;
|
|
2767
2785
|
/**
|
|
2768
|
-
* All key=value fields of the source\'s `#@ persist` annotation (e.g. `name`, `storage`). The control plane uses `name` as the materialized table name (it may carry a dialect container path like `dataset.table`). The key set is closed: an unrecognized or retired key fails the publish and the load (`persist-unknown-key`, `persist-retired-key`), so a served plan carries only recognized keys. Recognized keys beyond `name`/`storage`, both read from the EFFECTIVE merged tag (a source extending a persisted parent inherits the parent\'s keys, and its own keys merge over them per key): * `watermark` — one output dimension name, monotone non-decreasing. Required by `refresh=\"incremental\"`; the platform derives each refresh\'s half-open range from it. Must be a single quoted string naming a column of `columns`. * `merge_key` — comma-separated output dimension names, none of them the watermark. Declares row identity for a source whose rows are restated with a LATER watermark value, which selects a MERGE apply; omitted, the delta replaces the range instead. Compound keys go in one quoted string (`merge_key=\"order_id, region\"`).
|
|
2786
|
+
* All key=value fields of the source\'s `#@ persist` annotation (e.g. `name`, `storage`). The control plane uses `name` as the materialized table name (it may carry a dialect container path like `dataset.table`). The key set is closed: an unrecognized or retired key fails the publish and the load (`persist-unknown-key`, `persist-retired-key`), so a served plan carries only recognized keys. Recognized keys beyond `name`/`storage`, both read from the EFFECTIVE merged tag (a source extending a persisted parent inherits the parent\'s keys, and its own keys merge over them per key): * `watermark` — one output dimension name, monotone non-decreasing. Required by `refresh=\"incremental\"`; the platform derives each refresh\'s half-open range from it. Must be a single quoted string naming a column of `columns`. * `merge_key` — comma-separated output dimension names, none of them the watermark. Declares row identity for a source whose rows are restated with a LATER watermark value, which selects a MERGE apply; omitted, the delta replaces the range instead. Compound keys go in one quoted string (`merge_key=\"order_id, region\"`). * `lookback` — a duration (a positive whole number and one unit: `seconds`, `minutes`, `hours`, `days` or `weeks`, singular or plural, or `s`, `m`, `h`, `d` or `w`, as in `\"2 days\"` or `\"36h\"`; at most 365 days). Each delta of a `date` or `timestamp` watermark starts that much below the newest watermark the stored table holds, and the merge key matches the rows read again. Valid only with `refresh=\"incremental\"`, a `date` or `timestamp` watermark and a `merge_key`; absent means no lookback. All three are checked at publish: `watermark` and `merge_key` against the compiled output schema, and `lookback` against its grammar, its limit and the keys it requires, so a dangling or stale name, or an invalid lookback, is rejected rather than deferred to a build. None participates in `sourceEntityId`: adding a watermark to an existing source must not re-address its table. For a synthesized rollup (`origin: rollup`) the annotation was generated by the publisher rather than authored, so this reports what synthesis emitted. It is still the annotation that governs the build, which is why it is reported the same way: a rollup is an ordinary persist source whose `#@ persist` nobody typed.
|
|
2769
2787
|
*/
|
|
2770
2788
|
'annotationFields'?: {
|
|
2771
2789
|
[key: string]: string;
|
|
@@ -3161,7 +3179,7 @@ export interface QueryResult {
|
|
|
3161
3179
|
*/
|
|
3162
3180
|
'queryRowLimitSource'?: QueryResultQueryRowLimitSourceEnum;
|
|
3163
3181
|
/**
|
|
3164
|
-
* Which tier answered this query, when a materialized table did. `storage` — served from a materialized table in a `storage=` destination, via the virtual-source transform. The source\'s own warehouse was not queried. `database` — served from a materialized table in the source\'s own database (`colocated` in releases before this one): a database `#@ persist` table Malloy substituted, a database `#(materialize)` table the served copy read, or a database rollup or persisted view. `live_fallback` — the query DID route to storage and the store then failed underneath it, and the source\'s freshness fallback allowed it to degrade to the live warehouse. **The rows are correct and the request succeeded**, which is why this needs its own value: it is indistinguishable from a storage hit at the call site, and treating it as one would report a healthy hit rate for a broken store. On `publisher_query_route_total` the same event is the answering leg\'s `outcome=\"fallback\", reason=\"
|
|
3182
|
+
* Which tier answered this query, when a materialized table did. `storage` — served from a materialized table in a `storage=` destination, via the virtual-source transform. The source\'s own warehouse was not queried. `database` — served from a materialized table in the source\'s own database (`colocated` in releases before this one): a database `#@ persist` table Malloy substituted, a database `#(materialize)` table the served copy read, or a database rollup or persisted view. `live_fallback` — the query DID route to storage and the store then failed underneath it, and the source\'s freshness fallback allowed it to degrade to the live warehouse. **The rows are correct and the request succeeded**, which is why this needs its own value: it is indistinguishable from a storage hit at the call site, and treating it as one would report a healthy hit rate for a broken store. On `publisher_query_route_total` the same event is the answering leg\'s `outcome=\"fallback\", reason=\"READ_FAILED\"`. Null means no materialized table answered: the query was served live. `path`, the path report, says why each table that could have answered did not, and `path.servedBy.tier` names the same tier this field does. The server also logs a `served copy cannot answer this query` line at DEBUG, carrying the error that declined the query and its decline code. `live_fallback` here means the store failed at run time for this query. A configured `manifestLocation` whose fetch or bind failed is `manifestBindingStatus: bind_failed` (releases before this one spelled that `live_fallback` too).
|
|
3165
3183
|
*/
|
|
3166
3184
|
'servedFrom'?: QueryResultServedFromEnum | null;
|
|
3167
3185
|
/**
|
|
@@ -4145,7 +4163,7 @@ export interface SourceFailure {
|
|
|
4145
4163
|
*/
|
|
4146
4164
|
'refused'?: boolean;
|
|
4147
4165
|
/**
|
|
4148
|
-
* Whether rebuilding this source unchanged could succeed, so an orchestrator that retries failed builds can stop spending attempts on one that cannot. `false` is a deterministic failure: the same model, instructions and bounds fail the same way on every attempt. It is reported for an eligibility refusal (always, beside `refused`), a Malloy or SQL compile defect (a syntax or parser error), a rejected credential or missing grant (permission or access denied), and a source refused under `strictUpstreams` because a persisted upstream it reads failed deterministically earlier in the same run. That last source inherits its upstream\'s classification (`true` when any such upstream\'s failure is transient) and its `reason` names the upstream\'s own failure. Also `false` for a source a strict build refused under `warehouseReach: refuse`, whose only build would recompute its stored upstreams from the warehouse. `true` is a transient failure, not a property of the inputs: the database could not be reached or reset the connection, a timeout, a rate limit, the build session running out of memory (`Out of Memory Error`, `could not allocate block`, `failed to pin block`: a worker\'s builds share its memory, so a build that ran out beside others can fit alone, and the consumer\'s retry cap bounds one that never fits), or a cancellation. Absent when Publisher does not recognize the error, and from every Publisher that predates the field. A consumer treats absence exactly as it did before this field existed. Deliberately absent: a missing table or column (a binder error, an unrecognized name), because a referenced upstream reclaimed mid-build reads the same as a model defect; and a persisted upstream no manifest holds, on its own, because it may be materialized in another destination or left out of instructions an orchestrator fixed, so retrying the same instructions would not supply it.
|
|
4166
|
+
* Whether rebuilding this source unchanged could succeed, so an orchestrator that retries failed builds can stop spending attempts on one that cannot. `false` is a deterministic failure: the same model, instructions and bounds fail the same way on every attempt. It is reported for an eligibility refusal (always, beside `refused`), a Malloy or SQL compile defect (a syntax or parser error), a rejected credential or missing grant (a message that says permission or access denied), a warehouse\'s own data or syntax error, and a source refused under `strictUpstreams` because a persisted upstream it reads failed deterministically earlier in the same run. That last source inherits its upstream\'s classification (`true` when any such upstream\'s failure is transient) and its `reason` names the upstream\'s own failure. Also `false` for a source a strict build refused under `warehouseReach: refuse`, whose only build would recompute its stored upstreams from the warehouse. A warehouse\'s own data or syntax error is one the warehouse names as such: a Postgres or Snowflake SQLSTATE in class 22 (data exception) or 42 (syntax error or access rule violation), or a BigQuery `invalidQuery` or `invalid` job error, and a Postgres data exception that reaches Publisher as text only (through a DuckDB passthrough). Five SQLSTATEs in class 42 are left to the other rules: a missing table or column (`42P01`, `42703`, `42S02`, `42S22`, and a BigQuery `Unrecognized name` or `Not found`), which stays absent, and `42501` (insufficient privilege). A Postgres `42501` still reports `false`, because its message says permission denied; a Snowflake `42501` stays absent. Transient codes (`40001`, `40P01`, and BigQuery\'s backend and quota reasons) are never `false`. `true` is a transient failure, not a property of the inputs: the database could not be reached or reset the connection, a timeout, a rate limit, the build session running out of memory (`Out of Memory Error`, `could not allocate block`, `failed to pin block`: a worker\'s builds share its memory, so a build that ran out beside others can fit alone, and the consumer\'s retry cap bounds one that never fits), or a cancellation. Absent when Publisher does not recognize the error, and from every Publisher that predates the field. A consumer treats absence exactly as it did before this field existed. Deliberately absent: a missing table or column (a binder error, an unrecognized name), because a referenced upstream reclaimed mid-build reads the same as a model defect; and a persisted upstream no manifest holds, on its own, because it may be materialized in another destination or left out of instructions an orchestrator fixed, so retrying the same instructions would not supply it.
|
|
4149
4167
|
*/
|
|
4150
4168
|
'retryable'?: boolean;
|
|
4151
4169
|
}
|
|
@@ -4883,7 +4901,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
4883
4901
|
*/
|
|
4884
4902
|
listTablesInPackage: (environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4885
4903
|
/**
|
|
4886
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
4904
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
4887
4905
|
* @summary Execute SQL query
|
|
4888
4906
|
* @param {string} environmentName Name of the environment
|
|
4889
4907
|
* @param {string} connectionName Name of the connection
|
|
@@ -4893,7 +4911,7 @@ export declare const ConnectionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
4893
4911
|
*/
|
|
4894
4912
|
postQuerydata: (environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4895
4913
|
/**
|
|
4896
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
4914
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
4897
4915
|
* @summary Execute SQL query (per-package)
|
|
4898
4916
|
* @param {string} environmentName Name of the environment
|
|
4899
4917
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5068,7 +5086,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
5068
5086
|
*/
|
|
5069
5087
|
listTablesInPackage(environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Table>>>;
|
|
5070
5088
|
/**
|
|
5071
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
5089
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
5072
5090
|
* @summary Execute SQL query
|
|
5073
5091
|
* @param {string} environmentName Name of the environment
|
|
5074
5092
|
* @param {string} connectionName Name of the connection
|
|
@@ -5078,7 +5096,7 @@ export declare const ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
5078
5096
|
*/
|
|
5079
5097
|
postQuerydata(environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryData>>;
|
|
5080
5098
|
/**
|
|
5081
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
5099
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
5082
5100
|
* @summary Execute SQL query (per-package)
|
|
5083
5101
|
* @param {string} environmentName Name of the environment
|
|
5084
5102
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5253,7 +5271,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
|
|
|
5253
5271
|
*/
|
|
5254
5272
|
listTablesInPackage(environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Table>>;
|
|
5255
5273
|
/**
|
|
5256
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
5274
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
5257
5275
|
* @summary Execute SQL query
|
|
5258
5276
|
* @param {string} environmentName Name of the environment
|
|
5259
5277
|
* @param {string} connectionName Name of the connection
|
|
@@ -5263,7 +5281,7 @@ export declare const ConnectionsApiFactory: (configuration?: Configuration, base
|
|
|
5263
5281
|
*/
|
|
5264
5282
|
postQuerydata(environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): AxiosPromise<QueryData>;
|
|
5265
5283
|
/**
|
|
5266
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
5284
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
5267
5285
|
* @summary Execute SQL query (per-package)
|
|
5268
5286
|
* @param {string} environmentName Name of the environment
|
|
5269
5287
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5438,7 +5456,7 @@ export declare class ConnectionsApi extends BaseAPI {
|
|
|
5438
5456
|
*/
|
|
5439
5457
|
listTablesInPackage(environmentName: string, packageName: string, connectionName: string, schemaName: string, tableNames?: Array<string>, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Table[], any, {}, any>>;
|
|
5440
5458
|
/**
|
|
5441
|
-
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1.
|
|
5459
|
+
* Executes a SQL statement against the specified database connection and returns the results. The results include data, metadata, and execution information. Rows returned are capped at PUBLISHER_MAX_QUERY_ROWS (default 100,000). The cap is forwarded to the connector as a rowLimit on RunSQLOptions; queries that return more rows than the cap fail with HTTP 413 rather than serializing the response. Set PUBLISHER_MAX_QUERY_ROWS=0 to disable the cap. A caller-supplied rowLimit smaller than the cap is preserved; larger values are clamped down to cap+1. On a DuckDB-backed connection (`duckdb`, including a package\'s `duckdb` sandbox, `ducklake` and `motherduck`), `sqlStatement` runs only as a single SELECT. Any other statement, more than one statement, or SQL that does not parse answers 400 before anything runs. `sqlSource` and `sqlTemporaryTable` apply the same rule to the caller\'s SQL.
|
|
5442
5460
|
* @summary Execute SQL query
|
|
5443
5461
|
* @param {string} environmentName Name of the environment
|
|
5444
5462
|
* @param {string} connectionName Name of the connection
|
|
@@ -5448,7 +5466,7 @@ export declare class ConnectionsApi extends BaseAPI {
|
|
|
5448
5466
|
*/
|
|
5449
5467
|
postQuerydata(environmentName: string, connectionName: string, postQuerydataRequest: PostQuerydataRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<QueryData, any, {}, any>>;
|
|
5450
5468
|
/**
|
|
5451
|
-
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint.
|
|
5469
|
+
* Executes a SQL statement against the specified database connection, resolved in the context of the named package, and returns the results. Subject to the same PUBLISHER_MAX_QUERY_ROWS row cap as the environment-level sqlQuery endpoint, and to the same single-SELECT rule on a DuckDB-backed connection: any other statement answers 400.
|
|
5452
5470
|
* @summary Execute SQL query (per-package)
|
|
5453
5471
|
* @param {string} environmentName Name of the environment
|
|
5454
5472
|
* @param {string} packageName Name of the package whose connection context to use
|
|
@@ -5997,7 +6015,7 @@ export declare const MaterializationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
5997
6015
|
*/
|
|
5998
6016
|
createMaterialization: (environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5999
6017
|
/**
|
|
6000
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6018
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6001
6019
|
* @summary Delete a materialization
|
|
6002
6020
|
* @param {string} environmentName Name of the environment
|
|
6003
6021
|
* @param {string} packageName Name of the package
|
|
@@ -6007,6 +6025,19 @@ export declare const MaterializationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
6007
6025
|
* @throws {RequiredError}
|
|
6008
6026
|
*/
|
|
6009
6027
|
deleteMaterialization: (environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6028
|
+
/**
|
|
6029
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6030
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6031
|
+
* @param {string} environmentName Name of the environment
|
|
6032
|
+
* @param {string} packageName Name of the package
|
|
6033
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6034
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6035
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6036
|
+
* @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.
|
|
6037
|
+
* @param {*} [options] Override http request option.
|
|
6038
|
+
* @throws {RequiredError}
|
|
6039
|
+
*/
|
|
6040
|
+
dropMaterializedTable: (environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6010
6041
|
/**
|
|
6011
6042
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6012
6043
|
* @summary Get a specific materialization
|
|
@@ -6058,7 +6089,7 @@ export declare const MaterializationsApiFp: (configuration?: Configuration) => {
|
|
|
6058
6089
|
*/
|
|
6059
6090
|
createMaterialization(environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Materialization>>;
|
|
6060
6091
|
/**
|
|
6061
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6092
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6062
6093
|
* @summary Delete a materialization
|
|
6063
6094
|
* @param {string} environmentName Name of the environment
|
|
6064
6095
|
* @param {string} packageName Name of the package
|
|
@@ -6068,6 +6099,19 @@ export declare const MaterializationsApiFp: (configuration?: Configuration) => {
|
|
|
6068
6099
|
* @throws {RequiredError}
|
|
6069
6100
|
*/
|
|
6070
6101
|
deleteMaterialization(environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6102
|
+
/**
|
|
6103
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6104
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6105
|
+
* @param {string} environmentName Name of the environment
|
|
6106
|
+
* @param {string} packageName Name of the package
|
|
6107
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6108
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6109
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6110
|
+
* @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.
|
|
6111
|
+
* @param {*} [options] Override http request option.
|
|
6112
|
+
* @throws {RequiredError}
|
|
6113
|
+
*/
|
|
6114
|
+
dropMaterializedTable(environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6071
6115
|
/**
|
|
6072
6116
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6073
6117
|
* @summary Get a specific materialization
|
|
@@ -6119,7 +6163,7 @@ export declare const MaterializationsApiFactory: (configuration?: Configuration,
|
|
|
6119
6163
|
*/
|
|
6120
6164
|
createMaterialization(environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Materialization>;
|
|
6121
6165
|
/**
|
|
6122
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6166
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6123
6167
|
* @summary Delete a materialization
|
|
6124
6168
|
* @param {string} environmentName Name of the environment
|
|
6125
6169
|
* @param {string} packageName Name of the package
|
|
@@ -6129,6 +6173,19 @@ export declare const MaterializationsApiFactory: (configuration?: Configuration,
|
|
|
6129
6173
|
* @throws {RequiredError}
|
|
6130
6174
|
*/
|
|
6131
6175
|
deleteMaterialization(environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6176
|
+
/**
|
|
6177
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6178
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6179
|
+
* @param {string} environmentName Name of the environment
|
|
6180
|
+
* @param {string} packageName Name of the package
|
|
6181
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6182
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6183
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6184
|
+
* @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.
|
|
6185
|
+
* @param {*} [options] Override http request option.
|
|
6186
|
+
* @throws {RequiredError}
|
|
6187
|
+
*/
|
|
6188
|
+
dropMaterializedTable(environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6132
6189
|
/**
|
|
6133
6190
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6134
6191
|
* @summary Get a specific materialization
|
|
@@ -6180,7 +6237,7 @@ export declare class MaterializationsApi extends BaseAPI {
|
|
|
6180
6237
|
*/
|
|
6181
6238
|
createMaterialization(environmentName: string, packageName: string, createMaterializationRequest?: CreateMaterializationRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Materialization, any, {}, any>>;
|
|
6182
6239
|
/**
|
|
6183
|
-
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a table this run produced,
|
|
6240
|
+
* Deletes a terminal (MANIFEST_FILE_READY, FAILED, or CANCELLED) materialization record. A delete is record-only: it never drops a table, and the caller owns table GC. To drop a database table this run produced, use `drop-materialized-table` (`DELETE …/connections/{connectionName}/materializedTables/{tableName}`), which checks that no remaining run, of any version, names a table with that name in any place; a table built before 0.16.0 carries no ownership mark, so drop it first, passing this run\'s id, then delete the run. `dropTables=true` is refused with 400 and deletes nothing, as is any value other than `true` or `false` (the fix is to omit it); `dropTables=false`, which older clients send, is accepted and ignored.
|
|
6184
6241
|
* @summary Delete a materialization
|
|
6185
6242
|
* @param {string} environmentName Name of the environment
|
|
6186
6243
|
* @param {string} packageName Name of the package
|
|
@@ -6190,6 +6247,19 @@ export declare class MaterializationsApi extends BaseAPI {
|
|
|
6190
6247
|
* @throws {RequiredError}
|
|
6191
6248
|
*/
|
|
6192
6249
|
deleteMaterialization(environmentName: string, packageName: string, materializationId: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
|
6250
|
+
/**
|
|
6251
|
+
* Drops one database-tier table a materialization of this package built on one of the package\'s connections, with the staging and backup copies a crashed build can leave beside it when a run record names the table. This is the drop a caller makes after (or before) deleting a run\'s record, which never drops a table. A `storage=` table lives in a storage destination, which this route does not reach; the admin API\'s catalog routes drop those. Publisher does not authenticate the caller: the gateway in front of it decides who may call this route, and should allow only the operator that owns the package\'s materialization lifecycle. The route itself refuses any table it cannot prove is this package\'s and unused, under the package\'s run lock and the table name\'s lock, so no run starts, commits or claims the name between the checks and the drop: * 400: the name cannot be quoted in the connection\'s dialect, or it is the staging or backup copy a build makes of a table a run of the package records, which is dropped only with that table. * 404, with no `reason`: the package does not reach a connection by that name (or the environment, package or `materializationId` does not exist). * 409 `MATERIALIZATION_CONFLICT`: a run of the package is active. Retry once it settles. * 409 `TABLE_IN_USE`: a committed run of the package, of any version, other than the one `materializationId` names, names a table with this name in any place; the run `materializationId` names is the one a version or the package serves; or a loaded copy of any package in the environment is bound to a table with this name; or the warehouse refused the drop because other objects depend on the table (Postgres 2BP01). Delete or replace that run, or those objects, first. * 409 `TABLE_OWNED_ELSEWHERE`: the table carries another package\'s ownership mark, or the name is held by a view Publisher did not create or another package\'s view; or the warehouse refused the drop because the connection may not drop it (42501) or the name holds something other than a table (42809). The answer does not name the holder. * 409 `TABLE_OWNERSHIP_UNVERIFIED`: the table carries no ownership mark this route accepts, and the run `materializationId` names (terminal, of this package) does not record it on this connection; or who holds the name could not be read. A mark is accepted only when it names this package and the very place the warehouse\'s catalog says the name resolves to now (its fully qualified location, recorded when the mark was written): a comment travels with a renamed, moved or cloned table, so such a copy, or another schema\'s table a search path finds first, is treated as unmarked, as is a mark written before 0.16.0 (it names no place). Drop such a table passing the id of the run that records it, before deleting that run\'s record. * 404 `TABLE_NOT_FOUND`: no table holds the name and no run record of this package names it on this connection, so nothing proves it was ever this package\'s. A table that is already gone answers 204 when a run record of this package still names it on this connection (pass its `materializationId`, or retry before deleting the record), so a retried drop succeeds; otherwise 404 `TABLE_NOT_FOUND`.
|
|
6252
|
+
* @summary Drop a materialized table from a package\'s connection
|
|
6253
|
+
* @param {string} environmentName Name of the environment
|
|
6254
|
+
* @param {string} packageName Name of the package
|
|
6255
|
+
* @param {string} connectionName Name of the connection the table was built on, as the package reaches it
|
|
6256
|
+
* @param {string} tableName The table\'s full name as the run\'s manifest records it (`physicalTableName`: `table`, `schema.table` or `catalog.schema.table`), URL-encoded. It is quoted for the connection\'s dialect as the build quoted it; a name the dialect cannot quote answers 400.
|
|
6257
|
+
* @param {string} [materializationId] The id of the run that built the table, as evidence that it is this package\'s when it carries no ownership mark. That run is not counted as using the table, unless it is the one a version or the package serves. Must be a terminal run of this package (404 otherwise; 409 `MATERIALIZATION_CONFLICT` while it is active).
|
|
6258
|
+
* @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.
|
|
6259
|
+
* @param {*} [options] Override http request option.
|
|
6260
|
+
* @throws {RequiredError}
|
|
6261
|
+
*/
|
|
6262
|
+
dropMaterializedTable(environmentName: string, packageName: string, connectionName: string, tableName: string, materializationId?: string, versionId?: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
|
6193
6263
|
/**
|
|
6194
6264
|
* A run\'s id is unique, so with no `versionId` the run is found whichever version built it. Naming a version also requires the run to be that version\'s (or one from before the package\'s first versioned publish); the same holds for stopping and deleting a run.
|
|
6195
6265
|
* @summary Get a specific materialization
|
package/dist/client/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-DpOy4_Kf.cjs.js");exports.AgentsApi=e.AgentsApi;exports.AgentsApiAxiosParamCreator=e.AgentsApiAxiosParamCreator;exports.AgentsApiFactory=e.AgentsApiFactory;exports.AgentsApiFp=e.AgentsApiFp;exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileRequestScopeEnum=e.CompileRequestScopeEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.CompiledDocumentKindEnum=e.CompiledDocumentKindEnum;exports.CompiledDocumentLayoutEnum=e.CompiledDocumentLayoutEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DashboardManifestKindEnum=e.DashboardManifestKindEnum;exports.DashboardManifestLayoutEnum=e.DashboardManifestLayoutEnum;exports.DashboardTileKindEnum=e.DashboardTileKindEnum;exports.DashboardsApi=e.DashboardsApi;exports.DashboardsApiAxiosParamCreator=e.DashboardsApiAxiosParamCreator;exports.DashboardsApiFactory=e.DashboardsApiFactory;exports.DashboardsApiFp=e.DashboardsApiFp;exports.DataAppFitEnum=e.DataAppFitEnum;exports.DataAppsApi=e.DataAppsApi;exports.DataAppsApiAxiosParamCreator=e.DataAppsApiAxiosParamCreator;exports.DataAppsApiFactory=e.DataAppsApiFactory;exports.DataAppsApiFp=e.DataAppsApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GetAgentSkillsEnum=e.GetAgentSkillsEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LedgerEntryStrategyEnum=e.LedgerEntryStrategyEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.ManifestEntryOriginEnum=e.ManifestEntryOriginEnum;exports.ManifestEntryRefreshEnum=e.ManifestEntryRefreshEnum;exports.ManifestEntryUpstreamReuseEnum=e.ManifestEntryUpstreamReuseEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationMetadataKeptTablesInnerReasonEnum=e.MaterializationMetadataKeptTablesInnerReasonEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelEntitiesErrorKindEnum=e.ModelEntitiesErrorKindEnum;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellKindEnum=e.NotebookCellKindEnum;exports.NotebookCellResultKindEnum=e.NotebookCellResultKindEnum;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageArchiveStatusEnum=e.PackageArchiveStatusEnum;exports.PackageEmbeddingIndexReasonEnum=e.PackageEmbeddingIndexReasonEnum;exports.PackageEmbeddingIndexStageEnum=e.PackageEmbeddingIndexStageEnum;exports.PackageEmbeddingIndexStatusEnum=e.PackageEmbeddingIndexStatusEnum;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageServingStateArchiveStatusEnum=e.PackageServingStateArchiveStatusEnum;exports.PackageServingStateManifestBindingStatusEnum=e.PackageServingStateManifestBindingStatusEnum;exports.PackageStatusEntryArchiveStatusEnum=e.PackageStatusEntryArchiveStatusEnum;exports.PackageStatusEntryFieldsArchiveStatusEnum=e.PackageStatusEntryFieldsArchiveStatusEnum;exports.PackageStatusEntryFieldsManifestBindingStatusEnum=e.PackageStatusEntryFieldsManifestBindingStatusEnum;exports.PackageStatusEntryManifestBindingStatusEnum=e.PackageStatusEntryManifestBindingStatusEnum;exports.PackageStatusEntryQueryableSourcesEnum=e.PackageStatusEntryQueryableSourcesEnum;exports.PackageStatusEntryScopeEnum=e.PackageStatusEntryScopeEnum;exports.PackageVersionArchiveStatusEnum=e.PackageVersionArchiveStatusEnum;exports.PackageVersionUpdateArchiveStatusEnum=e.PackageVersionUpdateArchiveStatusEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PersistSourcePlanOriginEnum=e.PersistSourcePlanOriginEnum;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryPathCandidateOriginEnum=e.QueryPathCandidateOriginEnum;exports.QueryPathCandidateOutcomeEnum=e.QueryPathCandidateOutcomeEnum;exports.QueryPathNearbyOriginEnum=e.QueryPathNearbyOriginEnum;exports.QueryPathNearbyRelationshipEnum=e.QueryPathNearbyRelationshipEnum;exports.QueryPathServerOriginEnum=e.QueryPathServerOriginEnum;exports.QueryPathServerTierEnum=e.QueryPathServerTierEnum;exports.QueryPathTableKind=e.QueryPathTableKind;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.QueryResultServedFromEnum=e.QueryResultServedFromEnum;exports.RawNotebookFormatEnum=e.RawNotebookFormatEnum;exports.Realization=e.Realization;exports.RefusedSourceOriginEnum=e.RefusedSourceOriginEnum;exports.RefusedSourceReasonEnum=e.RefusedSourceReasonEnum;exports.RefusedSourceTierEnum=e.RefusedSourceTierEnum;exports.ReportCellsFormatEnum=e.ReportCellsFormatEnum;exports.ReportLayoutEnum=e.ReportLayoutEnum;exports.ReportManifestLayoutEnum=e.ReportManifestLayoutEnum;exports.ReportTileKindEnum=e.ReportTileKindEnum;exports.ReportsApi=e.ReportsApi;exports.ReportsApiAxiosParamCreator=e.ReportsApiAxiosParamCreator;exports.ReportsApiFactory=e.ReportsApiFactory;exports.ReportsApiFp=e.ReportsApiFp;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.S3ConnectionProviderEnum=e.S3ConnectionProviderEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusModelPageEnum=e.ServerStatusModelPageEnum;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.ServerStatusPackageVersioningEnum=e.ServerStatusPackageVersioningEnum;exports.ServerStatusVersionPromotionEnum=e.ServerStatusVersionPromotionEnum;exports.SkillOriginEnum=e.SkillOriginEnum;exports.SkillSummaryOriginEnum=e.SkillSummaryOriginEnum;exports.SkillsApi=e.SkillsApi;exports.SkillsApiAxiosParamCreator=e.SkillsApiAxiosParamCreator;exports.SkillsApiFactory=e.SkillsApiFactory;exports.SkillsApiFp=e.SkillsApiFp;exports.SkipReason=e.SkipReason;exports.StorageDestinationsApi=e.StorageDestinationsApi;exports.StorageDestinationsApiAxiosParamCreator=e.StorageDestinationsApiAxiosParamCreator;exports.StorageDestinationsApiFactory=e.StorageDestinationsApiFactory;exports.StorageDestinationsApiFp=e.StorageDestinationsApiFp;exports.StorageServeBindingOriginEnum=e.StorageServeBindingOriginEnum;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.VersionsApi=e.VersionsApi;exports.VersionsApiAxiosParamCreator=e.VersionsApiAxiosParamCreator;exports.VersionsApiFactory=e.VersionsApiFactory;exports.VersionsApiFp=e.VersionsApiFp;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.usePublisherTheme=e.usePublisherTheme;exports.useServer=e.useServer;
|
package/dist/client/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as i, c as n, d as r, e as o, C as u, f as p, g as m, h as A, i as E, j as c, k as b, l, m as S, n as g, o as y, p as P, q as d, r as C, s as F, t as k, u as h, D as M, v, w as R, x, y as D, z as T, B as f, E as Q, F as N, G as O, H as z, I as K, J as V, K as B, L, M as I, N as W, O as w, P as q, Q as G, R as U, S as j, T as H, U as J, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ta, a2 as ia, a3 as na, a4 as ra, a5 as oa, a6 as ua, a7 as pa, a8 as ma, a9 as Aa, aa as Ea, ab as ca, ac as ba, ad as la, ae as Sa, af as ga, ag as ya, ah as Pa, ai as da, aj as Ca, ak as Fa, al as ka, am as ha, an as Ma, ao as va, ap as Ra, aq as xa, ar as Da, as as Ta, at as fa, au as Qa, av as Na, aw as Oa, ax as za, ay as Ka, az as Va, aA as Ba, aB as La, aC as Ia, aD as Wa, aE as wa, aF as qa, aG as Ga, aH as Ua, aI as ja, aJ as Ha, aK as Ja, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as ts, aU as is, aV as ns, aW as rs, aX as os, aY as us, aZ as ps, a_ as ms, a$ as As, b0 as Es, b1 as cs, b2 as bs, b3 as ls, b4 as Ss, b5 as gs, b6 as ys, b7 as Ps, b8 as ds, b9 as Cs, ba as Fs, bb as ks, bc as hs, bd as Ms, be as vs, bf as Rs, bg as xs, bh as Ds, bi as Ts, bj as fs, bk as Qs, bl as Ns, bm as Os, bn as zs, bo as Ks, bp as Vs, bq as Bs, br as Ls, bs as Is, bt as Ws, bu as ws, bv as qs, bw as Gs, bx as Us, by as js, bz as Hs, bA as Js, bB as Xs, bC as Ys } from "../ServerProvider-
|
|
1
|
+
import { A as e, a as t, b as i, c as n, d as r, e as o, C as u, f as p, g as m, h as A, i as E, j as c, k as b, l, m as S, n as g, o as y, p as P, q as d, r as C, s as F, t as k, u as h, D as M, v, w as R, x, y as D, z as T, B as f, E as Q, F as N, G as O, H as z, I as K, J as V, K as B, L, M as I, N as W, O as w, P as q, Q as G, R as U, S as j, T as H, U as J, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ta, a2 as ia, a3 as na, a4 as ra, a5 as oa, a6 as ua, a7 as pa, a8 as ma, a9 as Aa, aa as Ea, ab as ca, ac as ba, ad as la, ae as Sa, af as ga, ag as ya, ah as Pa, ai as da, aj as Ca, ak as Fa, al as ka, am as ha, an as Ma, ao as va, ap as Ra, aq as xa, ar as Da, as as Ta, at as fa, au as Qa, av as Na, aw as Oa, ax as za, ay as Ka, az as Va, aA as Ba, aB as La, aC as Ia, aD as Wa, aE as wa, aF as qa, aG as Ga, aH as Ua, aI as ja, aJ as Ha, aK as Ja, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as ts, aU as is, aV as ns, aW as rs, aX as os, aY as us, aZ as ps, a_ as ms, a$ as As, b0 as Es, b1 as cs, b2 as bs, b3 as ls, b4 as Ss, b5 as gs, b6 as ys, b7 as Ps, b8 as ds, b9 as Cs, ba as Fs, bb as ks, bc as hs, bd as Ms, be as vs, bf as Rs, bg as xs, bh as Ds, bi as Ts, bj as fs, bk as Qs, bl as Ns, bm as Os, bn as zs, bo as Ks, bp as Vs, bq as Bs, br as Ls, bs as Is, bt as Ws, bu as ws, bv as qs, bw as Gs, bx as Us, by as js, bz as Hs, bA as Js, bB as Xs, bC as Ys } from "../ServerProvider-lAZ5ZdQS.es.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AgentsApi,
|
|
4
4
|
t as AgentsApiAxiosParamCreator,
|