@lensmcp/protocol-types 1.25.40 → 1.25.42

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.
Files changed (2) hide show
  1. package/lib/dashboard.d.ts +10 -0
  2. package/package.json +1 -1
@@ -1776,6 +1776,11 @@ export interface DashDbStore {
1776
1776
  databases: DashDbDatabase[];
1777
1777
  /** Connections to the server, all databases. */
1778
1778
  connections?: number;
1779
+ /**
1780
+ * When its databases' sizes were read (epoch ms): they are read every 5 minutes, and at once for a new database —
1781
+ * the names and connections every read (issues/closed/foodguard-136).
1782
+ */
1783
+ sizesAt?: number;
1779
1784
  }
1780
1785
  /**
1781
1786
  * Data › Databases › Connections: who holds the server's connections, against its limit — read from `pg_stat_activity`
@@ -1843,6 +1848,11 @@ export interface DashDbDatabase {
1843
1848
  /** `/api/db/schema?store=&db=` — one database as Postgres describes it. */
1844
1849
  export interface DashDbSchema {
1845
1850
  at: number;
1851
+ /**
1852
+ * When its tables' and indexes' sizes were read (epoch ms): every 5 minutes, and at once for a table or index never
1853
+ * sized (DDL since) — everything else every read (issues/closed/foodguard-136).
1854
+ */
1855
+ sizesAt?: number;
1846
1856
  store: string;
1847
1857
  database: string;
1848
1858
  /** Since when Postgres counted scans and statements (its last stats reset), if it says. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.25.40",
3
+ "version": "1.25.42",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",