Skip to content

Commit

Permalink
Merge pull request #17 from magmodules/release/1.5.5
Browse files Browse the repository at this point in the history
Release/1.5.5
  • Loading branch information
Marvin-Magmodules authored Jan 16, 2023
2 parents 39f403d + 0d2ae81 commit ef7fc85
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 33 deletions.
63 changes: 32 additions & 31 deletions Api/WebApi/RepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,120 +17,121 @@ interface RepositoryInterface

/**
* @param int $entityId
* @return array
* @return mixed
*/
public function getLanguage(int $entityId): array;

/**
* @return array
* @return mixed
*/
public function getLanguages(): array;

/**
* @param int $entityId
* @return array
* @return mixed
*/
public function getProfile(int $entityId): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getProfiles(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $storeId
* @param int $entityId
*
* @return array
* @return mixed
*/
public function getProduct(int $storeId, int $entityId): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getProducts(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getProductsDelta(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $storeId
* @param int $entityId
* @return array
* @return mixed
*/
public function getVariant(int $storeId, int $entityId): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getVariants(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $entityId
* @return array
* @return mixed
*/
public function getReview(int $entityId): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getReviews(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $storeId
* @param int $entityId
* @return array
* @return mixed
*/
public function getCategory(int $storeId, int $entityId): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getCategories(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $entityId
* @return array
* @return mixed
*/
public function getOrder(int $entityId): array;

/**
* @param int $storeId
* @param SearchCriteriaInterface|null $searchCriteria
* @param int $storeId
* @param SearchCriteriaInterface $searchCriteria
*
* @return array
* @return mixed
*/
public function getOrders(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;

/**
* @param int $entityId
* @return array
* @return mixed
*/
public function getCart(int $entityId): array;

/**
* @param int $storeId
* @return array
* @param SearchCriteriaInterface $searchCriteria
* @return mixed
*/
public function getCarts(int $storeId, SearchCriteriaInterface $searchCriteria = null): array;
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magmodules/magento2-reloadify",
"description": "Reloadify extension for Magento 2",
"type": "magento2-module",
"version": "1.5.4",
"version": "1.5.5",
"license": [
"BSD-2-Clause"
],
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<default>
<magmodules_reloadify>
<general>
<version>v1.5.4</version>
<version>v1.5.5</version>
<enable>0</enable>
<debug>0</debug>
</general>
Expand Down
10 changes: 10 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@
<argument name="collectionProcessor" xsi:type="object">Magento\Catalog\Model\Api\SearchCriteria\ProductCollectionProcessor</argument>
</arguments>
</type>
<type name="Magmodules\Reloadify\Service\WebApi\Variants">
<arguments>
<argument name="collectionProcessor" xsi:type="object">Magento\Catalog\Model\Api\SearchCriteria\ProductCollectionProcessor</argument>
</arguments>
</type>
<type name="Magmodules\Reloadify\Service\WebApi\Category">
<arguments>
<argument name="collectionProcessor" xsi:type="object">Magento\Eav\Model\Api\SearchCriteria\CollectionProcessor</argument>
</arguments>
</type>

<type name="Magento\Customer\Model\AccountManagement">
<plugin name="saveEmailQuote" type="Magmodules\Reloadify\Plugin\Customer\SaveEmail" sortOrder="1" disabled="false" />
Expand Down

0 comments on commit ef7fc85

Please sign in to comment.