rerobe-js-orm 2.6.91 → 2.6.92

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.
@@ -111,6 +111,7 @@ class ChatRoom extends Base_1.default {
111
111
  return result;
112
112
  }, []);
113
113
  const stagedObj = {
114
+ id: this.utilities.sanitizeString(this.documentId),
114
115
  documentId: this.utilities.sanitizeString(this.documentId),
115
116
  createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp),
116
117
  type: this.utilities.sanitizeString(this.type),
@@ -183,6 +183,7 @@ class ProductCollection extends Base_1.default {
183
183
  }
184
184
  toObjForTypesense() {
185
185
  const stagedObj = {
186
+ id: this.utilities.sanitizeString(this.documentId),
186
187
  documentId: this.utilities.sanitizeString(this.documentId),
187
188
  merchantId: this.utilities.sanitizeString(this.merchantId),
188
189
  createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp),
@@ -64,6 +64,7 @@ declare type ProductCollectionFormFields = {
64
64
  collectionId: TextInputFormField<string>;
65
65
  };
66
66
  declare type TypesenseProductCollectionObj = {
67
+ id: string;
67
68
  documentId: string;
68
69
  merchantId: string;
69
70
  createdAtTimestamp: number;
@@ -31,6 +31,7 @@ declare type ChatRoomUserInfo = {
31
31
  firstName?: string;
32
32
  };
33
33
  declare type TypesenseChatRoomObj = {
34
+ id: string;
34
35
  documentId: string;
35
36
  createdAtTimestamp: number;
36
37
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.6.91",
3
+ "version": "2.6.92",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",