@chopkola/common 1.0.48 → 1.0.50

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.
@@ -28,6 +28,6 @@ export declare type SystemUsersStats = {
28
28
  };
29
29
  export declare type SystemUserManagementData = {
30
30
  stats: SystemUsersStats;
31
- account_types: FilterTab;
31
+ account_types?: FilterTab;
32
32
  users: UserI[];
33
33
  };
@@ -19,5 +19,5 @@ export interface SystemLoggedActivityI {
19
19
  export interface SystemPerformanceI {
20
20
  id: string;
21
21
  }
22
- export declare const filterTabs: readonly ["all", ...UserAccountTypeEnum[]];
23
- export declare type FilterTab = (typeof filterTabs)[number];
22
+ export declare type FilterTab = "all" | UserAccountTypeEnum;
23
+ export declare const filterTabs: readonly FilterTab[];
@@ -4,4 +4,7 @@ exports.filterTabs = exports.REFRESH_TOKEN_EXPIRATION_DURATION = exports.ACCESS_
4
4
  const user_1 = require("./enum/user");
5
5
  exports.ACCESS_TOKEN_EXPIRATION_DURATION = '15m';
6
6
  exports.REFRESH_TOKEN_EXPIRATION_DURATION = '1d';
7
- exports.filterTabs = ["all", ...Object.values(user_1.UserAccountTypeEnum),];
7
+ exports.filterTabs = [
8
+ "all",
9
+ ...Object.values(user_1.UserAccountTypeEnum),
10
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",