@chopkola/common 1.0.85 → 1.0.87

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.
@@ -2,3 +2,4 @@ export * from './system.user.management.type';
2
2
  export * from './administrator.dashboard.type';
3
3
  export * from './access.control.list.type';
4
4
  export * from './create.administrator.type';
5
+ export * from './vendor/vendor.user.summary.statistics.resource.data';
@@ -18,3 +18,4 @@ __exportStar(require("./system.user.management.type"), exports);
18
18
  __exportStar(require("./administrator.dashboard.type"), exports);
19
19
  __exportStar(require("./access.control.list.type"), exports);
20
20
  __exportStar(require("./create.administrator.type"), exports);
21
+ __exportStar(require("./vendor/vendor.user.summary.statistics.resource.data"), exports);
@@ -1,4 +1,33 @@
1
+ import { LucideIcon } from "lucide-react";
1
2
  import { VendorI } from "../../user";
2
- export declare type vendorUserSummaryStatisticsResourceData = {
3
- resources: VendorI[];
3
+ export declare enum VendorUserSummaryStatisticsIconEnum {
4
+ BUILDING_2 = "building_2",
5
+ STORE = "store",
6
+ CLOCK = "clock",
7
+ BAN = "ban"
8
+ }
9
+ export declare type BackendVendorUserSummaryStat = {
10
+ title: string;
11
+ value: string | number;
12
+ icon: VendorUserSummaryStatisticsIconEnum;
13
+ bg_color: string;
14
+ text_color: string;
15
+ };
16
+ export declare type VendorUserSummaryStat = {
17
+ title: string;
18
+ value: string | number;
19
+ icon: LucideIcon;
20
+ bg_color: string;
21
+ text_color: string;
22
+ };
23
+ export declare type VendorUserStats = {
24
+ registered_businesses: BackendVendorUserSummaryStat;
25
+ active: BackendVendorUserSummaryStat;
26
+ pending_approval: BackendVendorUserSummaryStat;
27
+ suspended: BackendVendorUserSummaryStat;
28
+ };
29
+ export declare type VendorUserSummaryStatisticsResourceData = {
30
+ businesses: VendorI[];
31
+ actions: any[];
32
+ stats: VendorUserStats;
4
33
  };
@@ -1,2 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VendorUserSummaryStatisticsIconEnum = void 0;
4
+ var VendorUserSummaryStatisticsIconEnum;
5
+ (function (VendorUserSummaryStatisticsIconEnum) {
6
+ VendorUserSummaryStatisticsIconEnum["BUILDING_2"] = "building_2";
7
+ VendorUserSummaryStatisticsIconEnum["STORE"] = "store";
8
+ VendorUserSummaryStatisticsIconEnum["CLOCK"] = "clock";
9
+ VendorUserSummaryStatisticsIconEnum["BAN"] = "ban";
10
+ })(VendorUserSummaryStatisticsIconEnum = exports.VendorUserSummaryStatisticsIconEnum || (exports.VendorUserSummaryStatisticsIconEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.85",
3
+ "version": "1.0.87",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",