@malloy-publisher/sdk 0.11.2 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -703,7 +703,7 @@ const b = function(l, ...r) {
703
703
  };
704
704
  },
705
705
  /**
706
- * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. 404 when the agent or the file is not served.
706
+ * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. A `relative_filepath` from the agent\'s `assets` listing (`<skill>/assets/...`, full view only) is matched exactly against the listing, then read from disk as UTF-8 text and served only if it still hashes to its listed `sha256`; one that changed, or became a link, since the load is a 404. 404 when the agent or the file is not served.
707
707
  * @summary Get one of an agent\'s skill files
708
708
  * @param {string} environmentName Name of the environment
709
709
  * @param {string} packageName Name of the package
@@ -768,7 +768,7 @@ const b = function(l, ...r) {
768
768
  return (d, h) => S(c, u, g, l)(d, p || h);
769
769
  },
770
770
  /**
771
- * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. 404 when the agent or the file is not served.
771
+ * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. A `relative_filepath` from the agent\'s `assets` listing (`<skill>/assets/...`, full view only) is matched exactly against the listing, then read from disk as UTF-8 text and served only if it still hashes to its listed `sha256`; one that changed, or became a link, since the load is a 404. 404 when the agent or the file is not served.
772
772
  * @summary Get one of an agent\'s skill files
773
773
  * @param {string} environmentName Name of the environment
774
774
  * @param {string} packageName Name of the package
@@ -814,7 +814,7 @@ const b = function(l, ...r) {
814
814
  return t.getAgent(a, n, o, s, c, i).then((p) => p(e, r));
815
815
  },
816
816
  /**
817
- * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. 404 when the agent or the file is not served.
817
+ * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. A `relative_filepath` from the agent\'s `assets` listing (`<skill>/assets/...`, full view only) is matched exactly against the listing, then read from disk as UTF-8 text and served only if it still hashes to its listed `sha256`; one that changed, or became a link, since the load is a 404. 404 when the agent or the file is not served.
818
818
  * @summary Get one of an agent\'s skill files
819
819
  * @param {string} environmentName Name of the environment
820
820
  * @param {string} packageName Name of the package
@@ -857,7 +857,7 @@ class $t extends C {
857
857
  return z(this.configuration).getAgent(r, e, t, a, n, o).then((s) => s(this.axios, this.basePath));
858
858
  }
859
859
  /**
860
- * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. 404 when the agent or the file is not served.
860
+ * Returns one file from the agent\'s resolved skill set, named by a `relative_filepath` from `GET .../agents/{agentName}?skills=summary` (for example `analyst-conventions/SKILL.md`), with the same `source` pin as the full definition. The path is looked up in the resolved set, never joined onto the filesystem. A `relative_filepath` from the agent\'s `assets` listing (`<skill>/assets/...`, full view only) is matched exactly against the listing, then read from disk as UTF-8 text and served only if it still hashes to its listed `sha256`; one that changed, or became a link, since the load is a 404. 404 when the agent or the file is not served.
861
861
  * @summary Get one of an agent\'s skill files
862
862
  * @param {string} environmentName Name of the environment
863
863
  * @param {string} packageName Name of the package
@@ -2967,20 +2967,21 @@ const rn = {
2967
2967
  * @param {string} path Path to the model within the package
2968
2968
  * @param {string} [versionId] The published version of the package to serve, a semantic version such as &#x60;1.2.0&#x60; or &#x60;1.2.0-rc1&#x60;. &#x60;latest&#x60;, omitted or empty (&#x60;versionId&#x3D;&#x60;, which a proxy forwarding a page\&#39;s query string may send), the request is served from the package\&#39;s &#x60;latest&#x60; version. Any other value that is not a semantic version answers 400 with &#x60;reason&#x60; VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with &#x60;reason&#x60; VERSION_NOT_FOUND, and an archived one answers 410 with &#x60;reason&#x60; VERSION_ARCHIVED. A package that has no versions (one loaded from &#x60;publisher.config.json&#x60; or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send &#x60;1.2.0+build.5&#x60; as &#x60;1.2.0%2Bbuild.5&#x60;, since a bare &#x60;+&#x60; in a query string decodes to a space.
2969
2969
  * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP &#x60;execute_query&#x60; tool\&#39;s argument of the same name, which runs a query the way this route does. MCP offers that argument only when &#x60;publisher.config.json&#x60; sets &#x60;\&quot;mcp\&quot;: { \&quot;includeHiddenFilesAndSources\&quot;: true }&#x60;, which is for authoring servers. Without it the argument is not in the tool\&#39;s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the &#x60;execute_query&#x60; argument. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
2970
+ * @param {string} [givens] The caller\&#39;s givens as the trusted tier set them, one JSON object (&#x60;{\&quot;ROLES\&quot;:[\&quot;clinician\&quot;]}&#x60;). A source whose &#x60;#(authorize)&#x60; lock cannot admit the caller on the &#x60;#(secure)&#x60; givens supplied, or reads a secure given not supplied, is omitted from &#x60;sources&#x60;, &#x60;queries&#x60; and &#x60;sourceInfos&#x60;, as a source locked with &#x60;false&#x60; is. Plain givens and &#x60;#(access_filter)&#x60; row filters hide nothing. Discovery only: the query route\&#39;s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
2970
2971
  * @param {*} [options] Override http request option.
2971
2972
  * @throws {RequiredError}
2972
2973
  */
