@malloy-publisher/sdk 0.9.16 → 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-5hOs5XnV.cjs.js → RenderedResult-B5f4qOjp.cjs.js} +1 -1
- package/dist/{RenderedResult-DxmHGZNQ.es.js → RenderedResult-vf6tu8tf.es.js} +2 -2
- package/dist/{ServerProvider-D7neZcTk.es.js → ServerProvider-B6RLAbgV.es.js} +48 -24
- package/dist/builder/index.cjs.js +17 -17
- package/dist/builder/index.es.js +278 -266
- package/dist/client/api.d.ts +64 -28
- package/dist/client/index.es.js +1 -1
- package/dist/components/ReportBuilder/TextTileBody.d.ts +9 -2
- package/dist/components/legacy/malloynb/CellRunnerView.d.ts +6 -6
- package/dist/hooks/useSettled.d.ts +5 -8
- package/dist/hooks/useSettledDraft.d.ts +33 -0
- package/dist/index.cjs.js +10 -10
- package/dist/index.es.js +3769 -3779
- package/dist/useCompiledDocument-C995sQ3j.cjs.js +142 -0
- package/dist/{useCompiledDocument-CaYP_OYG.es.js → useCompiledDocument-CLbTFtsJ.es.js} +5449 -5294
- package/dist/utils/malloyLiteral.d.ts +2 -0
- package/package.json +11 -16
- package/src/components/ReportBuilder/BuilderGrid.tsx +1 -0
- package/src/components/ReportBuilder/TextTileBody.tsx +24 -4
- package/src/components/ReportBuilder/placement.spec.ts +27 -0
- package/src/components/ReportBuilder/placement.ts +8 -4
- package/src/components/given/GivenInput.spec.tsx +447 -2
- package/src/components/given/GivenInput.tsx +192 -80
- package/src/components/given/GivensPanel.spec.tsx +59 -0
- package/src/components/given/GivensPanel.tsx +14 -2
- package/src/components/legacy/malloynb/CellRunnerView.tsx +6 -6
- package/src/hooks/useDimensionFilters.ts +1 -35
- package/src/hooks/useDimensionFiltersQuery.ts +2 -36
- package/src/hooks/useDimensionalFilterRangeData.ts +1 -35
- package/src/hooks/useGivensState.spec.ts +106 -1
- package/src/hooks/useGivensState.ts +48 -13
- package/src/hooks/useSettled.ts +5 -8
- package/src/hooks/useSettledDraft.ts +127 -0
- package/src/utils/malloyLiteral.spec.ts +12 -1
- package/src/utils/malloyLiteral.ts +32 -0
- package/vite.config.ts +0 -2
- package/.eslintrc +0 -36
- package/dist/components/DOMElement/DOMElement.d.ts +0 -5
- package/dist/components/DOMElement/index.d.ts +0 -1
- package/dist/components/Package/FileTreeView.d.ts +0 -9
- package/dist/useCompiledDocument-zYEfLogf.cjs.js +0 -142
- package/src/components/DOMElement/DOMElement.tsx +0 -22
- package/src/components/DOMElement/index.ts +0 -4
- package/src/components/Package/FileTreeView.tsx +0 -244
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const L=require("react/jsx-runtime"),ie=require("@mui/material"),g=require("react"),h=require("./useCompiledDocument-
|
|
1
|
+
"use strict";const L=require("react/jsx-runtime"),ie=require("@mui/material"),g=require("react"),h=require("./useCompiledDocument-C995sQ3j.cjs.js"),H=require("./ServerProvider-e2369oom.cjs.js"),v=h.reportClasses.drillCell;function ue(e,t){const o=new Set;let l;try{l=e.getMetadata()?.getAllFields()??[]}catch{return o}const r=new Set;for(const a of l)!a||t(a)||a.tag?.tag("hidden")===void 0&&r.add(a.tag?.text("label")??a.name);for(const a of l){if(!a||!t(a))continue;const n=a.tag?.text("label")??a.name;r.has(n)||o.add(n)}return o}function $(e){const t=/^\s*(\d+)/.exec(e.style?.gridColumn??"");return t?t[1]:void 0}function he(e,t){if(t.size!==0)for(const o of e.querySelectorAll(".malloy-table")){const l=n=>n.closest(".malloy-table")===o,r=new Set;for(const n of o.querySelectorAll(".column-cell.th")){if(!l(n))continue;const i=(n.textContent??"").replace(/\u200b/g,"").trim(),m=$(n);m&&t.has(i)&&r.add(m)}if(r.size===0)continue;const a=new Set;for(const n of o.querySelectorAll(`.${v}[tabindex="0"]`)){if(!l(n))continue;const i=$(n);i&&(a.has(i)?n.tabIndex=-1:a.add(i))}for(const n of o.querySelectorAll(".column-cell.td")){if(!l(n))continue;const i=$(n),m=!n.querySelector(".value-null")&&(n.textContent??"").trim()!=="";if(i&&m&&r.has(i)&&!n.querySelector(".malloy-table")){if(n.classList.add(v),n.tabIndex===0)a.add(i);else{const w=a.has(i);w||a.add(i),n.tabIndex=w?-1:0}n.setAttribute("role","button")}}}}function ke(e){const t=e.closest(".malloy-table"),o=$(e);return!t||!o?[]:Array.from(t.querySelectorAll(`.${v}`)).filter(l=>l.closest(".malloy-table")===t&&$(l)===o)}function se(e,t){const o=ke(e),l=o.indexOf(e);if(l===-1)return;const r=t==="first"?o[0]:t==="last"?o[o.length-1]:o[Math.min(Math.max(l+t,0),o.length-1)];if(r){for(const a of o)a.tabIndex=a===r?0:-1;return r}}function me(e){return{background:e.dashboardRoot,tableBackground:e.tableBackground,tableHeaderColor:e.tableHeader,tableBodyColor:e.tableBody,tableBorder:e.border,tablePinnedBackground:e.tableHeaderBackground,tablePinnedBorder:e.pinnedBorder,tableFontSize:`${e.font.size}px`,fontFamily:e.font.family,mapColor:e.mapColor}}function be(e){const{foreground:t,axisFaint:o,gridline:l,font:r}=e,a={background:e.background,font:r.family,title:{color:t,font:r.family},axis:{labelColor:t,titleColor:t,domainColor:o,tickColor:o,gridColor:l,labelFont:r.family,titleFont:r.family},legend:{labelColor:t,titleColor:t,labelFont:r.family,titleFont:r.family},header:{labelColor:t,titleColor:t},range:{category:e.series}},n={...a,legend:{...a.legend,orient:"bottom"}};return i=>i==="shape_map"?n:a}function ye(e){if(!e)return;const t=e.tag("theme");if(!t)return;const o={},l=t.tag("palette");if(l){const a={},n=l.textArray("series");n&&n.length>0&&(a.series=n);for(const i of H.PER_MODE_COLOR_KEYS){const m=l.tag(i);if(!m)continue;const w={},C=m.text("light"),x=m.text("dark");C&&(w.light=C),x&&(w.dark=x),Object.keys(w).length>0&&(a[i]=w)}Object.keys(a).length>0&&(o.palette=a)}const r=t.tag("font");if(r){const a={},n=r.text("family");n&&(a.family=n);const i=r.numeric("size");typeof i=="number"&&Number.isFinite(i)&&(a.size=i),Object.keys(a).length>0&&(o.font=a)}return Object.keys(o).length>0?o:void 0}const J=e=>(e??[]).map(t=>t?.value).filter(t=>typeof t=="string");function xe(e){const t=e.replace(/[-_]+/g," ").replace(/\s+/g," ").trim();return t.charAt(0).toUpperCase()+t.slice(1)}const Ce=e=>J(e.annotations).some(t=>{const o=t.trim();return/^#[^("]/.test(o)&&/(?:^#|[\s{])label\s*=/.test(o)}),Re=e=>`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`,Te=e=>e.type?.element_type?.fields??e.type?.fields;function fe(e,t){let o=!1;return{fields:e.map(r=>{const a=Te(r);if(a){const i=fe(a,h.requestsRowChart(J(r.annotations)));if(!i.changed)return r;o=!0;const m=r.type?.element_type?{...r.type,element_type:{...r.type.element_type,fields:i.fields}}:{...r.type,fields:i.fields};return{...r,type:m}}if(!t||!r.name||Ce(r))return r;const n=xe(r.name);return n===r.name?r:(o=!0,{...r,annotations:[{value:`# label=${Re(n)}
|
|
2
2
|
`},...r.annotations??[]]})}),changed:o}}function _e(e){if(!e||typeof e!="object")return e;const t=e,o=t.schema?.fields;if(!Array.isArray(o))return e;const{fields:l,changed:r}=fe(o,h.requestsRowChart(J(t.annotations)));return r?{...t,schema:{...t.schema,fields:l}}:e}const de=320,Ae=10,Ee=96,Se=4e3;function De(e,t){if(e!=="bar"&&e!=="combo"&&e!=="line"&&e!=="chart"&&e!=="scatter_chart")return;if(e!=="bar"&&e!=="combo")return de;const o=t?.data?.array_value?.length,l=o===void 0?0:o*Ae+Ee;return Math.min(Math.max(de,l),Se)}const M="data-publisher-fill",Ie=async(e,t)=>{if(typeof window>"u")throw new Error("MalloyRenderer can only be used in browser environment");const{MalloyRenderer:o}=await h.loadMalloyRenderer();return new o({onClick:t,vegaConfigOverride:be(e),theme:me(e),onError:r=>{console.error("Error rendering visualization:",typeof r,r)}}).createViz()};async function Oe(e){if(!e||typeof e!="object")return;const t=e,o=[...Array.isArray(t.model_annotations)?t.model_annotations:[],...Array.isArray(t.source_annotations)?t.source_annotations:[],...Array.isArray(t.annotations)?t.annotations:[]].map(r=>typeof r?.value=="string"?r.value:void 0).filter(r=>!!r);if(o.length===0)return;let l;try{({parseAnnotation:l}=await h.loadMalloyTag())}catch{return}try{const{tag:r}=l(o);return ye(r)}catch(r){console.warn("Failed to parse # theme.* annotations; chart will render with the shell theme.",{error:r,lines:o});return}}function ze(e,t,o){const l=h.buildTableCssVars(t,o);for(const[r,a]of Object.entries(l))e.style.setProperty(r,a)}const Fe=`
|
|
3
3
|
/* Card geometry, through the renderer's OWN theme vars rather than over the top
|
|
4
4
|
of them. It declares --malloy-theme--dashboard-* on .malloy-render itself and
|
|
@@ -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) {
|