@teamnovu/kit-shopware-composables 0.0.26 → 0.0.27

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.
@@ -49,6 +49,11 @@ export declare function getProductVariantForOptions<S extends DetailProduct>(pro
49
49
  ean?: string;
50
50
  extensions?: {
51
51
  novuSeoUrls?: GenericRecord;
52
+ productVariantListingConfig?: {
53
+ configuratorGroupConfig?: GenericRecord[];
54
+ displayParent?: boolean;
55
+ mainVariantId?: string;
56
+ };
52
57
  variants?: GenericRecord;
53
58
  };
54
59
  height?: number;
@@ -63,6 +68,7 @@ export declare function getProductVariantForOptions<S extends DetailProduct>(pro
63
68
  manufacturerNumber?: string;
64
69
  markAsTopseller?: boolean;
65
70
  maxPurchase?: number;
71
+ measurements?: components["schemas"]["ProductMeasurements"];
66
72
  media?: components["schemas"]["ProductMedia"][];
67
73
  metaDescription?: string;
68
74
  metaTitle?: string;
@@ -185,6 +191,11 @@ export declare function useProductVariantForOptions<S extends DetailProduct>(pro
185
191
  ean?: string;
186
192
  extensions?: {
187
193
  novuSeoUrls?: GenericRecord;
194
+ productVariantListingConfig?: {
195
+ configuratorGroupConfig?: GenericRecord[];
196
+ displayParent?: boolean;
197
+ mainVariantId?: string;
198
+ };
188
199
  variants?: GenericRecord;
189
200
  };
190
201
  height?: number;
@@ -199,6 +210,7 @@ export declare function useProductVariantForOptions<S extends DetailProduct>(pro
199
210
  manufacturerNumber?: string;
200
211
  markAsTopseller?: boolean;
201
212
  maxPurchase?: number;
213
+ measurements?: components["schemas"]["ProductMeasurements"];
202
214
  media?: components["schemas"]["ProductMedia"][];
203
215
  metaDescription?: string;
204
216
  metaTitle?: string;
@@ -2,6 +2,8 @@
2
2
 
3
3
  export COMPOSER_HOME=/var/www
4
4
 
5
+ composer config repositories.teamnovu-satis composer https://satis.novu.ch
6
+
5
7
  bin/console database:migrate --all
6
8
  bin/console cache:clear
7
9
  composer require teamnovu/shopware-headless-plugin
@@ -2,8 +2,15 @@ name: shopware-for-kit
2
2
 
3
3
  services:
4
4
  shopware-for-kit:
5
- image: dockware/dev:6.7.0.0-rc2
5
+ image: dockware/dev:6.7.2.2
6
6
  container_name: shopware-for-kit
7
+ environment:
8
+ COMPOSER_AUTH: |-
9
+ {
10
+ "bearer": {
11
+ "satis.novu.ch": "${INBUDGET_TOKEN}"
12
+ }
13
+ }
7
14
  ports:
8
15
  - "8500:80"
9
16
  volumes:
package/docker/types.sh CHANGED
@@ -1,12 +1,14 @@
1
1
 
2
- cd docker && docker compose up &
2
+ cd docker && docker compose up -d
3
3
 
4
4
  # This currently works but it goes on with the script before all plugins are installed.
5
5
  # thus the first time this runs we may have to run the script twice.
6
- until curl --output /dev/null --silent --head --fail http://localhost:8500; do
6
+ until curl --output /dev/null --silent --head --fail http://localhost:8500/admin; do
7
7
  sleep 3
8
8
  done
9
9
 
10
+ cd ..
11
+
10
12
 
11
13
  pnpm dlx @shopware/api-gen loadSchema --apiType=store
12
14
  pnpm dlx @shopware/api-gen generate --apiType=store
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamnovu/kit-shopware-composables",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "A collection of composables for the Shopware API",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",
@@ -17,7 +17,7 @@
17
17
  "peerDependencies": {
18
18
  "@tanstack/vue-query": "^5.85.3",
19
19
  "vue": "^3.0.0",
20
- "@teamnovu/kit-shopware-api-client": "0.0.13"
20
+ "@teamnovu/kit-shopware-api-client": "0.0.14"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",