@chopkola/common 1.0.35 → 1.0.37

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,5 +1,6 @@
1
1
  import type { ComponentType, SVGProps } from "react";
2
2
  import { VendorI } from "../user";
3
+ import { SystemLoggedActivityI, SystemPerformanceI } from "../global";
3
4
  export declare enum AdminnistratorDashboardIconEnum {
4
5
  BADGE_DOLLAR_SIGN = "badge_dollar_sign",
5
6
  WALLET = "wallet",
@@ -26,18 +27,11 @@ export declare type AdminDashboardStats = {
26
27
  active_vendors: BackendAdministratorStat;
27
28
  active_users: BackendAdministratorStat;
28
29
  };
29
- export declare type SystemActivity = {
30
- id: string;
31
- type: string;
32
- description: string;
33
- created_at: string;
34
- };
35
- export declare type PerformanceData = Record<string, number | string | boolean | null>;
36
30
  export declare type AdministratorDashboardData = {
37
31
  stats: AdminDashboardStats;
38
32
  vendor_applications: VendorI[];
39
- system_activities: SystemActivity[];
40
- performance_data: PerformanceData;
33
+ system_activities: SystemLoggedActivityI[];
34
+ performance_data: SystemPerformanceI[];
41
35
  };
42
36
  export declare type GetAdministratorDashboardPageResourceI = {
43
37
  data: AdministratorDashboardData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",