@malloy-publisher/sdk 0.10.0 → 0.10.1
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/{RenderedResult-DiDsN6JE.es.js → RenderedResult-vf6tu8tf.es.js} +2 -2
- package/dist/{ServerProvider-D7neZcTk.es.js → ServerProvider-B6RLAbgV.es.js} +48 -24
- package/dist/builder/index.es.js +3 -3
- package/dist/client/api.d.ts +64 -28
- package/dist/client/index.es.js +1 -1
- package/dist/index.es.js +5 -5
- package/dist/{useCompiledDocument-CRmmbUza.es.js → useCompiledDocument-CLbTFtsJ.es.js} +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as M } from "react/jsx-runtime";
|
|
2
2
|
import { Box as ie } from "@mui/material";
|
|
3
3
|
import { Suspense as pe, useRef as z, useCallback as ge, useMemo as ve, useEffect as we, useLayoutEffect as ke } from "react";
|
|
4
|
-
import { r as xe, a as he, D as Ce, b as Y, T as H, l as Re, c as Ee, d as Te, e as _e, m as Ae, f as Se, g as se } from "./useCompiledDocument-
|
|
5
|
-
import { ba as De, b8 as Oe, bb as Fe, bc as ze } from "./ServerProvider-
|
|
4
|
+
import { r as xe, a as he, D as Ce, b as Y, T as H, l as Re, c as Ee, d as Te, e as _e, m as Ae, f as Se, g as se } from "./useCompiledDocument-CLbTFtsJ.es.js";
|
|
5
|
+
import { ba as De, b8 as Oe, bb as Fe, bc as ze } from "./ServerProvider-B6RLAbgV.es.js";
|
|
6
6
|
const v = xe.drillCell;
|
|
7
7
|
function Me(e, t) {
|
|
8
8
|
const a = /* @__PURE__ */ new Set();
|
|
@@ -4180,12 +4180,13 @@ class rn extends C {
|
|
|
4180
4180
|
const da = function(c) {
|
|
4181
4181
|
return {
|
|
4182
4182
|
/**
|
|
4183
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4183
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4184
4184
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
4185
4185
|
* @param {string} environmentName Name of the environment
|
|
4186
4186
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4187
4187
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
4188
4188
|
* @param {*} [options] Override http request option.
|
|
4189
|
+
* @deprecated
|
|
4189
4190
|
* @throws {RequiredError}
|
|
4190
4191
|
*/
|
|
4191
4192
|
createStorageDestinationFileCleanup: async (n, e, t, a = {}) => {
|
|
@@ -4202,13 +4203,14 @@ const da = function(c) {
|
|
|
4202
4203
|
};
|
|
4203
4204
|
},
|
|
4204
4205
|
/**
|
|
4205
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4206
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4206
4207
|
* @summary Drop a table from a storage destination
|
|
4207
4208
|
* @param {string} environmentName Name of the environment
|
|
4208
4209
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4209
4210
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4210
4211
|
* @param {string} tableName Name of the table
|
|
4211
4212
|
* @param {*} [options] Override http request option.
|
|
4213
|
+
* @deprecated
|
|
4212
4214
|
* @throws {RequiredError}
|
|
4213
4215
|
*/
|
|
4214
4216
|
deleteStorageDestinationTable: async (n, e, t, a, r = {}) => {
|
|
@@ -4225,12 +4227,13 @@ const da = function(c) {
|
|
|
4225
4227
|
};
|
|
4226
4228
|
},
|
|
4227
4229
|
/**
|
|
4228
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4230
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4229
4231
|
* @summary List tables in a storage destination
|
|
4230
4232
|
* @param {string} environmentName Name of the environment
|
|
4231
4233
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4232
4234
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4233
4235
|
* @param {*} [options] Override http request option.
|
|
4236
|
+
* @deprecated
|
|
4234
4237
|
* @throws {RequiredError}
|
|
4235
4238
|
*/
|
|
4236
4239
|
listStorageDestinationTables: async (n, e, t, a = {}) => {
|
|
@@ -4251,12 +4254,13 @@ const da = function(c) {
|
|
|
4251
4254
|
const n = da(c);
|
|
4252
4255
|
return {
|
|
4253
4256
|
/**
|
|
4254
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4257
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4255
4258
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
4256
4259
|
* @param {string} environmentName Name of the environment
|
|
4257
4260
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4258
4261
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
4259
4262
|
* @param {*} [options] Override http request option.
|
|
4263
|
+
* @deprecated
|
|
4260
4264
|
* @throws {RequiredError}
|
|
4261
4265
|
*/
|
|
4262
4266
|
async createStorageDestinationFileCleanup(e, t, a, r) {
|
|
@@ -4264,13 +4268,14 @@ const da = function(c) {
|
|
|
4264
4268
|
return (i, p) => V(o, u, g, c)(i, l || p);
|
|
4265
4269
|
},
|
|
4266
4270
|
/**
|
|
4267
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4271
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4268
4272
|
* @summary Drop a table from a storage destination
|
|
4269
4273
|
* @param {string} environmentName Name of the environment
|
|
4270
4274
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4271
4275
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4272
4276
|
* @param {string} tableName Name of the table
|
|
4273
4277
|
* @param {*} [options] Override http request option.
|
|
4278
|
+
* @deprecated
|
|
4274
4279
|
* @throws {RequiredError}
|
|
4275
4280
|
*/
|
|
4276
4281
|
async deleteStorageDestinationTable(e, t, a, r, o) {
|
|
@@ -4278,12 +4283,13 @@ const da = function(c) {
|
|
|
4278
4283
|
return (p, d) => V(s, u, g, c)(p, i || d);
|
|
4279
4284
|
},
|
|
4280
4285
|
/**
|
|
4281
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4286
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4282
4287
|
* @summary List tables in a storage destination
|
|
4283
4288
|
* @param {string} environmentName Name of the environment
|
|
4284
4289
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4285
4290
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4286
4291
|
* @param {*} [options] Override http request option.
|
|
4292
|
+
* @deprecated
|
|
4287
4293
|
* @throws {RequiredError}
|
|
4288
4294
|
*/
|
|
4289
4295
|
async listStorageDestinationTables(e, t, a, r) {
|
|
@@ -4295,37 +4301,40 @@ const da = function(c) {
|
|
|
4295
4301
|
const t = H(c);
|
|
4296
4302
|
return {
|
|
4297
4303
|
/**
|
|
4298
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4304
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4299
4305
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
4300
4306
|
* @param {string} environmentName Name of the environment
|
|
4301
4307
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4302
4308
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
4303
4309
|
* @param {*} [options] Override http request option.
|
|
4310
|
+
* @deprecated
|
|
4304
4311
|
* @throws {RequiredError}
|
|
4305
4312
|
*/
|
|
4306
4313
|
createStorageDestinationFileCleanup(a, r, o, s) {
|
|
4307
4314
|
return t.createStorageDestinationFileCleanup(a, r, o, s).then((l) => l(e, n));
|
|
4308
4315
|
},
|
|
4309
4316
|
/**
|
|
4310
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4317
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4311
4318
|
* @summary Drop a table from a storage destination
|
|
4312
4319
|
* @param {string} environmentName Name of the environment
|
|
4313
4320
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4314
4321
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4315
4322
|
* @param {string} tableName Name of the table
|
|
4316
4323
|
* @param {*} [options] Override http request option.
|
|
4324
|
+
* @deprecated
|
|
4317
4325
|
* @throws {RequiredError}
|
|
4318
4326
|
*/
|
|
4319
4327
|
deleteStorageDestinationTable(a, r, o, s, l) {
|
|
4320
4328
|
return t.deleteStorageDestinationTable(a, r, o, s, l).then((i) => i(e, n));
|
|
4321
4329
|
},
|
|
4322
4330
|
/**
|
|
4323
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4331
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4324
4332
|
* @summary List tables in a storage destination
|
|
4325
4333
|
* @param {string} environmentName Name of the environment
|
|
4326
4334
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4327
4335
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4328
4336
|
* @param {*} [options] Override http request option.
|
|
4337
|
+
* @deprecated
|
|
4329
4338
|
* @throws {RequiredError}
|
|
4330
4339
|
*/
|
|
4331
4340
|
listStorageDestinationTables(a, r, o, s) {
|
|
@@ -4335,37 +4344,40 @@ const da = function(c) {
|
|
|
4335
4344
|
};
|
|
4336
4345
|
class sn extends C {
|
|
4337
4346
|
/**
|
|
4338
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4347
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
4339
4348
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
4340
4349
|
* @param {string} environmentName Name of the environment
|
|
4341
4350
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4342
4351
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
4343
4352
|
* @param {*} [options] Override http request option.
|
|
4353
|
+
* @deprecated
|
|
4344
4354
|
* @throws {RequiredError}
|
|
4345
4355
|
*/
|
|
4346
4356
|
createStorageDestinationFileCleanup(n, e, t, a) {
|
|
4347
4357
|
return H(this.configuration).createStorageDestinationFileCleanup(n, e, t, a).then((r) => r(this.axios, this.basePath));
|
|
4348
4358
|
}
|
|
4349
4359
|
/**
|
|
4350
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4360
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
4351
4361
|
* @summary Drop a table from a storage destination
|
|
4352
4362
|
* @param {string} environmentName Name of the environment
|
|
4353
4363
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4354
4364
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4355
4365
|
* @param {string} tableName Name of the table
|
|
4356
4366
|
* @param {*} [options] Override http request option.
|
|
4367
|
+
* @deprecated
|
|
4357
4368
|
* @throws {RequiredError}
|
|
4358
4369
|
*/
|
|
4359
4370
|
deleteStorageDestinationTable(n, e, t, a, r) {
|
|
4360
4371
|
return H(this.configuration).deleteStorageDestinationTable(n, e, t, a, r).then((o) => o(this.axios, this.basePath));
|
|
4361
4372
|
}
|
|
4362
4373
|
/**
|
|
4363
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4374
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
4364
4375
|
* @summary List tables in a storage destination
|
|
4365
4376
|
* @param {string} environmentName Name of the environment
|
|
4366
4377
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
4367
4378
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
4368
4379
|
* @param {*} [options] Override http request option.
|
|
4380
|
+
* @deprecated
|
|
4369
4381
|
* @throws {RequiredError}
|
|
4370
4382
|
*/
|
|
4371
4383
|
listStorageDestinationTables(n, e, t, a) {
|
|
@@ -4375,9 +4387,10 @@ class sn extends C {
|
|
|
4375
4387
|
const ma = function(c) {
|
|
4376
4388
|
return {
|
|
4377
4389
|
/**
|
|
4378
|
-
* 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.
|
|
4390
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
4379
4391
|
* @summary Get watch mode status
|
|
4380
4392
|
* @param {*} [options] Override http request option.
|
|
4393
|
+
* @deprecated
|
|
4381
4394
|
* @throws {RequiredError}
|
|
4382
4395
|
*/
|
|
4383
4396
|
getWatchStatus: async (n = {}) => {
|
|
@@ -4393,10 +4406,11 @@ const ma = function(c) {
|
|
|
4393
4406
|
};
|
|
4394
4407
|
},
|
|
4395
4408
|
/**
|
|
4396
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4409
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4397
4410
|
* @summary Start file watching
|
|
4398
4411
|
* @param {StartWatchRequest} startWatchRequest
|
|
4399
4412
|
* @param {*} [options] Override http request option.
|
|
4413
|
+
* @deprecated
|
|
4400
4414
|
* @throws {RequiredError}
|
|
4401
4415
|
*/
|
|
4402
4416
|
startWatching: async (n, e = {}) => {
|
|
@@ -4413,9 +4427,10 @@ const ma = function(c) {
|
|
|
4413
4427
|
};
|
|
4414
4428
|
},
|
|
4415
4429
|
/**
|
|
4416
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4430
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4417
4431
|
* @summary Stop file watching
|
|
4418
4432
|
* @param {*} [options] Override http request option.
|
|
4433
|
+
* @deprecated
|
|
4419
4434
|
* @throws {RequiredError}
|
|
4420
4435
|
*/
|
|
4421
4436
|
stopWatching: async (n = {}) => {
|
|
@@ -4456,9 +4471,10 @@ const ma = function(c) {
|
|
|
4456
4471
|
const n = ma(c);
|
|
4457
4472
|
return {
|
|
4458
4473
|
/**
|
|
4459
|
-
* 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.
|
|
4474
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
4460
4475
|
* @summary Get watch mode status
|
|
4461
4476
|
* @param {*} [options] Override http request option.
|
|
4477
|
+
* @deprecated
|
|
4462
4478
|
* @throws {RequiredError}
|
|
4463
4479
|
*/
|
|
4464
4480
|
async getWatchStatus(e) {
|
|
@@ -4466,10 +4482,11 @@ const ma = function(c) {
|
|
|
4466
4482
|
return (o, s) => V(t, u, g, c)(o, r || s);
|
|
4467
4483
|
},
|
|
4468
4484
|
/**
|
|
4469
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4485
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4470
4486
|
* @summary Start file watching
|
|
4471
4487
|
* @param {StartWatchRequest} startWatchRequest
|
|
4472
4488
|
* @param {*} [options] Override http request option.
|
|
4489
|
+
* @deprecated
|
|
4473
4490
|
* @throws {RequiredError}
|
|
4474
4491
|
*/
|
|
4475
4492
|
async startWatching(e, t) {
|
|
@@ -4477,9 +4494,10 @@ const ma = function(c) {
|
|
|
4477
4494
|
return (s, l) => V(a, u, g, c)(s, o || l);
|
|
4478
4495
|
},
|
|
4479
4496
|
/**
|
|
4480
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4497
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4481
4498
|
* @summary Stop file watching
|
|
4482
4499
|
* @param {*} [options] Override http request option.
|
|
4500
|
+
* @deprecated
|
|
4483
4501
|
* @throws {RequiredError}
|
|
4484
4502
|
*/
|
|
4485
4503
|
async stopWatching(e) {
|
|
@@ -4503,28 +4521,31 @@ const ma = function(c) {
|
|
|
4503
4521
|
const t = j(c);
|
|
4504
4522
|
return {
|
|
4505
4523
|
/**
|
|
4506
|
-
* 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.
|
|
4524
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
4507
4525
|
* @summary Get watch mode status
|
|
4508
4526
|
* @param {*} [options] Override http request option.
|
|
4527
|
+
* @deprecated
|
|
4509
4528
|
* @throws {RequiredError}
|
|
4510
4529
|
*/
|
|
4511
4530
|
getWatchStatus(a) {
|
|
4512
4531
|
return t.getWatchStatus(a).then((r) => r(e, n));
|
|
4513
4532
|
},
|
|
4514
4533
|
/**
|
|
4515
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4534
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4516
4535
|
* @summary Start file watching
|
|
4517
4536
|
* @param {StartWatchRequest} startWatchRequest
|
|
4518
4537
|
* @param {*} [options] Override http request option.
|
|
4538
|
+
* @deprecated
|
|
4519
4539
|
* @throws {RequiredError}
|
|
4520
4540
|
*/
|
|
4521
4541
|
startWatching(a, r) {
|
|
4522
4542
|
return t.startWatching(a, r).then((o) => o(e, n));
|
|
4523
4543
|
},
|
|
4524
4544
|
/**
|
|
4525
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4545
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4526
4546
|
* @summary Stop file watching
|
|
4527
4547
|
* @param {*} [options] Override http request option.
|
|
4548
|
+
* @deprecated
|
|
4528
4549
|
* @throws {RequiredError}
|
|
4529
4550
|
*/
|
|
4530
4551
|
stopWatching(a) {
|
|
@@ -4545,28 +4566,31 @@ const ma = function(c) {
|
|
|
4545
4566
|
};
|
|
4546
4567
|
class ha extends C {
|
|
4547
4568
|
/**
|
|
4548
|
-
* 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.
|
|
4569
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
4549
4570
|
* @summary Get watch mode status
|
|
4550
4571
|
* @param {*} [options] Override http request option.
|
|
4572
|
+
* @deprecated
|
|
4551
4573
|
* @throws {RequiredError}
|
|
4552
4574
|
*/
|
|
4553
4575
|
getWatchStatus(n) {
|
|
4554
4576
|
return j(this.configuration).getWatchStatus(n).then((e) => e(this.axios, this.basePath));
|
|
4555
4577
|
}
|
|
4556
4578
|
/**
|
|
4557
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4579
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
4558
4580
|
* @summary Start file watching
|
|
4559
4581
|
* @param {StartWatchRequest} startWatchRequest
|
|
4560
4582
|
* @param {*} [options] Override http request option.
|
|
4583
|
+
* @deprecated
|
|
4561
4584
|
* @throws {RequiredError}
|
|
4562
4585
|
*/
|
|
4563
4586
|
startWatching(n, e) {
|
|
4564
4587
|
return j(this.configuration).startWatching(n, e).then((t) => t(this.axios, this.basePath));
|
|
4565
4588
|
}
|
|
4566
4589
|
/**
|
|
4567
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4590
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
4568
4591
|
* @summary Stop file watching
|
|
4569
4592
|
* @param {*} [options] Override http request option.
|
|
4593
|
+
* @deprecated
|
|
4570
4594
|
* @throws {RequiredError}
|
|
4571
4595
|
*/
|
|
4572
4596
|
stopWatching(n) {
|
package/dist/builder/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _, jsxs as L, Fragment as Fe } from "react/jsx-runtime";
|
|
2
|
-
import { M as lp, h as cp, i as di, P as Oa, j as Wi, G as bt, k as ui, n as wt, o as at, r as lt, p as gn, C as zi, E as Ca, q as Ni, A as $o, S as dp, s as up, t as Da, V as fp, u as hp, v as pp, w as gp, x as mp, y as vp, z as yp, B as bp, F as dd, H as wp, I as xp, J as dn, U as _p, K as On, L as kp, l as ud, N as Ma, O as Sp, Q as $p, R as Nn, W as jl, X as es, Y as nr, Z as fd, _ as Ep, $ as Tp, a0 as hd, a1 as Hl, a2 as to, a3 as pd, a4 as Op, a5 as Cp, a6 as gd, a7 as Dp, a8 as Mp, a9 as _s, aa as ks, ab as Ip, ac as Ss, ad as Ap, ae as md, af as Pp, ag as Rp, ah as Lp, ai as Wp, aj as zp, ak as rn, al as Np, am as $s, an as Fp, ao as Bp, ap as jp, aq as vd, ar as Hp, as as Gp, at as qp, au as Up, av as Kp, aw as Vp, ax as Yp, ay as Xp, az as Qp, aA as Ia, aB as Zp, aC as Jp, aD as eg, aE as tg, aF as ng, aG as rg, aH as Es, aI as Gl, aJ as og, aK as ig, aL as sg, aM as ag, aN as lg, aO as cg, aP as dg, aQ as yd, aR as bd, aS as wd, aT as ug, aU as xd, aV as fg, aW as hg, aX as pg, aY as gg, aZ as mg, a_ as vg, a$ as yg, b0 as bg, b1 as wg, b2 as xg, b3 as _g, b4 as kg, b5 as Sg, b6 as $g, b7 as Eg } from "../useCompiledDocument-
|
|
3
|
-
import { b8 as g_, b9 as m_, ba as v_, bb as y_, bc as b_, bd as w_, be as x_, bf as __, bg as k_, bh as S_, bi as $_ } from "../useCompiledDocument-
|
|
2
|
+
import { M as lp, h as cp, i as di, P as Oa, j as Wi, G as bt, k as ui, n as wt, o as at, r as lt, p as gn, C as zi, E as Ca, q as Ni, A as $o, S as dp, s as up, t as Da, V as fp, u as hp, v as pp, w as gp, x as mp, y as vp, z as yp, B as bp, F as dd, H as wp, I as xp, J as dn, U as _p, K as On, L as kp, l as ud, N as Ma, O as Sp, Q as $p, R as Nn, W as jl, X as es, Y as nr, Z as fd, _ as Ep, $ as Tp, a0 as hd, a1 as Hl, a2 as to, a3 as pd, a4 as Op, a5 as Cp, a6 as gd, a7 as Dp, a8 as Mp, a9 as _s, aa as ks, ab as Ip, ac as Ss, ad as Ap, ae as md, af as Pp, ag as Rp, ah as Lp, ai as Wp, aj as zp, ak as rn, al as Np, am as $s, an as Fp, ao as Bp, ap as jp, aq as vd, ar as Hp, as as Gp, at as qp, au as Up, av as Kp, aw as Vp, ax as Yp, ay as Xp, az as Qp, aA as Ia, aB as Zp, aC as Jp, aD as eg, aE as tg, aF as ng, aG as rg, aH as Es, aI as Gl, aJ as og, aK as ig, aL as sg, aM as ag, aN as lg, aO as cg, aP as dg, aQ as yd, aR as bd, aS as wd, aT as ug, aU as xd, aV as fg, aW as hg, aX as pg, aY as gg, aZ as mg, a_ as vg, a$ as yg, b0 as bg, b1 as wg, b2 as xg, b3 as _g, b4 as kg, b5 as Sg, b6 as $g, b7 as Eg } from "../useCompiledDocument-CLbTFtsJ.es.js";
|
|
3
|
+
import { b8 as g_, b9 as m_, ba as v_, bb as y_, bc as b_, bd as w_, be as x_, bf as __, bg as k_, bh as S_, bi as $_ } from "../useCompiledDocument-CLbTFtsJ.es.js";
|
|
4
4
|
import { Tooltip as Lt, ButtonBase as _d, Box as H, Menu as rr, MenuItem as it, Stack as yt, Button as Ne, Divider as lr, IconButton as Dn, Typography as we, TextField as on, ToggleButtonGroup as kd, ToggleButton as Ts, Switch as Tg, Checkbox as Os, ListItemText as Kt, Collapse as Og, Autocomplete as Cg, ListItemIcon as Sd, InputBase as $d, SvgIcon as Dg, useMediaQuery as Ed, Alert as vt } from "@mui/material";
|
|
5
5
|
import { useState as j, useRef as q, useEffect as re, useMemo as V, createElement as Mg, useLayoutEffect as fi, useCallback as le, useInsertionEffect as Ig, createContext as Td, memo as Ag, forwardRef as Pg, startTransition as Rg, useImperativeHandle as Lg, useContext as Od, useId as Wg } from "react";
|
|
6
|
-
import { b8 as Xe, bd as Aa, b9 as Pa } from "../ServerProvider-
|
|
6
|
+
import { b8 as Xe, bd as Aa, b9 as Pa } from "../ServerProvider-B6RLAbgV.es.js";
|
|
7
7
|
import { i as Cs, a as Cd, m as zg, b as Ng, t as Fg, c as Dd, s as Bg, d as jg, e as Md, f as Ra, g as Hg, A as Gg, h as qg, r as Ug, j as Id, k as ql, l as La } from "../text-entry-YKJZbRPo.es.js";
|
|
8
8
|
import { flushSync as Kg } from "react-dom";
|
|
9
9
|
import { useQueries as Vg, useQueryClient as Yg } from "@tanstack/react-query";
|
package/dist/client/api.d.ts
CHANGED
|
@@ -513,6 +513,10 @@ export interface Connection {
|
|
|
513
513
|
* Read-only. Dotted paths of the fields this connection has stored that this response does not return. In practice that is its credentials, but it is any stored field the response withholds, so a field the server does not publish appears here too. Names only, never a value. It exists because a client otherwise cannot tell a credential that is set from one that is absent, and so cannot tell whether leaving a box empty keeps something or leaves the connection without a credential. An editor should read it to label the boxes that are already filled. Ignored on write.
|
|
514
514
|
*/
|
|
515
515
|
'withheldFields'?: Array<string>;
|
|
516
|
+
/**
|
|
517
|
+
* Serve this DuckLake connection as a catalog of its own tables, as an orchestrator that provisions catalogs does. Two effects. Its session gets `SET search_path = \'<name>.main\'` after the attach, so a model\'s `<name>.table(\'t\')`, which compiles to the bare table name, resolves inside the catalog: DuckDB does not search an attached catalog for an unqualified name otherwise. And each statement run on it emits a `statement_usage` log record and counts in `publisher_statement_usage_total`, for whoever meters the catalog. Absent or false is the pre-existing behavior.
|
|
518
|
+
*/
|
|
519
|
+
'managed'?: boolean;
|
|
516
520
|
/**
|
|
517
521
|
* Optional, opaque, stable fingerprint of this connection\'s data identity. It is a hash of the configuration that determines *which data* the connection reaches (its data-locating settings), and deliberately excludes credentials and other secret values, so it stays constant across credential rotation and changes only when the connection is pointed at different data. When present, it is used as this connection\'s contribution to content-addressed build identifiers so that builds re-address only when the underlying data identity actually changes; consumers should treat it as an opaque token and use the supplied value verbatim rather than deriving their own. This field is optional — when omitted, a connection identity is derived locally instead. Because the fingerprint replaces the derived digest verbatim, it must vary with anything that changes which data the connection can reach — including the impersonated identity: two environments on the same project with different impersonateServiceAccount values but the same fingerprint would share persisted-table ids.
|
|
518
522
|
*/
|
|
@@ -925,8 +929,16 @@ export interface DuckdbConnection {
|
|
|
925
929
|
* DuckLake lakehouse connection configuration
|
|
926
930
|
*/
|
|
927
931
|
export interface DucklakeConnection {
|
|
928
|
-
'storage'
|
|
932
|
+
'storage'?: DucklakeConnectionStorage;
|
|
929
933
|
'catalog': DucklakeConnectionCatalog;
|
|
934
|
+
/**
|
|
935
|
+
* Storage destinations only; ignored on a connection. The schema a destination builds its tables into and binds them from, so an orchestrator can keep the tables it owns apart from a catalog\'s `main` (where people put their own). Absent means `main`, the pre-existing layout. The schema must already exist in the catalog: a build does not create it. A `#@ persist name=` that already names a schema keeps that schema. Must be a plain identifier (`[A-Za-z_][A-Za-z0-9_]*`). Serving reads the schema configured now, not the one a table was built into, so changing it on a destination re-points every bound table at once: rebuild or rebind as you change it.
|
|
936
|
+
*/
|
|
937
|
+
'destinationSchema'?: string;
|
|
938
|
+
/**
|
|
939
|
+
* Whether the serve-path attach is read-only. Absent or true keeps the pre-existing read-only attach, which every DuckLake connection a person registers should keep. False attaches the connection read-write, and then everything that runs on it runs read-write: every query, `.sql()` source, `sql_*` expression and the connection\'s SQL endpoints can create, drop and overwrite tables, write files with the storage credential (`COPY … TO`) and change the catalog\'s settings. Set it only where something else decides who may run SQL on the connection. A storage destination\'s build sessions attach read-write regardless; this field governs only the connection.
|
|
940
|
+
*/
|
|
941
|
+
'readOnly'?: boolean;
|
|
930
942
|
}
|
|
931
943
|
/**
|
|
932
944
|
* Catalog metadata connection configuration
|
|
@@ -937,7 +949,7 @@ export interface DucklakeConnectionCatalog {
|
|
|
937
949
|
*/
|
|
938
950
|
'postgresConnection': PostgresConnection;
|
|
939
951
|
/**
|
|
940
|
-
* Optional schema in the catalog database holding this DuckLake\'s metadata (`ducklake_*`) tables, passed to ATTACH as METADATA_SCHEMA. Absent means DuckLake\'s default — the catalog connection\'s default schema, typically `public` — which is the pre-existing behavior. Set it to run several independent DuckLake catalogs against ONE catalog database: each keeps its metadata in its own schema, so a catalog reads only the tables recorded in the schema it names. DuckLake creates the schema on a read-write attach if it does not exist; a read-only attach cannot, and fails until it does. Separating metadata does not separate data — give each catalog its own `storage.bucketUrl` prefix as well, since data-path-based maintenance (e.g. `ducklake_delete_orphaned_files`) treats a co-tenant catalog\'s files under a shared prefix as orphaned. This is an ORGANIZATIONAL boundary, not an access-control one. The separation is which schema a configuration names, so any config whose catalog role can reach a sibling schema could name it and read that catalog\'s metadata — and therefore its data-file paths. Where catalogs must be isolated from one another rather than merely kept tidy, grant each its own role with `USAGE` limited to its own schema; a database-per-catalog remains the strongest separation. Setting this on a catalog whose metadata already lives elsewhere does not move it: a read-write attach CREATES a new empty catalog in the named schema (and materializes into it), while
|
|
952
|
+
* Optional schema in the catalog database holding this DuckLake\'s metadata (`ducklake_*`) tables, passed to ATTACH as METADATA_SCHEMA. Absent means DuckLake\'s default — the catalog connection\'s default schema, typically `public` — which is the pre-existing behavior. Set it to run several independent DuckLake catalogs against ONE catalog database: each keeps its metadata in its own schema, so a catalog reads only the tables recorded in the schema it names. DuckLake creates the schema on a read-write attach if it does not exist; a read-only attach cannot, and fails until it does. Separating metadata does not separate data — give each catalog its own `storage.bucketUrl` prefix as well, since data-path-based maintenance (e.g. `ducklake_delete_orphaned_files`) treats a co-tenant catalog\'s files under a shared prefix as orphaned. This is an ORGANIZATIONAL boundary, not an access-control one. The separation is which schema a configuration names, so any config whose catalog role can reach a sibling schema could name it and read that catalog\'s metadata — and therefore its data-file paths. Where catalogs must be isolated from one another rather than merely kept tidy, grant each its own role with `USAGE` limited to its own schema; a database-per-catalog remains the strongest separation. Setting this on a catalog whose metadata already lives elsewhere does not move it: a read-write attach with a configured `storage.bucketUrl` CREATES a new empty catalog in the named schema (and materializes into it), while any other attach fails because there is nothing there yet. Must be a plain identifier (`[A-Za-z_][A-Za-z0-9_]*`) — the value reaches both a quoted string literal in the ATTACH and an identifier position in the catalog-format preflight, so it is validated at config load rather than escaped for two different contexts.
|
|
941
953
|
*/
|
|
942
954
|
'metadataSchema'?: string;
|
|
943
955
|
}
|
|
@@ -946,9 +958,9 @@ export interface DucklakeConnectionCatalog {
|
|
|
946
958
|
*/
|
|
947
959
|
export interface DucklakeConnectionStorage {
|
|
948
960
|
/**
|
|
949
|
-
* URL of the storage
|
|
961
|
+
* The catalog\'s data path, a URL of the storage location (e.g. s3://my-bucket/path or gs://my-bucket/path). Given, it is the path every attach uses, and the first read-write attach of a catalog that does not exist yet creates it there: the pre-existing behavior. Omitted, the catalog must already exist, every attach uses the data path the catalog recorded at its creation, and no attach ever creates a catalog: the shape for a catalog created elsewhere, through the admin API (admin-api-doc.yaml) or by another tool.
|
|
950
962
|
*/
|
|
951
|
-
'bucketUrl'
|
|
963
|
+
'bucketUrl'?: string;
|
|
952
964
|
/**
|
|
953
965
|
* AWS S3 connection configuration for data storage
|
|
954
966
|
*/
|
|
@@ -5884,33 +5896,36 @@ export declare class SkillsApi extends BaseAPI {
|
|
|
5884
5896
|
*/
|
|
5885
5897
|
export declare const StorageDestinationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5886
5898
|
/**
|
|
5887
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5899
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5888
5900
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
5889
5901
|
* @param {string} environmentName Name of the environment
|
|
5890
5902
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5891
5903
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
5892
5904
|
* @param {*} [options] Override http request option.
|
|
5905
|
+
* @deprecated
|
|
5893
5906
|
* @throws {RequiredError}
|
|
5894
5907
|
*/
|
|
5895
5908
|
createStorageDestinationFileCleanup: (environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5896
5909
|
/**
|
|
5897
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
5910
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
5898
5911
|
* @summary Drop a table from a storage destination
|
|
5899
5912
|
* @param {string} environmentName Name of the environment
|
|
5900
5913
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5901
5914
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
5902
5915
|
* @param {string} tableName Name of the table
|
|
5903
5916
|
* @param {*} [options] Override http request option.
|
|
5917
|
+
* @deprecated
|
|
5904
5918
|
* @throws {RequiredError}
|
|
5905
5919
|
*/
|
|
5906
5920
|
deleteStorageDestinationTable: (environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5907
5921
|
/**
|
|
5908
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
5922
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
5909
5923
|
* @summary List tables in a storage destination
|
|
5910
5924
|
* @param {string} environmentName Name of the environment
|
|
5911
5925
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5912
5926
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
5913
5927
|
* @param {*} [options] Override http request option.
|
|
5928
|
+
* @deprecated
|
|
5914
5929
|
* @throws {RequiredError}
|
|
5915
5930
|
*/
|
|
5916
5931
|
listStorageDestinationTables: (environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -5920,33 +5935,36 @@ export declare const StorageDestinationsApiAxiosParamCreator: (configuration?: C
|
|
|
5920
5935
|
*/
|
|
5921
5936
|
export declare const StorageDestinationsApiFp: (configuration?: Configuration) => {
|
|
5922
5937
|
/**
|
|
5923
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5938
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5924
5939
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
5925
5940
|
* @param {string} environmentName Name of the environment
|
|
5926
5941
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5927
5942
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
5928
5943
|
* @param {*} [options] Override http request option.
|
|
5944
|
+
* @deprecated
|
|
5929
5945
|
* @throws {RequiredError}
|
|
5930
5946
|
*/
|
|
5931
5947
|
createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFileCleanup>>;
|
|
5932
5948
|
/**
|
|
5933
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
5949
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
5934
5950
|
* @summary Drop a table from a storage destination
|
|
5935
5951
|
* @param {string} environmentName Name of the environment
|
|
5936
5952
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5937
5953
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
5938
5954
|
* @param {string} tableName Name of the table
|
|
5939
5955
|
* @param {*} [options] Override http request option.
|
|
5956
|
+
* @deprecated
|
|
5940
5957
|
* @throws {RequiredError}
|
|
5941
5958
|
*/
|
|
5942
5959
|
deleteStorageDestinationTable(environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5943
5960
|
/**
|
|
5944
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
5961
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
5945
5962
|
* @summary List tables in a storage destination
|
|
5946
5963
|
* @param {string} environmentName Name of the environment
|
|
5947
5964
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5948
5965
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
5949
5966
|
* @param {*} [options] Override http request option.
|
|
5967
|
+
* @deprecated
|
|
5950
5968
|
* @throws {RequiredError}
|
|
5951
5969
|
*/
|
|
5952
5970
|
listStorageDestinationTables(environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StorageTable>>>;
|
|
@@ -5956,33 +5974,36 @@ export declare const StorageDestinationsApiFp: (configuration?: Configuration) =
|
|
|
5956
5974
|
*/
|
|
5957
5975
|
export declare const StorageDestinationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5958
5976
|
/**
|
|
5959
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5977
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5960
5978
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
5961
5979
|
* @param {string} environmentName Name of the environment
|
|
5962
5980
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5963
5981
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
5964
5982
|
* @param {*} [options] Override http request option.
|
|
5983
|
+
* @deprecated
|
|
5965
5984
|
* @throws {RequiredError}
|
|
5966
5985
|
*/
|
|
5967
5986
|
createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): AxiosPromise<StorageFileCleanup>;
|
|
5968
5987
|
/**
|
|
5969
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
5988
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
5970
5989
|
* @summary Drop a table from a storage destination
|
|
5971
5990
|
* @param {string} environmentName Name of the environment
|
|
5972
5991
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5973
5992
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
5974
5993
|
* @param {string} tableName Name of the table
|
|
5975
5994
|
* @param {*} [options] Override http request option.
|
|
5995
|
+
* @deprecated
|
|
5976
5996
|
* @throws {RequiredError}
|
|
5977
5997
|
*/
|
|
5978
5998
|
deleteStorageDestinationTable(environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5979
5999
|
/**
|
|
5980
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
6000
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
5981
6001
|
* @summary List tables in a storage destination
|
|
5982
6002
|
* @param {string} environmentName Name of the environment
|
|
5983
6003
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5984
6004
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
5985
6005
|
* @param {*} [options] Override http request option.
|
|
6006
|
+
* @deprecated
|
|
5986
6007
|
* @throws {RequiredError}
|
|
5987
6008
|
*/
|
|
5988
6009
|
listStorageDestinationTables(environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<StorageTable>>;
|
|
@@ -5992,33 +6013,36 @@ export declare const StorageDestinationsApiFactory: (configuration?: Configurati
|
|
|
5992
6013
|
*/
|
|
5993
6014
|
export declare class StorageDestinationsApi extends BaseAPI {
|
|
5994
6015
|
/**
|
|
5995
|
-
* Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
6016
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
|
|
5996
6017
|
* @summary Reclaim storage behind dropped tables in a DuckLake destination
|
|
5997
6018
|
* @param {string} environmentName Name of the environment
|
|
5998
6019
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
5999
6020
|
* @param {StorageFileCleanupRequest} storageFileCleanupRequest
|
|
6000
6021
|
* @param {*} [options] Override http request option.
|
|
6022
|
+
* @deprecated
|
|
6001
6023
|
* @throws {RequiredError}
|
|
6002
6024
|
*/
|
|
6003
6025
|
createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<StorageFileCleanup, any, {}, any>>;
|
|
6004
6026
|
/**
|
|
6005
|
-
* Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
6027
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/schemas/{schemaName}/tables/{tableName}` (`admin-api-doc.yaml`); this route is removed in a later release. Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
|
|
6006
6028
|
* @summary Drop a table from a storage destination
|
|
6007
6029
|
* @param {string} environmentName Name of the environment
|
|
6008
6030
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
6009
6031
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
6010
6032
|
* @param {string} tableName Name of the table
|
|
6011
6033
|
* @param {*} [options] Override http request option.
|
|
6034
|
+
* @deprecated
|
|
6012
6035
|
* @throws {RequiredError}
|
|
6013
6036
|
*/
|
|
6014
6037
|
deleteStorageDestinationTable(environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
|
6015
6038
|
/**
|
|
6016
|
-
* Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
6039
|
+
* **DEPRECATED**: use the admin API\'s `GET /catalogs/{catalogName}/schemas/{schemaName}/tables` (`admin-api-doc.yaml`); this route is removed in a later release. Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
|
|
6017
6040
|
* @summary List tables in a storage destination
|
|
6018
6041
|
* @param {string} environmentName Name of the environment
|
|
6019
6042
|
* @param {string} destinationName Name of a storage destination configured on the environment
|
|
6020
6043
|
* @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in `main`.
|
|
6021
6044
|
* @param {*} [options] Override http request option.
|
|
6045
|
+
* @deprecated
|
|
6022
6046
|
* @throws {RequiredError}
|
|
6023
6047
|
*/
|
|
6024
6048
|
listStorageDestinationTables(environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<StorageTable[], any, {}, any>>;
|
|
@@ -6028,24 +6052,27 @@ export declare class StorageDestinationsApi extends BaseAPI {
|
|
|
6028
6052
|
*/
|
|
6029
6053
|
export declare const WatchModeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6030
6054
|
/**
|
|
6031
|
-
* 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.
|
|
6055
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
6032
6056
|
* @summary Get watch mode status
|
|
6033
6057
|
* @param {*} [options] Override http request option.
|
|
6058
|
+
* @deprecated
|
|
6034
6059
|
* @throws {RequiredError}
|
|
6035
6060
|
*/
|
|
6036
6061
|
getWatchStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6037
6062
|
/**
|
|
6038
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6063
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6039
6064
|
* @summary Start file watching
|
|
6040
6065
|
* @param {StartWatchRequest} startWatchRequest
|
|
6041
6066
|
* @param {*} [options] Override http request option.
|
|
6067
|
+
* @deprecated
|
|
6042
6068
|
* @throws {RequiredError}
|
|
6043
6069
|
*/
|
|
6044
6070
|
startWatching: (startWatchRequest: StartWatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6045
6071
|
/**
|
|
6046
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6072
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6047
6073
|
* @summary Stop file watching
|
|
6048
6074
|
* @param {*} [options] Override http request option.
|
|
6075
|
+
* @deprecated
|
|
6049
6076
|
* @throws {RequiredError}
|
|
6050
6077
|
*/
|
|
6051
6078
|
stopWatching: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -6064,24 +6091,27 @@ export declare const WatchModeApiAxiosParamCreator: (configuration?: Configurati
|
|
|
6064
6091
|
*/
|
|
6065
6092
|
export declare const WatchModeApiFp: (configuration?: Configuration) => {
|
|
6066
6093
|
/**
|
|
6067
|
-
* 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.
|
|
6094
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
6068
6095
|
* @summary Get watch mode status
|
|
6069
6096
|
* @param {*} [options] Override http request option.
|
|
6097
|
+
* @deprecated
|
|
6070
6098
|
* @throws {RequiredError}
|
|
6071
6099
|
*/
|
|
6072
6100
|
getWatchStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WatchStatus>>;
|
|
6073
6101
|
/**
|
|
6074
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6102
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6075
6103
|
* @summary Start file watching
|
|
6076
6104
|
* @param {StartWatchRequest} startWatchRequest
|
|
6077
6105
|
* @param {*} [options] Override http request option.
|
|
6106
|
+
* @deprecated
|
|
6078
6107
|
* @throws {RequiredError}
|
|
6079
6108
|
*/
|
|
6080
6109
|
startWatching(startWatchRequest: StartWatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
6081
6110
|
/**
|
|
6082
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6111
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6083
6112
|
* @summary Stop file watching
|
|
6084
6113
|
* @param {*} [options] Override http request option.
|
|
6114
|
+
* @deprecated
|
|
6085
6115
|
* @throws {RequiredError}
|
|
6086
6116
|
*/
|
|
6087
6117
|
stopWatching(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
@@ -6100,24 +6130,27 @@ export declare const WatchModeApiFp: (configuration?: Configuration) => {
|
|
|
6100
6130
|
*/
|
|
6101
6131
|
export declare const WatchModeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6102
6132
|
/**
|
|
6103
|
-
* 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.
|
|
6133
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
6104
6134
|
* @summary Get watch mode status
|
|
6105
6135
|
* @param {*} [options] Override http request option.
|
|
6136
|
+
* @deprecated
|
|
6106
6137
|
* @throws {RequiredError}
|
|
6107
6138
|
*/
|
|
6108
6139
|
getWatchStatus(options?: RawAxiosRequestConfig): AxiosPromise<WatchStatus>;
|
|
6109
6140
|
/**
|
|
6110
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6141
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6111
6142
|
* @summary Start file watching
|
|
6112
6143
|
* @param {StartWatchRequest} startWatchRequest
|
|
6113
6144
|
* @param {*} [options] Override http request option.
|
|
6145
|
+
* @deprecated
|
|
6114
6146
|
* @throws {RequiredError}
|
|
6115
6147
|
*/
|
|
6116
6148
|
startWatching(startWatchRequest: StartWatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
6117
6149
|
/**
|
|
6118
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6150
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6119
6151
|
* @summary Stop file watching
|
|
6120
6152
|
* @param {*} [options] Override http request option.
|
|
6153
|
+
* @deprecated
|
|
6121
6154
|
* @throws {RequiredError}
|
|
6122
6155
|
*/
|
|
6123
6156
|
stopWatching(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
@@ -6136,24 +6169,27 @@ export declare const WatchModeApiFactory: (configuration?: Configuration, basePa
|
|
|
6136
6169
|
*/
|
|
6137
6170
|
export declare class WatchModeApi extends BaseAPI {
|
|
6138
6171
|
/**
|
|
6139
|
-
* 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.
|
|
6172
|
+
* **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
|
|
6140
6173
|
* @summary Get watch mode status
|
|
6141
6174
|
* @param {*} [options] Override http request option.
|
|
6175
|
+
* @deprecated
|
|
6142
6176
|
* @throws {RequiredError}
|
|
6143
6177
|
*/
|
|
6144
6178
|
getWatchStatus(options?: RawAxiosRequestConfig): Promise< AxiosResponse<WatchStatus, any, {}, any>>;
|
|
6145
6179
|
/**
|
|
6146
|
-
* Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6180
|
+
* **DEPRECATED**: use the admin API\'s `PUT /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Initiates file watching for the specified environment. This enables real-time monitoring of file changes within the environment directory, allowing for automatic reloading and updates during development. Only one environment can be watched at a time.
|
|
6147
6181
|
* @summary Start file watching
|
|
6148
6182
|
* @param {StartWatchRequest} startWatchRequest
|
|
6149
6183
|
* @param {*} [options] Override http request option.
|
|
6184
|
+
* @deprecated
|
|
6150
6185
|
* @throws {RequiredError}
|
|
6151
6186
|
*/
|
|
6152
6187
|
startWatching(startWatchRequest: StartWatchRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
|
6153
6188
|
/**
|
|
6154
|
-
* Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6189
|
+
* **DEPRECATED**: use the admin API\'s `DELETE /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. Stops the current file watching session. This disables real-time monitoring of file changes and releases system resources. Use this when development is complete or when switching to a different environment.
|
|
6155
6190
|
* @summary Stop file watching
|
|
6156
6191
|
* @param {*} [options] Override http request option.
|
|
6192
|
+
* @deprecated
|
|
6157
6193
|
* @throws {RequiredError}
|
|
6158
6194
|
*/
|
|
6159
6195
|
stopWatching(options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
|
package/dist/client/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as i, b as o, c as t, d as n, e as r, C as p, f as u, g as m, h as A, i as l, j as E, k as c, l as b, m as y, n as C, o as d, p as g, q as F, r as P, s as S, t as k, u as D, D as M, v as R, w as h, x, y as T, z as v, B as f, E as N, F as z, G as L, H as K, I as O, J as Q, K as I, L as W, M as B, N as w, O as G, P as q, Q as U, R as j, S as H, T as J, U as V, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ia, a2 as oa, a3 as ta, a4 as na, a5 as ra, a6 as pa, a7 as ua, a8 as ma, a9 as Aa, aa as la, ab as Ea, ac as ca, ad as ba, ae as ya, af as Ca, ag as da, ah as ga, ai as Fa, aj as Pa, ak as Sa, al as ka, am as Da, an as Ma, ao as Ra, ap as ha, aq as xa, ar as Ta, as as va, at as fa, au as Na, av as za, aw as La, ax as Ka, ay as Oa, az as Qa, aA as Ia, aB as Wa, aC as Ba, aD as wa, aE as Ga, aF as qa, aG as Ua, aH as ja, aI as Ha, aJ as Ja, aK as Va, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as is, aU as os, aV as ts, aW as ns, aX as rs, aY as ps, aZ as us, a_ as ms, a$ as As, b0 as ls, b1 as Es, b2 as cs, b3 as bs, b4 as ys, b5 as Cs, b6 as ds, b7 as gs, b8 as Fs, b9 as Ps } from "../ServerProvider-
|
|
1
|
+
import { A as e, a as i, b as o, c as t, d as n, e as r, C as p, f as u, g as m, h as A, i as l, j as E, k as c, l as b, m as y, n as C, o as d, p as g, q as F, r as P, s as S, t as k, u as D, D as M, v as R, w as h, x, y as T, z as v, B as f, E as N, F as z, G as L, H as K, I as O, J as Q, K as I, L as W, M as B, N as w, O as G, P as q, Q as U, R as j, S as H, T as J, U as V, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ia, a2 as oa, a3 as ta, a4 as na, a5 as ra, a6 as pa, a7 as ua, a8 as ma, a9 as Aa, aa as la, ab as Ea, ac as ca, ad as ba, ae as ya, af as Ca, ag as da, ah as ga, ai as Fa, aj as Pa, ak as Sa, al as ka, am as Da, an as Ma, ao as Ra, ap as ha, aq as xa, ar as Ta, as as va, at as fa, au as Na, av as za, aw as La, ax as Ka, ay as Oa, az as Qa, aA as Ia, aB as Wa, aC as Ba, aD as wa, aE as Ga, aF as qa, aG as Ua, aH as ja, aI as Ha, aJ as Ja, aK as Va, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as is, aU as os, aV as ts, aW as ns, aX as rs, aY as ps, aZ as us, a_ as ms, a$ as As, b0 as ls, b1 as Es, b2 as cs, b3 as bs, b4 as ys, b5 as Cs, b6 as ds, b7 as gs, b8 as Fs, b9 as Ps } from "../ServerProvider-B6RLAbgV.es.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AgentsApi,
|
|
4
4
|
i as AgentsApiAxiosParamCreator,
|
package/dist/index.es.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsx as n, jsxs as S, Fragment as be } from "react/jsx-runtime";
|
|
|
2
2
|
import { Link as lu, useMediaQuery as cu, Stack as Ue, Typography as te, Button as vt, Menu as hr, ListSubheader as uu, MenuItem as zn, Dialog as Ta, DialogTitle as Oa, Box as ee, IconButton as Zt, DialogContent as Ma, DialogActions as du, Alert as Tt, Tooltip as bn, TextField as Wn, Grid as sr, Paper as ma, FormControlLabel as Fs, Switch as Rs, Divider as cr, List as Ls, ListItemButton as _s, ListItemText as Tn, TableContainer as hu, Table as wo, TableHead as xo, TableRow as Cn, TableCell as Te, TableBody as ko, Snackbar as So, ListItemIcon as fr, Container as Da, FormGroup as fu, Chip as mu, AlertTitle as pu, ButtonBase as gu, InputBase as yu, InputAdornment as bu, CircularProgress as vu, LinearProgress as wu } from "@mui/material";
|
|
3
3
|
import * as me from "react";
|
|
4
4
|
import Se, { useState as K, useCallback as ut, useMemo as We, useRef as Mt, useEffect as at, useId as qs } from "react";
|
|
5
|
-
import { n as Ze, bj as Go, bk as xu, bl as ku, bm as Su, bn as Cu, bo as Tu, bp as Ou, bq as Ea, av as Mu, br as Ia, ak as Ur, bs as $a, aF as Na, bt as Ws, bu as Du, bv as Co, aq as Eu, aG as Iu, at as pa, J as $u, aM as Nu, ab as Pu, G as Au, bw as Fu, aI as zs, aK as Ru, aL as Lu, aJ as _u, a3 as qu, P as Wu, af as Hs, aN as Pa, ad as Vs, a0 as To, _ as ur, aA as it, bx as Re, aH as At, S as Kr, b5 as Et, by as zu, bz as qn, bA as Fi, bB as Us, bC as Hu, bD as Yo, bE as un, bF as Kt, bG as dn, bH as Yt, bI as hn, bJ as Ye, bK as Aa, bL as Ft, bM as Ri, bN as Vu, bO as Pt, bP as Uu, bQ as It, bR as cn, bS as Xr, t as wt, bT as Bu, bU as ju, bV as Gu, bW as go, bX as Ve, bY as Li, bZ as Yu, b_ as Bs, b$ as Fa, c0 as Ce, A as js, c1 as Oo, c2 as gt, c3 as Mo, c4 as Zu, c5 as fo, c6 as Ku, c7 as Xu, c8 as Gs, c9 as Qu, ca as or, cb as An, cc as _i, cd as Zo, ce as pn, cf as qi, cg as Wi, ch as zi, ci as Ju, cj as Hi, ck as Vi, cl as Ko, cm as ed, cn as jr, co as td, cp as nd, cq as Ys, cr as rd, cs as Ui, ct as od, cu as ad, C as id, cv as Zs, cw as sd, cx as Br, cy as Gr, cz as ld, cA as cd, cB as ud, cC as Do, aB as dd, cD as Ks, aU as ga, cE as Xs, bi as hd, v as Xo, b8 as fd, bf as md, cF as pd, bc as gd, p as Qs, r as Bi, V as yd, a_ as Ra, b9 as bd, cG as vd, b1 as Js, aP as el, aE as wd, ba as xd, aX as kd, B as Sd, b0 as Eo, cH as Cd, cI as Td, cJ as yo, cK as tl, cL as Od, aR as Md, a9 as ji, cM as Dd, aa as Ed, cN as Id, cO as $d, cP as Nd, cQ as Gi, cR as Pe } from "./useCompiledDocument-
|
|
6
|
-
import { cS as Vg, cT as Ug, cU as Bg, o as jg, cV as Gg, cW as Yg, cX as Zg, cY as Kg, cZ as Xg, c_ as Qg, c$ as Jg, d0 as ey, U as ty, d as ny, b6 as ry, g as oy, z as ay, aD as iy, d1 as sy, d2 as ly, d3 as cy, d4 as uy, au as dy, d5 as hy, m as fy, d6 as my, K as py, e as gy, b3 as yy, d7 as by, d8 as vy, d9 as wy, b as xy, aj as ky, aC as Sy, da as Cy, db as Ty, dc as Oy, dd as My, de as Dy, df as Ey, dg as Iy } from "./useCompiledDocument-
|
|
7
|
-
import { b8 as mr, b9 as ze, be as pt, m as Yi, d as nl, bf as La, a2 as Dt, ao as uo, a1 as Pd, bg as rl, bh as ol, bi as Ad, bj as al, bk as Fd, bl as Rd, bm as Fn } from "./ServerProvider-
|
|
8
|
-
import { bn as Ny, bd as Py, aS as Ay, bo as Fy, bp as Ry, bq as Ly, br as _y, bs as qy, bb as Wy } from "./ServerProvider-
|
|
5
|
+
import { n as Ze, bj as Go, bk as xu, bl as ku, bm as Su, bn as Cu, bo as Tu, bp as Ou, bq as Ea, av as Mu, br as Ia, ak as Ur, bs as $a, aF as Na, bt as Ws, bu as Du, bv as Co, aq as Eu, aG as Iu, at as pa, J as $u, aM as Nu, ab as Pu, G as Au, bw as Fu, aI as zs, aK as Ru, aL as Lu, aJ as _u, a3 as qu, P as Wu, af as Hs, aN as Pa, ad as Vs, a0 as To, _ as ur, aA as it, bx as Re, aH as At, S as Kr, b5 as Et, by as zu, bz as qn, bA as Fi, bB as Us, bC as Hu, bD as Yo, bE as un, bF as Kt, bG as dn, bH as Yt, bI as hn, bJ as Ye, bK as Aa, bL as Ft, bM as Ri, bN as Vu, bO as Pt, bP as Uu, bQ as It, bR as cn, bS as Xr, t as wt, bT as Bu, bU as ju, bV as Gu, bW as go, bX as Ve, bY as Li, bZ as Yu, b_ as Bs, b$ as Fa, c0 as Ce, A as js, c1 as Oo, c2 as gt, c3 as Mo, c4 as Zu, c5 as fo, c6 as Ku, c7 as Xu, c8 as Gs, c9 as Qu, ca as or, cb as An, cc as _i, cd as Zo, ce as pn, cf as qi, cg as Wi, ch as zi, ci as Ju, cj as Hi, ck as Vi, cl as Ko, cm as ed, cn as jr, co as td, cp as nd, cq as Ys, cr as rd, cs as Ui, ct as od, cu as ad, C as id, cv as Zs, cw as sd, cx as Br, cy as Gr, cz as ld, cA as cd, cB as ud, cC as Do, aB as dd, cD as Ks, aU as ga, cE as Xs, bi as hd, v as Xo, b8 as fd, bf as md, cF as pd, bc as gd, p as Qs, r as Bi, V as yd, a_ as Ra, b9 as bd, cG as vd, b1 as Js, aP as el, aE as wd, ba as xd, aX as kd, B as Sd, b0 as Eo, cH as Cd, cI as Td, cJ as yo, cK as tl, cL as Od, aR as Md, a9 as ji, cM as Dd, aa as Ed, cN as Id, cO as $d, cP as Nd, cQ as Gi, cR as Pe } from "./useCompiledDocument-CLbTFtsJ.es.js";
|
|
6
|
+
import { cS as Vg, cT as Ug, cU as Bg, o as jg, cV as Gg, cW as Yg, cX as Zg, cY as Kg, cZ as Xg, c_ as Qg, c$ as Jg, d0 as ey, U as ty, d as ny, b6 as ry, g as oy, z as ay, aD as iy, d1 as sy, d2 as ly, d3 as cy, d4 as uy, au as dy, d5 as hy, m as fy, d6 as my, K as py, e as gy, b3 as yy, d7 as by, d8 as vy, d9 as wy, b as xy, aj as ky, aC as Sy, da as Cy, db as Ty, dc as Oy, dd as My, de as Dy, df as Ey, dg as Iy } from "./useCompiledDocument-CLbTFtsJ.es.js";
|
|
7
|
+
import { b8 as mr, b9 as ze, be as pt, m as Yi, d as nl, bf as La, a2 as Dt, ao as uo, a1 as Pd, bg as rl, bh as ol, bi as Ad, bj as al, bk as Fd, bl as Rd, bm as Fn } from "./ServerProvider-B6RLAbgV.es.js";
|
|
8
|
+
import { bn as Ny, bd as Py, aS as Ay, bo as Fy, bp as Ry, bq as Ly, br as _y, bs as qy, bb as Wy } from "./ServerProvider-B6RLAbgV.es.js";
|
|
9
9
|
import { useQueryClient as Io } from "@tanstack/react-query";
|
|
10
10
|
import { createBox as Ld, createStack as _d, Stack as qd, Box as il } from "@mui/system";
|
|
11
11
|
import { Delete as $o, Edit as _a, MoreVert as No } from "@mui/icons-material";
|
|
12
12
|
import { h as Wd, j as Zi, n as zd } from "./text-entry-YKJZbRPo.es.js";
|
|
13
|
-
import { D as Hy, R as Vy, b as Uy, a as By, d as jy, m as Gy, r as Yy } from "./RenderedResult-
|
|
13
|
+
import { D as Hy, R as Vy, b as Uy, a as By, d as jy, m as Gy, r as Yy } from "./RenderedResult-vf6tu8tf.es.js";
|
|
14
14
|
import { useNavigate as sl, useSearchParams as Hd, useLocation as Vd } from "react-router-dom";
|
|
15
15
|
const Ud = Ze(/* @__PURE__ */ n("path", {
|
|
16
16
|
d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as S, jsxs as re, Fragment as Bt } from "react/jsx-runtime";
|
|
2
2
|
import { Box as be, Dialog as Td, DialogTitle as Rd, IconButton as Xn, DialogContent as Id, Typography as Ge, Stack as wt, DialogActions as $d, Button as st, Tooltip as wn, TextField as Vn, InputAdornment as zl, Alert as Ed, Autocomplete as Od, CircularProgress as _l, FormControl as Gi, Slider as Ad, FormHelperText as qi, FormControlLabel as Fd, Checkbox as Ld, Paper as ei, MenuItem as An, ButtonBase as Wl, Popover as Nd, LinearProgress as Bd } from "@mui/material";
|
|
3
|
-
import { b8 as Ke, bd as Qn, be as Vd, b9 as Zn, b7 as Hl, bt as zd } from "./ServerProvider-
|
|
3
|
+
import { b8 as Ke, bd as Qn, be as Vd, b9 as Zn, b7 as Hl, bt as zd } from "./ServerProvider-B6RLAbgV.es.js";
|
|
4
4
|
import * as x from "react";
|
|
5
5
|
import xt, { useState as Oe, useEffect as He, useRef as Ye, useId as Ul, useMemo as Ve, useCallback as et, createContext as Ao, useContext as Jn, isValidElement as lo, cloneElement as co, Children as _d, Suspense as Wd, lazy as Hd } from "react";
|
|
6
6
|
import { useQueries as Yl, QueryClientContext as Ud, useQuery as Yd, useMutation as jd, keepPreviousData as Gd } from "@tanstack/react-query";
|
|
@@ -23403,7 +23403,7 @@ function sk(e) {
|
|
|
23403
23403
|
`)
|
|
23404
23404
|
};
|
|
23405
23405
|
}
|
|
23406
|
-
const ik = "publisher-result-scroller", ak = Hd(() => import("./RenderedResult-
|
|
23406
|
+
const ik = "publisher-result-scroller", ak = Hd(() => import("./RenderedResult-vf6tu8tf.es.js").then((e) => e.c));
|
|
23407
23407
|
function lk({
|
|
23408
23408
|
result: e,
|
|
23409
23409
|
maxHeight: t,
|