Skip to content

Commit

Permalink
Merge branch 'main' into feat/GH-222
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick authored Jun 14, 2023
2 parents 715e3b4 + 3ffd000 commit 3bf48e8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-cats-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/composables-next": patch
---

Correct function signature
4 changes: 3 additions & 1 deletion packages/composables/src/useCustomerOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ export type UseCustomerOrdersReturn = {
orders: Ref<Order[]>;
/**
* Changes the current page of the orders list
*
* In order to change a page with additional parameters please use `loadOrders` method.
*/
changeCurrentPage(pageNumber: number | string): Promise<void>;
/**
* Fetches the orders list and assigns the result to the `orders` property
*/
loadOrders(): Promise<void>;
loadOrders(parameters: ShopwareSearchParams): Promise<void>;
};

/**
Expand Down
6 changes: 0 additions & 6 deletions templates/vue-demo-store/composables/useMeta.ts

This file was deleted.

8 changes: 0 additions & 8 deletions templates/vue-demo-store/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ export default defineNuxtConfig({
},
},
},
alias: {
/**
* TODO: Temp fix until new VueUse published:
* - https://github.com/vueuse/vueuse/pull/2449
* - https://github.com/vueuse/vueuse/actions/workflows/publish.yml
*/
useMeta: "~/composables/useMeta",
},
/**
* Commented because of the StackBlitz error
* Issue: https://github.com/shopware/frontends/issues/88
Expand Down

0 comments on commit 3bf48e8

Please sign in to comment.