@databrainhq/plugin 0.10.7 → 0.10.9
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/index.es.js +14 -4
- package/dist/index.umd.js +4 -4
- package/dist/utils/generated/graphql.d.ts +88 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5784,8 +5784,8 @@ const Ut = (r, t, e) => async () => {
|
|
|
5784
5784
|
Ut(t7, r),
|
|
5785
5785
|
t
|
|
5786
5786
|
), n7 = `
|
|
5787
|
-
query MetricAccess($
|
|
5788
|
-
companySubsetTables(where: {
|
|
5787
|
+
query MetricAccess($workspaceId: uuid = "") {
|
|
5788
|
+
companySubsetTables(where: {workspaceId: {_eq: $workspaceId}}) {
|
|
5789
5789
|
isAllowMetricCreation
|
|
5790
5790
|
isAllowMetricDeletion
|
|
5791
5791
|
isAllowMetricUpdation
|
|
@@ -6235,9 +6235,9 @@ const Ut = (r, t, e) => async () => {
|
|
|
6235
6235
|
refetchOnWindowFocus: !1
|
|
6236
6236
|
}
|
|
6237
6237
|
), m = d == null ? void 0 : d.externalDashboardMetrics, { data: y, isLoading: b } = i7(
|
|
6238
|
-
{
|
|
6238
|
+
{ workspaceId: c == null ? void 0 : c.id },
|
|
6239
6239
|
{
|
|
6240
|
-
enabled: !!
|
|
6240
|
+
enabled: !!(c != null && c.id),
|
|
6241
6241
|
refetchOnWindowFocus: !1
|
|
6242
6242
|
}
|
|
6243
6243
|
), { data: _, isLoading: w } = c7(
|
|
@@ -66348,6 +66348,12 @@ const xAe = "_datePickerContainer_1nbpn_1", MAe = "_buttonWrapper_1nbpn_5", SAe
|
|
|
66348
66348
|
) || [],
|
|
66349
66349
|
autoSelected: !1,
|
|
66350
66350
|
onChange: (m) => {
|
|
66351
|
+
if (!m.length) {
|
|
66352
|
+
n((y) => y.filter(
|
|
66353
|
+
(b) => b.column !== v.name
|
|
66354
|
+
));
|
|
66355
|
+
return;
|
|
66356
|
+
}
|
|
66351
66357
|
n((y) => {
|
|
66352
66358
|
const b = {
|
|
66353
66359
|
column: v.name,
|
|
@@ -66608,6 +66614,10 @@ const xAe = "_datePickerContainer_1nbpn_1", MAe = "_buttonWrapper_1nbpn_5", SAe
|
|
|
66608
66614
|
) || [],
|
|
66609
66615
|
autoSelected: !1,
|
|
66610
66616
|
onChange: (g) => {
|
|
66617
|
+
if (!g.length) {
|
|
66618
|
+
t((m) => m.filter((y) => y.column !== d.name));
|
|
66619
|
+
return;
|
|
66620
|
+
}
|
|
66611
66621
|
t((m) => {
|
|
66612
66622
|
const y = {
|
|
66613
66623
|
column: d.name,
|