@malloy-publisher/sdk 0.17.3 → 0.18.1
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-Cm0Wwtek.es.js → RenderedResult--fYcsY1h.es.js} +2 -2
- package/dist/{ServerProvider-4Gzf14mc.es.js → ServerProvider-nC__R_WW.es.js} +20 -20
- package/dist/builder/index.es.js +3 -3
- package/dist/client/api.d.ts +36 -29
- package/dist/client/index.es.js +1 -1
- package/dist/index.cjs.js +28 -28
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +2687 -2651
- package/dist/{useCompiledDocument-CYKXIpk-.es.js → useCompiledDocument-X00FD-D6.es.js} +2 -2
- package/dist/utils/dataAppEmbed.d.ts +29 -0
- package/package.json +1 -1
- package/src/components/DataAppViewer/DataAppViewer.spec.tsx +202 -0
- package/src/components/DataAppViewer/DataAppViewer.tsx +68 -5
- package/src/index.ts +7 -1
- package/src/utils/dataAppEmbed.spec.ts +44 -0
- package/src/utils/dataAppEmbed.ts +60 -0
package/dist/client/api.d.ts
CHANGED
|
@@ -307,11 +307,6 @@ export interface BuildInstructions {
|
|
|
307
307
|
* @deprecated
|
|
308
308
|
*/
|
|
309
309
|
'strictUpstreams'?: boolean;
|
|
310
|
-
/**
|
|
311
|
-
* Deprecated: accepted and ignored. No build recomputes a stored upstream from the source warehouse, so there is nothing for it to choose; a request that sends it (or `strictUpstreams`) logs one deprecation warning. The values are still validated: `recompute` and `refuse` are accepted, null reads as absent, and any other value is a 400.
|
|
312
|
-
* @deprecated
|
|
313
|
-
*/
|
|
314
|
-
'warehouseReach'?: string;
|
|
315
310
|
/**
|
|
316
311
|
* The incremental ledger for this run, supplied by the caller: each entry is a `ManifestEntry.ledger` an earlier run reported, returned unmodified. Absent, the publisher uses its own ledger store — today\'s behavior, every existing caller. Present (even empty), it IS the ledger for this run: boundaries are read from here, the local store is neither read nor written, and an incremental source with no entry here seeds. An entry that does not validate against this run is a 400, while one whose own shape is malformed is dropped and its source seeds (see `LedgerEntry`); an entry for a source being `reseed`-ed is ignored. For an orchestrator that dispatches one package\'s refreshes across interchangeable workers: the local store is per-process, so a refresh landing on a worker that has never built the table would otherwise re-seed a source whose whole purpose is not being rebuilt.
|
|
317
312
|
*/
|
|
@@ -686,7 +681,7 @@ export interface Connection {
|
|
|
686
681
|
*/
|
|
687
682
|
'withheldFields'?: Array<string>;
|
|
688
683
|
/**
|
|
689
|
-
* Serve this DuckLake connection as a catalog of its own tables, as an orchestrator that provisions catalogs does. Two effects. Its session gets `SET search_path = \'<name>.main\'` after the attach, so a model\'s `<name>.table(\'t\')`, which compiles to the bare table name, resolves inside the catalog: DuckDB does not search an attached catalog for an unqualified name otherwise. Each statement run on it emits a `statement_usage` log record and counts in `publisher_statement_usage_total`, for whoever meters the catalog. And raw SQL on it runs only as a single SELECT: `sqlQuery` and `sqlSource` answer 400 for anything else (another statement type, or more than one statement), and `sqlTemporaryTable` answers 400 always. This is a rule on statements, not on what a SELECT reads: that is bounded by the catalog role and by the session\'s storage secret, which on a managed connection attached read-only is scoped to the `main` schema
|
|
684
|
+
* Serve this DuckLake connection as a catalog of its own tables, as an orchestrator that provisions catalogs does. Two effects. Its session gets `SET search_path = \'<name>.main\'` after the attach, so a model\'s `<name>.table(\'t\')`, which compiles to the bare table name, resolves inside the catalog: DuckDB does not search an attached catalog for an unqualified name otherwise. Each statement run on it emits a `statement_usage` log record and counts in `publisher_statement_usage_total`, for whoever meters the catalog. And raw SQL on it runs only as a single SELECT: `sqlQuery` and `sqlSource` answer 400 for anything else (another statement type, or more than one statement), and `sqlTemporaryTable` answers 400 always. This is a rule on statements, not on what a SELECT reads: that is bounded by the catalog role and by the session\'s storage secret, which on a managed connection attached read-only is scoped to the recorded paths of the `main` schema and of the schemas `ducklakeConnection.readableSchemas` lists, so a SELECT reads only those schemas\' files; another schema\'s files, and any other object in the bucket, are unsigned (403). Absent or false is the pre-existing behavior.
|
|
690
685
|
*/
|
|
691
686
|
'managed'?: boolean;
|
|
692
687
|
/**
|
|
@@ -1106,9 +1101,13 @@ export interface DucklakeConnection {
|
|
|
1106
1101
|
'storage'?: DucklakeConnectionStorage;
|
|
1107
1102
|
'catalog': DucklakeConnectionCatalog;
|
|
1108
1103
|
/**
|
|
1109
|
-
* Storage destinations only; ignored on a connection. The schema a destination builds its tables into and binds them from, so an orchestrator can keep the tables it owns apart from a catalog\'s `main` (
|
|
1104
|
+
* Storage destinations only; ignored on a connection. The schema a destination builds its tables into and binds them from, so an orchestrator can keep the tables it owns apart from a catalog\'s `main` (a table PUT may write people\'s own tables there; a load may not, so loads go in a schema created through the admin API). Absent means `main`, the pre-existing layout. The schema must already exist in the catalog: a build does not create it. A `#@ persist name=` that already names a schema keeps that schema. Must be a plain identifier (`[A-Za-z_][A-Za-z0-9_]*`). Serving reads the schema configured now, not the one a table was built into, so changing it on a destination re-points every bound table at once: rebuild or rebind as you change it.
|
|
1110
1105
|
*/
|
|
1111
1106
|
'destinationSchema'?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* Additional schemas a managed read-only view may read. Only on a connection with `managed: true` and a read-only attach (never on a storage destination). `main` is always readable and may be omitted. The view\'s storage secret is scoped to the recorded path of `main` and of each schema listed here, so a SELECT reads those schemas\' files and nothing else in the bucket. Each name is a plain lowercase identifier (`[a-z_][a-z0-9_]*`); order and duplicates are ignored. A schema the catalog does not record, or whose recorded path is not under the catalog\'s data path, is left out of the scope. On a local data path the view\'s file allowlist is scoped the same way. SQL on the connection may name a listed schema\'s tables as it does `main`\'s, its schema and table listings show the listed schemas beside `main`, and every other schema stays refused. `main` is implicit, and the request is refused with a 400 when it lists `memory`, `information_schema`, `pg_catalog`, `temp`, `system` or a name starting with `__ducklake_metadata_`, or a schema that a storage destination of the same environment on the same catalog builds into (that destination\'s stored copies, gated sources\' rows among them, would be readable by name without their gate); the same pair in a configured environment fails that environment\'s load at startup. A destination that shares the catalog and builds into `main` must set `destinationSchema`. Create a schema in the catalog before listing it: a schema listed before it exists gets no file access until the connection is next edited or the server restarts. Removing a schema from the list takes effect for already-loaded packages only after they reload.
|
|
1109
|
+
*/
|
|
1110
|
+
'readableSchemas'?: Array<string>;
|
|
1112
1111
|
/**
|
|
1113
1112
|
* Whether the serve-path attach is read-only. Absent or true keeps the pre-existing read-only attach, which every DuckLake connection a person registers should keep. False attaches the connection read-write, and then everything that runs on it runs read-write: every query, `.sql()` source, `sql_*` expression and the connection\'s SQL endpoints can create, drop and overwrite tables, write files with the storage credential (`COPY … TO`) and change the catalog\'s settings. Set it only where something else decides who may run SQL on the connection. A storage destination\'s build sessions attach read-write regardless; this field governs only the connection.
|
|
1114
1113
|
*/
|
|
@@ -1900,7 +1899,7 @@ export interface ModelError {
|
|
|
1900
1899
|
*/
|
|
1901
1900
|
'refusalReason'?: string;
|
|
1902
1901
|
/**
|
|
1903
|
-
* 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. RESULT_TRUNCATED, on a 502, means the database returned fewer rows than it reported and no row limit cut them: a BigQuery answer larger than one results page (about 10 MB) whose later pages were not read. The query is refused rather than answered short. Retrying returns the same page; select fewer columns, aggregate, or return fewer rows. RESULT_SHAPE_MISMATCH, on a 502, means the database answered but a row does not fit the schema Malloy declared for the result (a value of another type than its column\'s), so the result could not be built. The query is not the caller\'s to fix; the server logs the cause. 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, RESULT_TRUNCATED, RESULT_SHAPE_MISMATCH, 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.
|
|
1902
|
+
* 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. RESULT_TRUNCATED, on a 502, means the database returned fewer rows than it reported and no row limit cut them: a BigQuery answer larger than one results page (about 10 MB) whose later pages were not read. The query is refused rather than answered short. Retrying returns the same page; select fewer columns, aggregate, or return fewer rows. RESULT_SHAPE_MISMATCH, on a 502, means the database answered but a row does not fit the schema Malloy declared for the result (a value of another type than its column\'s), so the result could not be built. The query is not the caller\'s to fix; the server logs the cause. 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. `failures` holds one outcome per address, so on a run with `buildInstructions` a refused source whose address holds another outcome (a table an eligible source built, another source\'s build failure, or another source\'s refusal) is in `metadata.refusedSources` instead, with its own reason, on a FAILED run too. 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. MANIFEST_BIND_FAILED, on a 500 from `set-package-version-manifest` or the deprecated `update-package` PATCH that names a `manifestLocation` (on a versioned or an unversioned package), means the manifest could not be fetched or bound, so nothing of it was applied: the `manifestLocation` stays what it was (an unversioned package\'s whole PATCH is undone, publisher.json included), and the package or version serves what it served before. The message carries the cause. MANIFEST_NOT_FOUND, on a 400 from the same routes, means nothing is at the `manifestLocation` (no such file, object or bucket), and MANIFEST_INVALID, on a 422, that what is there does not parse or is not a build manifest. Both are the caller\'s input: nothing of the manifest was applied, as with MANIFEST_BIND_FAILED, and sending it unchanged fails the same way. 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, RESULT_TRUNCATED, RESULT_SHAPE_MISMATCH, 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.
|
|
1904
1903
|
*/
|
|
1905
1904
|
'reason'?: string;
|
|
1906
1905
|
/**
|
|
@@ -2791,6 +2790,14 @@ export interface PackageWarningsInner {
|
|
|
2791
2790
|
* The bounded cause of a finding, so a client branches on it rather than on the message (whose wording may change): the refusal record\'s `reason` on a `*-not-built` warning; the served copy\'s reason on `served-copy-not-served`; the unread reason on `database-table-unread` and `storage-table-unread`; the kept table\'s reason on `table-kept`; the serve verdict\'s reason on a `materialization-*` verdict warning; `storage_mode` on `materialization-storage-mode`; the rule a cell breaks on `malloynb-cell-refused` (`off_surface`, `caller_annotation`, `required_filter`, `restricted_mode`, `compile_error`). Always snake_case. An open string; absent on a finding that has none.
|
|
2792
2791
|
*/
|
|
2793
2792
|
'reason'?: string;
|
|
2793
|
+
/**
|
|
2794
|
+
* The content address (its manifest key) of the stored table a finding is about, so a client routes it without reading the message: set on `database-table-unread` and `storage-table-unread`, where `subject` names the source a query names (a rollup\'s base) and this names the unread table\'s own source. Absent on every other finding.
|
|
2795
|
+
*/
|
|
2796
|
+
'sourceEntityId'?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* The name of the source whose stored table a finding is about, beside `sourceEntityId`: for a rollup\'s table, the rollup\'s own source (`<base>__rollup__…`), not the base `subject` names. Set on `database-table-unread` and `storage-table-unread` when the build plan knows the table; absent otherwise.
|
|
2799
|
+
*/
|
|
2800
|
+
'sourceName'?: string;
|
|
2794
2801
|
/**
|
|
2795
2802
|
* Finding severity, `error` or `warn` and nothing else; a deprecated form that still loads (such as `deprecated-malloynb-notebook`) is `warn`. Render-tag findings use both: `error` for a tag malformed for the field it sits on, which renders as \"[object Object]\" or an inline error at query time, and `warn` for one that is well-formed but inert where it sits and so is silently ignored (e.g. `# colspan` outside `# dashboard { columns=N }`), where nothing looks broken at query time and the layout simply is not what was written. Those are the only two severities the renderer emits, so no render finding is withheld. Materialization and dashboard findings use both: `error` for something that cannot work as written, such as a tile naming a view the source does not have, and `warn` for something that works but not as the author probably intended. The two findings about Publisher rather than about the package split across both: a file that carries an artifact tag and could not be read is `error`, because the dashboard it should have produced does not exist, and a lint that stopped early is `warn`, because the lint failing is not itself a defect in the package. That `warn` does NOT mean the package is free of `error`-severity findings, since the ones the lint never reached are exactly what it cannot report.
|
|
2796
2803
|
*/
|
|
@@ -3804,7 +3811,7 @@ export interface ServeVerdict {
|
|
|
3804
3811
|
*/
|
|
3805
3812
|
'notServedIn'?: Array<NotServedIn>;
|
|
3806
3813
|
/**
|
|
3807
|
-
*
|
|
3814
|
+
* Retained, no longer produced. A bind compiles each model\'s served copy over the new tables before they are swapped in. A freshness window that lapses changes the tables a query reads with no bind: from that edge, each query compiles its own copy without the lapsed table, the package recompiles each served copy at the edge, and until that compile lands a verdict leaves the lapsed table out by its recorded window, judged against the clock. A verdict is therefore never pending, and this field is never present.
|
|
3808
3815
|
* @deprecated
|
|
3809
3816
|
*/
|
|
3810
3817
|
'servedCopyPending'?: boolean;
|
|
@@ -6644,7 +6651,7 @@ export declare const PackagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6644
6651
|
*/
|
|
6645
6652
|
listPackages: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6646
6653
|
/**
|
|
6647
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6654
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. A `manifestLocation` URI that cannot be fetched or bound is refused as on the version route: 400 `MANIFEST_NOT_FOUND` when nothing is at it, 422 `MANIFEST_INVALID` when what is there is not a build manifest, and otherwise 500 `MANIFEST_BIND_FAILED`. That holds on a versioned package, and on an unversioned one with nothing of the PATCH applied: its metadata and publisher.json stay as they were, and it serves what it served before, the manifest it had bound or, with none, live (or this server\'s own store, where the server restores unversioned packages from it). A manifest that binds with some of its tables declined (one the warehouse does not hold, say) is not a failure: it answers 200, and those sources answer live. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6648
6655
|
* @summary Update package configuration
|
|
6649
6656
|
* @param {string} environmentName Name of the environment
|
|
6650
6657
|
* @param {string} packageName Name of the package
|
|
@@ -6749,7 +6756,7 @@ export declare const PackagesApiFp: (configuration?: Configuration) => {
|
|
|
6749
6756
|
*/
|
|
6750
6757
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Package>>>;
|
|
6751
6758
|
/**
|
|
6752
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6759
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. A `manifestLocation` URI that cannot be fetched or bound is refused as on the version route: 400 `MANIFEST_NOT_FOUND` when nothing is at it, 422 `MANIFEST_INVALID` when what is there is not a build manifest, and otherwise 500 `MANIFEST_BIND_FAILED`. That holds on a versioned package, and on an unversioned one with nothing of the PATCH applied: its metadata and publisher.json stay as they were, and it serves what it served before, the manifest it had bound or, with none, live (or this server\'s own store, where the server restores unversioned packages from it). A manifest that binds with some of its tables declined (one the warehouse does not hold, say) is not a failure: it answers 200, and those sources answer live. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6753
6760
|
* @summary Update package configuration
|
|
6754
6761
|
* @param {string} environmentName Name of the environment
|
|
6755
6762
|
* @param {string} packageName Name of the package
|
|
@@ -6854,7 +6861,7 @@ export declare const PackagesApiFactory: (configuration?: Configuration, basePat
|
|
|
6854
6861
|
*/
|
|
6855
6862
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Package>>;
|
|
6856
6863
|
/**
|
|
6857
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6864
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. A `manifestLocation` URI that cannot be fetched or bound is refused as on the version route: 400 `MANIFEST_NOT_FOUND` when nothing is at it, 422 `MANIFEST_INVALID` when what is there is not a build manifest, and otherwise 500 `MANIFEST_BIND_FAILED`. That holds on a versioned package, and on an unversioned one with nothing of the PATCH applied: its metadata and publisher.json stay as they were, and it serves what it served before, the manifest it had bound or, with none, live (or this server\'s own store, where the server restores unversioned packages from it). A manifest that binds with some of its tables declined (one the warehouse does not hold, say) is not a failure: it answers 200, and those sources answer live. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6858
6865
|
* @summary Update package configuration
|
|
6859
6866
|
* @param {string} environmentName Name of the environment
|
|
6860
6867
|
* @param {string} packageName Name of the package
|
|
@@ -6959,7 +6966,7 @@ export declare class PackagesApi extends BaseAPI {
|
|
|
6959
6966
|
*/
|
|
6960
6967
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Package[], any, {}, any>>;
|
|
6961
6968
|
/**
|
|
6962
|
-
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6969
|
+
* DEPRECATED. In-place mutation of a package contradicts immutable versions, so this operation will be removed. On a package that has published versions it changes only what is not content: a `manifestLocation` URI is bound to the package\'s `latest` version (as `PUT .../packages/{packageName}/versions/{versionId}/manifest` does for any version), while a null or empty one leaves the binding as it is (clear it with that route), and `description` is the package\'s. `name` and the `location` the version was published from may be sent back unchanged. Any other change is refused with 409 (`reason` `PACKAGE_IS_VERSIONED`), as is a package with no `latest` yet: publish a new version to change content. A `manifestLocation` URI that cannot be fetched or bound is refused as on the version route: 400 `MANIFEST_NOT_FOUND` when nothing is at it, 422 `MANIFEST_INVALID` when what is there is not a build manifest, and otherwise 500 `MANIFEST_BIND_FAILED`. That holds on a versioned package, and on an unversioned one with nothing of the PATCH applied: its metadata and publisher.json stay as they were, and it serves what it served before, the manifest it had bound or, with none, live (or this server\'s own store, where the server restores unversioned packages from it). A manifest that binds with some of its tables declined (one the warehouse does not hold, say) is not a failure: it answers 200, and those sources answer live. It keeps working, so that callers which predate versions do not break, and says it is deprecated: every response carries `Deprecation: true` and a `Link` to the package versions reference, every request is counted in `publisher_deprecated_usage_total` (`feature` `package_patch`), and the server logs a warning, once per package per run, naming the route that replaces it. Updates the configuration and metadata of an existing package. This allows you to modify package settings, update the description, change the location, or update other package-level properties. The package must exist and be accessible. A supplied `materialization` block REPLACES the one on disk, so re-send every field of it you want to keep. Two exceptions are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear. A package fetched from a `location` keeps none of these on reload: a reload fetches it again and replaces its files, `publisher.json` included, keeping only its `location` and manifest binding. So when the package will be fetched from a location once this request is applied (the `location` it sends, or else the one it was installed from), a change to `description`, `explores`, `queryableSources`, `scope`, `queryMetadata` or `materialization` is refused with 409 (`reason` `PACKAGE_INSTALLED_FROM_LOCATION`). A change is judged by the value the request would leave in force: clearing a set field is a change, a null is omitted, and a value equal to the current one (`explores` normalized as stored) is not. A request that names a new `location` is judged against the tree fetched from it, and a refusal leaves the previous install serving. When the package it replaces was itself installed from a location, a field sent with that package\'s value is the package sent back, not a change: it is left out and the new tree\'s value serves, so a whole package read back with only its `location` changed is accepted. Make the change in the package\'s source and reload it, or publish it as a version.
|
|
6963
6970
|
* @summary Update package configuration
|
|
6964
6971
|
* @param {string} environmentName Name of the environment
|
|
6965
6972
|
* @param {string} packageName Name of the package
|
|
@@ -7334,11 +7341,11 @@ export declare const StorageDestinationsApiAxiosParamCreator: (configuration?: C
|
|
|
7334
7341
|
*/
|
|
7335
7342
|
createStorageDestinationFileCleanup: (environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7336
7343
|
/**
|
|
7337
|
-
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7344
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. The path\'s schema qualifies the table. On a destination whose `destinationSchema` is set and is not `main`, a `main` path answers `400` naming the `destinationSchema` (an earlier release read `main` as the destination\'s own schema): name the `destinationSchema` to drop a build table, and drop a table in `main` through the admin API. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7338
7345
|
* @summary Drop a table from a storage destination
|
|
7339
7346
|
* @param {string} environmentName Name of the environment
|
|
7340
7347
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7341
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7348
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7342
7349
|
* @param {string} tableName Name of the table
|
|
7343
7350
|
* @param {*} [options] Override http request option.
|
|
7344
7351
|
* @deprecated
|
|
@@ -7350,7 +7357,7 @@ export declare const StorageDestinationsApiAxiosParamCreator: (configuration?: C
|
|
|
7350
7357
|
* @summary List tables in a storage destination
|
|
7351
7358
|
* @param {string} environmentName Name of the environment
|
|
7352
7359
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7353
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7360
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7354
7361
|
* @param {*} [options] Override http request option.
|
|
7355
7362
|
* @deprecated
|
|
7356
7363
|
* @throws {RequiredError}
|
|
@@ -7373,11 +7380,11 @@ export declare const StorageDestinationsApiFp: (configuration?: Configuration) =
|
|
|
7373
7380
|
*/
|
|
7374
7381
|
createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFileCleanup>>;
|
|
7375
7382
|
/**
|
|
7376
|
-
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7383
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. The path\'s schema qualifies the table. On a destination whose `destinationSchema` is set and is not `main`, a `main` path answers `400` naming the `destinationSchema` (an earlier release read `main` as the destination\'s own schema): name the `destinationSchema` to drop a build table, and drop a table in `main` through the admin API. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7377
7384
|
* @summary Drop a table from a storage destination
|
|
7378
7385
|
* @param {string} environmentName Name of the environment
|
|
7379
7386
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7380
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7387
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7381
7388
|
* @param {string} tableName Name of the table
|
|
7382
7389
|
* @param {*} [options] Override http request option.
|
|
7383
7390
|
* @deprecated
|
|
@@ -7389,7 +7396,7 @@ export declare const StorageDestinationsApiFp: (configuration?: Configuration) =
|
|
|
7389
7396
|
* @summary List tables in a storage destination
|
|
7390
7397
|
* @param {string} environmentName Name of the environment
|
|
7391
7398
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7392
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7399
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7393
7400
|
* @param {*} [options] Override http request option.
|
|
7394
7401
|
* @deprecated
|
|
7395
7402
|
* @throws {RequiredError}
|
|
@@ -7412,11 +7419,11 @@ export declare const StorageDestinationsApiFactory: (configuration?: Configurati
|
|
|
7412
7419
|
*/
|
|
7413
7420
|
createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): AxiosPromise<StorageFileCleanup>;
|
|
7414
7421
|
/**
|
|
7415
|
-
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7422
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. The path\'s schema qualifies the table. On a destination whose `destinationSchema` is set and is not `main`, a `main` path answers `400` naming the `destinationSchema` (an earlier release read `main` as the destination\'s own schema): name the `destinationSchema` to drop a build table, and drop a table in `main` through the admin API. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7416
7423
|
* @summary Drop a table from a storage destination
|
|
7417
7424
|
* @param {string} environmentName Name of the environment
|
|
7418
7425
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7419
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7426
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7420
7427
|
* @param {string} tableName Name of the table
|
|
7421
7428
|
* @param {*} [options] Override http request option.
|
|
7422
7429
|
* @deprecated
|
|
@@ -7428,7 +7435,7 @@ export declare const StorageDestinationsApiFactory: (configuration?: Configurati
|
|
|
7428
7435
|
* @summary List tables in a storage destination
|
|
7429
7436
|
* @param {string} environmentName Name of the environment
|
|
7430
7437
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7431
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7438
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7432
7439
|
* @param {*} [options] Override http request option.
|
|
7433
7440
|
* @deprecated
|
|
7434
7441
|
* @throws {RequiredError}
|
|
@@ -7451,11 +7458,11 @@ export declare class StorageDestinationsApi extends BaseAPI {
|
|
|
7451
7458
|
*/
|
|
7452
7459
|
createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<StorageFileCleanup, any, {}, any>>;
|
|
7453
7460
|
/**
|
|
7454
|
-
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7461
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. The path\'s schema qualifies the table. On a destination whose `destinationSchema` is set and is not `main`, a `main` path answers `400` naming the `destinationSchema` (an earlier release read `main` as the destination\'s own schema): name the `destinationSchema` to drop a build table, and drop a table in `main` through the admin API. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
7455
7462
|
* @summary Drop a table from a storage destination
|
|
7456
7463
|
* @param {string} environmentName Name of the environment
|
|
7457
7464
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7458
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7465
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7459
7466
|
* @param {string} tableName Name of the table
|
|
7460
7467
|
* @param {*} [options] Override http request option.
|
|
7461
7468
|
* @deprecated
|
|
@@ -7467,7 +7474,7 @@ export declare class StorageDestinationsApi extends BaseAPI {
|
|
|
7467
7474
|
* @summary List tables in a storage destination
|
|
7468
7475
|
* @param {string} environmentName Name of the environment
|
|
7469
7476
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
7470
|
-
* @param {string} schemaName Schema within the storage destination. A
|
|
7477
|
+
* @param {string} schemaName Schema within the storage destination: the path\'s table is `{schemaName}.{tableName}`. A build writes a bare physical name into the destination\'s `destinationSchema` (`main` when it declares none), so a drop in `main` on a destination that sets another `destinationSchema` answers `400` naming it.
|
|
7471
7478
|
* @param {*} [options] Override http request option.
|
|
7472
7479
|
* @deprecated
|
|
7473
7480
|
* @throws {RequiredError}
|
|
@@ -7518,7 +7525,7 @@ export declare const VersionsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
7518
7525
|
*/
|
|
7519
7526
|
setPackageLatestVersion: (environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7520
7527
|
/**
|
|
7521
|
-
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear.
|
|
7528
|
+
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear. A manifest that cannot be fetched or bound is refused with the cause in the message: 400 with `reason` `MANIFEST_NOT_FOUND` when nothing is at the location (no such file, or an object store\'s no such object or bucket); 422 with `reason` `MANIFEST_INVALID` when what is there does not parse, is not a JSON object, or has an `entries` that is not an object; and 500 with `reason` `MANIFEST_BIND_FAILED` otherwise (the fetch timed out, the network failed, the store refused the server\'s credentials, or the bind threw). The first two are the caller\'s input and fail the same way until it changes; the last is the server\'s. Whichever it is, nothing of it is applied: the version\'s `manifestLocation` stays what it was, the version is not marked host-owned, and it serves what it served before the request, the manifest it had bound or, with none, live (or this server\'s own runs\' tables, for a version no host has bound). Its status says the same: `manifestBindingStatus`, `boundManifestUri` and `manifestEntryCount` describe that previous binding. One exception: when the failure came after the version\'s models moved, the previous manifest is fetched and bound again, and if that fails too the version reports `bind_failed`, as any failed rebind does (see `manifestBindingStatus`), and the server logs that failed bind. Releases before this one answered 200 here and reported the failure only as `manifestBindingStatus` `bind_failed`. A publish that names a `manifestLocation` still loads the version and reports a failed bind that way.
|
|
7522
7529
|
* @summary Bind a version to a build manifest
|
|
7523
7530
|
* @param {string} environmentName Name of the environment
|
|
7524
7531
|
* @param {string} packageName Name of the package
|
|
@@ -7584,7 +7591,7 @@ export declare const VersionsApiFp: (configuration?: Configuration) => {
|
|
|
7584
7591
|
*/
|
|
7585
7592
|
setPackageLatestVersion(environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageVersion>>;
|
|
7586
7593
|
/**
|
|
7587
|
-
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear.
|
|
7594
|
+
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear. A manifest that cannot be fetched or bound is refused with the cause in the message: 400 with `reason` `MANIFEST_NOT_FOUND` when nothing is at the location (no such file, or an object store\'s no such object or bucket); 422 with `reason` `MANIFEST_INVALID` when what is there does not parse, is not a JSON object, or has an `entries` that is not an object; and 500 with `reason` `MANIFEST_BIND_FAILED` otherwise (the fetch timed out, the network failed, the store refused the server\'s credentials, or the bind threw). The first two are the caller\'s input and fail the same way until it changes; the last is the server\'s. Whichever it is, nothing of it is applied: the version\'s `manifestLocation` stays what it was, the version is not marked host-owned, and it serves what it served before the request, the manifest it had bound or, with none, live (or this server\'s own runs\' tables, for a version no host has bound). Its status says the same: `manifestBindingStatus`, `boundManifestUri` and `manifestEntryCount` describe that previous binding. One exception: when the failure came after the version\'s models moved, the previous manifest is fetched and bound again, and if that fails too the version reports `bind_failed`, as any failed rebind does (see `manifestBindingStatus`), and the server logs that failed bind. Releases before this one answered 200 here and reported the failure only as `manifestBindingStatus` `bind_failed`. A publish that names a `manifestLocation` still loads the version and reports a failed bind that way.
|
|
7588
7595
|
* @summary Bind a version to a build manifest
|
|
7589
7596
|
* @param {string} environmentName Name of the environment
|
|
7590
7597
|
* @param {string} packageName Name of the package
|
|
@@ -7650,7 +7657,7 @@ export declare const VersionsApiFactory: (configuration?: Configuration, basePat
|
|
|
7650
7657
|
*/
|
|
7651
7658
|
setPackageLatestVersion(environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig): AxiosPromise<PackageVersion>;
|
|
7652
7659
|
/**
|
|
7653
|
-
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear.
|
|
7660
|
+
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear. A manifest that cannot be fetched or bound is refused with the cause in the message: 400 with `reason` `MANIFEST_NOT_FOUND` when nothing is at the location (no such file, or an object store\'s no such object or bucket); 422 with `reason` `MANIFEST_INVALID` when what is there does not parse, is not a JSON object, or has an `entries` that is not an object; and 500 with `reason` `MANIFEST_BIND_FAILED` otherwise (the fetch timed out, the network failed, the store refused the server\'s credentials, or the bind threw). The first two are the caller\'s input and fail the same way until it changes; the last is the server\'s. Whichever it is, nothing of it is applied: the version\'s `manifestLocation` stays what it was, the version is not marked host-owned, and it serves what it served before the request, the manifest it had bound or, with none, live (or this server\'s own runs\' tables, for a version no host has bound). Its status says the same: `manifestBindingStatus`, `boundManifestUri` and `manifestEntryCount` describe that previous binding. One exception: when the failure came after the version\'s models moved, the previous manifest is fetched and bound again, and if that fails too the version reports `bind_failed`, as any failed rebind does (see `manifestBindingStatus`), and the server logs that failed bind. Releases before this one answered 200 here and reported the failure only as `manifestBindingStatus` `bind_failed`. A publish that names a `manifestLocation` still loads the version and reports a failed bind that way.
|
|
7654
7661
|
* @summary Bind a version to a build manifest
|
|
7655
7662
|
* @param {string} environmentName Name of the environment
|
|
7656
7663
|
* @param {string} packageName Name of the package
|
|
@@ -7716,7 +7723,7 @@ export declare class VersionsApi extends BaseAPI {
|
|
|
7716
7723
|
*/
|
|
7717
7724
|
setPackageLatestVersion(environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig): Promise< AxiosResponse<PackageVersion, any, {}, any>>;
|
|
7718
7725
|
/**
|
|
7719
|
-
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear.
|
|
7726
|
+
* Sets the version\'s `manifestLocation`, the externally computed build manifest its persist references resolve through, and rebinds that version\'s models to it right away. Only this version is affected. A version is owned by the host from then on once a manifest it named, by this route or by a publish, has bound (one whose fetch fails marks nothing), or once a run it instructed with `buildInstructions` has run, even one whose commit failed. The version\'s record keeps that across an unload and a restart. A null `manifestLocation` then clears the binding and the version serves live: this server never binds tables its own runs built for it, so a host can clear the binding before it drops the tables the manifest named. A reload or restart of that version keeps it live until the host binds a manifest again, and the version answers a local run without `buildInstructions` with 409. Its status reports it the way it reports a version with nothing bound: `manifestBindingStatus` `unbound`, `manifestEntryCount` 0 and `boundManifestUri` null. A version no host has bound (standalone, or built only by this server\'s own runs) serves what this server\'s own runs built for it when its binding is cleared, or live when they built nothing, as it does when it loads. This is serving state, not package content, which is why it is the one thing about a published version that can change. It replaces the deprecated `PATCH .../packages/{packageName}` for rebinding a manifest. An absent `manifestLocation` (an empty body, `{}`) clears the binding too, as null does: a PUT replaces the binding, and many generated clients drop a null field from the JSON they send. `manifestLocation` is the body\'s only field, so any other field is refused with 400 naming it, rather than read as a clear. A manifest that cannot be fetched or bound is refused with the cause in the message: 400 with `reason` `MANIFEST_NOT_FOUND` when nothing is at the location (no such file, or an object store\'s no such object or bucket); 422 with `reason` `MANIFEST_INVALID` when what is there does not parse, is not a JSON object, or has an `entries` that is not an object; and 500 with `reason` `MANIFEST_BIND_FAILED` otherwise (the fetch timed out, the network failed, the store refused the server\'s credentials, or the bind threw). The first two are the caller\'s input and fail the same way until it changes; the last is the server\'s. Whichever it is, nothing of it is applied: the version\'s `manifestLocation` stays what it was, the version is not marked host-owned, and it serves what it served before the request, the manifest it had bound or, with none, live (or this server\'s own runs\' tables, for a version no host has bound). Its status says the same: `manifestBindingStatus`, `boundManifestUri` and `manifestEntryCount` describe that previous binding. One exception: when the failure came after the version\'s models moved, the previous manifest is fetched and bound again, and if that fails too the version reports `bind_failed`, as any failed rebind does (see `manifestBindingStatus`), and the server logs that failed bind. Releases before this one answered 200 here and reported the failure only as `manifestBindingStatus` `bind_failed`. A publish that names a `manifestLocation` still loads the version and reports a failed bind that way.
|
|
7720
7727
|
* @summary Bind a version to a build manifest
|
|
7721
7728
|
* @param {string} environmentName Name of the environment
|
|
7722
7729
|
* @param {string} packageName Name of the package
|
package/dist/client/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, b as t, c as i, d as r, e as o, C as u, f as m, g as p, h as A, i as E, j as c, k as l, l as S, m as g, n as b, 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 O, G as z, H as K, I as V, J as L, K as B, L as I, M as W, N, O as U, P as q, Q as G, R as j, S as w, 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 na, a2 as ta, a3 as ia, a4 as ra, a5 as oa, a6 as ua, a7 as ma, a8 as pa, a9 as Aa, aa as Ea, ab as ca, ac as la, ad as Sa, ae as ga, af as ba, 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 Oa, aw as za, ax as Ka, ay as Va, az as La, aA as Ba, aB as Ia, aC as Wa, aD as Na, aE as Ua, aF as qa, aG as Ga, aH as ja, aI as wa, 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 ns, aU as ts, aV as is, aW as rs, aX as os, aY as us, aZ as ms, a_ as ps, a$ as As, b0 as Es, b1 as cs, b2 as ls, b3 as Ss, b4 as gs, b5 as bs, 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 Os, bm as zs, bn as Ks, bo as Vs, bp as Ls, bq as Bs, br as Is } from "../ServerProvider-
|
|
1
|
+
import { A as e, a as n, b as t, c as i, d as r, e as o, C as u, f as m, g as p, h as A, i as E, j as c, k as l, l as S, m as g, n as b, 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 O, G as z, H as K, I as V, J as L, K as B, L as I, M as W, N, O as U, P as q, Q as G, R as j, S as w, 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 na, a2 as ta, a3 as ia, a4 as ra, a5 as oa, a6 as ua, a7 as ma, a8 as pa, a9 as Aa, aa as Ea, ab as ca, ac as la, ad as Sa, ae as ga, af as ba, 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 Oa, aw as za, ax as Ka, ay as Va, az as La, aA as Ba, aB as Ia, aC as Wa, aD as Na, aE as Ua, aF as qa, aG as Ga, aH as ja, aI as wa, 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 ns, aU as ts, aV as is, aW as rs, aX as os, aY as us, aZ as ms, a_ as ps, a$ as As, b0 as Es, b1 as cs, b2 as ls, b3 as Ss, b4 as gs, b5 as bs, 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 Os, bm as zs, bn as Ks, bo as Vs, bp as Ls, bq as Bs, br as Is } from "../ServerProvider-nC__R_WW.es.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AgentsApi,
|
|
4
4
|
n as AgentsApiAxiosParamCreator,
|