@malloy-publisher/sdk 0.0.172 → 0.0.173

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.
@@ -1152,7 +1152,7 @@ class _ extends j {
1152
1152
  const Y = function(c) {
1153
1153
  return {
1154
1154
  /**
1155
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1155
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1156
1156
  * @summary Compile Malloy source code
1157
1157
  * @param {string} projectName Name of the project
1158
1158
  * @param {string} packageName Name of the package
@@ -1247,7 +1247,7 @@ const Y = function(c) {
1247
1247
  const a = Y(c);
1248
1248
  return {
1249
1249
  /**
1250
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1250
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1251
1251
  * @summary Compile Malloy source code
1252
1252
  * @param {string} projectName Name of the project
1253
1253
  * @param {string} packageName Name of the package
@@ -1306,7 +1306,7 @@ const Y = function(c) {
1306
1306
  const r = N(c);
1307
1307
  return {
1308
1308
  /**
1309
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1309
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1310
1310
  * @summary Compile Malloy source code
1311
1311
  * @param {string} projectName Name of the project
1312
1312
  * @param {string} packageName Name of the package
@@ -1360,7 +1360,7 @@ const Y = function(c) {
1360
1360
  };
1361
1361
  class X extends j {
1362
1362
  /**
1363
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1363
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
1364
1364
  * @summary Compile Malloy source code
1365
1365
  * @param {string} projectName Name of the project
1366
1366
  * @param {string} packageName Name of the package
@@ -2438,7 +2438,7 @@ export declare class DatabasesApi extends BaseAPI {
2438
2438
  */
2439
2439
  export declare const ModelsApiAxiosParamCreator: (configuration?: Configuration) => {
2440
2440
  /**
2441
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2441
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2442
2442
  * @summary Compile Malloy source code
2443
2443
  * @param {string} projectName Name of the project
2444
2444
  * @param {string} packageName Name of the package
@@ -2487,7 +2487,7 @@ export declare const ModelsApiAxiosParamCreator: (configuration?: Configuration)
2487
2487
  */
2488
2488
  export declare const ModelsApiFp: (configuration?: Configuration) => {
2489
2489
  /**
2490
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2490
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2491
2491
  * @summary Compile Malloy source code
2492
2492
  * @param {string} projectName Name of the project
2493
2493
  * @param {string} packageName Name of the package
@@ -2536,7 +2536,7 @@ export declare const ModelsApiFp: (configuration?: Configuration) => {
2536
2536
  */
2537
2537
  export declare const ModelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2538
2538
  /**
2539
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2539
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2540
2540
  * @summary Compile Malloy source code
2541
2541
  * @param {string} projectName Name of the project
2542
2542
  * @param {string} packageName Name of the package
@@ -2587,7 +2587,7 @@ export declare const ModelsApiFactory: (configuration?: Configuration, basePath?
2587
2587
  */
2588
2588
  export declare class ModelsApi extends BaseAPI {
2589
2589
  /**
2590
- * Compiles Malloy source code in the context of a specific model\'s directory, allowing relative imports to resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2590
+ * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2591
2591
  * @summary Compile Malloy source code
2592
2592
  * @param {string} projectName Name of the project
2593
2593
  * @param {string} packageName Name of the package
@@ -1,4 +1,4 @@
1
- import { A as e, a as o, C as t, b as i, Y as r, d as p, c as n, k as A, h as c, j as u, i as C, o as m, l as P, n as l, m as b, D as y, s as F, p as E, r as d, q as h, L as k, w as x, M as S, v as T, t as M, e as g, N as v, B as D, x as N, z as j, y as W, G as f, P as R, F as z, E as L, K as O, H as Q, J as q, I as w, T as B, O as G, R as H, Q as I, S as J, f as K, X as U, W as V, V as X, U as Y, g as Z, u as _ } from "../ServerProvider-sZSNZTp2.es.js";
1
+ import { A as e, a as o, C as t, b as i, Y as r, d as p, c as n, k as A, h as c, j as u, i as C, o as m, l as P, n as l, m as b, D as y, s as F, p as E, r as d, q as h, L as k, w as x, M as S, v as T, t as M, e as g, N as v, B as D, x as N, z as j, y as W, G as f, P as R, F as z, E as L, K as O, H as Q, J as q, I as w, T as B, O as G, R as H, Q as I, S as J, f as K, X as U, W as V, V as X, U as Y, g as Z, u as _ } from "../ServerProvider-DXWYRUEP.es.js";
2
2
  export {
3
3
  e as AttachedDatabaseTypeEnum,
4
4
  o as AzureConnectionAuthTypeEnum,
package/dist/index.es.js CHANGED
@@ -3,8 +3,8 @@ import { styled as un, Card as No, CardContent as Mo, CardMedia as IC, Box as He
3
3
  import * as w from "react";
4
4
  import ve, { useEffect as Vt, useImperativeHandle as J0, useContext as ni, Fragment as eb, useMemo as ht, useRef as mn, useReducer as OC, useState as je, Suspense as Tp, lazy as LC, createContext as FC, isValidElement as vl, cloneElement as kl, Children as $C, useCallback as ba, useLayoutEffect as BC } from "react";
5
5
  import { useQuery as HC, useMutation as UC, useQueryClient as io } from "@tanstack/react-query";
6
- import { u as bt, g as tb, c as nb, A as rb } from "./ServerProvider-sZSNZTp2.es.js";
7
- import { S as hq } from "./ServerProvider-sZSNZTp2.es.js";
6
+ import { u as bt, g as tb, c as nb, A as rb } from "./ServerProvider-DXWYRUEP.es.js";
7
+ import { S as hq } from "./ServerProvider-DXWYRUEP.es.js";
8
8
  import zC from "axios";
9
9
  import { Warning as VC, Add as ab, Launch as jC, AddCircleRounded as WC, Delete as Sp, Edit as wp, MoreVert as ob } from "@mui/icons-material";
10
10
  import { unstable_createGetCssVar as qC, createSpacing as YC, useTheme as GC, GlobalStyles as KC, unstable_memoTheme as QC, createStack as XC, Stack as ZC, Box as JC, keyframes as Ds, css as ib, createBox as eE, shouldForwardProp as sb, alpha as Sn } from "@mui/system";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@malloy-publisher/sdk",
3
3
  "description": "Malloy Publisher SDK",
4
- "version": "0.0.172",
4
+ "version": "0.0.173",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",