@infrab4a/connect-angular 4.3.0-beta.8 → 4.3.0-beta.9
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/esm2022/angular-connect.module.mjs +1 -1
- package/esm2022/angular-elastic-search.module.mjs +1 -1
- package/esm2022/angular-firebase-auth.module.mjs +1 -1
- package/esm2022/angular-firestore.module.mjs +1 -1
- package/esm2022/angular-hasura-graphql.module.mjs +1 -1
- package/esm2022/consts/category-structure.mjs +1 -1
- package/esm2022/consts/default-shop.const.mjs +1 -1
- package/esm2022/consts/es-config.const.mjs +1 -1
- package/esm2022/consts/firebase-const.mjs +1 -1
- package/esm2022/consts/hasura-options.const.mjs +1 -1
- package/esm2022/consts/index.mjs +1 -1
- package/esm2022/helpers/index.mjs +1 -1
- package/esm2022/helpers/mobile-operation-system-checker.helper.mjs +1 -1
- package/esm2022/index.mjs +1 -1
- package/esm2022/services/auth.service.mjs +1 -1
- package/esm2022/services/cart.service.mjs +1 -1
- package/esm2022/services/catalog/adapters/category-structure.adapter.mjs +1 -1
- package/esm2022/services/catalog/adapters/index.mjs +1 -1
- package/esm2022/services/catalog/adapters/new-category-structure.adapter.mjs +1 -1
- package/esm2022/services/catalog/adapters/old-category-structure.adapter.mjs +1 -1
- package/esm2022/services/catalog/catalog.service.mjs +1 -1
- package/esm2022/services/catalog/category.service.mjs +1 -1
- package/esm2022/services/catalog/enums/index.mjs +1 -1
- package/esm2022/services/catalog/enums/product-sorts.enum.mjs +1 -1
- package/esm2022/services/catalog/index.mjs +1 -2
- package/esm2022/services/catalog/models/category-with-tree.model.mjs +1 -1
- package/esm2022/services/catalog/models/index.mjs +1 -1
- package/esm2022/services/catalog/types/index.mjs +1 -1
- package/esm2022/services/catalog/types/product-sort.type.mjs +1 -1
- package/esm2022/services/catalog/wishlist.service.mjs +8 -17
- package/esm2022/services/checkout-subscription.service.mjs +1 -1
- package/esm2022/services/checkout.service.mjs +1 -1
- package/esm2022/services/coupon.service.mjs +1 -1
- package/esm2022/services/helpers/index.mjs +1 -1
- package/esm2022/services/helpers/util.helper.mjs +1 -1
- package/esm2022/services/home-shop.service.mjs +1 -1
- package/esm2022/services/index.mjs +1 -1
- package/esm2022/services/order.service.mjs +1 -1
- package/esm2022/services/shipping.service.mjs +1 -1
- package/esm2022/services/types/index.mjs +1 -1
- package/esm2022/services/types/required-checkout-data.type.mjs +1 -1
- package/esm2022/services/types/required-checkout-subscription-data.type.mjs +1 -1
- package/esm2022/services/types/shipping-methods.type.mjs +1 -1
- package/esm2022/types/firebase-app-config.type.mjs +1 -1
- package/esm2022/types/index.mjs +1 -1
- package/fesm2022/infrab4a-connect-angular.mjs +66 -75
- package/fesm2022/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +6 -6
- package/services/catalog/index.d.ts +0 -1
- package/services/catalog/wishlist.service.d.ts +4 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrab4a/connect-angular",
|
|
3
|
-
"version": "4.3.0-beta.
|
|
3
|
+
"version": "4.3.0-beta.9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"url": "https://github.com/B4AGroup/b4a-firebase-libs"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@angular/common": "^17.0.
|
|
13
|
-
"@angular/core": "^17.0.
|
|
14
|
-
"@angular/fire": "
|
|
15
|
-
"@infrab4a/connect": "^4.2.
|
|
12
|
+
"@angular/common": "^17.0.1",
|
|
13
|
+
"@angular/core": "^17.0.1",
|
|
14
|
+
"@angular/fire": "17.0.0-next.0",
|
|
15
|
+
"@infrab4a/connect": "^4.2.4",
|
|
16
16
|
"js-cookie": "^3.0.1",
|
|
17
|
-
"rxjs": "
|
|
17
|
+
"rxjs": "~7.8.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"js-cookie": "^3.0.1",
|
|
@@ -1,34 +1,17 @@
|
|
|
1
|
-
import { CategoryFilterRepository,
|
|
1
|
+
import { CategoryFilterRepository, ProductRepository, ProductsIndex, Shops, Wishlist, WishlistRepository } from '@infrab4a/connect';
|
|
2
2
|
import { CatalogService } from './catalog.service';
|
|
3
3
|
import { CategoryService } from './category.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class WishlistService {
|
|
6
6
|
private readonly wishlistRepository;
|
|
7
|
-
private readonly categoryRepository;
|
|
8
7
|
private readonly shop;
|
|
9
8
|
private catalogService;
|
|
10
9
|
private categoryService;
|
|
11
|
-
constructor(wishlistRepository: WishlistRepository,
|
|
10
|
+
constructor(wishlistRepository: WishlistRepository, shop: Shops, productRepository: ProductRepository, categoryFilterRepository: CategoryFilterRepository, productIndex: ProductsIndex);
|
|
12
11
|
getCatalogService(): CatalogService<import("@infrab4a/connect").Category>;
|
|
13
12
|
getCategoryService(): CategoryService;
|
|
14
|
-
create(
|
|
15
|
-
|
|
16
|
-
title: string;
|
|
17
|
-
description: string;
|
|
18
|
-
userFullName: string;
|
|
19
|
-
userPhoto?: string;
|
|
20
|
-
theme?: string;
|
|
21
|
-
bannerUrl?: string;
|
|
22
|
-
}): Promise<Wishlist>;
|
|
23
|
-
update({ id, title, description, userFullName, userPhoto, theme, bannerUrl, }: {
|
|
24
|
-
id: string;
|
|
25
|
-
title: string;
|
|
26
|
-
description: string;
|
|
27
|
-
userFullName: string;
|
|
28
|
-
userPhoto?: string;
|
|
29
|
-
theme?: string;
|
|
30
|
-
bannerUrl?: string;
|
|
31
|
-
}): Promise<Wishlist>;
|
|
13
|
+
create(personId: string, title: string, description: string, userFullName: string, userPhoto?: string): Promise<Wishlist>;
|
|
14
|
+
update(id: string, title: string, description: string, userFullName: string, userPhoto?: string): Promise<Wishlist>;
|
|
32
15
|
delete(wishlistId: string): Promise<void>;
|
|
33
16
|
getWishlistBySlug(slug: string): Promise<Wishlist>;
|
|
34
17
|
getWishlistsByPerson(personId: string): Promise<Wishlist[]>;
|