@orkow/common 0.0.89 → 0.0.91

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,9 +1,11 @@
1
1
  export declare enum UserType {
2
2
  Admin = "ADMIN",
3
+ AcquisitionExecutive = "ACQUISITION_EXECUTIVE",
3
4
  Agent = "AGENT",
4
5
  Business = "BUSINESS",
5
6
  CustomerSupport = "CUSTOMER_SUPPORT",
6
7
  Editor = "EDITOR",
8
+ Insight = "INSIGHT",
7
9
  Moderator = "MODERATOR",
8
10
  User = "USER",
9
11
  Viewer = "VIEWER"
@@ -1 +1 @@
1
- {"version":3,"file":"user-type.d.ts","sourceRoot":"","sources":["../../../src/events/types/user-type.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,eAAe,qBAAqB;IACpC,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
1
+ {"version":3,"file":"user-type.d.ts","sourceRoot":"","sources":["../../../src/events/types/user-type.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,oBAAoB,0BAA0B;IAC9C,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,eAAe,qBAAqB;IACpC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
@@ -4,10 +4,12 @@ exports.UserType = void 0;
4
4
  var UserType;
5
5
  (function (UserType) {
6
6
  UserType["Admin"] = "ADMIN";
7
+ UserType["AcquisitionExecutive"] = "ACQUISITION_EXECUTIVE";
7
8
  UserType["Agent"] = "AGENT";
8
9
  UserType["Business"] = "BUSINESS";
9
10
  UserType["CustomerSupport"] = "CUSTOMER_SUPPORT";
10
11
  UserType["Editor"] = "EDITOR";
12
+ UserType["Insight"] = "INSIGHT";
11
13
  UserType["Moderator"] = "MODERATOR";
12
14
  UserType["User"] = "USER";
13
15
  UserType["Viewer"] = "VIEWER";
@@ -4,7 +4,7 @@ exports.default = notificationTemplate;
4
4
  function notificationTemplate(user, type) {
5
5
  const text = getText(type);
6
6
  return `<span class="flex-shrink-0 inline-block relative">
7
- <img class="h-10 w-10 rounded-full" src=${user.imageUrl ?? null} alt="" />
7
+ <img class="h-10 w-10 rounded-full" src="${user.imageUrl ?? null}" alt="${user.fullname}" />
8
8
  <span class="absolute top-0 right-0 block h-2.5 w-2.5 rounded-full" aria-hidden="true"></span>
9
9
  </span>
10
10
  <div class="ml-4 truncate">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orkow/common",
3
- "version": "0.0.89",
3
+ "version": "0.0.91",
4
4
  "description": "Common utils.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",