rerobe-js-orm 2.4.86 → 2.4.87

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.
@@ -254,6 +254,7 @@ class Product extends Base_1.default {
254
254
  tags: this.utilities.sanitzeStringArr(this.filterAttributes.tags),
255
255
  title: this.utilities.sanitizeString(this.attributes.title),
256
256
  vendorName: this.utilities.sanitizeString(this.attributes.vendorName),
257
+ vendorId: this.utilities.sanitizeString(this.attributes.vendorId),
257
258
  createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.timestampAttributes.createdAtTimestamp),
258
259
  updatedAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.timestampAttributes.updatedAtTimestamp),
259
260
  sellRequestReviewTimestamp: this.utilities.sanitizeMillisTimeStamp(this.timestampAttributes.sellRequestReviewTimestamp),
@@ -282,6 +283,7 @@ class Product extends Base_1.default {
282
283
  discountType: this.utilities.sanitizeString(this.consignmentAttributes.discountType),
283
284
  discountValue: this.utilities.sanitizeNumber(this.consignmentAttributes.discountValue, 0),
284
285
  id: this.utilities.sanitizeString(this.filterAttributes.documentId),
286
+ documentId: this.utilities.sanitizeString(this.filterAttributes.documentId),
285
287
  gender: this.utilities.sanitizeString(this.filterAttributes.gender),
286
288
  handle: this.utilities.sanitizeString(this.attributes.handle),
287
289
  imageUrls: this.utilities.sanitzeStringArr(this.attributes.imageUrls),
@@ -537,6 +539,11 @@ class Product extends Base_1.default {
537
539
  name: 'vendorName',
538
540
  type: 'string',
539
541
  },
542
+ {
543
+ facet: true,
544
+ name: 'vendorId',
545
+ type: 'string',
546
+ },
540
547
  {
541
548
  facet: false,
542
549
  optional: true,
@@ -585,6 +592,11 @@ class Product extends Base_1.default {
585
592
  name: 'id',
586
593
  type: 'string',
587
594
  },
595
+ {
596
+ facet: false,
597
+ name: 'documentId',
598
+ type: 'string',
599
+ },
588
600
  {
589
601
  facet: true,
590
602
  name: 'gender',
@@ -256,6 +256,7 @@ declare type TypesenseProductObj = {
256
256
  tags: string[];
257
257
  title: string;
258
258
  vendorName: string;
259
+ vendorId: string;
259
260
  createdAtTimestamp: number;
260
261
  updatedAtTimestamp: number;
261
262
  sellRequestReviewTimestamp: number;
@@ -284,6 +285,7 @@ declare type TypesenseProductObj = {
284
285
  discountType: string;
285
286
  discountValue: number;
286
287
  id: string;
288
+ documentId: string;
287
289
  gender: string;
288
290
  handle: string;
289
291
  imageUrls: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "2.4.86",
3
+ "version": "2.4.87",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",