@malloy-publisher/sdk 0.0.237 → 0.0.239

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.
@@ -84,67 +84,70 @@ const b = function(l, ...n) {
84
84
  StaleOk: "stale_ok",
85
85
  Fail: "fail"
86
86
  }, ca = {
87
+ Select: "select",
88
+ Multiselect: "multiselect"
89
+ }, ia = {
87
90
  Debug: "debug",
88
91
  Info: "info",
89
92
  Warn: "warn",
90
93
  Error: "error"
91
- }, ia = {
94
+ }, da = {
92
95
  Live: "live",
93
96
  StaleOk: "stale_ok",
94
97
  Fail: "fail"
95
- }, da = {
98
+ }, pa = {
96
99
  Pending: "PENDING",
97
100
  ManifestRowsReady: "MANIFEST_ROWS_READY",
98
101
  ManifestFileReady: "MANIFEST_FILE_READY",
99
102
  Failed: "FAILED",
100
103
  Cancelled: "CANCELLED"
101
- }, pa = {
102
- Markdown: "markdown",
103
- Code: "code"
104
104
  }, ma = {
105
105
  Markdown: "markdown",
106
106
  Code: "code"
107
107
  }, ha = {
108
+ Markdown: "markdown",
109
+ Code: "code"
110
+ }, ua = {
108
111
  Version: "version",
109
112
  Package: "package"
110
- }, ua = {
113
+ }, ga = {
111
114
  Declared: "declared",
112
115
  All: "all"
113
- }, ga = {
116
+ }, Pa = {
114
117
  Unbound: "unbound",
115
118
  Bound: "bound",
116
119
  LiveFallback: "live_fallback"
117
- }, Pa = {
120
+ }, ba = {
118
121
  Error: "error",
119
122
  Warn: "warn"
120
- }, ba = {
121
- Viewport: "viewport"
122
123
  }, va = {
124
+ Viewport: "viewport"
125
+ }, Va = {
123
126
  Disable: "disable",
124
127
  NoVerify: "no-verify",
125
128
  VerifyCa: "verify-ca",
126
129
  VerifyFull: "verify-full"
127
- }, Va = {
130
+ }, Oa = {
128
131
  Interactive: "interactive",
129
132
  Materialize: "materialize",
130
133
  Index: "index",
131
134
  Ops: "ops"
132
- }, Oa = {
135
+ }, Sa = {
133
136
  Query: "query",
134
137
  ServerDefault: "server_default"
135
- }, Sa = {
138
+ }, ya = {
136
139
  Snapshot: "SNAPSHOT",
137
140
  Copy: "COPY"
138
- }, ya = {
141
+ }, ka = {
139
142
  Publish: "publish",
140
143
  OnDemand: "on_demand",
141
144
  Scheduler: "scheduler"
142
- }, ka = {
145
+ }, Ca = {
143
146
  Initializing: "initializing",
144
147
  Serving: "serving",
145
148
  Draining: "draining",
146
149
  Throttled: "throttled"
147
- }, Ca = {
150
+ }, Ia = {
148
151
  Light: "light",
149
152
  Dark: "dark",
150
153
  Auto: "auto"
@@ -758,7 +761,7 @@ const b = function(l, ...n) {
758
761
  return (i, d) => V(o, h, u, l)(i, c || d);
759
762
  }
760
763
  };
