@infrab4a/connect 3.0.0-beta.2 → 3.0.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/bundles/infrab4a-connect.umd.js +58 -16
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +29 -5
- package/fesm2015/infrab4a-connect.js +28 -4
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +2 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ declare const ProductHasuraGraphQLRepository_base: import("../../../../utils").M
|
|
|
7
7
|
export declare class ProductHasuraGraphQLRepository extends ProductHasuraGraphQLRepository_base implements ProductRepository {
|
|
8
8
|
private get reviewsFields();
|
|
9
9
|
constructor(endpoint: string, authOptions: HasuraGraphQLAuthOptions);
|
|
10
|
-
create(
|
|
10
|
+
create(params: CreateRepositoryParams<ProductHasuraGraphQL>): Promise<ProductHasuraGraphQL>;
|
|
11
11
|
get(identifiers: GetRepositoryParams<ProductHasuraGraphQL>): Promise<ProductHasuraGraphQL>;
|
|
12
12
|
find(params?: FindRepositoryParams<ProductHasuraGraphQL>): Promise<RepositoryFindResult<ProductHasuraGraphQL>>;
|
|
13
13
|
getBySlug(slug: string): Promise<ProductHasuraGraphQL>;
|
|
@@ -16,6 +16,7 @@ export declare class ProductHasuraGraphQLRepository extends ProductHasuraGraphQL
|
|
|
16
16
|
private updateCategories;
|
|
17
17
|
private updateKitProducts;
|
|
18
18
|
private updateReviews;
|
|
19
|
+
private updateMetadata;
|
|
19
20
|
private getId;
|
|
20
21
|
private findReviewsByProduct;
|
|
21
22
|
private findReview;
|