@teamnovu/kit-shopware-composables 0.0.26 → 0.0.28

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.
@@ -48,8 +48,23 @@ export declare function getProductVariantForOptions<S extends DetailProduct>(pro
48
48
  downloads?: components["schemas"]["ProductDownload"][];
49
49
  ean?: string;
50
50
  extensions?: {
51
+ netiEasyCouponProduct?: {
52
+ createdAt?: string;
53
+ updatedAt?: string;
54
+ value?: components["schemas"]["EasyCouponPrice"][];
55
+ valueType?: number;
56
+ };
51
57
  novuSeoUrls?: GenericRecord;
52
- variants?: GenericRecord;
58
+ productVariantListingConfig?: {
59
+ configuratorGroupConfig?: GenericRecord[];
60
+ displayParent?: boolean;
61
+ mainVariantId?: string;
62
+ };
63
+ search?: GenericRecord;
64
+ variantAvailability?: {
65
+ totalStock?: number;
66
+ };
67
+ variants?: components["schemas"]["Product"][];
53
68
  };
54
69
  height?: number;
55
70
  id: string;
@@ -63,6 +78,7 @@ export declare function getProductVariantForOptions<S extends DetailProduct>(pro
63
78
  manufacturerNumber?: string;
64
79
  markAsTopseller?: boolean;
65
80
  maxPurchase?: number;
81
+ measurements?: components["schemas"]["ProductMeasurements"];
66
82
  media?: components["schemas"]["ProductMedia"][];
67
83
  metaDescription?: string;
68
84
  metaTitle?: string;
@@ -106,6 +122,11 @@ export declare function getProductVariantForOptions<S extends DetailProduct>(pro
106
122
  cmsPageId: string;
107
123
  cmsPageVersionId: string;
108
124
  coverId: string;
125
+ customFields?: {
126
+ novu_headless_gtag_category?: boolean;
127
+ novu_headless_hide_delivery_cost?: boolean;
128
+ novu_headless_sales_channel_product_show_tax_info?: boolean;
129
+ };
109
130
  deliveryTimeId: string;
110
131
  description: string;
111
132
  displayGroup: string;
@@ -184,8 +205,23 @@ export declare function useProductVariantForOptions<S extends DetailProduct>(pro
184
205
  downloads?: components["schemas"]["ProductDownload"][];
185
206
  ean?: string;
186
207
  extensions?: {
208
+ netiEasyCouponProduct?: {
209
+ createdAt?: string;
210
+ updatedAt?: string;
211
+ value?: components["schemas"]["EasyCouponPrice"][];
212
+ valueType?: number;
213
+ };
187
214
  novuSeoUrls?: GenericRecord;
188
- variants?: GenericRecord;
215
+ productVariantListingConfig?: {
216
+ configuratorGroupConfig?: GenericRecord[];
217
+ displayParent?: boolean;
218
+ mainVariantId?: string;
219
+ };
220
+ search?: GenericRecord;
221
+ variantAvailability?: {
222
+ totalStock?: number;
223
+ };
224
+ variants?: components["schemas"]["Product"][];
189
225
  };
190
226
  height?: number;
191
227
  id: string;
@@ -199,6 +235,7 @@ export declare function useProductVariantForOptions<S extends DetailProduct>(pro
199
235
  manufacturerNumber?: string;
200
236
  markAsTopseller?: boolean;
201
237
  maxPurchase?: number;
238
+ measurements?: components["schemas"]["ProductMeasurements"];
202
239
  media?: components["schemas"]["ProductMedia"][];
203
240
  metaDescription?: string;
204
241
  metaTitle?: string;
@@ -242,6 +279,11 @@ export declare function useProductVariantForOptions<S extends DetailProduct>(pro
242
279
  cmsPageId: string;
243
280
  cmsPageVersionId: string;
244
281
  coverId: string;
282
+ customFields?: {
283
+ novu_headless_gtag_category?: boolean;
284
+ novu_headless_hide_delivery_cost?: boolean;
285
+ novu_headless_sales_channel_product_show_tax_info?: boolean;
286
+ };
245
287
  deliveryTimeId: string;
246
288
  description: string;
247
289
  displayGroup: 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,14 +1,17 @@
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
+
12
+ sleep 10
10
13
 
11
14
  pnpm dlx @shopware/api-gen loadSchema --apiType=store
12
15
  pnpm dlx @shopware/api-gen generate --apiType=store
13
16
 
14
- cd docker && docker compose down
17
+ cd docker && docker compose stop
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.28",
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",