@malloy-publisher/sdk 0.0.232 → 0.0.234

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.
@@ -2,7 +2,7 @@ import { jsx as F } from "react/jsx-runtime";
2
2
  import { QueryClient as le, QueryClientProvider as ce, useQuery as ie } from "@tanstack/react-query";
3
3
  import h from "axios";
4
4
  import { useMemo as f, createContext as _, useContext as G, useState as D, useEffect as de, useCallback as pe } from "react";
5
- import { styled as y, Card as Y, CardContent as J, CardMedia as me } from "@mui/material";
5
+ import { styled as k, Card as Y, CardContent as J, CardMedia as me } from "@mui/material";
6
6
  const u = "http://localhost/api/v0".replace(/\/+$/, "");
7
7
  class I {
8
8
  constructor(n, e = u, r = h) {
@@ -27,7 +27,7 @@ function q(l, n, e = "") {
27
27
  const b = function(l, ...n) {
28
28
  const e = new URLSearchParams(l.search);
29
29
  q(e, n), l.search = e.toString();
30
- }, k = function(l, n, e) {
30
+ }, y = function(l, n, e) {
31
31
  const r = typeof l != "string";
32
32
  return (r && e && e.isJsonMime ? e.isJsonMime(n.headers["Content-Type"]) : r) ? JSON.stringify(l !== void 0 ? l : {}) : l || "";
33
33
  }, v = function(l) {
@@ -125,14 +125,26 @@ const b = function(l, ...n) {
125
125
  VerifyCa: "verify-ca",
126
126
  VerifyFull: "verify-full"
127
127
  }, Va = {
128
+ Interactive: "interactive",
129
+ Materialize: "materialize",
130
+ Index: "index",
131
+ Ops: "ops"
132
+ }, Oa = {
133
+ Query: "query",
134
+ ServerDefault: "server_default"
135
+ }, Sa = {
128
136
  Snapshot: "SNAPSHOT",
129
137
  Copy: "COPY"
130
- }, Oa = {
138
+ }, ya = {
139
+ Publish: "publish",
140
+ OnDemand: "on_demand",
141
+ Scheduler: "scheduler"
142
+ }, ka = {
131
143
  Initializing: "initializing",
132
144
  Serving: "serving",
133
145
  Draining: "draining",
134
146
  Throttled: "throttled"
135
- }, Sa = {
147
+ }, Ca = {
136
148
  Light: "light",
137
149
  Dark: "dark",
138
150
  Auto: "auto"
@@ -155,7 +167,7 @@ const b = function(l, ...n) {
155
167
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
156
168
  i["Content-Type"] = "application/json", b(o, d);
157
169
  let p = s && s.headers ? s.headers : {};
158
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
170
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
159
171
  url: v(o),
160
172
  options: c
161
173
  };
@@ -376,7 +388,7 @@ const b = function(l, ...n) {
376
388
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
377
389
  i["Content-Type"] = "application/json", b(o, d);
378
390
  let p = s && s.headers ? s.headers : {};
379
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
391
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
380
392
  url: v(o),
381
393
  options: c
382
394
  };
@@ -399,7 +411,7 @@ const b = function(l, ...n) {
399
411
  const i = { method: "POST", ...c, ...t }, d = {}, p = {};
400
412
  d["Content-Type"] = "application/json", b(s, p);
401
413
  let O = c && c.headers ? c.headers : {};
402
- return i.headers = { ...d, ...O, ...t.headers }, i.data = k(a, i, l), {
414
+ return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
403
415
  url: v(s),
404
416
  options: i
405
417
  };
@@ -421,7 +433,7 @@ const b = function(l, ...n) {
421
433
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
422
434
  i["Content-Type"] = "application/json", b(o, d);
423
435
  let p = s && s.headers ? s.headers : {};
424
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
436
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
425
437
  url: v(o),
426
438
  options: c
427
439
  };
@@ -444,7 +456,7 @@ const b = function(l, ...n) {
444
456
  const i = { method: "POST", ...c, ...t }, d = {}, p = {};
445
457
  d["Content-Type"] = "application/json", b(s, p);
446
458
  let O = c && c.headers ? c.headers : {};
447
- return i.headers = { ...d, ...O, ...t.headers }, i.data = k(a, i, l), {
459
+ return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
448
460
  url: v(s),
449
461
  options: i
450
462
  };
@@ -466,7 +478,7 @@ const b = function(l, ...n) {
466
478
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
467
479
  i["Content-Type"] = "application/json", b(o, d);
468
480
  let p = s && s.headers ? s.headers : {};
469
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
481
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
470
482
  url: v(o),
471
483
  options: c
472
484
  };
@@ -489,7 +501,7 @@ const b = function(l, ...n) {
489
501
  const i = { method: "POST", ...c, ...t }, d = {}, p = {};
490
502
  d["Content-Type"] = "application/json", b(s, p);
491
503
  let O = c && c.headers ? c.headers : {};
492
- return i.headers = { ...d, ...O, ...t.headers }, i.data = k(a, i, l), {
504
+ return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
493
505
  url: v(s),
494
506
  options: i
495
507
  };
@@ -511,7 +523,7 @@ const b = function(l, ...n) {
511
523
  const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
512
524
  i["Content-Type"] = "application/json", b(o, d);
513
525
  let p = s && s.headers ? s.headers : {};
514
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
526
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
515
527
  url: v(o),
516
528
  options: c
517
529
  };
@@ -746,7 +758,7 @@ const b = function(l, ...n) {
746
758
  return (i, d) => V(o, h, u, l)(i, c || d);
747
759
  }
748
760
  };
749
- }, ka = function(l, n, e) {
761
+ }, Ia = function(l, n, e) {
750
762
  const r = S(l);
751
763
  return {
752
764
  /**
@@ -1203,7 +1215,7 @@ const Pe = function(l) {
1203
1215
  const o = { method: "POST", ...t, ...e }, s = {}, c = {};
1204
1216
  s["Content-Type"] = "application/json", b(a, c);
1205
1217
  let i = t && t.headers ? t.headers : {};
1206
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
1218
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
1207
1219
  url: v(a),
1208
1220
  options: o
1209
1221
  };
@@ -1224,7 +1236,7 @@ const Pe = function(l) {
1224
1236
  return (s, c) => V(a, h, u, l)(s, o || c);
1225
1237
  }
1226
1238
  };
1227
- }, ya = function(l, n, e) {
1239
+ }, xa = function(l, n, e) {
1228
1240
  const r = K(l);
1229
1241
  return {
1230
1242
  /**
@@ -1239,7 +1251,7 @@ const Pe = function(l) {
1239
1251
  }
1240
1252
  };
1241
1253
  };
1242
- class Ca extends I {
1254
+ class Aa extends I {
1243
1255
  /**
1244
1256
  * 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.
1245
1257
  * @summary Test database connection configuration
@@ -1294,7 +1306,7 @@ const be = function(l) {
1294
1306
  return (i, d) => V(o, h, u, l)(i, c || d);
1295
1307
  }
1296
1308
  };
1297
- }, Ia = function(l, n, e) {
1309
+ }, Ra = function(l, n, e) {
1298
1310
  const r = X(l);
1299
1311
  return {
1300
1312
  /**
@@ -1343,7 +1355,7 @@ const Ve = function(l) {
1343
1355
  const o = { method: "POST", ...t, ...e }, s = {}, c = {};
1344
1356
  s["Content-Type"] = "application/json", b(a, c);
1345
1357
  let i = t && t.headers ? t.headers : {};
1346
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
1358
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
1347
1359
  url: v(a),
1348
1360
  options: o
1349
1361
  };
@@ -1423,7 +1435,7 @@ const Ve = function(l) {
1423
1435
  const s = { method: "PATCH", ...o, ...r }, c = {}, i = {};
1424
1436
  c["Content-Type"] = "application/json", b(t, i);
1425
1437
  let d = o && o.headers ? o.headers : {};
1426
- return s.headers = { ...c, ...d, ...r.headers }, s.data = k(e, s, l), {
1438
+ return s.headers = { ...c, ...d, ...r.headers }, s.data = y(e, s, l), {
1427
1439
  url: v(t),
1428
1440
  options: s
1429
1441
  };
@@ -1489,7 +1501,7 @@ const Ve = function(l) {
1489
1501
  return (c, i) => V(t, h, u, l)(c, s || i);
1490
1502
  }
1491
1503
  };
1492
- }, xa = function(l, n, e) {
1504
+ }, Na = function(l, n, e) {
1493
1505
  const r = N(l);
1494
1506
  return {
1495
1507
  /**
@@ -1622,7 +1634,7 @@ const Se = function(l) {
1622
1634
  const c = { method: "POST", ...s, ...a }, i = {}, d = {};
1623
1635
  i["Content-Type"] = "application/json", b(o, d);
1624
1636
  let p = s && s.headers ? s.headers : {};
1625
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
1637
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
1626
1638
  url: v(o),
1627
1639
  options: c
1628
1640
  };
@@ -1826,7 +1838,7 @@ const Se = function(l) {
1826
1838
  return (d, p) => V(s, h, u, l)(d, i || p);
1827
1839
  }
1828
1840
  };
1829
- }, Aa = function(l, n, e) {
1841
+ }, Ta = function(l, n, e) {
1830
1842
  const r = A(l);
1831
1843
  return {
1832
1844
  /**
@@ -1906,7 +1918,7 @@ const Se = function(l) {
1906
1918
  }
1907
1919
  };
1908
1920
  };
1909
- class ke extends I {
1921
+ class ye extends I {
1910
1922
  /**
1911
1923
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
1912
1924
  * @summary Create a materialization
@@ -1989,9 +2001,9 @@ class ke extends I {
1989
2001
  return A(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
1990
2002
  }
1991
2003
  }
1992
- const Ra = {
2004
+ const Ua = {
1993
2005
  Stop: "stop"
1994
- }, ye = function(l) {
2006
+ }, ke = function(l) {
1995
2007
  return {
1996
2008
  /**
1997
2009
  * 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.
@@ -2011,7 +2023,7 @@ const Ra = {
2011
2023
  const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2012
2024
  d["Content-Type"] = "application/json", b(s, p);
2013
2025
  let O = c && c.headers ? c.headers : {};
2014
- return i.headers = { ...d, ...O, ...t.headers }, i.data = k(a, i, l), {
2026
+ return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
2015
2027
  url: v(s),
2016
2028
  options: i
2017
2029
  };
@@ -2034,7 +2046,7 @@ const Ra = {
2034
2046
  const i = { method: "POST", ...c, ...t }, d = {}, p = {};
2035
2047
  d["Content-Type"] = "application/json", b(s, p);
2036
2048
  let O = c && c.headers ? c.headers : {};
2037
- return i.headers = { ...d, ...O, ...t.headers }, i.data = k(a, i, l), {
2049
+ return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
2038
2050
  url: v(s),
2039
2051
  options: i
2040
2052
  };
@@ -2086,7 +2098,7 @@ const Ra = {
2086
2098
  }
2087
2099
  };
2088
2100
  }, w = function(l) {
2089
- const n = ye(l);
2101
+ const n = ke(l);
2090
2102
  return {
2091
2103
  /**
2092
2104
  * 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.
@@ -2144,7 +2156,7 @@ const Ra = {
2144
2156
  return (i, d) => V(o, h, u, l)(i, c || d);
2145
2157
  }
2146
2158
  };
2147
- }, Na = function(l, n, e) {
2159
+ }, wa = function(l, n, e) {
2148
2160
  const r = w(l);
2149
2161
  return {
2150
2162
  /**
@@ -2381,7 +2393,7 @@ const Ie = function(l) {
2381
2393
  return (i, d) => V(o, h, u, l)(i, c || d);
2382
2394
  }
2383
2395
  };
2384
- }, Ta = function(l, n, e) {
2396
+ }, Ea = function(l, n, e) {
2385
2397
  const r = Q(l);
2386
2398
  return {
2387
2399
  /**
@@ -2475,7 +2487,7 @@ class xe extends I {
2475
2487
  return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
2476
2488
  }
2477
2489
  }
2478
- const Ua = {
2490
+ const Ma = {
2479
2491
  True: "true",
2480
2492
  False: "false"
2481
2493
  }, Ae = function(l) {
@@ -2496,7 +2508,7 @@ const Ua = {
2496
2508
  const s = { method: "POST", ...o, ...r }, c = {}, i = {};
2497
2509
  c["Content-Type"] = "application/json", b(t, i);
2498
2510
  let d = o && o.headers ? o.headers : {};
2499
- return s.headers = { ...c, ...d, ...r.headers }, s.data = k(e, s, l), {
2511
+ return s.headers = { ...c, ...d, ...r.headers }, s.data = y(e, s, l), {
2500
2512
  url: v(t),
2501
2513
  options: s
2502
2514
  };
@@ -2566,7 +2578,7 @@ const Ua = {
2566
2578
  };
2567
2579
  },
2568
2580
  /**
2569
- * 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.
2581
+ * 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, because neither is expressible in the block a caller sends: `scope` (a top-level field) and `queryMetadata` (orthogonal to the schedule and freshness policy this call usually carries) are preserved when omitted. Send `queryMetadata: null` to clear it.
2570
2582
  * @summary Update package configuration
2571
2583
  * @param {string} environmentName Name of the environment
2572
2584
  * @param {string} packageName Name of the package
@@ -2582,7 +2594,7 @@ const Ua = {
2582
2594
  const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
2583
2595
  i["Content-Type"] = "application/json", b(o, d);
2584
2596
  let p = s && s.headers ? s.headers : {};
2585
- return c.headers = { ...i, ...p, ...a.headers }, c.data = k(r, c, l), {
2597
+ return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
2586
2598
  url: v(o),
2587
2599
  options: c
2588
2600
  };
@@ -2641,7 +2653,7 @@ const Ua = {
2641
2653
  return (s, c) => V(a, h, u, l)(s, o || c);
2642
2654
  },
2643
2655
  /**
2644
- * 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.
2656
+ * 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, because neither is expressible in the block a caller sends: `scope` (a top-level field) and `queryMetadata` (orthogonal to the schedule and freshness policy this call usually carries) are preserved when omitted. Send `queryMetadata: null` to clear it.
2645
2657
  * @summary Update package configuration
2646
2658
  * @param {string} environmentName Name of the environment
2647
2659
  * @param {string} packageName Name of the package
@@ -2654,7 +2666,7 @@ const Ua = {
2654
2666
  return (i, d) => V(o, h, u, l)(i, c || d);
2655
2667
  }
2656
2668
  };
2657
- }, wa = function(l, n, e) {
2669
+ }, fa = function(l, n, e) {
2658
2670
  const r = T(l);
2659
2671
  return {
2660
2672
  /**
@@ -2703,7 +2715,7 @@ const Ua = {
2703
2715
  return r.listPackages(a, t).then((o) => o(e, n));
2704
2716
  },
2705
2717
  /**
2706
- * 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.
2718
+ * 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, because neither is expressible in the block a caller sends: `scope` (a top-level field) and `queryMetadata` (orthogonal to the schedule and freshness policy this call usually carries) are preserved when omitted. Send `queryMetadata: null` to clear it.
2707
2719
  * @summary Update package configuration
2708
2720
  * @param {string} environmentName Name of the environment
2709
2721
  * @param {string} packageName Name of the package
@@ -2767,7 +2779,7 @@ class Re extends I {
2767
2779
  return T(this.configuration).listPackages(n, e).then((r) => r(this.axios, this.basePath));
2768
2780
  }
2769
2781
  /**
2770
- * 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.
2782
+ * 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, because neither is expressible in the block a caller sends: `scope` (a top-level field) and `queryMetadata` (orthogonal to the schedule and freshness policy this call usually carries) are preserved when omitted. Send `queryMetadata: null` to clear it.
2771
2783
  * @summary Update package configuration
2772
2784
  * @param {string} environmentName Name of the environment
2773
2785
  * @param {string} packageName Name of the package
@@ -2820,7 +2832,7 @@ const Ne = function(l) {
2820
2832
  return (c, i) => V(t, h, u, l)(c, s || i);
2821
2833
  }
2822
2834
  };
2823
- }, Ea = function(l, n, e) {
2835
+ }, Ba = function(l, n, e) {
2824
2836
  const r = Z(l);
2825
2837
  return {
2826
2838
  /**
@@ -2921,7 +2933,7 @@ const Ue = function(l) {
2921
2933
  const o = { method: "PUT", ...t, ...e }, s = {}, c = {};
2922
2934
  s["Content-Type"] = "application/json", b(a, c);
2923
2935
  let i = t && t.headers ? t.headers : {};
2924
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
2936
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
2925
2937
  url: v(a),
2926
2938
  options: o
2927
2939
  };
@@ -2972,7 +2984,7 @@ const Ue = function(l) {
2972
2984
  return (s, c) => V(a, h, u, l)(s, o || c);
2973
2985
  }
2974
2986
  };
2975
- }, Ma = function(l, n, e) {
2987
+ }, Fa = function(l, n, e) {
2976
2988
  const r = E(l);
2977
2989
  return {
2978
2990
  /**
@@ -3092,7 +3104,7 @@ const Ee = function(l) {
3092
3104
  const o = { method: "POST", ...t, ...e }, s = {}, c = {};
3093
3105
  s["Content-Type"] = "application/json", b(a, c);
3094
3106
  let i = t && t.headers ? t.headers : {};
3095
- return o.headers = { ...s, ...i, ...e.headers }, o.data = k(n, o, l), {
3107
+ return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
3096
3108
  url: v(a),
3097
3109
  options: o
3098
3110
  };
@@ -3184,7 +3196,7 @@ const Ee = function(l) {
3184
3196
  return (c, i) => V(t, h, u, l)(c, s || i);
3185
3197
  }
3186
3198
  };
3187
- }, fa = function(l, n, e) {
3199
+ }, Qa = function(l, n, e) {
3188
3200
  const r = M(l);
3189
3201
  return {
3190
3202
  /**
@@ -3360,21 +3372,21 @@ const B = {
3360
3372
  // right wing of the M (semantic models)
3361
3373
  darkBlue: "#1474a4"
3362
3374
  // deep shadow of the M (package data)
3363
- }, Ba = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Fa = y(Y)({
3375
+ }, za = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', $a = k(Y)({
3364
3376
  display: "flex",
3365
3377
  flexDirection: "column",
3366
3378
  height: "100%",
3367
3379
  boxShadow: "none",
3368
3380
  border: "none",
3369
3381
  backgroundColor: "transparent"
3370
- }), Qa = y(J)({
3382
+ }), qa = k(J)({
3371
3383
  display: "flex",
3372
3384
  flexDirection: "column",
3373
3385
  padding: "0",
3374
3386
  flexGrow: 1
3375
- }), za = y(me)({
3387
+ }), La = k(me)({
3376
3388
  padding: "0"
3377
- }), $a = y("div")(({ theme: l }) => ({
3389
+ }), ja = k("div")(({ theme: l }) => ({
3378
3390
  backgroundColor: l.palette.background.default,
3379
3391
  padding: "0 8px 0px 8px",
3380
3392
  borderRadius: "12px",
@@ -3383,24 +3395,24 @@ const B = {
3383
3395
  maxWidth: "1200px",
3384
3396
  margin: "0 auto"
3385
3397
  }));
3386
- y("div")(({ theme: l }) => ({
3398
+ k("div")(({ theme: l }) => ({
3387
3399
  marginBottom: "40px",
3388
3400
  paddingBottom: "24px",
3389
3401
  borderBottom: `1px solid ${l.palette.divider}`
3390
3402
  }));
3391
- const qa = y("div")({
3403
+ const Ha = k("div")({
3392
3404
  marginBottom: "48px",
3393
3405
  padding: "0",
3394
3406
  backgroundColor: "transparent",
3395
3407
  border: "none",
3396
3408
  boxShadow: "none"
3397
- }), La = y("div")({
3409
+ }), Da = k("div")({
3398
3410
  marginBottom: "0",
3399
3411
  padding: "0",
3400
3412
  backgroundColor: "transparent",
3401
3413
  border: "none",
3402
3414
  boxShadow: "none"
3403
- }), ja = y("div")({
3415
+ }), Wa = k("div")({
3404
3416
  backgroundColor: "transparent",
3405
3417
  paddingTop: "12px",
3406
3418
  paddingBottom: "2px",
@@ -3409,7 +3421,7 @@ const qa = y("div")({
3409
3421
  boxShadow: "none",
3410
3422
  marginBottom: "0"
3411
3423
  });
3412
- y("div")(({ theme: l }) => ({
3424
+ k("div")(({ theme: l }) => ({
3413
3425
  backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
3414
3426
  padding: "16px",
3415
3427
  borderRadius: "8px",
@@ -3420,7 +3432,7 @@ y("div")(({ theme: l }) => ({
3420
3432
  overflowX: "auto",
3421
3433
  color: l.palette.text.primary
3422
3434
  }));
3423
- y("div")(({ theme: l }) => ({
3435
+ k("div")(({ theme: l }) => ({
3424
3436
  backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
3425
3437
  padding: "12px 16px",
3426
3438
  borderRadius: "8px",
@@ -3430,27 +3442,27 @@ y("div")(({ theme: l }) => ({
3430
3442
  justifyContent: "space-between",
3431
3443
  alignItems: "center"
3432
3444
  }));
3433
- const Ha = y("div")({
3445
+ const _a = k("div")({
3434
3446
  height: "100%"
3435
3447
  });
3436
- y("div")({
3448
+ k("div")({
3437
3449
  height: "30px",
3438
3450
  backgroundColor: "rgba(225, 240, 255, 1)",
3439
3451
  display: "flex",
3440
3452
  padding: "4px",
3441
3453
  alignItems: "center"
3442
3454
  });
3443
- const Da = y("div")({
3455
+ const Ga = k("div")({
3444
3456
  height: "75vh",
3445
3457
  width: "100%",
3446
3458
  overflowY: "auto"
3447
3459
  });
3448
- y("div")({
3460
+ k("div")({
3449
3461
  position: "relative",
3450
3462
  height: "100%",
3451
3463
  flex: "0 0 auto"
3452
3464
  });
3453
- const Wa = y(Y)(({ theme: l }) => ({
3465
+ const Ya = k(Y)(({ theme: l }) => ({
3454
3466
  backgroundColor: l.palette.background.paper,
3455
3467
  padding: "24px",
3456
3468
  borderRadius: "8px",
@@ -3461,12 +3473,12 @@ const Wa = y(Y)(({ theme: l }) => ({
3461
3473
  "&:hover": {
3462
3474
  boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
3463
3475
  }
3464
- })), _a = y(J)({
3476
+ })), Ja = k(J)({
3465
3477
  padding: "0",
3466
3478
  "&:last-child": {
3467
3479
  paddingBottom: "0"
3468
3480
  }
3469
- }), Ga = y("div")(({ theme: l }) => ({
3481
+ }), Ka = k("div")(({ theme: l }) => ({
3470
3482
  fontSize: "0.875rem",
3471
3483
  fontWeight: 500,
3472
3484
  color: l.palette.text.secondary,
@@ -3474,7 +3486,7 @@ const Wa = y(Y)(({ theme: l }) => ({
3474
3486
  paddingBottom: "8px",
3475
3487
  borderBottom: `1px solid ${l.palette.divider}`
3476
3488
  }));
3477
- y("div")({
3489
+ k("div")({
3478
3490
  padding: "32px",
3479
3491
  maxWidth: "1400px",
3480
3492
  margin: "0 auto",
@@ -3628,7 +3640,7 @@ function $e({
3628
3640
  );
3629
3641
  return /* @__PURE__ */ F(ae.Provider, { value: s, children: t });
3630
3642
  }
3631
- function Ya() {
3643
+ function Xa() {
3632
3644
  const l = G(ae);
3633
3645
  return l || {
3634
3646
  theme: ee([], "light"),
@@ -3651,7 +3663,7 @@ const qe = new le({
3651
3663
  throwOnError: !1
3652
3664
  }
3653
3665
  }
3654
- }), Ja = {
3666
+ }), Za = {
3655
3667
  staleTime: 300 * 1e3,
3656
3668
  refetchOnWindowFocus: !1,
3657
3669
  refetchOnReconnect: !1
@@ -3695,14 +3707,14 @@ const te = _(void 0), De = (l, n) => {
3695
3707
  notebooks: new xe(a, e, r),
3696
3708
  connections: new ge(a, e, r),
3697
3709
  databases: new ve(a, e, r),
3698
- materializations: new ke(
3710
+ materializations: new ye(
3699
3711
  a,
3700
3712
  e,
3701
3713
  r
3702
3714
  ),
3703
3715
  watchMode: new Me(a, e, r)
3704
3716
  };
3705
- }, Ka = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
3717
+ }, et = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
3706
3718
  children: l,
3707
3719
  getAccessToken: n,
3708
3720
  baseURL: e,
@@ -3759,83 +3771,86 @@ const te = _(void 0), De = (l, n) => {
3759
3771
  children: l
3760
3772
  }
3761
3773
  ) });
3762
- }, Xa = () => {
3774
+ }, at = () => {
3763
3775
  const l = G(te);
3764
3776
  if (l === void 0)
3765
3777
  throw new Error("useServer must be used within a ServerProvider");
3766
3778
  return l;
3767
3779
  };
3768
3780
  export {
3769
- Q as $,
3781
+ wa as $,
3770
3782
  Xe as A,
3771
- Ia as B,
3783
+ be as B,
3772
3784
  ea as C,
3773
3785
  oa as D,
3774
- ve as E,
3786
+ X as E,
3775
3787
  sa as F,
3776
- Ve as G,
3777
- N as H,
3778
- xa as I,
3779
- Oe as J,
3780
- Se as K,
3788
+ Ra as G,
3789
+ ve as H,
3790
+ Ve as I,
3791
+ N as J,
3792
+ Na as K,
3781
3793
  ca as L,
3782
3794
  ia as M,
3783
3795
  pa as N,
3784
- A as O,
3796
+ Oe as O,
3785
3797
  ha as P,
3786
- Aa as Q,
3787
- Va as R,
3788
- Ka as S,
3789
- Sa as T,
3790
- ke as U,
3791
- Ra as V,
3792
- ye as W,
3793
- w as X,
3794
- Na as Y,
3795
- Ce as Z,
3796
- Ie as _,
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 _,
3797
3809
  Ze as a,
3798
- Ta as a0,
3799
- xe as a1,
3800
- Ua as a2,
3801
- Ae as a3,
3802
- T as a4,
3803
- wa as a5,
3804
- Re as a6,
3805
- Ne as a7,
3806
- Z as a8,
3807
- Ea as a9,
3808
- Qe as aA,
3809
- ee as aB,
3810
- W as aC,
3811
- ze as aD,
3812
- $e as aE,
3813
- Te as aa,
3814
- Ue as ab,
3815
- E as ac,
3816
- Ma as ad,
3817
- we as ae,
3818
- Ee as af,
3819
- M as ag,
3820
- fa as ah,
3821
- Me as ai,
3822
- fe as aj,
3823
- za as ak,
3824
- Ha as al,
3825
- Da as am,
3826
- Ya as an,
3827
- Fa as ao,
3828
- Qa as ap,
3829
- Ba as aq,
3830
- Wa as ar,
3831
- _a as as,
3832
- Ga as at,
3833
- B as au,
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,
3820
+ Wa as aA,
3821
+ ja as aB,
3822
+ 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,
3843
+ Ga as ap,
3844
+ Xa as aq,
3845
+ $a as ar,
3846
+ qa as as,
3847
+ za as at,
3848
+ Ya as au,
3834
3849
  Ja as av,
3835
- La as aw,
3836
- ja as ax,
3837
- $a as ay,
3838
- qa as az,
3850
+ Ka as aw,
3851
+ B as ax,
3852
+ Za as ay,
3853
+ Da as az,
3839
3854
  aa as b,
3840
3855
  ta as c,
3841
3856
  na as d,
@@ -3850,15 +3865,15 @@ export {
3850
3865
  ba as m,
3851
3866
  va as n,
3852
3867
  Oa as o,
3853
- ue as p,
3854
- S as q,
3855
- ka as r,
3856
- ge as s,
3857
- Pe as t,
3858
- Xa as u,
3859
- K as v,
3860
- ya as w,
3861
- Ca as x,
3862
- be as y,
3863
- X as z
3868
+ ya as p,
3869
+ ka as q,
3870
+ ue as r,
3871
+ S as s,
3872
+ Ia as t,
3873
+ at as u,
3874
+ ge as v,
3875
+ Pe as w,
3876
+ K as x,
3877
+ xa as y,
3878
+ Aa as z
3864
3879
  };