@chopkola/common 1.0.8 → 1.0.9

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,11 +1,26 @@
1
1
  export declare enum UserRoleEnum {
2
2
  CUSTOMER = "customer",
3
3
  VENDOR = "vendor",
4
- ADMINISTRATOR = "admin",
5
- DRIVER = "driver"
4
+ ADMINISTRATOR = "administrator"
5
+ }
6
+ export declare enum AdministratorRoleEnum {
7
+ SUPER_ADMINISTRATOR = "super_administrator",
8
+ SUPPORT = "support",
9
+ FINANCE = "finance",
10
+ OPERATIONS = "operations"
6
11
  }
7
12
  export declare enum UserGenderEnum {
8
13
  MALE = "male",
9
14
  FEMALE = "female",
10
15
  OTHERS = "others"
11
16
  }
17
+ export declare enum DietryPreferencesEnum {
18
+ VEGAN = "vegan",
19
+ HALAL = "halal",
20
+ ALLERGIES = "allergies"
21
+ }
22
+ export declare enum BusinessTypeEnum {
23
+ RESTAURANT = "restaurant",
24
+ GROCERY = "grocery",
25
+ BOTH = "both"
26
+ }
@@ -1,16 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserGenderEnum = exports.UserRoleEnum = void 0;
3
+ exports.BusinessTypeEnum = exports.DietryPreferencesEnum = exports.UserGenderEnum = exports.AdministratorRoleEnum = exports.UserRoleEnum = void 0;
4
4
  var UserRoleEnum;
5
5
  (function (UserRoleEnum) {
6
6
  UserRoleEnum["CUSTOMER"] = "customer";
7
7
  UserRoleEnum["VENDOR"] = "vendor";
8
- UserRoleEnum["ADMINISTRATOR"] = "admin";
9
- UserRoleEnum["DRIVER"] = "driver";
8
+ UserRoleEnum["ADMINISTRATOR"] = "administrator";
10
9
  })(UserRoleEnum = exports.UserRoleEnum || (exports.UserRoleEnum = {}));
10
+ var AdministratorRoleEnum;
11
+ (function (AdministratorRoleEnum) {
12
+ AdministratorRoleEnum["SUPER_ADMINISTRATOR"] = "super_administrator";
13
+ AdministratorRoleEnum["SUPPORT"] = "support";
14
+ AdministratorRoleEnum["FINANCE"] = "finance";
15
+ AdministratorRoleEnum["OPERATIONS"] = "operations";
16
+ })(AdministratorRoleEnum = exports.AdministratorRoleEnum || (exports.AdministratorRoleEnum = {}));
11
17
  var UserGenderEnum;
12
18
  (function (UserGenderEnum) {
13
19
  UserGenderEnum["MALE"] = "male";
14
20
  UserGenderEnum["FEMALE"] = "female";
15
21
  UserGenderEnum["OTHERS"] = "others";
16
22
  })(UserGenderEnum = exports.UserGenderEnum || (exports.UserGenderEnum = {}));
23
+ var DietryPreferencesEnum;
24
+ (function (DietryPreferencesEnum) {
25
+ DietryPreferencesEnum["VEGAN"] = "vegan";
26
+ DietryPreferencesEnum["HALAL"] = "halal";
27
+ DietryPreferencesEnum["ALLERGIES"] = "allergies";
28
+ })(DietryPreferencesEnum = exports.DietryPreferencesEnum || (exports.DietryPreferencesEnum = {}));
29
+ var BusinessTypeEnum;
30
+ (function (BusinessTypeEnum) {
31
+ BusinessTypeEnum["RESTAURANT"] = "restaurant";
32
+ BusinessTypeEnum["GROCERY"] = "grocery";
33
+ BusinessTypeEnum["BOTH"] = "both";
34
+ })(BusinessTypeEnum = exports.BusinessTypeEnum || (exports.BusinessTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chopkola/common",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "akrosoft technology ltd",