adonisjs-server-stats 1.11.4 → 1.11.6

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/README.md CHANGED
@@ -495,13 +495,13 @@ import { ServerStatsBar, DebugPanel, DashboardPage } from 'adonisjs-server-stats
495
495
  import 'adonisjs-server-stats/react/css'
496
496
 
497
497
  // Stats bar — drop into your layout
498
- <ServerStatsBar endpoint="/admin/api/server-stats" intervalMs={3000} />
498
+ <ServerStatsBar endpoint="/admin/api/server-stats" pollInterval={3000} />
499
499
 
500
500
  // Debug panel — same layout, add below the stats bar
501
- <DebugPanel endpoint="/admin/api/debug" />
501
+ <DebugPanel debugEndpoint="/admin/api/debug" />
502
502
 
503
503
  // Dashboard — use as a full Inertia page
504
- <DashboardPage endpoint="/__stats/api" />
504
+ <DashboardPage dashboardEndpoint="/__stats/api" />
505
505
  ```
506
506
 
507
507
  Available hooks:
@@ -526,13 +526,13 @@ import 'adonisjs-server-stats/vue/css'
526
526
 
527
527
  <template>
528
528
  <!-- Stats bar — drop into your layout -->
529
- <ServerStatsBar endpoint="/admin/api/server-stats" :interval-ms="3000" />
529
+ <ServerStatsBar endpoint="/admin/api/server-stats" :poll-interval="3000" />
530
530
 
531
531
  <!-- Debug panel -->
532
- <DebugPanel endpoint="/admin/api/debug" />
532
+ <DebugPanel debug-endpoint="/admin/api/debug" />
533
533
 
534
534
  <!-- Dashboard — use as a full Inertia page -->
535
- <DashboardPage endpoint="/__stats/api" />
535
+ <DashboardPage dashboard-endpoint="/__stats/api" />
536
536
  </template>
537
537
  ```
538
538
 
@@ -23,9 +23,10 @@ export { OVERVIEW_REFRESH_MS, SECTION_REFRESH_MS, DEBUG_REFRESH_MS, SLOW_DURATIO
23
23
  export { TAB_ICONS } from './icons.js';
24
24
  export type { TabIconDef } from './icons.js';
25
25
  export { initResizableColumns } from './resizable-columns.js';
26
+ export { initSplitPane } from './split-pane.js';
26
27
  export { DebugDataController } from './debug-data-controller.js';
27
28
  export type { DebugDataControllerConfig, DebugDataControllerCallbacks, } from './debug-data-controller.js';
28
- export { LOG_LEVELS, resolveLogLevel, resolveLogMessage, resolveLogTimestamp, resolveLogRequestId, getLogLevelCssClass, filterLogsByLevel, } from './log-utils.js';
29
+ export { LOG_LEVELS, resolveLogLevel, resolveLogMessage, resolveLogTimestamp, resolveLogRequestId, getLogLevelCssClass, filterLogsByLevel, getStructuredData, } from './log-utils.js';
29
30
  export type { LogEntry } from './log-utils.js';
30
31
  export { filterQueries, countDuplicateQueries, computeQuerySummary } from './query-utils.js';
31
32
  export type { QuerySummary } from './query-utils.js';