zavadil-react-common 1.1.28 → 1.1.30

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.
@@ -1,3 +1,4 @@
1
1
  export * from './table';
2
2
  export * from './alerts';
3
3
  export * from './dialogs';
4
+ export * from './stats';
@@ -0,0 +1,4 @@
1
+ export * from './JavaHeapControl';
2
+ export * from './CacheStatsControl';
3
+ export * from './QueueStateControl';
4
+ export * from './QueueStatsControl';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { PagingRequest, UserAlertType, UserAlerts, UserAlert } from 'zavadil-ts-common';
2
+ import { PagingRequest, UserAlertType, UserAlerts, UserAlert, JavaHeapStats, CacheStats, QueueStats } from 'zavadil-ts-common';
3
3
  import { PropsWithChildren } from 'react';
4
4
 
5
5
  type HeaderCol = {
@@ -52,4 +52,22 @@ type ConfirmDialogProps = BasicDialogProps & {
52
52
  };
53
53
  declare function ConfirmDialog({ name, text, onClose, onConfirm }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
54
54
 
55
- export { AdvancedTable, type AdvancedTableProps, type BasicDialogProps, ConfirmDialog, ConfirmDialogContextData, type ConfirmDialogProps, type HeaderCol, type TableHeader, UserAlertTypeIcon, type UserAlertTypeIconProps, UserAlertWidget, type UserAlertWidgetProps, UserAlertsWidget, type UserAlertsWidgetProps };
55
+ type WorkerJavaHeapControlProps = {
56
+ stats: JavaHeapStats;
57
+ };
58
+
59
+ type CacheStatsControlProps = {
60
+ name: string;
61
+ stats: CacheStats;
62
+ };
63
+
64
+ type QueueStateControlProps = {
65
+ state: string;
66
+ };
67
+
68
+ type QueueStatsControlProps = {
69
+ name: string;
70
+ stats: QueueStats;
71
+ };
72
+
73
+ export { AdvancedTable, type AdvancedTableProps, type BasicDialogProps, type CacheStatsControlProps, ConfirmDialog, ConfirmDialogContextData, type ConfirmDialogProps, type HeaderCol, type QueueStateControlProps, type QueueStatsControlProps, type TableHeader, UserAlertTypeIcon, type UserAlertTypeIconProps, UserAlertWidget, type UserAlertWidgetProps, UserAlertsWidget, type UserAlertsWidgetProps, type WorkerJavaHeapControlProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zavadil-react-common",
3
- "version": "1.1.28",
3
+ "version": "1.1.30",
4
4
  "description": "Common types for React Typescript UI apps.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,3 +1,4 @@
1
1
  export * from './table';
2
2
  export * from './alerts';
3
3
  export * from './dialogs';
4
+ export * from './stats';
@@ -0,0 +1,6 @@
1
+ export * from './JavaHeapControl';
2
+ export * from './CacheStatsControl';
3
+ export * from './QueueStateControl';
4
+ export * from './QueueStatsControl';
5
+
6
+