@malloy-publisher/sdk 0.0.245 → 0.0.247
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-BAyKR6My.es.js → ServerProvider-BxEh3nFI.es.js} +164 -159
- package/dist/ServerProvider-Dg5S1qBU.cjs.js +1 -0
- package/dist/client/api.d.ts +88 -16
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.es.js +77 -76
- package/dist/{core-BCwj9ZvB.es.js → core-BuvlzSIX.es.js} +1 -1
- package/dist/{core-C-dEZW_6.cjs.js → core-C86Rb7tJ.cjs.js} +1 -1
- package/dist/{index-Dx9MNCoh.es.js → index-BdtAZ5k6.es.js} +2 -2
- package/dist/{index-5I0pychn.cjs.js → index-MES4MGpQ.cjs.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +14 -14
- package/package.json +1 -1
- package/dist/ServerProvider-cgFkfnXi.cjs.js +0 -1
|
@@ -52,9 +52,13 @@ const v = function(l, ...n) {
|
|
|
52
52
|
Warn: "warn",
|
|
53
53
|
Debug: "debug"
|
|
54
54
|
}, aa = {
|
|
55
|
+
Append: "append",
|
|
56
|
+
File: "file",
|
|
57
|
+
Package: "package"
|
|
58
|
+
}, ta = {
|
|
55
59
|
Success: "success",
|
|
56
60
|
Error: "error"
|
|
57
|
-
},
|
|
61
|
+
}, na = {
|
|
58
62
|
Postgres: "postgres",
|
|
59
63
|
Bigquery: "bigquery",
|
|
60
64
|
Snowflake: "snowflake",
|
|
@@ -65,105 +69,105 @@ const v = function(l, ...n) {
|
|
|
65
69
|
Motherduck: "motherduck",
|
|
66
70
|
Ducklake: "ducklake",
|
|
67
71
|
Publisher: "publisher"
|
|
68
|
-
}, na = {
|
|
69
|
-
Ssh: "ssh"
|
|
70
72
|
}, ra = {
|
|
73
|
+
Ssh: "ssh"
|
|
74
|
+
}, oa = {
|
|
71
75
|
Ok: "ok",
|
|
72
76
|
Failed: "failed"
|
|
73
|
-
}, oa = {
|
|
74
|
-
Viewport: "viewport"
|
|
75
77
|
}, sa = {
|
|
78
|
+
Viewport: "viewport"
|
|
79
|
+
}, la = {
|
|
76
80
|
Embedded: "embedded",
|
|
77
81
|
Materialized: "materialized"
|
|
78
|
-
},
|
|
82
|
+
}, ca = {
|
|
79
83
|
Equal: "equal",
|
|
80
84
|
In: "in",
|
|
81
85
|
Like: "like",
|
|
82
86
|
GreaterThan: "greater_than",
|
|
83
87
|
LessThan: "less_than"
|
|
84
|
-
},
|
|
88
|
+
}, ia = {
|
|
85
89
|
Live: "live",
|
|
86
90
|
StaleOk: "stale_ok",
|
|
87
91
|
Fail: "fail"
|
|
88
|
-
},
|
|
92
|
+
}, da = {
|
|
89
93
|
Select: "select",
|
|
90
94
|
Multiselect: "multiselect"
|
|
91
|
-
},
|
|
95
|
+
}, pa = {
|
|
92
96
|
Merge: "merge",
|
|
93
97
|
RangeReplace: "range_replace"
|
|
94
|
-
},
|
|
98
|
+
}, ma = {
|
|
95
99
|
Debug: "debug",
|
|
96
100
|
Info: "info",
|
|
97
101
|
Warn: "warn",
|
|
98
102
|
Error: "error"
|
|
99
|
-
},
|
|
103
|
+
}, ha = {
|
|
100
104
|
Persist: "persist",
|
|
101
105
|
Preaggregate: "preaggregate"
|
|
102
|
-
},
|
|
106
|
+
}, ua = {
|
|
103
107
|
Live: "live",
|
|
104
108
|
StaleOk: "stale_ok",
|
|
105
109
|
Fail: "fail"
|
|
106
|
-
},
|
|
110
|
+
}, ga = {
|
|
107
111
|
Delta: "delta",
|
|
108
112
|
Full: "full",
|
|
109
113
|
None: "none"
|
|
110
|
-
},
|
|
114
|
+
}, Pa = {
|
|
111
115
|
Pending: "PENDING",
|
|
112
116
|
ManifestRowsReady: "MANIFEST_ROWS_READY",
|
|
113
117
|
ManifestFileReady: "MANIFEST_FILE_READY",
|
|
114
118
|
Failed: "FAILED",
|
|
115
119
|
Cancelled: "CANCELLED"
|
|
116
|
-
}, Pa = {
|
|
117
|
-
Markdown: "markdown",
|
|
118
|
-
Code: "code"
|
|
119
120
|
}, va = {
|
|
120
121
|
Markdown: "markdown",
|
|
121
122
|
Code: "code"
|
|
122
123
|
}, ba = {
|
|
124
|
+
Markdown: "markdown",
|
|
125
|
+
Code: "code"
|
|
126
|
+
}, Va = {
|
|
123
127
|
Version: "version",
|
|
124
128
|
Package: "package"
|
|
125
|
-
},
|
|
129
|
+
}, Oa = {
|
|
126
130
|
Declared: "declared",
|
|
127
131
|
All: "all"
|
|
128
|
-
},
|
|
132
|
+
}, Sa = {
|
|
129
133
|
Unbound: "unbound",
|
|
130
134
|
Bound: "bound",
|
|
131
135
|
LiveFallback: "live_fallback"
|
|
132
|
-
},
|
|
136
|
+
}, ya = {
|
|
133
137
|
Error: "error",
|
|
134
138
|
Warn: "warn"
|
|
135
|
-
},
|
|
139
|
+
}, ka = {
|
|
136
140
|
Persist: "persist",
|
|
137
141
|
Preaggregate: "preaggregate"
|
|
138
|
-
},
|
|
142
|
+
}, Ca = {
|
|
139
143
|
Disable: "disable",
|
|
140
144
|
NoVerify: "no-verify",
|
|
141
145
|
VerifyCa: "verify-ca",
|
|
142
146
|
VerifyFull: "verify-full"
|
|
143
|
-
},
|
|
147
|
+
}, Ia = {
|
|
144
148
|
Interactive: "interactive",
|
|
145
149
|
Materialize: "materialize",
|
|
146
150
|
Index: "index",
|
|
147
151
|
Ops: "ops"
|
|
148
|
-
},
|
|
152
|
+
}, xa = {
|
|
149
153
|
Query: "query",
|
|
150
154
|
ServerDefault: "server_default"
|
|
151
|
-
},
|
|
155
|
+
}, Aa = {
|
|
152
156
|
Storage: "storage",
|
|
153
157
|
LiveFallback: "live_fallback"
|
|
154
|
-
},
|
|
158
|
+
}, Ra = {
|
|
155
159
|
Snapshot: "SNAPSHOT",
|
|
156
160
|
Copy: "COPY"
|
|
157
|
-
},
|
|
161
|
+
}, Na = {
|
|
158
162
|
Publish: "publish",
|
|
159
163
|
OnDemand: "on_demand",
|
|
160
164
|
Scheduler: "scheduler"
|
|
161
|
-
},
|
|
165
|
+
}, Ta = {
|
|
162
166
|
Initializing: "initializing",
|
|
163
167
|
Serving: "serving",
|
|
164
168
|
Draining: "draining",
|
|
165
169
|
Throttled: "throttled"
|
|
166
|
-
},
|
|
170
|
+
}, Ua = {
|
|
167
171
|
Light: "light",
|
|
168
172
|
Dark: "dark",
|
|
169
173
|
Auto: "auto"
|
|
@@ -777,7 +781,7 @@ const v = function(l, ...n) {
|
|
|
777
781
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
778
782
|
}
|
|
779
783
|
};
|
|
780
|
-
},
|
|
784
|
+
}, Ea = function(l, n, e) {
|
|
781
785
|
const r = S(l);
|
|
782
786
|
return {
|
|
783
787
|
/**
|
|
@@ -1270,7 +1274,7 @@ const Pe = function(l) {
|
|
|
1270
1274
|
}
|
|
1271
1275
|
};
|
|
1272
1276
|
};
|
|
1273
|
-
class
|
|
1277
|
+
class Ma extends I {
|
|
1274
1278
|
/**
|
|
1275
1279
|
* 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.
|
|
1276
1280
|
* @summary Test database connection configuration
|
|
@@ -1323,7 +1327,7 @@ const ve = function(l) {
|
|
|
1323
1327
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
1324
1328
|
}
|
|
1325
1329
|
};
|
|
1326
|
-
},
|
|
1330
|
+
}, fa = function(l, n, e) {
|
|
1327
1331
|
const r = X(l);
|
|
1328
1332
|
return {
|
|
1329
1333
|
/**
|
|
@@ -1395,7 +1399,7 @@ const Ve = function(l) {
|
|
|
1395
1399
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
1396
1400
|
}
|
|
1397
1401
|
};
|
|
1398
|
-
},
|
|
1402
|
+
}, Ba = function(l, n, e) {
|
|
1399
1403
|
const r = Z(l);
|
|
1400
1404
|
return {
|
|
1401
1405
|
/**
|
|
@@ -1590,7 +1594,7 @@ const Se = function(l) {
|
|
|
1590
1594
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
1591
1595
|
}
|
|
1592
1596
|
};
|
|
1593
|
-
},
|
|
1597
|
+
}, Fa = function(l, n, e) {
|
|
1594
1598
|
const r = N(l);
|
|
1595
1599
|
return {
|
|
1596
1600
|
/**
|
|
@@ -1927,7 +1931,7 @@ const ke = function(l) {
|
|
|
1927
1931
|
return (d, p) => V(s, h, u, l)(d, i || p);
|
|
1928
1932
|
}
|
|
1929
1933
|
};
|
|
1930
|
-
},
|
|
1934
|
+
}, Qa = function(l, n, e) {
|
|
1931
1935
|
const r = A(l);
|
|
1932
1936
|
return {
|
|
1933
1937
|
/**
|
|
@@ -2090,7 +2094,7 @@ class Ce extends I {
|
|
|
2090
2094
|
return A(this.configuration).materializationAction(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
|
|
2091
2095
|
}
|
|
2092
2096
|
}
|
|
2093
|
-
const
|
|
2097
|
+
const za = {
|
|
2094
2098
|
Stop: "stop"
|
|
2095
2099
|
}, Ie = function(l) {
|
|
2096
2100
|
return {
|
|
@@ -2186,7 +2190,7 @@ const Qa = {
|
|
|
2186
2190
|
};
|
|
2187
2191
|
}
|
|
2188
2192
|
};
|
|
2189
|
-
},
|
|
2193
|
+
}, E = function(l) {
|
|
2190
2194
|
const n = Ie(l);
|
|
2191
2195
|
return {
|
|
2192
2196
|
/**
|
|
@@ -2245,8 +2249,8 @@ const Qa = {
|
|
|
2245
2249
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2246
2250
|
}
|
|
2247
2251
|
};
|
|
2248
|
-
},
|
|
2249
|
-
const r =
|
|
2252
|
+
}, $a = function(l, n, e) {
|
|
2253
|
+
const r = E(l);
|
|
2250
2254
|
return {
|
|
2251
2255
|
/**
|
|
2252
2256
|
* 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.
|
|
@@ -2314,7 +2318,7 @@ class xe extends I {
|
|
|
2314
2318
|
* @memberof ModelsApi
|
|
2315
2319
|
*/
|
|
2316
2320
|
compileModelSource(n, e, r, a, t) {
|
|
2317
|
-
return
|
|
2321
|
+
return E(this.configuration).compileModelSource(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
|
|
2318
2322
|
}
|
|
2319
2323
|
/**
|
|
2320
2324
|
* Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration.
|
|
@@ -2328,7 +2332,7 @@ class xe extends I {
|
|
|
2328
2332
|
* @memberof ModelsApi
|
|
2329
2333
|
*/
|
|
2330
2334
|
executeQueryModel(n, e, r, a, t) {
|
|
2331
|
-
return
|
|
2335
|
+
return E(this.configuration).executeQueryModel(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
|
|
2332
2336
|
}
|
|
2333
2337
|
/**
|
|
2334
2338
|
* Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications.
|
|
@@ -2342,7 +2346,7 @@ class xe extends I {
|
|
|
2342
2346
|
* @memberof ModelsApi
|
|
2343
2347
|
*/
|
|
2344
2348
|
getModel(n, e, r, a, t) {
|
|
2345
|
-
return
|
|
2349
|
+
return E(this.configuration).getModel(n, e, r, a, t).then((o) => o(this.axios, this.basePath));
|
|
2346
2350
|
}
|
|
2347
2351
|
/**
|
|
2348
2352
|
* Retrieves a list of all Malloy models within the specified package. Each model entry includes the relative path, package name, and any compilation errors. This endpoint is useful for discovering available models and checking their status.
|
|
@@ -2355,7 +2359,7 @@ class xe extends I {
|
|
|
2355
2359
|
* @memberof ModelsApi
|
|
2356
2360
|
*/
|
|
2357
2361
|
listModels(n, e, r, a) {
|
|
2358
|
-
return
|
|
2362
|
+
return E(this.configuration).listModels(n, e, r, a).then((t) => t(this.axios, this.basePath));
|
|
2359
2363
|
}
|
|
2360
2364
|
}
|
|
2361
2365
|
const Ae = function(l) {
|
|
@@ -2482,7 +2486,7 @@ const Ae = function(l) {
|
|
|
2482
2486
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2483
2487
|
}
|
|
2484
2488
|
};
|
|
2485
|
-
},
|
|
2489
|
+
}, qa = function(l, n, e) {
|
|
2486
2490
|
const r = Q(l);
|
|
2487
2491
|
return {
|
|
2488
2492
|
/**
|
|
@@ -2576,7 +2580,7 @@ class Re extends I {
|
|
|
2576
2580
|
return Q(this.configuration).listNotebooks(n, e, r, a).then((t) => t(this.axios, this.basePath));
|
|
2577
2581
|
}
|
|
2578
2582
|
}
|
|
2579
|
-
const
|
|
2583
|
+
const La = {
|
|
2580
2584
|
True: "true",
|
|
2581
2585
|
False: "false"
|
|
2582
2586
|
}, Ne = function(l) {
|
|
@@ -2667,7 +2671,7 @@ const qa = {
|
|
|
2667
2671
|
};
|
|
2668
2672
|
},
|
|
2669
2673
|
/**
|
|
2670
|
-
* 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
|
|
2674
|
+
* 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 are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
2671
2675
|
* @summary Update package configuration
|
|
2672
2676
|
* @param {string} environmentName Name of the environment
|
|
2673
2677
|
* @param {string} packageName Name of the package
|
|
@@ -2742,7 +2746,7 @@ const qa = {
|
|
|
2742
2746
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
2743
2747
|
},
|
|
2744
2748
|
/**
|
|
2745
|
-
* 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
|
|
2749
|
+
* 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 are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
2746
2750
|
* @summary Update package configuration
|
|
2747
2751
|
* @param {string} environmentName Name of the environment
|
|
2748
2752
|
* @param {string} packageName Name of the package
|
|
@@ -2755,7 +2759,7 @@ const qa = {
|
|
|
2755
2759
|
return (i, d) => V(o, h, u, l)(i, c || d);
|
|
2756
2760
|
}
|
|
2757
2761
|
};
|
|
2758
|
-
},
|
|
2762
|
+
}, ja = function(l, n, e) {
|
|
2759
2763
|
const r = T(l);
|
|
2760
2764
|
return {
|
|
2761
2765
|
/**
|
|
@@ -2804,7 +2808,7 @@ const qa = {
|
|
|
2804
2808
|
return r.listPackages(a, t).then((o) => o(e, n));
|
|
2805
2809
|
},
|
|
2806
2810
|
/**
|
|
2807
|
-
* 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
|
|
2811
|
+
* 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 are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
2808
2812
|
* @summary Update package configuration
|
|
2809
2813
|
* @param {string} environmentName Name of the environment
|
|
2810
2814
|
* @param {string} packageName Name of the package
|
|
@@ -2868,7 +2872,7 @@ class Te extends I {
|
|
|
2868
2872
|
return T(this.configuration).listPackages(n, e).then((r) => r(this.axios, this.basePath));
|
|
2869
2873
|
}
|
|
2870
2874
|
/**
|
|
2871
|
-
* 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
|
|
2875
|
+
* 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 are preserved when omitted: `scope`, which is a top-level field and not expressible in the block at all, and `queryMetadata`, which is orthogonal to the schedule and freshness policy this call usually carries — a client setting a schedule has no reason to re-send the package\'s tags, and dropping them silently untags every statement the package issues. `queryMetadata` has two homes: the top-level field, which is canonical, and `materialization.queryMetadata`, which is DEPRECATED and still accepted. The canonical field wins if a request sends both, and both are populated on read. At EITHER home, omitting it preserves the package\'s tags and so does sending null — a client that serializes unset fields as null must not untag a package by accident. Send an empty object to clear.
|
|
2872
2876
|
* @summary Update package configuration
|
|
2873
2877
|
* @param {string} environmentName Name of the environment
|
|
2874
2878
|
* @param {string} packageName Name of the package
|
|
@@ -2958,7 +2962,7 @@ const Ue = function(l) {
|
|
|
2958
2962
|
};
|
|
2959
2963
|
}
|
|
2960
2964
|
};
|
|
2961
|
-
},
|
|
2965
|
+
}, w = function(l) {
|
|
2962
2966
|
const n = Ue(l);
|
|
2963
2967
|
return {
|
|
2964
2968
|
/**
|
|
@@ -3003,8 +3007,8 @@ const Ue = function(l) {
|
|
|
3003
3007
|
return (s, c) => V(a, h, u, l)(s, o || c);
|
|
3004
3008
|
}
|
|
3005
3009
|
};
|
|
3006
|
-
},
|
|
3007
|
-
const r =
|
|
3010
|
+
}, Da = function(l, n, e) {
|
|
3011
|
+
const r = w(l);
|
|
3008
3012
|
return {
|
|
3009
3013
|
/**
|
|
3010
3014
|
* Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
|
|
@@ -3045,7 +3049,7 @@ const Ue = function(l) {
|
|
|
3045
3049
|
}
|
|
3046
3050
|
};
|
|
3047
3051
|
};
|
|
3048
|
-
class
|
|
3052
|
+
class Ee extends I {
|
|
3049
3053
|
/**
|
|
3050
3054
|
* Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
|
|
3051
3055
|
* @summary Reset the instance theme to the boot seed or default
|
|
@@ -3054,7 +3058,7 @@ class we extends I {
|
|
|
3054
3058
|
* @memberof PublisherApi
|
|
3055
3059
|
*/
|
|
3056
3060
|
deleteTheme(n) {
|
|
3057
|
-
return
|
|
3061
|
+
return w(this.configuration).deleteTheme(n).then((e) => e(this.axios, this.basePath));
|
|
3058
3062
|
}
|
|
3059
3063
|
/**
|
|
3060
3064
|
* Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
|
|
@@ -3064,7 +3068,7 @@ class we extends I {
|
|
|
3064
3068
|
* @memberof PublisherApi
|
|
3065
3069
|
*/
|
|
3066
3070
|
getStatus(n) {
|
|
3067
|
-
return
|
|
3071
|
+
return w(this.configuration).getStatus(n).then((e) => e(this.axios, this.basePath));
|
|
3068
3072
|
}
|
|
3069
3073
|
/**
|
|
3070
3074
|
* Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
|
|
@@ -3074,7 +3078,7 @@ class we extends I {
|
|
|
3074
3078
|
* @memberof PublisherApi
|
|
3075
3079
|
*/
|
|
3076
3080
|
getTheme(n) {
|
|
3077
|
-
return
|
|
3081
|
+
return w(this.configuration).getTheme(n).then((e) => e(this.axios, this.basePath));
|
|
3078
3082
|
}
|
|
3079
3083
|
/**
|
|
3080
3084
|
* Persists the supplied theme as the new instance theme. Returns the saved theme. Rejected with 403 when publisher.config.json has frozenConfig=true.
|
|
@@ -3085,10 +3089,10 @@ class we extends I {
|
|
|
3085
3089
|
* @memberof PublisherApi
|
|
3086
3090
|
*/
|
|
3087
3091
|
updateTheme(n, e) {
|
|
3088
|
-
return
|
|
3092
|
+
return w(this.configuration).updateTheme(n, e).then((r) => r(this.axios, this.basePath));
|
|
3089
3093
|
}
|
|
3090
3094
|
}
|
|
3091
|
-
const
|
|
3095
|
+
const we = function(l) {
|
|
3092
3096
|
return {
|
|
3093
3097
|
/**
|
|
3094
3098
|
* Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
|
|
@@ -3169,7 +3173,7 @@ const Ee = function(l) {
|
|
|
3169
3173
|
}
|
|
3170
3174
|
};
|
|
3171
3175
|
}, M = function(l) {
|
|
3172
|
-
const n =
|
|
3176
|
+
const n = we(l);
|
|
3173
3177
|
return {
|
|
3174
3178
|
/**
|
|
3175
3179
|
* Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
|
|
@@ -3215,7 +3219,7 @@ const Ee = function(l) {
|
|
|
3215
3219
|
return (c, i) => V(t, h, u, l)(c, s || i);
|
|
3216
3220
|
}
|
|
3217
3221
|
};
|
|
3218
|
-
},
|
|
3222
|
+
}, Ha = function(l, n, e) {
|
|
3219
3223
|
const r = M(l);
|
|
3220
3224
|
return {
|
|
3221
3225
|
/**
|
|
@@ -3391,21 +3395,21 @@ const B = {
|
|
|
3391
3395
|
// right wing of the M (semantic models)
|
|
3392
3396
|
darkBlue: "#1474a4"
|
|
3393
3397
|
// deep shadow of the M (package data)
|
|
3394
|
-
},
|
|
3398
|
+
}, Wa = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', _a = k(Y)({
|
|
3395
3399
|
display: "flex",
|
|
3396
3400
|
flexDirection: "column",
|
|
3397
3401
|
height: "100%",
|
|
3398
3402
|
boxShadow: "none",
|
|
3399
3403
|
border: "none",
|
|
3400
3404
|
backgroundColor: "transparent"
|
|
3401
|
-
}),
|
|
3405
|
+
}), Ga = k(J)({
|
|
3402
3406
|
display: "flex",
|
|
3403
3407
|
flexDirection: "column",
|
|
3404
3408
|
padding: "0",
|
|
3405
3409
|
flexGrow: 1
|
|
3406
|
-
}),
|
|
3410
|
+
}), Ya = k(me)({
|
|
3407
3411
|
padding: "0"
|
|
3408
|
-
}),
|
|
3412
|
+
}), Ja = k("div")(({ theme: l }) => ({
|
|
3409
3413
|
backgroundColor: l.palette.background.default,
|
|
3410
3414
|
padding: "0 8px 0px 8px",
|
|
3411
3415
|
borderRadius: "12px",
|
|
@@ -3419,19 +3423,19 @@ k("div")(({ theme: l }) => ({
|
|
|
3419
3423
|
paddingBottom: "24px",
|
|
3420
3424
|
borderBottom: `1px solid ${l.palette.divider}`
|
|
3421
3425
|
}));
|
|
3422
|
-
const
|
|
3426
|
+
const Ka = k("div")({
|
|
3423
3427
|
marginBottom: "48px",
|
|
3424
3428
|
padding: "0",
|
|
3425
3429
|
backgroundColor: "transparent",
|
|
3426
3430
|
border: "none",
|
|
3427
3431
|
boxShadow: "none"
|
|
3428
|
-
}),
|
|
3432
|
+
}), Xa = k("div")({
|
|
3429
3433
|
marginBottom: "0",
|
|
3430
3434
|
padding: "0",
|
|
3431
3435
|
backgroundColor: "transparent",
|
|
3432
3436
|
border: "none",
|
|
3433
3437
|
boxShadow: "none"
|
|
3434
|
-
}),
|
|
3438
|
+
}), Za = k("div")({
|
|
3435
3439
|
backgroundColor: "transparent",
|
|
3436
3440
|
paddingTop: "12px",
|
|
3437
3441
|
paddingBottom: "2px",
|
|
@@ -3461,7 +3465,7 @@ k("div")(({ theme: l }) => ({
|
|
|
3461
3465
|
justifyContent: "space-between",
|
|
3462
3466
|
alignItems: "center"
|
|
3463
3467
|
}));
|
|
3464
|
-
const
|
|
3468
|
+
const et = k("div")({
|
|
3465
3469
|
height: "100%"
|
|
3466
3470
|
});
|
|
3467
3471
|
k("div")({
|
|
@@ -3471,7 +3475,7 @@ k("div")({
|
|
|
3471
3475
|
padding: "4px",
|
|
3472
3476
|
alignItems: "center"
|
|
3473
3477
|
});
|
|
3474
|
-
const
|
|
3478
|
+
const at = k("div")({
|
|
3475
3479
|
height: "75vh",
|
|
3476
3480
|
width: "100%",
|
|
3477
3481
|
overflowY: "auto"
|
|
@@ -3481,7 +3485,7 @@ k("div")({
|
|
|
3481
3485
|
height: "100%",
|
|
3482
3486
|
flex: "0 0 auto"
|
|
3483
3487
|
});
|
|
3484
|
-
const
|
|
3488
|
+
const tt = k(Y)(({ theme: l }) => ({
|
|
3485
3489
|
backgroundColor: l.palette.background.paper,
|
|
3486
3490
|
padding: "24px",
|
|
3487
3491
|
borderRadius: "8px",
|
|
@@ -3492,12 +3496,12 @@ const at = k(Y)(({ theme: l }) => ({
|
|
|
3492
3496
|
"&:hover": {
|
|
3493
3497
|
boxShadow: "0 2px 6px rgba(0, 0, 0, 0.08)"
|
|
3494
3498
|
}
|
|
3495
|
-
})),
|
|
3499
|
+
})), nt = k(J)({
|
|
3496
3500
|
padding: "0",
|
|
3497
3501
|
"&:last-child": {
|
|
3498
3502
|
paddingBottom: "0"
|
|
3499
3503
|
}
|
|
3500
|
-
}),
|
|
3504
|
+
}), rt = k("div")(({ theme: l }) => ({
|
|
3501
3505
|
fontSize: "0.875rem",
|
|
3502
3506
|
fontWeight: 500,
|
|
3503
3507
|
color: l.palette.text.secondary,
|
|
@@ -3659,7 +3663,7 @@ function $e({
|
|
|
3659
3663
|
);
|
|
3660
3664
|
return /* @__PURE__ */ F(ae.Provider, { value: s, children: t });
|
|
3661
3665
|
}
|
|
3662
|
-
function
|
|
3666
|
+
function ot() {
|
|
3663
3667
|
const l = G(ae);
|
|
3664
3668
|
return l || {
|
|
3665
3669
|
theme: ee([], "light"),
|
|
@@ -3682,7 +3686,7 @@ const qe = new le({
|
|
|
3682
3686
|
throwOnError: !1
|
|
3683
3687
|
}
|
|
3684
3688
|
}
|
|
3685
|
-
}),
|
|
3689
|
+
}), st = {
|
|
3686
3690
|
staleTime: 300 * 1e3,
|
|
3687
3691
|
refetchOnWindowFocus: !1,
|
|
3688
3692
|
refetchOnReconnect: !1
|
|
@@ -3719,7 +3723,7 @@ const te = _(void 0), He = (l, n) => {
|
|
|
3719
3723
|
const a = new fe({ basePath: e });
|
|
3720
3724
|
return {
|
|
3721
3725
|
models: new xe(a, e, r),
|
|
3722
|
-
publisher: new
|
|
3726
|
+
publisher: new Ee(a, e, r),
|
|
3723
3727
|
environments: new ye(a, e, r),
|
|
3724
3728
|
packages: new Te(a, e, r),
|
|
3725
3729
|
dataApps: new be(a, e, r),
|
|
@@ -3733,7 +3737,7 @@ const te = _(void 0), He = (l, n) => {
|
|
|
3733
3737
|
),
|
|
3734
3738
|
watchMode: new Me(a, e, r)
|
|
3735
3739
|
};
|
|
3736
|
-
},
|
|
3740
|
+
}, lt = (l) => /* @__PURE__ */ F(ce, { client: qe, children: /* @__PURE__ */ F(We, { ...l }) }), We = ({
|
|
3737
3741
|
children: l,
|
|
3738
3742
|
getAccessToken: n,
|
|
3739
3743
|
baseURL: e,
|
|
@@ -3790,115 +3794,116 @@ const te = _(void 0), He = (l, n) => {
|
|
|
3790
3794
|
children: l
|
|
3791
3795
|
}
|
|
3792
3796
|
) });
|
|
3793
|
-
},
|
|
3797
|
+
}, ct = () => {
|
|
3794
3798
|
const l = G(te);
|
|
3795
3799
|
if (l === void 0)
|
|
3796
3800
|
throw new Error("useServer must be used within a ServerProvider");
|
|
3797
3801
|
return l;
|
|
3798
3802
|
};
|
|
3799
3803
|
export {
|
|
3800
|
-
|
|
3804
|
+
Se as $,
|
|
3801
3805
|
Xe as A,
|
|
3802
|
-
|
|
3806
|
+
Ea as B,
|
|
3803
3807
|
ea as C,
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3808
|
+
sa as D,
|
|
3809
|
+
ge as E,
|
|
3810
|
+
ca as F,
|
|
3811
|
+
da as G,
|
|
3812
|
+
Pe as H,
|
|
3813
|
+
K as I,
|
|
3814
|
+
wa as J,
|
|
3815
|
+
Ma as K,
|
|
3816
|
+
pa as L,
|
|
3817
|
+
ha as M,
|
|
3818
|
+
va as N,
|
|
3819
|
+
ve as O,
|
|
3820
|
+
Va as P,
|
|
3821
|
+
Ia as Q,
|
|
3822
|
+
Ra as R,
|
|
3823
|
+
lt as S,
|
|
3824
|
+
Ua as T,
|
|
3825
|
+
X as U,
|
|
3826
|
+
fa as V,
|
|
3827
|
+
be as W,
|
|
3828
|
+
Ve as X,
|
|
3829
|
+
Z as Y,
|
|
3830
|
+
Ba as Z,
|
|
3831
|
+
Oe as _,
|
|
3828
3832
|
Ze as a,
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3833
|
+
N as a0,
|
|
3834
|
+
Fa as a1,
|
|
3835
|
+
ye as a2,
|
|
3836
|
+
ke as a3,
|
|
3837
|
+
A as a4,
|
|
3838
|
+
Qa as a5,
|
|
3839
|
+
Ce as a6,
|
|
3840
|
+
za as a7,
|
|
3841
|
+
Ie as a8,
|
|
3842
|
+
E as a9,
|
|
3843
|
+
Wa as aA,
|
|
3840
3844
|
tt as aB,
|
|
3841
3845
|
nt as aC,
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3846
|
+
rt as aD,
|
|
3847
|
+
B as aE,
|
|
3848
|
+
st as aF,
|
|
3845
3849
|
Xa as aG,
|
|
3846
|
-
|
|
3850
|
+
Za as aH,
|
|
3847
3851
|
Ja as aI,
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
qa as
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3852
|
+
Ka as aJ,
|
|
3853
|
+
Qe as aK,
|
|
3854
|
+
ee as aL,
|
|
3855
|
+
W as aM,
|
|
3856
|
+
ze as aN,
|
|
3857
|
+
$e as aO,
|
|
3858
|
+
$a as aa,
|
|
3859
|
+
xe as ab,
|
|
3860
|
+
Ae as ac,
|
|
3861
|
+
Q as ad,
|
|
3862
|
+
qa as ae,
|
|
3863
|
+
Re as af,
|
|
3864
|
+
La as ag,
|
|
3865
|
+
Ne as ah,
|
|
3866
|
+
T as ai,
|
|
3867
|
+
ja as aj,
|
|
3868
|
+
Te as ak,
|
|
3869
|
+
Ue as al,
|
|
3870
|
+
w as am,
|
|
3871
|
+
Da as an,
|
|
3867
3872
|
Ee as ao,
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3873
|
+
we as ap,
|
|
3874
|
+
M as aq,
|
|
3875
|
+
Ha as ar,
|
|
3876
|
+
Me as as,
|
|
3877
|
+
fe as at,
|
|
3878
|
+
Ya as au,
|
|
3874
3879
|
et as av,
|
|
3875
|
-
|
|
3876
|
-
|
|
3880
|
+
at as aw,
|
|
3881
|
+
ot as ax,
|
|
3877
3882
|
_a as ay,
|
|
3878
|
-
|
|
3883
|
+
Ga as az,
|
|
3879
3884
|
aa as b,
|
|
3880
3885
|
ta as c,
|
|
3881
3886
|
na as d,
|
|
3882
3887
|
ra as e,
|
|
3883
|
-
|
|
3888
|
+
oa as f,
|
|
3884
3889
|
qe as g,
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3890
|
+
la as h,
|
|
3891
|
+
ia as i,
|
|
3892
|
+
ma as j,
|
|
3888
3893
|
ua as k,
|
|
3889
3894
|
ga as l,
|
|
3890
|
-
|
|
3891
|
-
|
|
3895
|
+
Pa as m,
|
|
3896
|
+
ba as n,
|
|
3892
3897
|
Oa as o,
|
|
3893
3898
|
Sa as p,
|
|
3894
3899
|
ya as q,
|
|
3895
3900
|
ka as r,
|
|
3896
|
-
|
|
3901
|
+
Ca as s,
|
|
3897
3902
|
xa as t,
|
|
3898
|
-
|
|
3899
|
-
|
|
3903
|
+
ct as u,
|
|
3904
|
+
Aa as v,
|
|
3900
3905
|
Na as w,
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3906
|
+
Ta as x,
|
|
3907
|
+
ue as y,
|
|
3908
|
+
S as z
|
|
3904
3909
|
};
|