761
- }, Ia = function(l, n, e) {
764
+ }, xa = function(l, n, e) {
762
765
  const r = S(l);
763
766
  return {
764
767
  /**
@@ -1236,7 +1239,7 @@ const Pe = function(l) {
1236
1239
  return (s, c) => V(a, h, u, l)(s, o || c);
1237
1240
  }
1238
1241
  };
1239
- }, xa = function(l, n, e) {
1242
+ }, Aa = function(l, n, e) {
1240
1243
  const r = K(l);
1241
1244
  return {
1242
1245
  /**
@@ -1251,7 +1254,7 @@ const Pe = function(l) {
1251
1254
  }
1252
1255
  };
1253
1256
  };
1254
- class Aa extends I {
1257
+ class Ra extends I {
1255
1258
  /**
1256
1259
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
1257
1260
  * @summary Test database connection configuration
@@ -1306,7 +1309,7 @@ const be = function(l) {
1306
1309
  return (i, d) => V(o, h, u, l)(i, c || d);
1307
1310
  }
1308
1311
  };
1309
- }, Ra = function(l, n, e) {
1312
+ }, Na = function(l, n, e) {
1310
1313
  const r = X(l);
1311
1314
  return {
1312
1315
  /**
@@ -1501,7 +1504,7 @@ const Ve = function(l) {
1501
1504
  return (c, i) => V(t, h, u, l)(c, s || i);
1502
1505
  }
1503
1506
  };
1504
- }, Na = function(l, n, e) {
1507
+ }, Ta = function(l, n, e) {
1505
1508
  const r = N(l);
1506
1509
  return {
1507
1510
  /**
@@ -1838,7 +1841,7 @@ const Se = function(l) {
1838
1841
  return (d, p) => V(s, h, u, l)(d, i || p);
1839
1842
  }
1840
1843
  };
1841
- }, Ta = function(l, n, e) {
1844
+ }, Ua = function(l, n, e) {
1842
1845
  const r = A(l);
1843
1846
  return {
1844
1847
  /**
@@ -2001,7 +2004,7 @@ class ye extends I {
2001
2004
  return A(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
2002
2005
  }
2003
2006
  }
2004
- const Ua = {
2007
+ const wa = {
2005
2008
  Stop: "stop"
2006
2009
  }, ke = function(l) {
2007
2010
  return {
@@ -2156,7 +2159,7 @@ const Ua = {
2156
2159
  return (i, d) => V(o, h, u, l)(i, c || d);
2157
2160
  }
2158
2161
  };
2159
- }, wa = function(l, n, e) {
2162
+ }, Ea = function(l, n, e) {
2160
2163
  const r = w(l);
2161
2164
  return {
2162
2165
  /**
@@ -2281,7 +2284,7 @@ const Ie = function(l) {
2281
2284
  * @param {string} [versionId] Version identifier for the package
2282
2285
  * @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
2283
2286
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
2284
- * @param {string} [givens] JSON-encoded given values keyed by given name
2287
+ * @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
2285
2288
  * @param {*} [options] Override http request option.
2286
2289
  * @throws {RequiredError}
2287
2290
  */
@@ -2357,7 +2360,7 @@ const Ie = function(l) {
2357
2360
  * @param {string} [versionId] Version identifier for the package
2358
2361
  * @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
2359
2362
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
2360
- * @param {string} [givens] JSON-encoded given values keyed by given name
2363
+ * @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
2361
2364
  * @param {*} [options] Override http request option.
2362
2365
  * @throws {RequiredError}
2363
2366
  */
@@ -2393,7 +2396,7 @@ const Ie = function(l) {
2393
2396
  return (i, d) => V(o, h, u, l)(i, c || d);
2394
2397
  }
2395
2398
  };
2396
- }, Ea = function(l, n, e) {
2399
+ }, Ma = function(l, n, e) {
2397
2400
  const r = Q(l);
2398
2401
  return {
2399
2402
  /**
@@ -2406,7 +2409,7 @@ const Ie = function(l) {
2406
2409
  * @param {string} [versionId] Version identifier for the package
2407
2410
  * @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
2408
2411
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
2409
- * @param {string} [givens] JSON-encoded given values keyed by given name
2412
+ * @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
2410
2413
  * @param {*} [options] Override http request option.
2411
2414
  * @throws {RequiredError}
2412
2415
  */
@@ -2451,7 +2454,7 @@ class xe extends I {
2451
2454
  * @param {string} [versionId] Version identifier for the package
2452
2455
  * @param {string} [filterParams] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. Targets the deprecated `#(filter)` annotation path. See docs/givens.md for migration recipes. JSON-encoded filter parameter values keyed by filter name.
2453
2456
  * @param {ExecuteNotebookCellBypassFiltersEnum} [bypassFilters] **DEPRECATED**: Use `givens` (native Malloy runtime parameters) instead. See docs/givens.md for migration recipes. When true, skip filter injection entirely.
2454
- * @param {string} [givens] JSON-encoded given values keyed by given name
2457
+ * @param {string} [givens] A `GivenValues` object, JSON-encoded so it can travel in a query string. Values are typed as `GivenValues` describes them, not string-encoded as `EncodedGivenValues` would be. The parameter keeps its name for compatibility; the schema it carries is the one named here.
2455
2458
  * @param {*} [options] Override http request option.
2456
2459
  * @throws {RequiredError}
2457
2460
  * @memberof NotebooksApi
@@ -2487,7 +2490,7 @@ class xe extends I {
2487
2490
  return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
2488
2491
  }
2489
2492
  }
2490
- const Ma = {
2493
+ const fa = {
2491
2494
  True: "true",
2492
2495
  False: "false"
2493
2496
  }, Ae = function(l) {
@@ -2666,7 +2669,7 @@ const Ma = {
2666
2669
  return (i, d) => V(o, h, u, l)(i, c || d);
2667
2670
  }
2668
2671
  };
2669
- }, fa = function(l, n, e) {
2672
+ }, Ba = function(l, n, e) {
2670
2673
  const r = T(l);
2671
2674
  return {
2672
2675
  /**
@@ -2832,7 +2835,7 @@ const Ne = function(l) {
2832
2835
  return (c, i) => V(t, h, u, l)(c, s || i);
2833
2836
  }
2834
2837
  };
2835
- }, Ba = function(l, n, e) {
2838
+ }, Fa = function(l, n, e) {
2836
2839
  const r = Z(l);
2837
2840
  return {
2838
2841
  /**
@@ -2984,7 +2987,7 @@ const Ue = function(l) {
2984
2987
  return (s, c) => V(a, h, u, l)(s, o || c);
2985
2988
  }
2986
2989
  };
2987
- }, Fa = function(l, n, e) {
2990
+ }, Qa = function(l, n, e) {
2988
2991
  const r = E(l);
2989
2992
  return {
2990
2993
  /**
@@ -3196,7 +3199,7 @@ const Ee = function(l) {
3196
3199
  return (c, i) => V(t, h, u, l)(c, s || i);
3197
3200
  }
3198
3201
  };
3199
- }, Qa = function(l, n, e) {
3202
+ }, za = function(l, n, e) {
3200
3203
  const r = M(l);
3201
3204
  return {
3202
3205
  /**
@@ -3372,21 +3375,21 @@ const B = {
3372
3375
  // right wing of the M (semantic models)
3373
3376
  darkBlue: "#1474a4"
3374
3377
  // deep shadow of the M (package data)
3375
- }, za = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', $a = k(Y)({
3378
+ }, $a = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', qa = k(Y)({
3376
3379
  display: "flex",
3377
3380
  flexDirection: "column",
3378
3381
  height: "100%",
3379
3382
  boxShadow: "none",
3380
3383
  border: "none",
3381
3384
  backgroundColor: "transparent"
3382
- }), qa = k(J)({
3385
+ }), La = k(J)({
3383
3386
  display: "flex",
3384
3387
  flexDirection: "column",
3385
3388
  padding: "0",
3386
3389
  flexGrow: 1
3387
- }), La = k(me)({
3390
+ }), ja = k(me)({
3388
3391
  padding: "0"
3389
- }), ja = k("div")(({ theme: l }) => ({
3392
+ }), Ha = k("div")(({ theme: l }) => ({
3390
3393
  backgroundColor: l.palette.background.default,
3391
3394
  padding: "0 8px 0px 8px",
3392
3395
  borderRadius: "12px",
@@ -3400,19 +3403,19 @@ k("div")(({ theme: l }) => ({
3400
3403
  paddingBottom: "24px",
3401
3404
  borderBottom: `1px solid ${l.palette.divider}`
3402
3405
  }));
3403
- const Ha = k("div")({
3406
+ const Da = k("div")({
3404
3407
  marginBottom: "48px",
3405
3408
  padding: "0",
3406
3409
  backgroundColor: "transparent",
3407
3410
  border: "none",
3408
3411
  boxShadow: "none"
3409
- }), Da = k("div")({
3412
+ }), Wa = k("div")({
3410
3413
  marginBottom: "0",
3411
3414
  padding: "0",
3412
3415
  backgroundColor: "transparent",
3413
3416
  border: "none",
3414
3417
  boxShadow: "none"
3415
- }), Wa = k("div")({
3418
+ }), _a = k("div")({
3416
3419
  backgroundColor: "transparent",
3417
3420
  paddingTop: "12px",
3418
3421
  paddingBottom: "2px",
@@ -3442,7 +3445,7 @@ k("div")(({ theme: l }) => ({
3442
3445
  justifyContent: "space-between",
3443
3446
  alignItems: "center"
3444
3447
  }));
3445
- const _a = k("div")({
3448
+ const Ga = k("div")({
3446
3449
  height: "100%"
3447
3450
  });
3448
3451
  k("div")({
@@ -3452,7 +3455,7 @@ k("div")({
3452
3455
  padding: "4px",
3453
3456
  alignItems: "center"
3454
3457
  });
3455
- const Ga = k("div")({
3458
+ const Ya = k("div")({
3456
3459
  height: "75vh",
3457
3460
  width: "100%",
3458
3461
  overflowY: "auto"
@@ -3462,7 +3465,7 @@ k("div")({
3462
3465
  height: "100%",
3463
3466
  flex: "0 0 auto"
3464
3467
  });
3465
- const Ya = k(Y)(({ theme: l }) => ({
3468
+ const Ja = k(Y)(({ theme: l }) => ({
3466
3469
  backgroundColor: l.palette.background.paper,
3467
3470
  padding: "24px",
3468
3471
  borderRadius: "8px",
@@ -3473,12 +3476,12 @@ const Ya = k(Y)(({ theme: l }) => ({
3473
3476
  "&:hover": {
3474
3477
  boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
3475
3478
  }
3476
- })), Ja = k(J)({
3479
+ })), Ka = k(J)({
3477
3480
  padding: "0",
3478
3481
  "&:last-child": {
3479
3482
  paddingBottom: "0"
3480
3483
  }
3481
- }), Ka = k("div")(({ theme: l }) => ({
3484
+ }), Xa = k("div")(({ theme: l }) => ({
3482
3485
  fontSize: "0.875rem",
3483
3486
  fontWeight: 500,
3484
3487
  color: l.palette.text.secondary,
@@ -3640,7 +3643,7 @@ function $e({
3640
3643
  );
3641
3644
  return /* @__PURE__ */ F(ae.Provider, { value: s, children: t });
3642
3645
  }
3643
- function Xa() {
3646
+ function Za() {
3644
3647
  const l = G(ae);
3645
3648
  return l || {
3646
3649
  theme: ee([], "light"),
@@ -3663,7 +3666,7 @@ const qe = new le({
3663
3666
  throwOnError: !1
3664
3667
  }
3665
3668
  }
3666
- }), Za = {
3669
+ }), et = {
3667
3670
  staleTime: 300 * 1e3,
3668
3671
  refetchOnWindowFocus: !1,
3669
3672
  refetchOnReconnect: !1
@@ -3714,7 +3717,7 @@ const te = _(void 0), De = (l, n) => {
3714
3717
  ),
3715
3718
  watchMode: new Me(a, e, r)
3716
3719
  };
3717
- }, et = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
3720
+ }, at = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
3718
3721
  children: l,
3719
3722
  getAccessToken: n,
3720
3723
  baseURL: e,
@@ -3771,109 +3774,110 @@ const te = _(void 0), De = (l, n) => {
3771
3774
  children: l
3772
3775
  }
3773
3776
  ) });
