@malloy-publisher/sdk 0.0.233 → 0.0.235
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/{ServerProvider-W0vDe2Mt.es.js → ServerProvider-BupI3Smf.es.js} +148 -137
- package/dist/ServerProvider-CXg4bBm6.cjs.js +1 -0
- package/dist/client/api.d.ts +119 -4
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +21 -19
- package/dist/{core-D259xTWB.cjs.js → core-C-aiDDhx.cjs.js} +1 -1
- package/dist/{core-C0nunIQT.es.js → core-Rj_4rRnA.es.js} +1 -1
- package/dist/{index-C1vfuzAJ.cjs.js → index-DJW7yQLF.cjs.js} +2 -2
- package/dist/{index-RGokBmF6.es.js → index-DPfNLAv1.es.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +17 -17
- package/package.json +7 -7
- package/dist/ServerProvider-_aQQHMHe.cjs.js +0 -1
|
@@ -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
|
|
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
|
-
},
|
|
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,17 +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 = {
|
|
128
133
|
Query: "query",
|
|
129
134
|
ServerDefault: "server_default"
|
|
130
|
-
},
|
|
135
|
+
}, Sa = {
|
|
131
136
|
Snapshot: "SNAPSHOT",
|
|
132
137
|
Copy: "COPY"
|
|
133
|
-
},
|
|
138
|
+
}, ya = {
|
|
139
|
+
Publish: "publish",
|
|
140
|
+
OnDemand: "on_demand",
|
|
141
|
+
Scheduler: "scheduler"
|
|
142
|
+
}, ka = {
|
|
134
143
|
Initializing: "initializing",
|
|
135
144
|
Serving: "serving",
|
|
136
145
|
Draining: "draining",
|
|
137
146
|
Throttled: "throttled"
|
|
138
|
-
},
|
|
147
|
+
}, Ca = {
|
|
139
148
|
Light: "light",
|
|
140
149
|
Dark: "dark",
|
|
141
150
|
Auto: "auto"
|
|
@@ -158,7 +167,7 @@ const b = function(l, ...n) {
|
|
|
158
167
|
const c = { method: "POST", ...s, ...a }, i = {}, d = {};
|
|
159
168
|
i["Content-Type"] = "application/json", b(o, d);
|
|
160
169
|
let p = s && s.headers ? s.headers : {};
|
|
161
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
170
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
162
171
|
url: v(o),
|
|
163
172
|
options: c
|
|
164
173
|
};
|
|
@@ -379,7 +388,7 @@ const b = function(l, ...n) {
|
|
|
379
388
|
const c = { method: "POST", ...s, ...a }, i = {}, d = {};
|
|
380
389
|
i["Content-Type"] = "application/json", b(o, d);
|
|
381
390
|
let p = s && s.headers ? s.headers : {};
|
|
382
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
391
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
383
392
|
url: v(o),
|
|
384
393
|
options: c
|
|
385
394
|
};
|
|
@@ -402,7 +411,7 @@ const b = function(l, ...n) {
|
|
|
402
411
|
const i = { method: "POST", ...c, ...t }, d = {}, p = {};
|
|
403
412
|
d["Content-Type"] = "application/json", b(s, p);
|
|
404
413
|
let O = c && c.headers ? c.headers : {};
|
|
405
|
-
return i.headers = { ...d, ...O, ...t.headers }, i.data =
|
|
414
|
+
return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
|
|
406
415
|
url: v(s),
|
|
407
416
|
options: i
|
|
408
417
|
};
|
|
@@ -424,7 +433,7 @@ const b = function(l, ...n) {
|
|
|
424
433
|
const c = { method: "POST", ...s, ...a }, i = {}, d = {};
|
|
425
434
|
i["Content-Type"] = "application/json", b(o, d);
|
|
426
435
|
let p = s && s.headers ? s.headers : {};
|
|
427
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
436
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
428
437
|
url: v(o),
|
|
429
438
|
options: c
|
|
430
439
|
};
|
|
@@ -447,7 +456,7 @@ const b = function(l, ...n) {
|
|
|
447
456
|
const i = { method: "POST", ...c, ...t }, d = {}, p = {};
|
|
448
457
|
d["Content-Type"] = "application/json", b(s, p);
|
|
449
458
|
let O = c && c.headers ? c.headers : {};
|
|
450
|
-
return i.headers = { ...d, ...O, ...t.headers }, i.data =
|
|
459
|
+
return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
|
|
451
460
|
url: v(s),
|
|
452
461
|
options: i
|
|
453
462
|
};
|
|
@@ -469,7 +478,7 @@ const b = function(l, ...n) {
|
|
|
469
478
|
const c = { method: "POST", ...s, ...a }, i = {}, d = {};
|
|
470
479
|
i["Content-Type"] = "application/json", b(o, d);
|
|
471
480
|
let p = s && s.headers ? s.headers : {};
|
|
472
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
481
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
473
482
|
url: v(o),
|
|
474
483
|
options: c
|
|
475
484
|
};
|
|
@@ -492,7 +501,7 @@ const b = function(l, ...n) {
|
|
|
492
501
|
const i = { method: "POST", ...c, ...t }, d = {}, p = {};
|
|
493
502
|
d["Content-Type"] = "application/json", b(s, p);
|
|
494
503
|
let O = c && c.headers ? c.headers : {};
|
|
495
|
-
return i.headers = { ...d, ...O, ...t.headers }, i.data =
|
|
504
|
+
return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
|
|
496
505
|
url: v(s),
|
|
497
506
|
options: i
|
|
498
507
|
};
|
|
@@ -514,7 +523,7 @@ const b = function(l, ...n) {
|
|
|
514
523
|
const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
|
|
515
524
|
i["Content-Type"] = "application/json", b(o, d);
|
|
516
525
|
let p = s && s.headers ? s.headers : {};
|
|
517
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
526
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
518
527
|
url: v(o),
|
|
519
528
|
options: c
|
|
520
529
|
};
|
|
@@ -749,7 +758,7 @@ const b = function(l, ...n) {
|
|
|
749
758
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
750
759
|
}
|
|
751
760
|
};
|
|
752
|
-
},
|
|
761
|
+
}, Ia = function(l, n, e) {
|
|
753
762
|
const r = S(l);
|
|
754
763
|
return {
|
|
755
764
|
/**
|
|
@@ -1206,7 +1215,7 @@ const Pe = function(l) {
|
|
|
1206
1215
|
const o = { method: "POST", ...t, ...e }, s = {}, c = {};
|
|
1207
1216
|
s["Content-Type"] = "application/json", b(a, c);
|
|
1208
1217
|
let i = t && t.headers ? t.headers : {};
|
|
1209
|
-
return o.headers = { ...s, ...i, ...e.headers }, o.data =
|
|
1218
|
+
return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
|
|
1210
1219
|
url: v(a),
|
|
1211
1220
|
options: o
|
|
1212
1221
|
};
|
|
@@ -1227,7 +1236,7 @@ const Pe = function(l) {
|
|
|
1227
1236
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
1228
1237
|
}
|
|
1229
1238
|
};
|
|
1230
|
-
},
|
|
1239
|
+
}, xa = function(l, n, e) {
|
|
1231
1240
|
const r = K(l);
|
|
1232
1241
|
return {
|
|
1233
1242
|
/**
|
|
@@ -1242,7 +1251,7 @@ const Pe = function(l) {
|
|
|
1242
1251
|
}
|
|
1243
1252
|
};
|
|
1244
1253
|
};
|
|
1245
|
-
class
|
|
1254
|
+
class Aa extends I {
|
|
1246
1255
|
/**
|
|
1247
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.
|
|
1248
1257
|
* @summary Test database connection configuration
|
|
@@ -1297,7 +1306,7 @@ const be = function(l) {
|
|
|
1297
1306
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
1298
1307
|
}
|
|
1299
1308
|
};
|
|
1300
|
-
},
|
|
1309
|
+
}, Ra = function(l, n, e) {
|
|
1301
1310
|
const r = X(l);
|
|
1302
1311
|
return {
|
|
1303
1312
|
/**
|
|
@@ -1346,7 +1355,7 @@ const Ve = function(l) {
|
|
|
1346
1355
|
const o = { method: "POST", ...t, ...e }, s = {}, c = {};
|
|
1347
1356
|
s["Content-Type"] = "application/json", b(a, c);
|
|
1348
1357
|
let i = t && t.headers ? t.headers : {};
|
|
1349
|
-
return o.headers = { ...s, ...i, ...e.headers }, o.data =
|
|
1358
|
+
return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
|
|
1350
1359
|
url: v(a),
|
|
1351
1360
|
options: o
|
|
1352
1361
|
};
|
|
@@ -1426,7 +1435,7 @@ const Ve = function(l) {
|
|
|
1426
1435
|
const s = { method: "PATCH", ...o, ...r }, c = {}, i = {};
|
|
1427
1436
|
c["Content-Type"] = "application/json", b(t, i);
|
|
1428
1437
|
let d = o && o.headers ? o.headers : {};
|
|
1429
|
-
return s.headers = { ...c, ...d, ...r.headers }, s.data =
|
|
1438
|
+
return s.headers = { ...c, ...d, ...r.headers }, s.data = y(e, s, l), {
|
|
1430
1439
|
url: v(t),
|
|
1431
1440
|
options: s
|
|
1432
1441
|
};
|
|
@@ -1492,7 +1501,7 @@ const Ve = function(l) {
|
|
|
1492
1501
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
1493
1502
|
}
|
|
1494
1503
|
};
|
|
1495
|
-
},
|
|
1504
|
+
}, Na = function(l, n, e) {
|
|
1496
1505
|
const r = N(l);
|
|
1497
1506
|
return {
|
|
1498
1507
|
/**
|
|
@@ -1625,7 +1634,7 @@ const Se = function(l) {
|
|
|
1625
1634
|
const c = { method: "POST", ...s, ...a }, i = {}, d = {};
|
|
1626
1635
|
i["Content-Type"] = "application/json", b(o, d);
|
|
1627
1636
|
let p = s && s.headers ? s.headers : {};
|
|
1628
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
1637
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
1629
1638
|
url: v(o),
|
|
1630
1639
|
options: c
|
|
1631
1640
|
};
|
|
@@ -1829,7 +1838,7 @@ const Se = function(l) {
|
|
|
1829
1838
|
return (d, p) => V(s, h, u, l)(d, i || p);
|
|
1830
1839
|
}
|
|
1831
1840
|
};
|
|
1832
|
-
},
|
|
1841
|
+
}, Ta = function(l, n, e) {
|
|
1833
1842
|
const r = A(l);
|
|
1834
1843
|
return {
|
|
1835
1844
|
/**
|
|
@@ -1909,7 +1918,7 @@ const Se = function(l) {
|
|
|
1909
1918
|
}
|
|
1910
1919
|
};
|
|
1911
1920
|
};
|
|
1912
|
-
class
|
|
1921
|
+
class ye extends I {
|
|
1913
1922
|
/**
|
|
1914
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.
|
|
1915
1924
|
* @summary Create a materialization
|
|
@@ -1992,9 +2001,9 @@ class ke extends I {
|
|
|
1992
2001
|
return A(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
|
|
1993
2002
|
}
|
|
1994
2003
|
}
|
|
1995
|
-
const
|
|
2004
|
+
const Ua = {
|
|
1996
2005
|
Stop: "stop"
|
|
1997
|
-
},
|
|
2006
|
+
}, ke = function(l) {
|
|
1998
2007
|
return {
|
|
1999
2008
|
/**
|
|
2000
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.
|
|
@@ -2014,7 +2023,7 @@ const Na = {
|
|
|
2014
2023
|
const i = { method: "POST", ...c, ...t }, d = {}, p = {};
|
|
2015
2024
|
d["Content-Type"] = "application/json", b(s, p);
|
|
2016
2025
|
let O = c && c.headers ? c.headers : {};
|
|
2017
|
-
return i.headers = { ...d, ...O, ...t.headers }, i.data =
|
|
2026
|
+
return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
|
|
2018
2027
|
url: v(s),
|
|
2019
2028
|
options: i
|
|
2020
2029
|
};
|
|
@@ -2037,7 +2046,7 @@ const Na = {
|
|
|
2037
2046
|
const i = { method: "POST", ...c, ...t }, d = {}, p = {};
|
|
2038
2047
|
d["Content-Type"] = "application/json", b(s, p);
|
|
2039
2048
|
let O = c && c.headers ? c.headers : {};
|
|
2040
|
-
return i.headers = { ...d, ...O, ...t.headers }, i.data =
|
|
2049
|
+
return i.headers = { ...d, ...O, ...t.headers }, i.data = y(a, i, l), {
|
|
2041
2050
|
url: v(s),
|
|
2042
2051
|
options: i
|
|
2043
2052
|
};
|
|
@@ -2089,7 +2098,7 @@ const Na = {
|
|
|
2089
2098
|
}
|
|
2090
2099
|
};
|
|
2091
2100
|
}, w = function(l) {
|
|
2092
|
-
const n =
|
|
2101
|
+
const n = ke(l);
|
|
2093
2102
|
return {
|
|
2094
2103
|
/**
|
|
2095
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.
|
|
@@ -2147,7 +2156,7 @@ const Na = {
|
|
|
2147
2156
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2148
2157
|
}
|
|
2149
2158
|
};
|
|
2150
|
-
},
|
|
2159
|
+
}, wa = function(l, n, e) {
|
|
2151
2160
|
const r = w(l);
|
|
2152
2161
|
return {
|
|
2153
2162
|
/**
|
|
@@ -2384,7 +2393,7 @@ const Ie = function(l) {
|
|
|
2384
2393
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2385
2394
|
}
|
|
2386
2395
|
};
|
|
2387
|
-
},
|
|
2396
|
+
}, Ea = function(l, n, e) {
|
|
2388
2397
|
const r = Q(l);
|
|
2389
2398
|
return {
|
|
2390
2399
|
/**
|
|
@@ -2478,7 +2487,7 @@ class xe extends I {
|
|
|
2478
2487
|
return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
|
|
2479
2488
|
}
|
|
2480
2489
|
}
|
|
2481
|
-
const
|
|
2490
|
+
const Ma = {
|
|
2482
2491
|
True: "true",
|
|
2483
2492
|
False: "false"
|
|
2484
2493
|
}, Ae = function(l) {
|
|
@@ -2499,7 +2508,7 @@ const wa = {
|
|
|
2499
2508
|
const s = { method: "POST", ...o, ...r }, c = {}, i = {};
|
|
2500
2509
|
c["Content-Type"] = "application/json", b(t, i);
|
|
2501
2510
|
let d = o && o.headers ? o.headers : {};
|
|
2502
|
-
return s.headers = { ...c, ...d, ...r.headers }, s.data =
|
|
2511
|
+
return s.headers = { ...c, ...d, ...r.headers }, s.data = y(e, s, l), {
|
|
2503
2512
|
url: v(t),
|
|
2504
2513
|
options: s
|
|
2505
2514
|
};
|
|
@@ -2569,7 +2578,7 @@ const wa = {
|
|
|
2569
2578
|
};
|
|
2570
2579
|
},
|
|
2571
2580
|
/**
|
|
2572
|
-
* 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.
|
|
2573
2582
|
* @summary Update package configuration
|
|
2574
2583
|
* @param {string} environmentName Name of the environment
|
|
2575
2584
|
* @param {string} packageName Name of the package
|
|
@@ -2585,7 +2594,7 @@ const wa = {
|
|
|
2585
2594
|
const c = { method: "PATCH", ...s, ...a }, i = {}, d = {};
|
|
2586
2595
|
i["Content-Type"] = "application/json", b(o, d);
|
|
2587
2596
|
let p = s && s.headers ? s.headers : {};
|
|
2588
|
-
return c.headers = { ...i, ...p, ...a.headers }, c.data =
|
|
2597
|
+
return c.headers = { ...i, ...p, ...a.headers }, c.data = y(r, c, l), {
|
|
2589
2598
|
url: v(o),
|
|
2590
2599
|
options: c
|
|
2591
2600
|
};
|
|
@@ -2644,7 +2653,7 @@ const wa = {
|
|
|
2644
2653
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
2645
2654
|
},
|
|
2646
2655
|
/**
|
|
2647
|
-
* 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.
|
|
2648
2657
|
* @summary Update package configuration
|
|
2649
2658
|
* @param {string} environmentName Name of the environment
|
|
2650
2659
|
* @param {string} packageName Name of the package
|
|
@@ -2657,7 +2666,7 @@ const wa = {
|
|
|
2657
2666
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2658
2667
|
}
|
|
2659
2668
|
};
|
|
2660
|
-
},
|
|
2669
|
+
}, fa = function(l, n, e) {
|
|
2661
2670
|
const r = T(l);
|
|
2662
2671
|
return {
|
|
2663
2672
|
/**
|
|
@@ -2706,7 +2715,7 @@ const wa = {
|
|
|
2706
2715
|
return r.listPackages(a, t).then((o) => o(e, n));
|
|
2707
2716
|
},
|
|
2708
2717
|
/**
|
|
2709
|
-
* 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.
|
|
2710
2719
|
* @summary Update package configuration
|
|
2711
2720
|
* @param {string} environmentName Name of the environment
|
|
2712
2721
|
* @param {string} packageName Name of the package
|
|
@@ -2770,7 +2779,7 @@ class Re extends I {
|
|
|
2770
2779
|
return T(this.configuration).listPackages(n, e).then((r) => r(this.axios, this.basePath));
|
|
2771
2780
|
}
|
|
2772
2781
|
/**
|
|
2773
|
-
* 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.
|
|
2774
2783
|
* @summary Update package configuration
|
|
2775
2784
|
* @param {string} environmentName Name of the environment
|
|
2776
2785
|
* @param {string} packageName Name of the package
|
|
@@ -2823,7 +2832,7 @@ const Ne = function(l) {
|
|
|
2823
2832
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
2824
2833
|
}
|
|
2825
2834
|
};
|
|
2826
|
-
},
|
|
2835
|
+
}, Ba = function(l, n, e) {
|
|
2827
2836
|
const r = Z(l);
|
|
2828
2837
|
return {
|
|
2829
2838
|
/**
|
|
@@ -2924,7 +2933,7 @@ const Ue = function(l) {
|
|
|
2924
2933
|
const o = { method: "PUT", ...t, ...e }, s = {}, c = {};
|
|
2925
2934
|
s["Content-Type"] = "application/json", b(a, c);
|
|
2926
2935
|
let i = t && t.headers ? t.headers : {};
|
|
2927
|
-
return o.headers = { ...s, ...i, ...e.headers }, o.data =
|
|
2936
|
+
return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
|
|
2928
2937
|
url: v(a),
|
|
2929
2938
|
options: o
|
|
2930
2939
|
};
|
|
@@ -2975,7 +2984,7 @@ const Ue = function(l) {
|
|
|
2975
2984
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
2976
2985
|
}
|
|
2977
2986
|
};
|
|
2978
|
-
},
|
|
2987
|
+
}, Fa = function(l, n, e) {
|
|
2979
2988
|
const r = E(l);
|
|
2980
2989
|
return {
|
|
2981
2990
|
/**
|
|
@@ -3095,7 +3104,7 @@ const Ee = function(l) {
|
|
|
3095
3104
|
const o = { method: "POST", ...t, ...e }, s = {}, c = {};
|
|
3096
3105
|
s["Content-Type"] = "application/json", b(a, c);
|
|
3097
3106
|
let i = t && t.headers ? t.headers : {};
|
|
3098
|
-
return o.headers = { ...s, ...i, ...e.headers }, o.data =
|
|
3107
|
+
return o.headers = { ...s, ...i, ...e.headers }, o.data = y(n, o, l), {
|
|
3099
3108
|
url: v(a),
|
|
3100
3109
|
options: o
|
|
3101
3110
|
};
|
|
@@ -3187,7 +3196,7 @@ const Ee = function(l) {
|
|
|
3187
3196
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
3188
3197
|
}
|
|
3189
3198
|
};
|
|
3190
|
-
},
|
|
3199
|
+
}, Qa = function(l, n, e) {
|
|
3191
3200
|
const r = M(l);
|
|
3192
3201
|
return {
|
|
3193
3202
|
/**
|
|
@@ -3363,21 +3372,21 @@ const B = {
|
|
|
3363
3372
|
// right wing of the M (semantic models)
|
|
3364
3373
|
darkBlue: "#1474a4"
|
|
3365
3374
|
// deep shadow of the M (package data)
|
|
3366
|
-
},
|
|
3375
|
+
}, za = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', $a = k(Y)({
|
|
3367
3376
|
display: "flex",
|
|
3368
3377
|
flexDirection: "column",
|
|
3369
3378
|
height: "100%",
|
|
3370
3379
|
boxShadow: "none",
|
|
3371
3380
|
border: "none",
|
|
3372
3381
|
backgroundColor: "transparent"
|
|
3373
|
-
}),
|
|
3382
|
+
}), qa = k(J)({
|
|
3374
3383
|
display: "flex",
|
|
3375
3384
|
flexDirection: "column",
|
|
3376
3385
|
padding: "0",
|
|
3377
3386
|
flexGrow: 1
|
|
3378
|
-
}),
|
|
3387
|
+
}), La = k(me)({
|
|
3379
3388
|
padding: "0"
|
|
3380
|
-
}),
|
|
3389
|
+
}), ja = k("div")(({ theme: l }) => ({
|
|
3381
3390
|
backgroundColor: l.palette.background.default,
|
|
3382
3391
|
padding: "0 8px 0px 8px",
|
|
3383
3392
|
borderRadius: "12px",
|
|
@@ -3386,24 +3395,24 @@ const B = {
|
|
|
3386
3395
|
maxWidth: "1200px",
|
|
3387
3396
|
margin: "0 auto"
|
|
3388
3397
|
}));
|
|
3389
|
-
|
|
3398
|
+
k("div")(({ theme: l }) => ({
|
|
3390
3399
|
marginBottom: "40px",
|
|
3391
3400
|
paddingBottom: "24px",
|
|
3392
3401
|
borderBottom: `1px solid ${l.palette.divider}`
|
|
3393
3402
|
}));
|
|
3394
|
-
const
|
|
3403
|
+
const Ha = k("div")({
|
|
3395
3404
|
marginBottom: "48px",
|
|
3396
3405
|
padding: "0",
|
|
3397
3406
|
backgroundColor: "transparent",
|
|
3398
3407
|
border: "none",
|
|
3399
3408
|
boxShadow: "none"
|
|
3400
|
-
}),
|
|
3409
|
+
}), Da = k("div")({
|
|
3401
3410
|
marginBottom: "0",
|
|
3402
3411
|
padding: "0",
|
|
3403
3412
|
backgroundColor: "transparent",
|
|
3404
3413
|
border: "none",
|
|
3405
3414
|
boxShadow: "none"
|
|
3406
|
-
}),
|
|
3415
|
+
}), Wa = k("div")({
|
|
3407
3416
|
backgroundColor: "transparent",
|
|
3408
3417
|
paddingTop: "12px",
|
|
3409
3418
|
paddingBottom: "2px",
|
|
@@ -3412,7 +3421,7 @@ const La = y("div")({
|
|
|
3412
3421
|
boxShadow: "none",
|
|
3413
3422
|
marginBottom: "0"
|
|
3414
3423
|
});
|
|
3415
|
-
|
|
3424
|
+
k("div")(({ theme: l }) => ({
|
|
3416
3425
|
backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
|
|
3417
3426
|
padding: "16px",
|
|
3418
3427
|
borderRadius: "8px",
|
|
@@ -3423,7 +3432,7 @@ y("div")(({ theme: l }) => ({
|
|
|
3423
3432
|
overflowX: "auto",
|
|
3424
3433
|
color: l.palette.text.primary
|
|
3425
3434
|
}));
|
|
3426
|
-
|
|
3435
|
+
k("div")(({ theme: l }) => ({
|
|
3427
3436
|
backgroundColor: l.palette.mode === "dark" ? "#1e293b" : "#f8f9fa",
|
|
3428
3437
|
padding: "12px 16px",
|
|
3429
3438
|
borderRadius: "8px",
|
|
@@ -3433,27 +3442,27 @@ y("div")(({ theme: l }) => ({
|
|
|
3433
3442
|
justifyContent: "space-between",
|
|
3434
3443
|
alignItems: "center"
|
|
3435
3444
|
}));
|
|
3436
|
-
const
|
|
3445
|
+
const _a = k("div")({
|
|
3437
3446
|
height: "100%"
|
|
3438
3447
|
});
|
|
3439
|
-
|
|
3448
|
+
k("div")({
|
|
3440
3449
|
height: "30px",
|
|
3441
3450
|
backgroundColor: "rgba(225, 240, 255, 1)",
|
|
3442
3451
|
display: "flex",
|
|
3443
3452
|
padding: "4px",
|
|
3444
3453
|
alignItems: "center"
|
|
3445
3454
|
});
|
|
3446
|
-
const
|
|
3455
|
+
const Ga = k("div")({
|
|
3447
3456
|
height: "75vh",
|
|
3448
3457
|
width: "100%",
|
|
3449
3458
|
overflowY: "auto"
|
|
3450
3459
|
});
|
|
3451
|
-
|
|
3460
|
+
k("div")({
|
|
3452
3461
|
position: "relative",
|
|
3453
3462
|
height: "100%",
|
|
3454
3463
|
flex: "0 0 auto"
|
|
3455
3464
|
});
|
|
3456
|
-
const
|
|
3465
|
+
const Ya = k(Y)(({ theme: l }) => ({
|
|
3457
3466
|
backgroundColor: l.palette.background.paper,
|
|
3458
3467
|
padding: "24px",
|
|
3459
3468
|
borderRadius: "8px",
|
|
@@ -3464,12 +3473,12 @@ const _a = y(Y)(({ theme: l }) => ({
|
|
|
3464
3473
|
"&:hover": {
|
|
3465
3474
|
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
|
|
3466
3475
|
}
|
|
3467
|
-
})),
|
|
3476
|
+
})), Ja = k(J)({
|
|
3468
3477
|
padding: "0",
|
|
3469
3478
|
"&:last-child": {
|
|
3470
3479
|
paddingBottom: "0"
|
|
3471
3480
|
}
|
|
3472
|
-
}),
|
|
3481
|
+
}), Ka = k("div")(({ theme: l }) => ({
|
|
3473
3482
|
fontSize: "0.875rem",
|
|
3474
3483
|
fontWeight: 500,
|
|
3475
3484
|
color: l.palette.text.secondary,
|
|
@@ -3477,7 +3486,7 @@ const _a = y(Y)(({ theme: l }) => ({
|
|
|
3477
3486
|
paddingBottom: "8px",
|
|
3478
3487
|
borderBottom: `1px solid ${l.palette.divider}`
|
|
3479
3488
|
}));
|
|
3480
|
-
|
|
3489
|
+
k("div")({
|
|
3481
3490
|
padding: "32px",
|
|
3482
3491
|
maxWidth: "1400px",
|
|
3483
3492
|
margin: "0 auto",
|
|
@@ -3631,7 +3640,7 @@ function $e({
|
|
|
3631
3640
|
);
|
|
3632
3641
|
return /* @__PURE__ */ F(ae.Provider, { value: s, children: t });
|
|
3633
3642
|
}
|
|
3634
|
-
function
|
|
3643
|
+
function Xa() {
|
|
3635
3644
|
const l = G(ae);
|
|
3636
3645
|
return l || {
|
|
3637
3646
|
theme: ee([], "light"),
|
|
@@ -3654,7 +3663,7 @@ const qe = new le({
|
|
|
3654
3663
|
throwOnError: !1
|
|
3655
3664
|
}
|
|
3656
3665
|
}
|
|
3657
|
-
}),
|
|
3666
|
+
}), Za = {
|
|
3658
3667
|
staleTime: 300 * 1e3,
|
|
3659
3668
|
refetchOnWindowFocus: !1,
|
|
3660
3669
|
refetchOnReconnect: !1
|
|
@@ -3698,14 +3707,14 @@ const te = _(void 0), De = (l, n) => {
|
|
|
3698
3707
|
notebooks: new xe(a, e, r),
|
|
3699
3708
|
connections: new ge(a, e, r),
|
|
3700
3709
|
databases: new ve(a, e, r),
|
|
3701
|
-
materializations: new
|
|
3710
|
+
materializations: new ye(
|
|
3702
3711
|
a,
|
|
3703
3712
|
e,
|
|
3704
3713
|
r
|
|
3705
3714
|
),
|
|
3706
3715
|
watchMode: new Me(a, e, r)
|
|
3707
3716
|
};
|
|
3708
|
-
},
|
|
3717
|
+
}, et = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
|
|
3709
3718
|
children: l,
|
|
3710
3719
|
getAccessToken: n,
|
|
3711
3720
|
baseURL: e,
|
|
@@ -3762,84 +3771,86 @@ const te = _(void 0), De = (l, n) => {
|
|
|
3762
3771
|
children: l
|
|
3763
3772
|
}
|
|
3764
3773
|
) });
|
|
3765
|
-
},
|
|
3774
|
+
}, at = () => {
|
|
3766
3775
|
const l = G(te);
|
|
3767
3776
|
if (l === void 0)
|
|
3768
3777
|
throw new Error("useServer must be used within a ServerProvider");
|
|
3769
3778
|
return l;
|
|
3770
3779
|
};
|
|
3771
3780
|
export {
|
|
3772
|
-
|
|
3781
|
+
wa as $,
|
|
3773
3782
|
Xe as A,
|
|
3774
|
-
|
|
3783
|
+
be as B,
|
|
3775
3784
|
ea as C,
|
|
3776
3785
|
oa as D,
|
|
3777
|
-
|
|
3786
|
+
X as E,
|
|
3778
3787
|
sa as F,
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3788
|
+
Ra as G,
|
|
3789
|
+
ve as H,
|
|
3790
|
+
Ve as I,
|
|
3791
|
+
N as J,
|
|
3792
|
+
Na as K,
|
|
3784
3793
|
ca as L,
|
|
3785
3794
|
ia as M,
|
|
3786
3795
|
pa as N,
|
|
3787
|
-
|
|
3796
|
+
Oe as O,
|
|
3788
3797
|
ha as P,
|
|
3789
3798
|
Va as Q,
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3799
|
+
Sa as R,
|
|
3800
|
+
et as S,
|
|
3801
|
+
Ca as T,
|
|
3802
|
+
Se as U,
|
|
3803
|
+
A as V,
|
|
3804
|
+
Ta as W,
|
|
3796
3805
|
ye as X,
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3806
|
+
Ua as Y,
|
|
3807
|
+
ke as Z,
|
|
3808
|
+
w as _,
|
|
3800
3809
|
Ze as a,
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
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,
|
|
3837
3848
|
Ya as au,
|
|
3838
|
-
|
|
3849
|
+
Ja as av,
|
|
3839
3850
|
Ka as aw,
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3851
|
+
B as ax,
|
|
3852
|
+
Za as ay,
|
|
3853
|
+
Da as az,
|
|
3843
3854
|
aa as b,
|
|
3844
3855
|
ta as c,
|
|
3845
3856
|
na as d,
|
|
@@ -3853,16 +3864,16 @@ export {
|
|
|
3853
3864
|
Pa as l,
|
|
3854
3865
|
ba as m,
|
|
3855
3866
|
va as n,
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3867
|
+
Oa as o,
|
|
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
|
|
3868
3879
|
};
|