@infrab4a/connect 4.4.0-beta.3 → 4.4.0-beta.6
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.
package/index.cjs.js
CHANGED
|
@@ -3650,7 +3650,7 @@ class ConnectDocumentService {
|
|
|
3650
3650
|
await firestore.deleteDoc(this.reference);
|
|
3651
3651
|
}
|
|
3652
3652
|
withConverter(params) {
|
|
3653
|
-
this.reference.withConverter(params);
|
|
3653
|
+
this.reference = this.reference.withConverter(params);
|
|
3654
3654
|
return this;
|
|
3655
3655
|
}
|
|
3656
3656
|
}
|
|
@@ -3710,7 +3710,7 @@ class ConnectCollectionService {
|
|
|
3710
3710
|
return this;
|
|
3711
3711
|
}
|
|
3712
3712
|
withConverter(params) {
|
|
3713
|
-
this.reference.withConverter(params);
|
|
3713
|
+
this.reference = this.reference.withConverter(params);
|
|
3714
3714
|
return this;
|
|
3715
3715
|
}
|
|
3716
3716
|
async save(data, id) {
|
package/index.esm.js
CHANGED
|
@@ -3626,7 +3626,7 @@ class ConnectDocumentService {
|
|
|
3626
3626
|
await deleteDoc(this.reference);
|
|
3627
3627
|
}
|
|
3628
3628
|
withConverter(params) {
|
|
3629
|
-
this.reference.withConverter(params);
|
|
3629
|
+
this.reference = this.reference.withConverter(params);
|
|
3630
3630
|
return this;
|
|
3631
3631
|
}
|
|
3632
3632
|
}
|
|
@@ -3686,7 +3686,7 @@ class ConnectCollectionService {
|
|
|
3686
3686
|
return this;
|
|
3687
3687
|
}
|
|
3688
3688
|
withConverter(params) {
|
|
3689
|
-
this.reference.withConverter(params);
|
|
3689
|
+
this.reference = this.reference.withConverter(params);
|
|
3690
3690
|
return this;
|
|
3691
3691
|
}
|
|
3692
3692
|
async save(data, id) {
|
package/package.json
CHANGED
|
@@ -11,5 +11,5 @@ export interface ProductRepository extends CrudRepository<Product> {
|
|
|
11
11
|
getBySlug(slug: string): Promise<Product>;
|
|
12
12
|
fetchReviews(status: ReviewStatusParams): Promise<ReviewWithProductData[]>;
|
|
13
13
|
cleanShoppingCountFromIds(ids: string[]): Promise<any>;
|
|
14
|
-
findCatalog(params: FindRepositoryParams<Product>, mainGender?: Extract<ProductGender, 'female' | 'male'>): Promise<RepositoryFindResult<Product>>;
|
|
14
|
+
findCatalog(params: FindRepositoryParams<Product>, mainGender?: Extract<ProductGender, 'female' | 'male' | 'unisex'>): Promise<RepositoryFindResult<Product>>;
|
|
15
15
|
}
|
package/teste2.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|