rerobe-js-orm 2.6.94 → 2.6.95

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.
@@ -205,6 +205,11 @@ class Order extends Base_1.default {
205
205
  name: 'documentId',
206
206
  type: 'string',
207
207
  },
208
+ {
209
+ facet: false,
210
+ name: 'userId',
211
+ type: 'string',
212
+ },
208
213
  {
209
214
  facet: true,
210
215
  name: 'createdAtTimestamp',
@@ -281,7 +286,7 @@ class Order extends Base_1.default {
281
286
  type: 'string',
282
287
  },
283
288
  ],
284
- name: 'dev_chatRooms_20220725',
289
+ name: 'prod_orders_20220809',
285
290
  };
286
291
  }
287
292
  toObjForTypesense() {
@@ -289,6 +294,7 @@ class Order extends Base_1.default {
289
294
  const stagedObj = {
290
295
  id: this.utilities.sanitizeString(this.documentId),
291
296
  documentId: this.utilities.sanitizeString(this.documentId),
297
+ userId: this.utilities.sanitizeString(this.userId),
292
298
  createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp),
293
299
  updatedAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.updatedAtTimestamp),
294
300
  merchantId: this.utilities.sanitizeString(this.merchantId),
@@ -680,6 +680,7 @@ declare type OrderRefundFormFields = {
680
680
  declare type TypesenseOrderObj = {
681
681
  id: string;
682
682
  documentId: string;
683
+ userId: string;
683
684
  createdAtTimestamp: number;
684
685
  updatedAtTimestamp: number;
685
686
  image: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.6.94",
3
+ "version": "2.6.95",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",