@chisquare-tech/origine-ngx-apps-services 0.2.1 → 0.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chisquare-tech/origine-ngx-apps-services",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Origine's Services module screens: managed Postgres, MySQL and Valkey — the list with quota, the create wizard, and the instance page (connection details, attachments, databases and users, backups and PITR, metrics, logs, settings).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -448,6 +448,10 @@ declare const DAYS: {
448
448
  id: string;
449
449
  label: string;
450
450
  }[];
451
+ /** While the browser tab is hidden, the page's polls slow to once a minute (the cell is read for each). */
452
+ declare const HIDDEN_POLL_MS = 60000;
453
+ /** The delay before the next poll: `visibleMs` while the page is seen, once a minute while it is hidden. */
454
+ declare function pollDelay(visibleMs: number): number;
451
455
 
452
456
  declare class ServicesListPage {
453
457
  protected readonly host: ServicesHost;
@@ -819,5 +823,5 @@ declare class ServiceDumpsCard {
819
823
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ServiceDumpsCard, "o-svc-dumps", never, { "d": { "alias": "d"; "required": true; "isSignal": true; }; "projectKey": { "alias": "projectKey"; "required": true; "isSignal": true; }; "dumps": { "alias": "dumps"; "required": false; "isSignal": true; }; }, { "done": "done"; "failed": "failed"; }, never, never, true, never>;
820
824
  }
821
825
 
822
- export { DAYS, ENGINE_COLOUR, LIFECYCLE, PRESETS, ServiceConsoleTab, ServiceDumpsCard, ServiceLogsTab, ServiceMetricsTab, ServicePage, ServicesApi, ServicesHost, ServicesListPage, ServicesNewPage, apiMessage, backupKind, backupsLine, bytes, fromLocalInput, hhmm, hhmmss, money, moving, num, pct, presetChip, ratio, shortDate, spark, sparkPath, stateChip, stateDot, toLocalInput, utcHour, when };
826
+ export { DAYS, ENGINE_COLOUR, HIDDEN_POLL_MS, LIFECYCLE, PRESETS, ServiceConsoleTab, ServiceDumpsCard, ServiceLogsTab, ServiceMetricsTab, ServicePage, ServicesApi, ServicesHost, ServicesListPage, ServicesNewPage, apiMessage, backupKind, backupsLine, bytes, fromLocalInput, hhmm, hhmmss, money, moving, num, pct, pollDelay, presetChip, ratio, shortDate, spark, sparkPath, stateChip, stateDot, toLocalInput, utcHour, when };
823
827
  export type { Attachment, Backup, Catalog, Connection, CreateInput, Database, Detail, Dump, Engine, EngineVersion, Figure, Gauge, Inspection, LogKind, LogLine, Logs, Metrics, Param, Plan, PodView, QueryResult, Quota, Revealed, Rotation, ServiceList, ServicesApp, ServicesProject, State, Stream, Summary, UpdateInput, UserView };