rerobe-js-orm 4.0.0 → 4.0.2

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.
@@ -276,6 +276,11 @@ class Order extends Base_1.default {
276
276
  name: 'orderNumber',
277
277
  type: 'int32',
278
278
  },
279
+ {
280
+ facet: true,
281
+ name: 'orderNumberString',
282
+ type: 'string',
283
+ },
279
284
  {
280
285
  facet: true,
281
286
  name: 'customerName',
@@ -393,6 +398,7 @@ class Order extends Base_1.default {
393
398
  merchantId: this.utilities.sanitizeString(this.merchantId),
394
399
  image: this.utilities.sanitizeString(image),
395
400
  orderNumber: this.utilities.sanitizeNumber(this.orderNumber),
401
+ orderNumberString: this.utilities.sanitizeString(this.orderNumber),
396
402
  customerName: this.utilities.sanitizeString(this.customerName),
397
403
  customerEmail: this.utilities.sanitizeString(this.email),
398
404
  totalPrice: this.utilities.sanitizeNumber(Number(this.totalPrice.amount) - Number(this.totalRefunded.amount)),
@@ -27,6 +27,7 @@ type ChatRoomUserInfo = {
27
27
  typing: boolean;
28
28
  isChatAdmin?: boolean;
29
29
  isReRobeStaff?: boolean;
30
+ isMerchantStaff?: boolean;
30
31
  isSeller?: boolean;
31
32
  firstName?: string;
32
33
  };
@@ -885,6 +885,7 @@ type TypesenseOrderObj = {
885
885
  updatedAtTimestamp: number;
886
886
  image: string;
887
887
  orderNumber: number;
888
+ orderNumberString: string;
888
889
  customerName: string;
889
890
  customerEmail: string;
890
891
  totalPrice: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",