@malloy-publisher/sdk 0.18.0 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{RenderedResult-QdYnecnr.es.js → RenderedResult--fYcsY1h.es.js} +2 -2
- package/dist/{ServerProvider-DAVb5QK1.es.js → ServerProvider-nC__R_WW.es.js} +8 -8
- package/dist/builder/index.es.js +3 -3
- package/dist/client/api.d.ts +9 -9
- 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-BbdwlcRj.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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import { Box as de } from "@mui/material";
|
|
3
3
|
import { Suspense as we, useRef as M, useMemo as ce, useEffect as ke, useLayoutEffect as xe } from "react";
|
|
4
|
-
import { r as Ce, a as fe, D as Re, b as Z, T as V, l as Ee, c as Ae, d as Te, e as Se, R as _e, m as De, f as Oe, g as ue } from "./useCompiledDocument-
|
|
5
|
-
import { bs as Fe, bq as ze, bt as Le, bu as Me } from "./ServerProvider-
|
|
4
|
+
import { r as Ce, a as fe, D as Re, b as Z, T as V, l as Ee, c as Ae, d as Te, e as Se, R as _e, m as De, f as Oe, g as ue } from "./useCompiledDocument-X00FD-D6.es.js";
|
|
5
|
+
import { bs as Fe, bq as ze, bt as Le, bu as Me } from "./ServerProvider-nC__R_WW.es.js";
|
|
6
6
|
const g = Ce.drillCell;
|
|
7
7
|
function Ie(e, t) {
|
|
8
8
|
const r = /* @__PURE__ */ new Set();
|
|
@@ -3520,7 +3520,7 @@ const na = function(l) {
|
|
|
3520
3520
|
};
|
|
3521
3521
|
},
|
|
3522
3522
|
/**
|
|
3523
|
-
* 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
|
|
3523
|
+
* 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.
|
|
3524
3524
|
* @summary Update package configuration
|
|
3525
3525
|
* @param {string} environmentName Name of the environment
|
|
3526
3526
|
* @param {string} packageName Name of the package
|
|
@@ -3663,7 +3663,7 @@ const na = function(l) {
|
|
|
3663
3663
|
return (s, i) => b(e, u, g, l)(s, o || i);
|
|
3664
3664
|
},
|
|
3665
3665
|
/**
|
|
3666
|
-
* 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
|
|
3666
|
+
* 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.
|
|
3667
3667
|
* @summary Update package configuration
|
|
3668
3668
|
* @param {string} environmentName Name of the environment
|
|
3669
3669
|
* @param {string} packageName Name of the package
|
|
@@ -3788,7 +3788,7 @@ const na = function(l) {
|
|
|
3788
3788
|
return n.listPackages(e, t).then((o) => o(a, r));
|
|
3789
3789
|
},
|
|
3790
3790
|
/**
|
|
3791
|
-
* 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
|
|
3791
|
+
* 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.
|
|
3792
3792
|
* @summary Update package configuration
|
|
3793
3793
|
* @param {string} environmentName Name of the environment
|
|
3794
3794
|
* @param {string} packageName Name of the package
|
|
@@ -3911,7 +3911,7 @@ class ra extends C {
|
|
|
3911
3911
|
return R(this.configuration).listPackages(r, a).then((n) => n(this.axios, this.basePath));
|
|
3912
3912
|
}
|
|
3913
3913
|
/**
|
|
3914
|
-
* 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
|
|
3914
|
+
* 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.
|
|
3915
3915
|
* @summary Update package configuration
|
|
3916
3916
|
* @param {string} environmentName Name of the environment
|
|
3917
3917
|
* @param {string} packageName Name of the package
|
|
@@ -4700,7 +4700,7 @@ const da = function(l) {
|
|
|
4700
4700
|
};
|
|
4701
4701
|
},
|
|
4702
4702
|
/**
|
|
4703
|
-
* 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 (
|
|
4703
|
+
* 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.
|
|
4704
4704
|
* @summary Bind a version to a build manifest
|
|
4705
4705
|
* @param {string} environmentName Name of the environment
|
|
4706
4706
|
* @param {string} packageName Name of the package
|
|
@@ -4801,7 +4801,7 @@ const da = function(l) {
|
|
|
4801
4801
|
return (c, p) => b(o, u, g, l)(c, i || p);
|
|
4802
4802
|
},
|
|
4803
4803
|
/**
|
|
4804
|
-
* 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 (
|
|
4804
|
+
* 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.
|
|
4805
4805
|
* @summary Bind a version to a build manifest
|
|
4806
4806
|
* @param {string} environmentName Name of the environment
|
|
4807
4807
|
* @param {string} packageName Name of the package
|
|
@@ -4880,7 +4880,7 @@ const da = function(l) {
|
|
|
4880
4880
|
return n.setPackageLatestVersion(e, t, o, s).then((i) => i(a, r));
|
|
4881
4881
|
},
|
|
4882
4882
|
/**
|
|
4883
|
-
* 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 (
|
|
4883
|
+
* 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.
|
|
4884
4884
|
* @summary Bind a version to a build manifest
|
|
4885
4885
|
* @param {string} environmentName Name of the environment
|
|
4886
4886
|
* @param {string} packageName Name of the package
|
|
@@ -4956,7 +4956,7 @@ class ma extends C {
|
|
|
4956
4956
|
return N(this.configuration).setPackageLatestVersion(r, a, n, e).then((t) => t(this.axios, this.basePath));
|
|
4957
4957
|
}
|
|
4958
4958
|
/**
|
|
4959
|
-
* 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 (
|
|
4959
|
+
* 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.
|
|
4960
4960
|
* @summary Bind a version to a build manifest
|
|
4961
4961
|
* @param {string} environmentName Name of the environment
|
|
4962
4962
|
* @param {string} packageName Name of the package
|
package/dist/builder/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _, jsxs as L, Fragment as Fe } from "react/jsx-runtime";
|
|
2
|
-
import { M as lp, h as cp, i as di, P as Oa, j as Wi, G as bt, k as ui, n as wt, o as at, r as lt, p as gn, C as zi, E as Ca, q as Ni, A as $o, S as dp, s as up, t as Da, V as fp, u as hp, v as pp, w as gp, x as mp, y as vp, z as yp, B as bp, F as dd, H as wp, I as xp, J as dn, U as _p, K as On, L as kp, l as ud, N as Ma, O as Sp, Q as $p, W as Nn, X as jl, Y as es, Z as nr, _ as fd, $ as Ep, a0 as Tp, a1 as hd, a2 as Hl, a3 as to, a4 as pd, a5 as Op, a6 as Cp, a7 as gd, a8 as Dp, a9 as Mp, aa as _s, ab as ks, ac as Ip, ad as Ss, ae as Ap, af as md, ag as Pp, ah as Rp, ai as Lp, aj as Wp, ak as zp, al as rn, am as Np, an as $s, ao as Fp, ap as Bp, aq as jp, ar as vd, as as Hp, at as Gp, au as qp, av as Up, aw as Kp, ax as Vp, ay as Yp, az as Xp, aA as Qp, aB as Ia, aC as Zp, aD as Jp, aE as eg, aF as tg, aG as ng, aH as rg, aI as Es, aJ as Gl, aK as og, aL as ig, aM as sg, aN as ag, aO as lg, aP as cg, aQ as dg, aR as yd, aS as bd, aT as wd, aU as ug, aV as xd, aW as fg, aX as hg, aY as pg, aZ as gg, a_ as mg, a$ as vg, b0 as yg, b1 as bg, b2 as wg, b3 as xg, b4 as _g, b5 as kg, b6 as Sg, b7 as $g, b8 as Eg } from "../useCompiledDocument-
|
|
3
|
-
import { b9 as g_, ba as m_, bb as v_, bc as y_, bd as b_, be as w_, bf as x_, bg as __, bh as k_, bi as S_, bj as $_ } from "../useCompiledDocument-
|
|
2
|
+
import { M as lp, h as cp, i as di, P as Oa, j as Wi, G as bt, k as ui, n as wt, o as at, r as lt, p as gn, C as zi, E as Ca, q as Ni, A as $o, S as dp, s as up, t as Da, V as fp, u as hp, v as pp, w as gp, x as mp, y as vp, z as yp, B as bp, F as dd, H as wp, I as xp, J as dn, U as _p, K as On, L as kp, l as ud, N as Ma, O as Sp, Q as $p, W as Nn, X as jl, Y as es, Z as nr, _ as fd, $ as Ep, a0 as Tp, a1 as hd, a2 as Hl, a3 as to, a4 as pd, a5 as Op, a6 as Cp, a7 as gd, a8 as Dp, a9 as Mp, aa as _s, ab as ks, ac as Ip, ad as Ss, ae as Ap, af as md, ag as Pp, ah as Rp, ai as Lp, aj as Wp, ak as zp, al as rn, am as Np, an as $s, ao as Fp, ap as Bp, aq as jp, ar as vd, as as Hp, at as Gp, au as qp, av as Up, aw as Kp, ax as Vp, ay as Yp, az as Xp, aA as Qp, aB as Ia, aC as Zp, aD as Jp, aE as eg, aF as tg, aG as ng, aH as rg, aI as Es, aJ as Gl, aK as og, aL as ig, aM as sg, aN as ag, aO as lg, aP as cg, aQ as dg, aR as yd, aS as bd, aT as wd, aU as ug, aV as xd, aW as fg, aX as hg, aY as pg, aZ as gg, a_ as mg, a$ as vg, b0 as yg, b1 as bg, b2 as wg, b3 as xg, b4 as _g, b5 as kg, b6 as Sg, b7 as $g, b8 as Eg } from "../useCompiledDocument-X00FD-D6.es.js";
|
|
3
|
+
import { b9 as g_, ba as m_, bb as v_, bc as y_, bd as b_, be as w_, bf as x_, bg as __, bh as k_, bi as S_, bj as $_ } from "../useCompiledDocument-X00FD-D6.es.js";
|
|
4
4
|
import { Tooltip as Lt, ButtonBase as _d, Box as H, Menu as rr, MenuItem as it, Stack as yt, Button as Ne, Divider as lr, IconButton as Dn, Typography as we, TextField as on, ToggleButtonGroup as kd, ToggleButton as Ts, Switch as Tg, Checkbox as Os, ListItemText as Kt, Collapse as Og, Autocomplete as Cg, ListItemIcon as Sd, InputBase as $d, SvgIcon as Dg, useMediaQuery as Ed, Alert as vt } from "@mui/material";
|
|
5
5
|
import { useState as j, useRef as q, useEffect as re, useMemo as V, createElement as Mg, useLayoutEffect as fi, useCallback as le, useInsertionEffect as Ig, createContext as Td, memo as Ag, forwardRef as Pg, startTransition as Rg, useImperativeHandle as Lg, useContext as Od, useId as Wg } from "react";
|
|
6
|
-
import { bq as Xe, bv as Aa, br as Pa } from "../ServerProvider-
|
|
6
|
+
import { bq as Xe, bv as Aa, br as Pa } from "../ServerProvider-nC__R_WW.es.js";
|
|
7
7
|
import { i as Cs, a as Cd, m as zg, b as Ng, t as Fg, c as Dd, s as Bg, d as jg, e as Md, f as Ra, g as Hg, A as Gg, h as qg, r as Ug, j as Id, k as ql, l as La } from "../text-entry-YKJZbRPo.es.js";
|
|
8
8
|
import { flushSync as Kg } from "react-dom";
|
|
9
9
|
import { useQueries as Vg, useQueryClient as Yg } from "@tanstack/react-query";
|
package/dist/client/api.d.ts
CHANGED
|
@@ -1899,7 +1899,7 @@ export interface ModelError {
|
|
|
1899
1899
|
*/
|
|
1900
1900
|
'refusalReason'?: string;
|
|
1901
1901
|
/**
|
|
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. 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.
|
|
1903
1903
|
*/
|
|
1904
1904
|
'reason'?: string;
|
|
1905
1905
|
/**
|
|
@@ -6651,7 +6651,7 @@ export declare const PackagesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6651
6651
|
*/
|
|
6652
6652
|
listPackages: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6653
6653
|
/**
|
|
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
|
|
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.
|
|
6655
6655
|
* @summary Update package configuration
|
|
6656
6656
|
* @param {string} environmentName Name of the environment
|
|
6657
6657
|
* @param {string} packageName Name of the package
|
|
@@ -6756,7 +6756,7 @@ export declare const PackagesApiFp: (configuration?: Configuration) => {
|
|
|
6756
6756
|
*/
|
|
6757
6757
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Package>>>;
|
|
6758
6758
|
/**
|
|
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
|
|
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.
|
|
6760
6760
|
* @summary Update package configuration
|
|
6761
6761
|
* @param {string} environmentName Name of the environment
|
|
6762
6762
|
* @param {string} packageName Name of the package
|
|
@@ -6861,7 +6861,7 @@ export declare const PackagesApiFactory: (configuration?: Configuration, basePat
|
|
|
6861
6861
|
*/
|
|
6862
6862
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Package>>;
|
|
6863
6863
|
/**
|
|
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
|
|
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.
|
|
6865
6865
|
* @summary Update package configuration
|
|
6866
6866
|
* @param {string} environmentName Name of the environment
|
|
6867
6867
|
* @param {string} packageName Name of the package
|
|
@@ -6966,7 +6966,7 @@ export declare class PackagesApi extends BaseAPI {
|
|
|
6966
6966
|
*/
|
|
6967
6967
|
listPackages(environmentName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Package[], any, {}, any>>;
|
|
6968
6968
|
/**
|
|
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
|
|
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.
|
|
6970
6970
|
* @summary Update package configuration
|
|
6971
6971
|
* @param {string} environmentName Name of the environment
|
|
6972
6972
|
* @param {string} packageName Name of the package
|
|
@@ -7525,7 +7525,7 @@ export declare const VersionsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
7525
7525
|
*/
|
|
7526
7526
|
setPackageLatestVersion: (environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7527
7527
|
/**
|
|
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 (
|
|
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.
|
|
7529
7529
|
* @summary Bind a version to a build manifest
|
|
7530
7530
|
* @param {string} environmentName Name of the environment
|
|
7531
7531
|
* @param {string} packageName Name of the package
|
|
@@ -7591,7 +7591,7 @@ export declare const VersionsApiFp: (configuration?: Configuration) => {
|
|
|
7591
7591
|
*/
|
|
7592
7592
|
setPackageLatestVersion(environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PackageVersion>>;
|
|
7593
7593
|
/**
|
|
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 (
|
|
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.
|
|
7595
7595
|
* @summary Bind a version to a build manifest
|
|
7596
7596
|
* @param {string} environmentName Name of the environment
|
|
7597
7597
|
* @param {string} packageName Name of the package
|
|
@@ -7657,7 +7657,7 @@ export declare const VersionsApiFactory: (configuration?: Configuration, basePat
|
|
|
7657
7657
|
*/
|
|
7658
7658
|
setPackageLatestVersion(environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig): AxiosPromise<PackageVersion>;
|
|
7659
7659
|
/**
|
|
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 (
|
|
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.
|
|
7661
7661
|
* @summary Bind a version to a build manifest
|
|
7662
7662
|
* @param {string} environmentName Name of the environment
|
|
7663
7663
|
* @param {string} packageName Name of the package
|
|
@@ -7723,7 +7723,7 @@ export declare class VersionsApi extends BaseAPI {
|
|
|
7723
7723
|
*/
|
|
7724
7724
|
setPackageLatestVersion(environmentName: string, packageName: string, packageLatestVersion: PackageLatestVersion, options?: RawAxiosRequestConfig): Promise< AxiosResponse<PackageVersion, any, {}, any>>;
|
|
7725
7725
|
/**
|
|
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 (
|
|
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.
|
|
7727
7727
|
* @summary Bind a version to a build manifest
|
|
7728
7728
|
* @param {string} environmentName Name of the environment
|
|
7729
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,
|