@malloy-publisher/sdk 0.2.0 → 0.2.2

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.
Files changed (37) hide show
  1. package/dist/{ServerProvider-DUFPY6Rv.es.js → ServerProvider-CWkd55-c.es.js} +130 -126
  2. package/dist/ServerProvider-Cn_LhKda.cjs.js +1 -0
  3. package/dist/client/api.d.ts +86 -39
  4. package/dist/client/index.cjs.js +1 -1
  5. package/dist/client/index.es.js +14 -13
  6. package/dist/components/Dashboard/Dashboard.d.ts +14 -1
  7. package/dist/components/Dashboard/DashboardTile.d.ts +16 -7
  8. package/dist/{core-hLahnv0W.cjs.js → core-CqRKhtoy.cjs.js} +1 -1
  9. package/dist/{core-lb28vQkR.es.js → core-mFfgwzPH.es.js} +1 -1
  10. package/dist/hooks/useSuggestOptions.d.ts +1 -1
  11. package/dist/index-DD4b_bt0.cjs.js +356 -0
  12. package/dist/{index-txw04ZbN.es.js → index-hiul47sw.es.js} +13455 -13248
  13. package/dist/index.cjs.js +1 -1
  14. package/dist/index.es.js +9 -9
  15. package/dist/theme/buildTableCssVars.d.ts +17 -1
  16. package/package.json +1 -1
  17. package/src/components/Connections/AddConnectionDialog.tsx +102 -23
  18. package/src/components/Connections/EditConnectionDialog.tsx +134 -33
  19. package/src/components/Connections/common.ts +30 -2
  20. package/src/components/Dashboard/Dashboard.spec.tsx +216 -0
  21. package/src/components/Dashboard/Dashboard.tsx +77 -17
  22. package/src/components/Dashboard/DashboardTile.spec.tsx +81 -0
  23. package/src/components/Dashboard/DashboardTile.tsx +58 -12
  24. package/src/components/Dashboard/tileGridColumn.spec.ts +35 -0
  25. package/src/components/Notebook/Notebook.spec.tsx +88 -0
  26. package/src/components/Notebook/Notebook.tsx +1 -0
  27. package/src/components/Package/Package.spec.tsx +113 -0
  28. package/src/components/Package/Package.tsx +29 -3
  29. package/src/components/RenderedResult/RenderedResult.tsx +47 -7
  30. package/src/hooks/useSuggestOptions.dom.spec.ts +91 -0
  31. package/src/hooks/useSuggestOptions.ts +6 -1
  32. package/src/theme/buildTableCssVars.spec.ts +19 -0
  33. package/src/theme/buildTableCssVars.ts +31 -0
  34. package/test/README.md +44 -0
  35. package/test/serverProvider.tsx +72 -0
  36. package/dist/ServerProvider-CTopDUWW.cjs.js +0 -1
  37. package/dist/index-DvEanVgc.cjs.js +0 -339
@@ -173,11 +173,14 @@ const P = function(l, ...n) {
173
173
  OnDemand: "on_demand",
174
174
  Scheduler: "scheduler"
175
175
  }, fa = {
176
+ Config: "config",
177
+ CredentialChain: "credential_chain"
178
+ }, Ba = {
176
179
  Initializing: "initializing",
177
180
  Serving: "serving",
178
181
  Draining: "draining",
179
182
  Throttled: "throttled"
180
- }, Ba = {
183
+ }, Fa = {
181
184
  Light: "light",
182
185
  Dark: "dark",
183
186
  Auto: "auto"
@@ -791,7 +794,7 @@ const P = function(l, ...n) {
791
794
  return (i, d) => V(o, h, u, l)(i, c || d);
792
795
  }
793
796
  };
794
- }, Fa = function(l, n, e) {
797
+ }, Qa = function(l, n, e) {
795
798
  const t = S(l);
796
799
  return {
797
800
  /**
@@ -1269,7 +1272,7 @@ const Pe = function(l) {
1269
1272
  return (s, c) => V(a, h, u, l)(s, o || c);
1270
1273
  }
1271
1274
  };
1272
- }, Qa = function(l, n, e) {
1275
+ }, $a = function(l, n, e) {
1273
1276
  const t = X(l);
1274
1277
  return {
1275
1278
  /**
@@ -1284,7 +1287,7 @@ const Pe = function(l) {
1284
1287
  }
1285
1288
  };
1286
1289
  };
1287
- class $a extends I {
1290
+ class za extends I {
1288
1291
  /**
1289
1292
  * 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.
1290
1293
  * @summary Test database connection configuration
@@ -1300,7 +1303,7 @@ class $a extends I {
1300
1303
  const ve = function(l) {
1301
1304
  return {
1302
1305
  /**
1303
- * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each composite tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1306
+ * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1304
1307
  * @summary Get a dashboard manifest
1305
1308
  * @param {string} environmentName Name of the environment
1306
1309
  * @param {string} packageName Name of the package
@@ -1349,7 +1352,7 @@ const ve = function(l) {
1349
1352
  const n = ve(l);
1350
1353
  return {
1351
1354
  /**
1352
- * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each composite tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1355
+ * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1353
1356
  * @summary Get a dashboard manifest
1354
1357
  * @param {string} environmentName Name of the environment
1355
1358
  * @param {string} packageName Name of the package
@@ -1376,11 +1379,11 @@ const ve = function(l) {
1376
1379
  return (i, d) => V(o, h, u, l)(i, c || d);
1377
1380
  }
1378
1381
  };
1379
- }, za = function(l, n, e) {
1382
+ }, qa = function(l, n, e) {
1380
1383
  const t = D(l);
1381
1384
  return {
1382
1385
  /**
1383
- * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each composite tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1386
+ * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1384
1387
  * @summary Get a dashboard manifest
1385
1388
  * @param {string} environmentName Name of the environment
1386
1389
  * @param {string} packageName Name of the package
@@ -1408,7 +1411,7 @@ const ve = function(l) {
1408
1411
  };
1409
1412
  class Ve extends I {
1410
1413
  /**
1411
- * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each composite tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1414
+ * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1412
1415
  * @summary Get a dashboard manifest
1413
1416
  * @param {string} environmentName Name of the environment
1414
1417
  * @param {string} packageName Name of the package
@@ -1475,7 +1478,7 @@ const Oe = function(l) {
1475
1478
  return (c, i) => V(r, h, u, l)(c, s || i);
1476
1479
  }
1477
1480
  };
1478
- }, qa = function(l, n, e) {
1481
+ }, Da = function(l, n, e) {
1479
1482
  const t = Z(l);
1480
1483
  return {
1481
1484
  /**
@@ -1547,7 +1550,7 @@ const ke = function(l) {
1547
1550
  return (i, d) => V(o, h, u, l)(i, c || d);
1548
1551
  }
1549
1552
  };
1550
- }, Da = function(l, n, e) {
1553
+ }, La = function(l, n, e) {
1551
1554
  const t = ee(l);
1552
1555
  return {
1553
1556
  /**
@@ -1625,7 +1628,7 @@ const Ce = function(l) {
1625
1628
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
1626
1629
  * @summary Get environment details and metadata
1627
1630
  * @param {string} environmentName Name of the environment
1628
- * @param {boolean} [reload] Load / reload the environment before returning result
1631
+ * @param {boolean} [reload] Load / reload the environment before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
1629
1632
  * @param {*} [options] Override http request option.
1630
1633
  * @throws {RequiredError}
1631
1634
  */
@@ -1643,7 +1646,7 @@ const Ce = function(l) {
1643
1646
  };
1644
1647
  },
1645
1648
  /**
1646
- * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information.
1649
+ * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
1647
1650
  * @summary List all available environments
1648
1651
  * @param {*} [options] Override http request option.
1649
1652
  * @throws {RequiredError}
@@ -1711,7 +1714,7 @@ const Ce = function(l) {
1711
1714
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
1712
1715
  * @summary Get environment details and metadata
1713
1716
  * @param {string} environmentName Name of the environment
1714
- * @param {boolean} [reload] Load / reload the environment before returning result
1717
+ * @param {boolean} [reload] Load / reload the environment before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
1715
1718
  * @param {*} [options] Override http request option.
1716
1719
  * @throws {RequiredError}
1717
1720
  */
@@ -1720,7 +1723,7 @@ const Ce = function(l) {
1720
1723
  return (c, i) => V(r, h, u, l)(c, s || i);
1721
1724
  },
1722
1725
  /**
1723
- * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information.
1726
+ * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
1724
1727
  * @summary List all available environments
1725
1728
  * @param {*} [options] Override http request option.
1726
1729
  * @throws {RequiredError}
@@ -1742,7 +1745,7 @@ const Ce = function(l) {
1742
1745
  return (c, i) => V(r, h, u, l)(c, s || i);
1743
1746
  }
1744
1747
  };
1745
- }, La = function(l, n, e) {
1748
+ }, ja = function(l, n, e) {
1746
1749
  const t = N(l);
1747
1750
  return {
1748
1751
  /**
@@ -1769,7 +1772,7 @@ const Ce = function(l) {
1769
1772
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
1770
1773
  * @summary Get environment details and metadata
1771
1774
  * @param {string} environmentName Name of the environment
1772
- * @param {boolean} [reload] Load / reload the environment before returning result
1775
+ * @param {boolean} [reload] Load / reload the environment before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
1773
1776
  * @param {*} [options] Override http request option.
1774
1777
  * @throws {RequiredError}
1775
1778
  */
@@ -1777,7 +1780,7 @@ const Ce = function(l) {
1777
1780
  return t.getEnvironment(a, r, o).then((s) => s(e, n));
1778
1781
  },
1779
1782
  /**
1780
- * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information.
1783
+ * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
1781
1784
  * @summary List all available environments
1782
1785
  * @param {*} [options] Override http request option.
1783
1786
  * @throws {RequiredError}
@@ -1825,7 +1828,7 @@ class Ie extends I {
1825
1828
  * Retrieves detailed information about a specific environment, including its packages, connections, configuration, and metadata. The reload parameter can be used to refresh the environment state from disk before returning the information.
1826
1829
  * @summary Get environment details and metadata
1827
1830
  * @param {string} environmentName Name of the environment
1828
- * @param {boolean} [reload] Load / reload the environment before returning result
1831
+ * @param {boolean} [reload] Load / reload the environment before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
1829
1832
  * @param {*} [options] Override http request option.
1830
1833
  * @throws {RequiredError}
1831
1834
  * @memberof EnvironmentsApi
@@ -1834,7 +1837,7 @@ class Ie extends I {
1834
1837
  return N(this.configuration).getEnvironment(n, e, t).then((a) => a(this.axios, this.basePath));
1835
1838
  }
1836
1839
  /**
1837
- * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information.
1840
+ * Retrieves a list of all environments currently hosted on this Malloy Publisher server. Each environment contains metadata about its packages, connections, and configuration. This endpoint is typically used to discover available environments and their basic information. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-environment: use `GET /environments/{environmentName}?reload=true`.
1838
1841
  * @summary List all available environments
1839
1842
  * @param {*} [options] Override http request option.
1840
1843
  * @throws {RequiredError}
@@ -1886,7 +1889,7 @@ const xe = function(l) {
1886
1889
  * @param {string} environmentName Name of the environment
1887
1890
  * @param {string} packageName Name of the package
1888
1891
  * @param {string} materializationId ID of the materialization
1889
- * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC).
1892
+ * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC). Only `true` and `false` are accepted. Any other value is refused with 400 rather than read as `false`, which would delete the record, leave the tables on disk, and still answer 204.
1890
1893
  * @param {*} [options] Override http request option.
1891
1894
  * @throws {RequiredError}
1892
1895
  */
@@ -2016,7 +2019,7 @@ const xe = function(l) {
2016
2019
  * @param {string} environmentName Name of the environment
2017
2020
  * @param {string} packageName Name of the package
2018
2021
  * @param {string} materializationId ID of the materialization
2019
- * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC).
2022
+ * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC). Only `true` and `false` are accepted. Any other value is refused with 400 rather than read as `false`, which would delete the record, leave the tables on disk, and still answer 204.
2020
2023
  * @param {*} [options] Override http request option.
2021
2024
  * @throws {RequiredError}
2022
2025
  */
@@ -2079,7 +2082,7 @@ const xe = function(l) {
2079
2082
  return (d, p) => V(s, h, u, l)(d, i || p);
2080
2083
  }
2081
2084
  };
2082
- }, ja = function(l, n, e) {
2085
+ }, Ha = function(l, n, e) {
2083
2086
  const t = A(l);
2084
2087
  return {
2085
2088
  /**
@@ -2100,7 +2103,7 @@ const xe = function(l) {
2100
2103
  * @param {string} environmentName Name of the environment
2101
2104
  * @param {string} packageName Name of the package
2102
2105
  * @param {string} materializationId ID of the materialization
2103
- * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC).
2106
+ * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC). Only `true` and `false` are accepted. Any other value is refused with 400 rather than read as `false`, which would delete the record, leave the tables on disk, and still answer 204.
2104
2107
  * @param {*} [options] Override http request option.
2105
2108
  * @throws {RequiredError}
2106
2109
  */
@@ -2179,7 +2182,7 @@ class Ae extends I {
2179
2182
  * @param {string} environmentName Name of the environment
2180
2183
  * @param {string} packageName Name of the package
2181
2184
  * @param {string} materializationId ID of the materialization
2182
- * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC).
2185
+ * @param {boolean} [dropTables] When true, also drop the physical tables recorded in the materialization\'s manifest before deleting the record. Defaults to false (record-only delete; the caller owns table GC). Only `true` and `false` are accepted. Any other value is refused with 400 rather than read as `false`, which would delete the record, leave the tables on disk, and still answer 204.
2183
2186
  * @param {*} [options] Override http request option.
2184
2187
  * @throws {RequiredError}
2185
2188
  * @memberof MaterializationsApi
@@ -2242,7 +2245,7 @@ class Ae extends I {
2242
2245
  return A(this.configuration).materializationAction(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
2243
2246
  }
2244
2247
  }
2245
- const Ha = {
2248
+ const _a = {
2246
2249
  Stop: "stop"
2247
2250
  }, Re = function(l) {
2248
2251
  return {
@@ -2397,7 +2400,7 @@ const Ha = {
2397
2400
  return (i, d) => V(o, h, u, l)(i, c || d);
2398
2401
  }
2399
2402
  };
2400
- }, _a = function(l, n, e) {
2403
+ }, Wa = function(l, n, e) {
2401
2404
  const t = w(l);
2402
2405
  return {
2403
2406
  /**
@@ -2634,7 +2637,7 @@ const Te = function(l) {
2634
2637
  return (i, d) => V(o, h, u, l)(i, c || d);
2635
2638
  }
2636
2639
  };
2637
- }, Wa = function(l, n, e) {
2640
+ }, Ga = function(l, n, e) {
2638
2641
  const t = Q(l);
2639
2642
  return {
2640
2643
  /**
@@ -2728,7 +2731,7 @@ class Ue extends I {
2728
2731
  return Q(this.configuration).listNotebooks(n, e, t, a).then((r) => r(this.axios, this.basePath));
2729
2732
  }
2730
2733
  }
2731
- const Ga = {
2734
+ const Ya = {
2732
2735
  True: "true",
2733
2736
  False: "false"
2734
2737
  }, we = function(l) {
@@ -2781,7 +2784,7 @@ const Ga = {
2781
2784
  * @param {string} environmentName Name of the environment
2782
2785
  * @param {string} packageName Package name
2783
2786
  * @param {string} [versionId] Version identifier for the package
2784
- * @param {boolean} [reload] Load / reload the package before returning result
2787
+ * @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
2785
2788
  * @param {*} [options] Override http request option.
2786
2789
  * @throws {RequiredError}
2787
2790
  */
@@ -2799,7 +2802,7 @@ const Ga = {
2799
2802
  };
2800
2803
  },
2801
2804
  /**
2802
- * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
2805
+ * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
2803
2806
  * @summary List environment packages
2804
2807
  * @param {string} environmentName Name of the environment
2805
2808
  * @param {*} [options] Override http request option.
@@ -2874,7 +2877,7 @@ const Ga = {
2874
2877
  * @param {string} environmentName Name of the environment
2875
2878
  * @param {string} packageName Package name
2876
2879
  * @param {string} [versionId] Version identifier for the package
2877
- * @param {boolean} [reload] Load / reload the package before returning result
2880
+ * @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
2878
2881
  * @param {*} [options] Override http request option.
2879
2882
  * @throws {RequiredError}
2880
2883
  */
@@ -2883,7 +2886,7 @@ const Ga = {
2883
2886
  return (d, p) => V(s, h, u, l)(d, i || p);
2884
2887
  },
2885
2888
  /**
2886
- * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
2889
+ * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
2887
2890
  * @summary List environment packages
2888
2891
  * @param {string} environmentName Name of the environment
2889
2892
  * @param {*} [options] Override http request option.
@@ -2907,7 +2910,7 @@ const Ga = {
2907
2910
  return (i, d) => V(o, h, u, l)(i, c || d);
2908
2911
  }
2909
2912
  };
2910
- }, Ya = function(l, n, e) {
2913
+ }, Ja = function(l, n, e) {
2911
2914
  const t = T(l);
2912
2915
  return {
2913
2916
  /**
@@ -2938,7 +2941,7 @@ const Ga = {
2938
2941
  * @param {string} environmentName Name of the environment
2939
2942
  * @param {string} packageName Package name
2940
2943
  * @param {string} [versionId] Version identifier for the package
2941
- * @param {boolean} [reload] Load / reload the package before returning result
2944
+ * @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
2942
2945
  * @param {*} [options] Override http request option.
2943
2946
  * @throws {RequiredError}
2944
2947
  */
@@ -2946,7 +2949,7 @@ const Ga = {
2946
2949
  return t.getPackage(a, r, o, s, c).then((i) => i(e, n));
2947
2950
  },
2948
2951
  /**
2949
- * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
2952
+ * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
2950
2953
  * @summary List environment packages
2951
2954
  * @param {string} environmentName Name of the environment
2952
2955
  * @param {*} [options] Override http request option.
@@ -3000,7 +3003,7 @@ class Ee extends I {
3000
3003
  * @param {string} environmentName Name of the environment
3001
3004
  * @param {string} packageName Package name
3002
3005
  * @param {string} [versionId] Version identifier for the package
3003
- * @param {boolean} [reload] Load / reload the package before returning result
3006
+ * @param {boolean} [reload] Load / reload the package before returning result. Only the two spellings OpenAPI serializes a boolean as are accepted: `true` and `false`. Any other value (`1`, `yes`, `TRUE`, or the parameter repeated) is refused with 400 rather than read as `false`, which would answer 200 without recompiling.
3004
3007
  * @param {*} [options] Override http request option.
3005
3008
  * @throws {RequiredError}
3006
3009
  * @memberof PackagesApi
@@ -3009,7 +3012,7 @@ class Ee extends I {
3009
3012
  return T(this.configuration).getPackage(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
3010
3013
  }
3011
3014
  /**
3012
- * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata.
3015
+ * Retrieves a list of all Malloy packages within the specified environment. Each package contains models, notebooks, databases, and other resources. This endpoint is useful for discovering available packages and their basic metadata. This endpoint does not reload. A `reload` query parameter is rejected with 400 rather than ignored, because answering 200 here reads as a reload that worked. Reload is per-package: use `GET /environments/{environmentName}/packages/{packageName}?reload=true`.
3013
3016
  * @summary List environment packages
3014
3017
  * @param {string} environmentName Name of the environment
3015
3018
  * @param {*} [options] Override http request option.
@@ -3155,7 +3158,7 @@ const Me = function(l) {
3155
3158
  return (s, c) => V(a, h, u, l)(s, o || c);
3156
3159
  }
3157
3160
  };
3158
- }, Ja = function(l, n, e) {
3161
+ }, Ka = function(l, n, e) {
3159
3162
  const t = E(l);
3160
3163
  return {
3161
3164
  /**
@@ -3367,7 +3370,7 @@ const Be = function(l) {
3367
3370
  return (c, i) => V(r, h, u, l)(c, s || i);
3368
3371
  }
3369
3372
  };
3370
- }, Ka = function(l, n, e) {
3373
+ }, Xa = function(l, n, e) {
3371
3374
  const t = M(l);
3372
3375
  return {
3373
3376
  /**
@@ -3543,25 +3546,25 @@ const B = {
3543
3546
  // right wing of the M
3544
3547
  darkBlue: "#1474a4"
3545
3548
  // deep shadow of the M
3546
- }, Xa = {
3549
+ }, Za = {
3547
3550
  violet: "#7c4dcc",
3548
3551
  magenta: "#c2478f",
3549
3552
  moss: "#5c8f3f"
3550
- }, Za = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', et = y(J)({
3553
+ }, et = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', at = y(J)({
3551
3554
  display: "flex",
3552
3555
  flexDirection: "column",
3553
3556
  height: "100%",
3554
3557
  boxShadow: "none",
3555
3558
  border: "none",
3556
3559
  backgroundColor: "transparent"
3557
- }), at = y(K)({
3560
+ }), tt = y(K)({
3558
3561
  display: "flex",
3559
3562
  flexDirection: "column",
3560
3563
  padding: "0",
3561
3564
  flexGrow: 1
3562
- }), tt = y(he)({
3565
+ }), rt = y(he)({
3563
3566
  padding: "0"
3564
- }), rt = y("div")(({ theme: l }) => ({
3567
+ }), nt = y("div")(({ theme: l }) => ({
3565
3568
  backgroundColor: l.palette.background.default,
3566
3569
  padding: "0 8px 0px 8px",
3567
3570
  borderRadius: "12px",
@@ -3575,19 +3578,19 @@ y("div")(({ theme: l }) => ({
3575
3578
  paddingBottom: "24px",
3576
3579
  borderBottom: `1px solid ${l.palette.divider}`
3577
3580
  }));
3578
- const nt = y("div")({
3581
+ const ot = y("div")({
3579
3582
  marginBottom: "48px",
3580
3583
  padding: "0",
3581
3584
  backgroundColor: "transparent",
3582
3585
  border: "none",
3583
3586
  boxShadow: "none"
3584
- }), ot = y("div")({
3587
+ }), st = y("div")({
3585
3588
  marginBottom: "0",
3586
3589
  padding: "0",
3587
3590
  backgroundColor: "transparent",
3588
3591
  border: "none",
3589
3592
  boxShadow: "none"
3590
- }), st = y("div")({
3593
+ }), lt = y("div")({
3591
3594
  backgroundColor: "transparent",
3592
3595
  paddingTop: "12px",
3593
3596
  paddingBottom: "2px",
@@ -3617,7 +3620,7 @@ y("div")(({ theme: l }) => ({
3617
3620
  justifyContent: "space-between",
3618
3621
  alignItems: "center"
3619
3622
  }));
3620
- const lt = y("div")({
3623
+ const ct = y("div")({
3621
3624
  height: "100%"
3622
3625
  });
3623
3626
  y("div")({
@@ -3627,7 +3630,7 @@ y("div")({
3627
3630
  padding: "4px",
3628
3631
  alignItems: "center"
3629
3632
  });
3630
- const ct = y("div")({
3633
+ const it = y("div")({
3631
3634
  height: "75vh",
3632
3635
  width: "100%",
3633
3636
  overflowY: "auto"
@@ -3637,7 +3640,7 @@ y("div")({
3637
3640
  height: "100%",
3638
3641
  flex: "0 0 auto"
3639
3642
  });
3640
- const it = y(J)(({ theme: l }) => ({
3643
+ const dt = y(J)(({ theme: l }) => ({
3641
3644
  backgroundColor: l.palette.background.paper,
3642
3645
  padding: "24px",
3643
3646
  borderRadius: "8px",
@@ -3648,12 +3651,12 @@ const it = y(J)(({ theme: l }) => ({
3648
3651
  "&:hover": {
3649
3652
  boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
3650
3653
  }
3651
- })), dt = y(K)({
3654
+ })), pt = y(K)({
3652
3655
  padding: "0",
3653
3656
  "&:last-child": {
3654
3657
  paddingBottom: "0"
3655
3658
  }
3656
- }), pt = y("div")(({ theme: l }) => ({
3659
+ }), mt = y("div")(({ theme: l }) => ({
3657
3660
  fontSize: "0.875rem",
3658
3661
  fontWeight: 500,
3659
3662
  color: l.palette.text.secondary,
@@ -3818,7 +3821,7 @@ function Le({
3818
3821
  );
3819
3822
  return /* @__PURE__ */ F(te.Provider, { value: s, children: r });
3820
3823
  }
3821
- function mt() {
3824
+ function ht() {
3822
3825
  const l = Y(te);
3823
3826
  return l || {
3824
3827
  theme: ae([], "light"),
@@ -3841,7 +3844,7 @@ const je = new ce({
3841
3844
  throwOnError: !1
3842
3845
  }
3843
3846
  }
3844
- }), ht = {
3847
+ }), ut = {
3845
3848
  staleTime: 300 * 1e3,
3846
3849
  refetchOnWindowFocus: !1,
3847
3850
  refetchOnReconnect: !1
@@ -3893,7 +3896,7 @@ const re = G(void 0), Ge = (l, n) => {
3893
3896
  ),
3894
3897
  watchMode: new Fe(a, e, t)
3895
3898
  };
3896
- }, ut = (l) => /* @__PURE__ */ F(ie, { client: je, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3899
+ }, gt = (l) => /* @__PURE__ */ F(ie, { client: je, children: /* @__PURE__ */ F(Ye, { ...l }) }), Ye = ({
3897
3900
  children: l,
3898
3901
  getAccessToken: n,
3899
3902
  baseURL: e,
@@ -3950,100 +3953,101 @@ const re = G(void 0), Ge = (l, n) => {
3950
3953
  children: l
3951
3954
  }
3952
3955
  ) });
3953
- }, gt = () => {
3956
+ }, bt = () => {
3954
3957
  const l = Y(re);
3955
3958
  if (l === void 0)
3956
3959
  throw new Error("useServer must be used within a ServerProvider");
3957
3960
  return l;
3958
3961
  };
3959
3962
  export {
3960
- qa as $,
3963
+ Z as $,
3961
3964
  aa as A,
3962
- ge as B,
3965
+ Ba as B,
3963
3966
  ra as C,
3964
3967
  ia as D,
3965
- S as E,
3968
+ ge as E,
3966
3969
  pa as F,
3967
3970
  ha as G,
3968
- Fa as H,
3969
- be as I,
3970
- Pe as J,
3971
- X as K,
3971
+ S as H,
3972
+ Qa as I,
3973
+ be as J,
3974
+ Pe as K,
3972
3975
  ua as L,
3973
3976
  ba as M,
3974
3977
  Oa as N,
3975
- Qa as O,
3978
+ X as O,
3976
3979
  ka as P,
3977
3980
  Ra as Q,
3978
3981
  Ua as R,
3979
- ut as S,
3980
- Ba as T,
3982
+ gt as S,
3983
+ Fa as T,
3981
3984
  $a as U,
3982
- ve as V,
3983
- D as W,
3984
- za as X,
3985
- Ve as Y,
3986
- Oe as Z,
3987
- Z as _,
3985
+ za as V,
3986
+ ve as W,
3987
+ D as X,
3988
+ qa as Y,
3989
+ Ve as Z,
3990
+ Oe as _,
3988
3991
  ta as a,
3989
- Se as a0,
3990
- ke as a1,
3991
- ee as a2,
3992
- Da as a3,
3993
- ye as a4,
3994
- Ce as a5,
3995
- N as a6,
3996
- La as a7,
3997
- Ie as a8,
3998
- xe as a9,
3999
- tt as aA,
4000
- lt as aB,
3992
+ Da as a0,
3993
+ Se as a1,
3994
+ ke as a2,
3995
+ ee as a3,
3996
+ La as a4,
3997
+ ye as a5,
3998
+ Ce as a6,
3999
+ N as a7,
4000
+ ja as a8,
4001
+ Ie as a9,
4002
+ Qe as aA,
4003
+ rt as aB,
4001
4004
  ct as aC,
4002
- mt as aD,
4003
- et as aE,
4005
+ it as aD,
4006
+ ht as aE,
4004
4007
  at as aF,
4005
- ht as aG,
4006
- Za as aH,
4007
- it as aI,
4008
+ tt as aG,
4009
+ ut as aH,
4010
+ et as aI,
4008
4011
  dt as aJ,
4009
4012
  pt as aK,
4010
- B as aL,
4011
- ot as aM,
4013
+ mt as aL,
4014
+ B as aM,
4012
4015
  st as aN,
4013
- rt as aO,
4016
+ lt as aO,
4014
4017
  nt as aP,
4015
- Xa as aQ,
4016
- qe as aR,
4017
- ae as aS,
4018
- W as aT,
4019
- De as aU,
4020
- Le as aV,
4021
- A as aa,
4022
- ja as ab,
4023
- Ae as ac,
4024
- Ha as ad,
4025
- Re as ae,
4026
- w as af,
4027
- _a as ag,
4028
- Ne as ah,
4029
- Te as ai,
4030
- Q as aj,
4031
- Wa as ak,
4032
- Ue as al,
4033
- Ga as am,
4034
- we as an,
4035
- T as ao,
4036
- Ya as ap,
4037
- Ee as aq,
4038
- Me as ar,
4039
- E as as,
4040
- Ja as at,
4041
- fe as au,
4042
- Be as av,
4043
- M as aw,
4044
- Ka as ax,
4045
- Fe as ay,
4046
- Qe as az,
4018
+ ot as aQ,
4019
+ Za as aR,
4020
+ qe as aS,
4021
+ ae as aT,
4022
+ W as aU,
4023
+ De as aV,
4024
+ Le as aW,
4025
+ xe as aa,
4026
+ A as ab,
4027
+ Ha as ac,
4028
+ Ae as ad,
4029
+ _a as ae,
4030
+ Re as af,
4031
+ w as ag,
4032
+ Wa as ah,
4033
+ Ne as ai,
4034
+ Te as aj,
4035
+ Q as ak,
4036
+ Ga as al,
4037
+ Ue as am,
4038
+ Ya as an,
4039
+ we as ao,
4040
+ T as ap,
4041
+ Ja as aq,
4042
+ Ee as ar,
4043
+ Me as as,
4044
+ E as at,
4045
+ Ka as au,
4046
+ fe as av,
4047
+ Be as aw,
4048
+ M as ax,
4049
+ Xa as ay,
4050
+ Fe as az,
4047
4051
  na as b,
4048
4052
  oa as c,
4049
4053
  sa as d,
@@ -4063,7 +4067,7 @@ export {
4063
4067
  xa as r,
4064
4068
  Aa as s,
4065
4069
  Na as t,
4066
- gt as u,
4070
+ bt as u,
4067
4071
  Ta as v,
4068
4072
  wa as w,
4069
4073
  Ea as x,