@infrab4a/connect-angular 4.4.0-beta.12 → 4.4.0-beta.3

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": "4.4.0-beta.12",
3
+ "version": "4.4.0-beta.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -12,7 +12,7 @@
12
12
  "@angular/common": "^15.1.4",
13
13
  "@angular/core": "^15.1.4",
14
14
  "@angular/fire": "^7.5.0",
15
- "@infrab4a/connect": "^4.4.0-beta.8",
15
+ "@infrab4a/connect": "^4.4.0-beta.3",
16
16
  "js-cookie": "^3.0.1",
17
17
  "rxjs": "^6.6.7"
18
18
  },
@@ -1,10 +1,6 @@
1
1
  import { Category, CategoryFilterRepository, CategoryRepository, Filter, ProductGender, ProductRepository, Shops } from '@infrab4a/connect';
2
2
  import { CategoryStructureAdapter } from './adapters';
3
3
  import * as i0 from "@angular/core";
4
- type FetchBrandsOptions = {
5
- mainGender?: ProductGender;
6
- shop?: Shops;
7
- };
8
4
  export declare class CategoryService {
9
5
  private readonly productRepository;
10
6
  private readonly categoryRepository;
@@ -12,9 +8,8 @@ export declare class CategoryService {
12
8
  private readonly categoryStructureAdapter;
13
9
  private readonly shop;
14
10
  constructor(productRepository: ProductRepository, categoryRepository: CategoryRepository, categoryFilterRepository: CategoryFilterRepository, categoryStructureAdapter: CategoryStructureAdapter, shop: Shops);
15
- fetchBrands(category: Category, options?: FetchBrandsOptions): Promise<Category[]>;
11
+ fetchBrands(category: Category, mainGender?: ProductGender): Promise<Category[]>;
16
12
  fetchFilterOptions(category: Category): Promise<Filter[]>;
17
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CategoryService, never>;
18
14
  static ɵprov: i0.ɵɵInjectableDeclaration<CategoryService>;
19
15
  }
20
- export {};