2973
- getModel: async (r, e, t, a, n, o = {}) => {
2974
+ getModel: async (r, e, t, a, n, o, s = {}) => {
2974
2975
  m("getModel", "environmentName", r), m("getModel", "packageName", e), m("getModel", "path", t);
2975
- const s = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), c = new URL(s, P);
2976
- let i;
2977
- l && (i = l.baseOptions);
2978
- const p = { method: "GET", ...i, ...o }, d = {}, h = {};
2979
- a !== void 0 && (h.versionId = a), n !== void 0 && (h.includeHiddenFilesAndSources = n), d.Accept = "application/json", b(c, h);
2980
- let k = i && i.headers ? i.headers : {};
2981
- return p.headers = { ...d, ...k, ...o.headers }, {
2982
- url: v(c),
2983
- options: p
2976
+ const c = "/environments/{environmentName}/packages/{packageName}/models/{path}".replace("{environmentName}", encodeURIComponent(String(r))).replace("{packageName}", encodeURIComponent(String(e))).replace("{path}", encodeURIComponent(String(t))), i = new URL(c, P);
2977
+ let p;
2978
+ l && (p = l.baseOptions);
2979
+ const d = { method: "GET", ...p, ...s }, h = {}, k = {};
2980
+ a !== void 0 && (k.versionId = a), n !== void 0 && (k.includeHiddenFilesAndSources = n), o !== void 0 && (k.givens = o), h.Accept = "application/json", b(i, k);
2981
+ let O = p && p.headers ? p.headers : {};
2982
+ return d.headers = { ...h, ...O, ...s.headers }, {
2983
+ url: v(i),
2984
+ options: d
2984
2985
  };
2985
2986
  },
2986
2987
  /**
@@ -3072,12 +3073,13 @@ const rn = {
3072
3073
  * @param {string} path Path to the model within the package
3073
3074
  * @param {string} [versionId] The published version of the package to serve, a semantic version such as &#x60;1.2.0&#x60; or &#x60;1.2.0-rc1&#x60;. &#x60;latest&#x60;, omitted or empty (&#x60;versionId&#x3D;&#x60;, which a proxy forwarding a page\&#39;s query string may send), the request is served from the package\&#39;s &#x60;latest&#x60; version. Any other value that is not a semantic version answers 400 with &#x60;reason&#x60; VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with &#x60;reason&#x60; VERSION_NOT_FOUND, and an archived one answers 410 with &#x60;reason&#x60; VERSION_ARCHIVED. A package that has no versions (one loaded from &#x60;publisher.config.json&#x60; or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send &#x60;1.2.0+build.5&#x60; as &#x60;1.2.0%2Bbuild.5&#x60;, since a bare &#x60;+&#x60; in a query string decodes to a space.
3074
3075
  * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP &#x60;execute_query&#x60; tool\&#39;s argument of the same name, which runs a query the way this route does. MCP offers that argument only when &#x60;publisher.config.json&#x60; sets &#x60;\&quot;mcp\&quot;: { \&quot;includeHiddenFilesAndSources\&quot;: true }&#x60;, which is for authoring servers. Without it the argument is not in the tool\&#39;s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the &#x60;execute_query&#x60; argument. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
3076
+ * @param {string} [givens] The caller\&#39;s givens as the trusted tier set them, one JSON object (&#x60;{\&quot;ROLES\&quot;:[\&quot;clinician\&quot;]}&#x60;). A source whose &#x60;#(authorize)&#x60; lock cannot admit the caller on the &#x60;#(secure)&#x60; givens supplied, or reads a secure given not supplied, is omitted from &#x60;sources&#x60;, &#x60;queries&#x60; and &#x60;sourceInfos&#x60;, as a source locked with &#x60;false&#x60; is. Plain givens and &#x60;#(access_filter)&#x60; row filters hide nothing. Discovery only: the query route\&#39;s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
3075
3077
  * @param {*} [options] Override http request option.
3076
3078
  * @throws {RequiredError}
3077
3079
  */
3078
- async getModel(e, t, a, n, o, s) {
3079
- const c = await r.getModel(e, t, a, n, o, s), i = l?.serverIndex ?? 0, p = V["ModelsApi.getModel"]?.[i]?.url;
3080
- return (d, h) => S(c, u, g, l)(d, p || h);
3080
+ async getModel(e, t, a, n, o, s, c) {
3081
+ const i = await r.getModel(e, t, a, n, o, s, c), p = l?.serverIndex ?? 0, d = V["ModelsApi.getModel"]?.[p]?.url;
3082
+ return (h, k) => S(i, u, g, l)(h, d || k);
3081
3083
  },
3082
3084
  /**
3083
3085
  * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Reports (any `.malloy` outside `public/` carrying an artifact tag, other than the root `index.malloy`; see list-reports) are listed by list-reports. A grid report is not a model here on a package with a surface; a linear report is not a model here with or without one.
@@ -3148,11 +3150,12 @@ const rn = {
3148
3150
  * @param {string} path Path to the model within the package
3149
3151
  * @param {string} [versionId] The published version of the package to serve, a semantic version such as &#x60;1.2.0&#x60; or &#x60;1.2.0-rc1&#x60;. &#x60;latest&#x60;, omitted or empty (&#x60;versionId&#x3D;&#x60;, which a proxy forwarding a page\&#39;s query string may send), the request is served from the package\&#39;s &#x60;latest&#x60; version. Any other value that is not a semantic version answers 400 with &#x60;reason&#x60; VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with &#x60;reason&#x60; VERSION_NOT_FOUND, and an archived one answers 410 with &#x60;reason&#x60; VERSION_ARCHIVED. A package that has no versions (one loaded from &#x60;publisher.config.json&#x60; or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send &#x60;1.2.0+build.5&#x60; as &#x60;1.2.0%2Bbuild.5&#x60;, since a bare &#x60;+&#x60; in a query string decodes to a space.
3150
3152
  * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP &#x60;execute_query&#x60; tool\&#39;s argument of the same name, which runs a query the way this route does. MCP offers that argument only when &#x60;publisher.config.json&#x60; sets &#x60;\&quot;mcp\&quot;: { \&quot;includeHiddenFilesAndSources\&quot;: true }&#x60;, which is for authoring servers. Without it the argument is not in the tool\&#39;s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the &#x60;execute_query&#x60; argument. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
3153
+ * @param {string} [givens] The caller\&#39;s givens as the trusted tier set them, one JSON object (&#x60;{\&quot;ROLES\&quot;:[\&quot;clinician\&quot;]}&#x60;). A source whose &#x60;#(authorize)&#x60; lock cannot admit the caller on the &#x60;#(secure)&#x60; givens supplied, or reads a secure given not supplied, is omitted from &#x60;sources&#x60;, &#x60;queries&#x60; and &#x60;sourceInfos&#x60;, as a source locked with &#x60;false&#x60; is. Plain givens and &#x60;#(access_filter)&#x60; row filters hide nothing. Discovery only: the query route\&#39;s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
3151
3154
  * @param {*} [options] Override http request option.
3152
3155
  * @throws {RequiredError}
3153
3156
  */
3154
- getModel(a, n, o, s, c, i) {
3155
- return t.getModel(a, n, o, s, c, i).then((p) => p(e, r));
3157
+ getModel(a, n, o, s, c, i, p) {
3158
+ return t.getModel(a, n, o, s, c, i, p).then((d) => d(e, r));
3156
3159
  },
3157
3160
  /**
3158
3161
  * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Reports (any `.malloy` outside `public/` carrying an artifact tag, other than the root `index.malloy`; see list-reports) are listed by list-reports. A grid report is not a model here on a package with a surface; a linear report is not a model here with or without one.
@@ -3220,11 +3223,12 @@ class ta extends C {
3220
3223
  * @param {string} path Path to the model within the package
3221
3224
  * @param {string} [versionId] The published version of the package to serve, a semantic version such as &#x60;1.2.0&#x60; or &#x60;1.2.0-rc1&#x60;. &#x60;latest&#x60;, omitted or empty (&#x60;versionId&#x3D;&#x60;, which a proxy forwarding a page\&#39;s query string may send), the request is served from the package\&#39;s &#x60;latest&#x60; version. Any other value that is not a semantic version answers 400 with &#x60;reason&#x60; VERSION_ID_INVALID, so a malformed value is told apart from a missing version. An unknown version answers 404 with &#x60;reason&#x60; VERSION_NOT_FOUND, and an archived one answers 410 with &#x60;reason&#x60; VERSION_ARCHIVED. A package that has no versions (one loaded from &#x60;publisher.config.json&#x60; or registered from a directory) is served as before when this is omitted, and answers 404 VERSION_NOT_FOUND when it is given. Build metadata must be percent-encoded: send &#x60;1.2.0+build.5&#x60; as &#x60;1.2.0%2Bbuild.5&#x60;, since a bare &#x60;+&#x60; in a query string decodes to a space.
3222
3225
  * @param {boolean} [includeHiddenFilesAndSources] When true, a package with a surface (a root &#x60;index.malloy&#x60;, or a legacy &#x60;explores&#x60;) is served to this request as if it had none: the models list includes the files off the surface, the model GET returns them, and the query route runs any model path the request names, including a dashboard or notebook file, against every source, as &#x60;queryableSources: \&quot;all\&quot;&#x60; does for every request. &#x60;#(authorize)&#x60; and &#x60;#(access_filter)&#x60; still apply: it lifts curation, never the lock. The model GET goes one step further than &#x60;queryableSources: \&quot;all\&quot;&#x60;: it returns the file\&#39;s &#x60;sourceText&#x60; even when that text names a source the file does not publish. That text can include &#x60;#(authorize)&#x60; expressions, &#x60;given:&#x60; defaults, connection names and raw SQL. Only the models list, the model GET and the query route read it, plus the MCP &#x60;execute_query&#x60; tool\&#39;s argument of the same name, which runs a query the way this route does. MCP offers that argument only when &#x60;publisher.config.json&#x60; sets &#x60;\&quot;mcp\&quot;: { \&quot;includeHiddenFilesAndSources\&quot;: true }&#x60;, which is for authoring servers. Without it the argument is not in the tool\&#39;s schema and is ignored if sent, so an agent answering questions stays on the curated surface. This route is not affected by that setting. The notebook-cell route, the dashboards route, the other MCP tools, and the legacy &#x60;/projects/...&#x60; aliases of these routes ignore it. Like every route on this server, it is unauthenticated. A deployment that authenticates in front of Publisher decides who may send it, and should pass it only for callers allowed to work with a package\&#39;s hidden files, such as its authors. A deployment that exposes the MCP port has to make the same decision for the &#x60;execute_query&#x60; argument. Only &#x60;true&#x60; and &#x60;false&#x60; are accepted. Any other value is refused with 400.
3226
+ * @param {string} [givens] The caller\&#39;s givens as the trusted tier set them, one JSON object (&#x60;{\&quot;ROLES\&quot;:[\&quot;clinician\&quot;]}&#x60;). A source whose &#x60;#(authorize)&#x60; lock cannot admit the caller on the &#x60;#(secure)&#x60; givens supplied, or reads a secure given not supplied, is omitted from &#x60;sources&#x60;, &#x60;queries&#x60; and &#x60;sourceInfos&#x60;, as a source locked with &#x60;false&#x60; is. Plain givens and &#x60;#(access_filter)&#x60; row filters hide nothing. Discovery only: the query route\&#39;s gates decide what is served either way. Absent: every published source. Not a JSON object: 400.
3223
3227
  * @param {*} [options] Override http request option.
3224
3228
  * @throws {RequiredError}
3225
3229
  */
3226
- getModel(r, e, t, a, n, o) {
3227
- return M(this.configuration).getModel(r, e, t, a, n, o).then((s) => s(this.axios, this.basePath));
3230
+ getModel(r, e, t, a, n, o, s) {
3231
+ return M(this.configuration).getModel(r, e, t, a, n, o, s).then((c) => c(this.axios, this.basePath));
3228
3232
  }
3229
3233
  /**
3230
3234
  * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Reports (any `.malloy` outside `public/` carrying an artifact tag, other than the root `index.malloy`; see list-reports) are listed by list-reports. A grid report is not a model here on a package with a surface; a linear report is not a model here with or without one.