This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(:rocket:): switch to new api for shopware v6.2 (#720)
* feat(composables): update customer specific areas for new api * feat(client): adjustments for SW v6.2 (store-api) * feat(nuxt-module): remove api suffix after API domain URL
- Loading branch information
Showing
65 changed files
with
684 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
packages/commons/interfaces/response/ProductListingResult.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Product } from "@shopware-pwa/commons/interfaces/models/content/product/Product"; | ||
import { Sort } from "@shopware-pwa/commons/interfaces/search/SearchCriteria"; | ||
import { Aggregation } from "@shopware-pwa/commons/interfaces/search/Aggregation"; | ||
import { | ||
EqualsFilter, | ||
RangeFilter, | ||
MultiFilter, | ||
EqualsAnyFilter, | ||
} from "@shopware-pwa/commons/interfaces/search/SearchFilter"; | ||
export interface ProductListingResult { | ||
/** | ||
* apiAlias - determines the entity name that can be used within "includes" functionality (added in store-api) | ||
*/ | ||
apiAlias: string; | ||
total: number; | ||
elements: Product[]; | ||
sorting: string; | ||
page: number; | ||
limit: number; | ||
sortings: Sort[]; | ||
aggregations: Aggregation[]; | ||
currentFilters: Array< | ||
EqualsFilter | EqualsAnyFilter | RangeFilter | MultiFilter | ||
>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
28bac89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: