@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.
- package/dist/{ServerProvider-DUFPY6Rv.es.js → ServerProvider-CWkd55-c.es.js} +130 -126
- package/dist/ServerProvider-Cn_LhKda.cjs.js +1 -0
- package/dist/client/api.d.ts +86 -39
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +14 -13
- package/dist/components/Dashboard/Dashboard.d.ts +14 -1
- package/dist/components/Dashboard/DashboardTile.d.ts +16 -7
- package/dist/{core-hLahnv0W.cjs.js → core-CqRKhtoy.cjs.js} +1 -1
- package/dist/{core-lb28vQkR.es.js → core-mFfgwzPH.es.js} +1 -1
- package/dist/hooks/useSuggestOptions.d.ts +1 -1
- package/dist/index-DD4b_bt0.cjs.js +356 -0
- package/dist/{index-txw04ZbN.es.js → index-hiul47sw.es.js} +13455 -13248
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +9 -9
- package/dist/theme/buildTableCssVars.d.ts +17 -1
- package/package.json +1 -1
- package/src/components/Connections/AddConnectionDialog.tsx +102 -23
- package/src/components/Connections/EditConnectionDialog.tsx +134 -33
- package/src/components/Connections/common.ts +30 -2
- package/src/components/Dashboard/Dashboard.spec.tsx +216 -0
- package/src/components/Dashboard/Dashboard.tsx +77 -17
- package/src/components/Dashboard/DashboardTile.spec.tsx +81 -0
- package/src/components/Dashboard/DashboardTile.tsx +58 -12
- package/src/components/Dashboard/tileGridColumn.spec.ts +35 -0
- package/src/components/Notebook/Notebook.spec.tsx +88 -0
- package/src/components/Notebook/Notebook.tsx +1 -0
- package/src/components/Package/Package.spec.tsx +113 -0
- package/src/components/Package/Package.tsx +29 -3
- package/src/components/RenderedResult/RenderedResult.tsx +47 -7
- package/src/hooks/useSuggestOptions.dom.spec.ts +91 -0
- package/src/hooks/useSuggestOptions.ts +6 -1
- package/src/theme/buildTableCssVars.spec.ts +19 -0
- package/src/theme/buildTableCssVars.ts +31 -0
- package/test/README.md +44 -0
- package/test/serverProvider.tsx +72 -0
- package/dist/ServerProvider-CTopDUWW.cjs.js +0 -1
- 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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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
|
|
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
|
|
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
|
-
},
|
|
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
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
3549
|
+
}, Za = {
|
|
3547
3550
|
violet: "#7c4dcc",
|
|
3548
3551
|
magenta: "#c2478f",
|
|
3549
3552
|
moss: "#5c8f3f"
|
|
3550
|
-
},
|
|
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
|
-
}),
|
|
3560
|
+
}), tt = y(K)({
|
|
3558
3561
|
display: "flex",
|
|
3559
3562
|
flexDirection: "column",
|
|
3560
3563
|
padding: "0",
|
|
3561
3564
|
flexGrow: 1
|
|
3562
|
-
}),
|
|
3565
|
+
}), rt = y(he)({
|
|
3563
3566
|
padding: "0"
|
|
3564
|
-
}),
|
|
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
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
|
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
|
|
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
|
|
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
|
-
})),
|
|
3654
|
+
})), pt = y(K)({
|
|
3652
3655
|
padding: "0",
|
|
3653
3656
|
"&:last-child": {
|
|
3654
3657
|
paddingBottom: "0"
|
|
3655
3658
|
}
|
|
3656
|
-
}),
|
|
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
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
|
|
3963
|
+
Z as $,
|
|
3961
3964
|
aa as A,
|
|
3962
|
-
|
|
3965
|
+
Ba as B,
|
|
3963
3966
|
ra as C,
|
|
3964
3967
|
ia as D,
|
|
3965
|
-
|
|
3968
|
+
ge as E,
|
|
3966
3969
|
pa as F,
|
|
3967
3970
|
ha as G,
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
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
|
-
|
|
3978
|
+
X as O,
|
|
3976
3979
|
ka as P,
|
|
3977
3980
|
Ra as Q,
|
|
3978
3981
|
Ua as R,
|
|
3979
|
-
|
|
3980
|
-
|
|
3982
|
+
gt as S,
|
|
3983
|
+
Fa as T,
|
|
3981
3984
|
$a as U,
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
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
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
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
|
-
|
|
4003
|
-
|
|
4005
|
+
it as aD,
|
|
4006
|
+
ht as aE,
|
|
4004
4007
|
at as aF,
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
+
tt as aG,
|
|
4009
|
+
ut as aH,
|
|
4010
|
+
et as aI,
|
|
4008
4011
|
dt as aJ,
|
|
4009
4012
|
pt as aK,
|
|
4010
|
-
|
|
4011
|
-
|
|
4013
|
+
mt as aL,
|
|
4014
|
+
B as aM,
|
|
4012
4015
|
st as aN,
|
|
4013
|
-
|
|
4016
|
+
lt as aO,
|
|
4014
4017
|
nt as aP,
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
Ha as
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
Ga as
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
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
|
-
|
|
4070
|
+
bt as u,
|
|
4067
4071
|
Ta as v,
|
|
4068
4072
|
wa as w,
|
|
4069
4073
|
Ea as x,
|