3774
- }, at = () => {
3777
+ }, tt = () => {
3775
3778
  const l = G(te);
3776
3779
  if (l === void 0)
3777
3780
  throw new Error("useServer must be used within a ServerProvider");
3778
3781
  return l;
3779
3782
  };
3780
3783
  export {
3781
- wa as $,
3784
+ w as $,
3782
3785
  Xe as A,
3783
3786
  be as B,
3784
3787
  ea as C,
3785
3788
  oa as D,
3786
3789
  X as E,
3787
3790
  sa as F,
3788
- Ra as G,
3789
- ve as H,
3790
- Ve as I,
3791
- N as J,
3792
- Na as K,
3793
- ca as L,
3794
- ia as M,
3795
- pa as N,
3796
- Oe as O,
3797
- ha as P,
3798
- Va as Q,
3799
- Sa as R,
3800
- et as S,
3801
- Ca as T,
3802
- Se as U,
3803
- A as V,
3804
- Ta as W,
3805
- ye as X,
3806
- Ua as Y,
3807
- ke as Z,
3808
- w as _,
3791
+ ca as G,
3792
+ Na as H,
3793
+ ve as I,
3794
+ Ve as J,
3795
+ N as K,
3796
+ ia as L,
3797
+ da as M,
3798
+ ma as N,
3799
+ Ta as O,
3800
+ ua as P,
3801
+ Oa as Q,
3802
+ ya as R,
3803
+ at as S,
3804
+ Ia as T,
3805
+ Oe as U,
3806
+ Se as V,
3807
+ A as W,
3808
+ Ua as X,
3809
+ ye as Y,
3810
+ wa as Z,
3811
+ ke as _,
3809
3812
  Ze as a,
3810
- Ce as a0,
3811
- Ie as a1,
3812
- Q as a2,
3813
- Ea as a3,
3814
- xe as a4,
3815
- Ma as a5,
3816
- Ae as a6,
3817
- T as a7,
3818
- fa as a8,
3819
- Re as a9,
3813
+ Ea as a0,
3814
+ Ce as a1,
3815
+ Ie as a2,
3816
+ Q as a3,
3817
+ Ma as a4,
3818
+ xe as a5,
3819
+ fa as a6,
3820
+ Ae as a7,
3821
+ T as a8,
3822
+ Ba as a9,
3820
3823
  Wa as aA,
3821
- ja as aB,
3824
+ _a as aB,
3822
3825
  Ha as aC,
3823
- Qe as aD,
3824
- ee as aE,
3825
- W as aF,
3826
- ze as aG,
3827
- $e as aH,
3828
- Ne as aa,
3829
- Z as ab,
3830
- Ba as ac,
3831
- Te as ad,
3832
- Ue as ae,
3833
- E as af,
3834
- Fa as ag,
3835
- we as ah,
3836
- Ee as ai,
3837
- M as aj,
3838
- Qa as ak,
3839
- Me as al,
3840
- fe as am,
3841
- La as an,
3842
- _a as ao,
3826
+ Da as aD,
3827
+ Qe as aE,
3828
+ ee as aF,
3829
+ W as aG,
3830
+ ze as aH,
3831
+ $e as aI,
3832
+ Re as aa,
3833
+ Ne as ab,
3834
+ Z as ac,
3835
+ Fa as ad,
3836
+ Te as ae,
3837
+ Ue as af,
3838
+ E as ag,
3839
+ Qa as ah,
3840
+ we as ai,
3841
+ Ee as aj,
3842
+ M as ak,
3843
+ za as al,
3844
+ Me as am,
3845
+ fe as an,
3846
+ ja as ao,
3843
3847
  Ga as ap,
3844
- Xa as aq,
3845
- $a as ar,
3848
+ Ya as aq,
3849
+ Za as ar,
3846
3850
  qa as as,
3847
- za as at,
3848
- Ya as au,
3851
+ La as at,
3852
+ $a as au,
3849
3853
  Ja as av,
3850
3854
  Ka as aw,
3851
- B as ax,
3852
- Za as ay,
3853
- Da as az,
3855
+ Xa as ax,
3856
+ B as ay,
3857
+ et as az,
3854
3858
  aa as b,
3855
3859
  ta as c,
3856
3860
  na as d,
3857
3861
  ra as e,
3858
3862
  la as f,
3859
3863
  qe as g,
3860
- da as h,
3861
- ma as i,
3862
- ua as j,
3863
- ga as k,
3864
- Pa as l,
3865
- ba as m,
3866
- va as n,
3867
- Oa as o,
3868
- ya as p,
3869
- ka as q,
3864
+ pa as h,
3865
+ ha as i,
3866
+ ga as j,
3867
+ Pa as k,
3868
+ ba as l,
3869
+ va as m,
3870
+ Va as n,
3871
+ Sa as o,
3872
+ ka as p,
3873
+ Ca as q,
3870
3874
  ue as r,
3871
3875
  S as s,
3872
- Ia as t,
3873
- at as u,
3876
+ xa as t,
3877
+ tt as u,
3874
3878
  ge as v,
3875
3879
  Pe as w,
3876
3880
  K as x,
3877
- xa as y,
3878
- Aa as z
3881
+ Aa as y,
3882
+ Ra as z
3879
3883
  };