tickera-angular-components 0.0.1-dev.104 → 0.0.1-dev.105
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.d.ts
CHANGED
|
@@ -766,7 +766,6 @@ interface Product extends Auditable {
|
|
|
766
766
|
slug: string;
|
|
767
767
|
sku?: string;
|
|
768
768
|
is_limited_edition: boolean;
|
|
769
|
-
is_active: boolean;
|
|
770
769
|
deleted_at: Date | null;
|
|
771
770
|
categories?: ProductCategory[];
|
|
772
771
|
tags?: ProductTag[];
|
|
@@ -1985,6 +1984,13 @@ interface FetchProductsParams {
|
|
|
1985
1984
|
page?: number;
|
|
1986
1985
|
limit?: number;
|
|
1987
1986
|
search?: string;
|
|
1987
|
+
name?: string;
|
|
1988
|
+
is_published?: boolean;
|
|
1989
|
+
category_id?: number;
|
|
1990
|
+
tag_id?: number;
|
|
1991
|
+
type_id?: number;
|
|
1992
|
+
ids_in?: number[];
|
|
1993
|
+
ids_not_in?: number[];
|
|
1988
1994
|
}
|
|
1989
1995
|
|
|
1990
1996
|
declare class ProductService {
|
|
@@ -1992,7 +1998,7 @@ declare class ProductService {
|
|
|
1992
1998
|
private productsSubject;
|
|
1993
1999
|
products$: Observable<Product[]>;
|
|
1994
2000
|
constructor(apiService: ApiService);
|
|
1995
|
-
fetchProducts(
|
|
2001
|
+
fetchProducts(params: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
1996
2002
|
loadProducts(params: FetchProductsParams): void;
|
|
1997
2003
|
getCurrentProducts(): Product[];
|
|
1998
2004
|
fetchOneById(id: number): Observable<ProductResponse>;
|