@infrab4a/connect-angular 5.0.0-beta.60 → 5.0.0-beta.61

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect-angular",
3
- "version": "5.0.0-beta.60",
3
+ "version": "5.0.0-beta.61",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -12,7 +12,7 @@
12
12
  "@angular/common": "17.2.3",
13
13
  "@angular/core": "17.2.3",
14
14
  "@angular/fire": "17.0.1",
15
- "@infrab4a/connect": "4.9.7-beta.25",
15
+ "@infrab4a/connect": "4.9.7-beta.0",
16
16
  "js-cookie": "^3.0.1",
17
17
  "rxjs": "^7.8.1"
18
18
  },
@@ -1,14 +1,16 @@
1
- import { CategoryFilterRepository, CategoryRepository, PersonType, ProductRepository, ProductSearchIndex, ProductStockNotificationRepository, Shops, Wishlist, WishlistRepository } from '@infrab4a/connect';
1
+ import { CategoryFilterRepository, CategoryRepository, LogRepository, PersonType, ProductRepository, ProductSearchIndex, ProductStockNotificationRepository, 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
7
  private readonly shop;
8
+ productRepository: ProductRepository;
8
9
  private readonly productSearch;
10
+ private readonly logRepository;
9
11
  private catalogService;
10
12
  private categoryService;
11
- constructor(wishlistRepository: WishlistRepository, shop: Shops, productRepository: ProductRepository, categoryFilterRepository: CategoryFilterRepository, categoryRepository: CategoryRepository, productStockNotificationRepository: ProductStockNotificationRepository, productSearch: ProductSearchIndex);
13
+ constructor(wishlistRepository: WishlistRepository, shop: Shops, productRepository: ProductRepository, categoryFilterRepository: CategoryFilterRepository, categoryRepository: CategoryRepository, productStockNotificationRepository: ProductStockNotificationRepository, productSearch: ProductSearchIndex, logRepository: LogRepository);
12
14
  getCatalogService(): CatalogService<import("@infrab4a/connect").Category>;
13
15
  getCategoryService(): CategoryService;
14
16
  create({ personId, title, description, published, userFullName, userPhoto, theme, bannerUrl, personType, personIsSubscriber, }: {
@@ -40,6 +42,9 @@ export declare class WishlistService {
40
42
  getWishlistsByPerson(personId: string): Promise<Wishlist[]>;
41
43
  addProduct(wishlistId: string, productId: string): Promise<Wishlist>;
42
44
  removeProduct(wishlistId: string, productId: string): Promise<Wishlist>;
45
+ private findById;
46
+ private findProductById;
47
+ private createWishlistLog;
43
48
  static ɵfac: i0.ɵɵFactoryDeclaration<WishlistService, never>;
44
49
  static ɵprov: i0.ɵɵInjectableDeclaration<WishlistService>;
45
50
  }