@graphcommerce/hygraph-dynamic-rows-ui 9.0.0-canary.99 → 9.0.0
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.
- package/CHANGELOG.md +24 -342
- package/components/PropertyPicker.tsx +5 -3
- package/components/Setup.tsx +2 -1
- package/lib/getFieldPaths.ts +1 -1
- package/package.json +24 -19
- package/types/index.ts +0 -38
package/CHANGELOG.md
CHANGED
|
@@ -1,66 +1,54 @@
|
|
|
1
1
|
# @graphcommerce/hygraph-dynamic-rows-ui
|
|
2
2
|
|
|
3
|
-
## 9.0.0
|
|
4
|
-
|
|
5
|
-
## 9.0.0-canary.98
|
|
6
|
-
|
|
7
|
-
## 9.0.0-canary.97
|
|
3
|
+
## 9.0.0
|
|
8
4
|
|
|
9
5
|
### Patch Changes
|
|
10
6
|
|
|
11
|
-
- [#
|
|
12
|
-
|
|
13
|
-
## 9.0.0-canary.96
|
|
14
|
-
|
|
15
|
-
## 9.0.0-canary.95
|
|
16
|
-
|
|
17
|
-
## 9.0.0-canary.94
|
|
18
|
-
|
|
19
|
-
## 9.0.0-canary.93
|
|
7
|
+
- [#2347](https://github.com/graphcommerce-org/graphcommerce/pull/2347) [`7fa50a2`](https://github.com/graphcommerce-org/graphcommerce/commit/7fa50a2f21ee9edbc67d06d7694316f101f9415f) - Resolve issue where the dynamic rows UI wouldn’t load any definitions ([@paales](https://github.com/paales))
|
|
20
8
|
|
|
21
|
-
|
|
9
|
+
- [#2316](https://github.com/graphcommerce-org/graphcommerce/pull/2316) [`28d4708`](https://github.com/graphcommerce-org/graphcommerce/commit/28d470861a10a38690d565d236ce573905038d2b) - Solve bugs in the Dynamic Row UI module and styled the config screen. ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
22
10
|
|
|
23
|
-
|
|
11
|
+
- [#2308](https://github.com/graphcommerce-org/graphcommerce/pull/2308) [`8faa5ac`](https://github.com/graphcommerce-org/graphcommerce/commit/8faa5ac618ecfdacd6d5eb751b4110c423aef97f) - Added Draft Mode support. When enabled it will be shown. ([@paales](https://github.com/paales))
|
|
24
12
|
|
|
25
|
-
|
|
13
|
+
- [#2410](https://github.com/graphcommerce-org/graphcommerce/pull/2410) [`2a425b3`](https://github.com/graphcommerce-org/graphcommerce/commit/2a425b323ddaf0918c549e93b598888db7328d66) - Allow attributes with deprecationReasons (e.g. custom attributes) as PropertyPicker value ([@carlocarels90](https://github.com/carlocarels90))
|
|
26
14
|
|
|
27
|
-
## 9.0.0-canary.
|
|
15
|
+
## 9.0.0-canary.118
|
|
28
16
|
|
|
29
|
-
## 9.0.0-canary.
|
|
17
|
+
## 9.0.0-canary.117
|
|
30
18
|
|
|
31
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.116
|
|
32
20
|
|
|
33
|
-
## 9.0.0-canary.
|
|
21
|
+
## 9.0.0-canary.115
|
|
34
22
|
|
|
35
|
-
## 9.0.0-canary.
|
|
23
|
+
## 9.0.0-canary.114
|
|
36
24
|
|
|
37
|
-
## 9.0.0-canary.
|
|
25
|
+
## 9.0.0-canary.113
|
|
38
26
|
|
|
39
|
-
## 9.0.0-canary.
|
|
27
|
+
## 9.0.0-canary.112
|
|
40
28
|
|
|
41
|
-
## 9.0.0-canary.
|
|
29
|
+
## 9.0.0-canary.111
|
|
42
30
|
|
|
43
|
-
## 9.0.0-canary.
|
|
31
|
+
## 9.0.0-canary.110
|
|
44
32
|
|
|
45
|
-
## 9.0.0-canary.
|
|
33
|
+
## 9.0.0-canary.109
|
|
46
34
|
|
|
47
|
-
## 9.0.0-canary.
|
|
35
|
+
## 9.0.0-canary.108
|
|
48
36
|
|
|
49
|
-
## 9.0.0-canary.
|
|
37
|
+
## 9.0.0-canary.107
|
|
50
38
|
|
|
51
|
-
## 9.0.0-canary.
|
|
39
|
+
## 9.0.0-canary.106
|
|
52
40
|
|
|
53
|
-
## 9.0.0-canary.
|
|
41
|
+
## 9.0.0-canary.105
|
|
54
42
|
|
|
55
|
-
## 9.0.0-canary.
|
|
43
|
+
## 9.0.0-canary.104
|
|
56
44
|
|
|
57
|
-
## 9.0.0-canary.
|
|
45
|
+
## 9.0.0-canary.103
|
|
58
46
|
|
|
59
|
-
## 9.0.0-canary.
|
|
47
|
+
## 9.0.0-canary.97
|
|
60
48
|
|
|
61
|
-
|
|
49
|
+
### Patch Changes
|
|
62
50
|
|
|
63
|
-
|
|
51
|
+
- [#2410](https://github.com/graphcommerce-org/graphcommerce/pull/2410) [`2a425b3`](https://github.com/graphcommerce-org/graphcommerce/commit/2a425b323ddaf0918c549e93b598888db7328d66) - Allow attributes with deprecationReasons (e.g. custom attributes) as PropertyPicker value ([@carlocarels90](https://github.com/carlocarels90))
|
|
64
52
|
|
|
65
53
|
## 9.0.0-canary.70
|
|
66
54
|
|
|
@@ -68,326 +56,20 @@
|
|
|
68
56
|
|
|
69
57
|
- [#2347](https://github.com/graphcommerce-org/graphcommerce/pull/2347) [`7fa50a2`](https://github.com/graphcommerce-org/graphcommerce/commit/7fa50a2f21ee9edbc67d06d7694316f101f9415f) - Resolve issue where the dynamic rows UI wouldn’t load any definitions ([@paales](https://github.com/paales))
|
|
70
58
|
|
|
71
|
-
## 9.0.0-canary.69
|
|
72
|
-
|
|
73
|
-
## 9.0.0-canary.68
|
|
74
|
-
|
|
75
|
-
## 9.0.0-canary.67
|
|
76
|
-
|
|
77
|
-
## 9.0.0-canary.66
|
|
78
|
-
|
|
79
|
-
## 9.0.0-canary.65
|
|
80
|
-
|
|
81
|
-
## 9.0.0-canary.64
|
|
82
|
-
|
|
83
|
-
## 9.0.0-canary.63
|
|
84
|
-
|
|
85
|
-
## 9.0.0-canary.62
|
|
86
|
-
|
|
87
|
-
## 9.0.0-canary.61
|
|
88
|
-
|
|
89
|
-
## 9.0.0-canary.60
|
|
90
|
-
|
|
91
|
-
## 9.0.0-canary.59
|
|
92
|
-
|
|
93
|
-
## 9.0.0-canary.58
|
|
94
|
-
|
|
95
|
-
## 9.0.0-canary.57
|
|
96
|
-
|
|
97
|
-
## 9.0.0-canary.56
|
|
98
|
-
|
|
99
|
-
## 9.0.0-canary.55
|
|
100
|
-
|
|
101
|
-
## 9.0.0-canary.54
|
|
102
|
-
|
|
103
|
-
## 8.1.0-canary.53
|
|
104
|
-
|
|
105
|
-
## 8.1.0-canary.52
|
|
106
|
-
|
|
107
|
-
## 8.1.0-canary.51
|
|
108
|
-
|
|
109
|
-
## 8.1.0-canary.50
|
|
110
|
-
|
|
111
|
-
## 8.1.0-canary.49
|
|
112
|
-
|
|
113
|
-
## 8.1.0-canary.48
|
|
114
|
-
|
|
115
|
-
## 8.1.0-canary.47
|
|
116
|
-
|
|
117
59
|
## 8.1.0-canary.46
|
|
118
60
|
|
|
119
61
|
### Patch Changes
|
|
120
62
|
|
|
121
63
|
- [#2316](https://github.com/graphcommerce-org/graphcommerce/pull/2316) [`28d4708`](https://github.com/graphcommerce-org/graphcommerce/commit/28d470861a10a38690d565d236ce573905038d2b) - fix hygraph studio bugs in Dynamic Row UI module. Style config screen DR UI app. ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
122
64
|
|
|
123
|
-
## 8.1.0-canary.45
|
|
124
|
-
|
|
125
|
-
## 8.1.0-canary.44
|
|
126
|
-
|
|
127
|
-
## 8.1.0-canary.43
|
|
128
|
-
|
|
129
65
|
## 8.1.0-canary.42
|
|
130
66
|
|
|
131
67
|
### Patch Changes
|
|
132
68
|
|
|
133
69
|
- [#2308](https://github.com/graphcommerce-org/graphcommerce/pull/2308) [`8faa5ac`](https://github.com/graphcommerce-org/graphcommerce/commit/8faa5ac618ecfdacd6d5eb751b4110c423aef97f) - Added Draft Mode support. When enabled it will be shown. ([@paales](https://github.com/paales))
|
|
134
70
|
|
|
135
|
-
## 8.1.0-canary.41
|
|
136
|
-
|
|
137
|
-
## 8.1.0-canary.40
|
|
138
|
-
|
|
139
|
-
## 8.1.0-canary.39
|
|
140
|
-
|
|
141
|
-
## 8.1.0-canary.38
|
|
142
|
-
|
|
143
|
-
## 8.1.0-canary.37
|
|
144
|
-
|
|
145
|
-
## 8.1.0-canary.36
|
|
146
|
-
|
|
147
|
-
## 8.1.0-canary.35
|
|
148
|
-
|
|
149
|
-
## 8.1.0-canary.34
|
|
150
|
-
|
|
151
|
-
## 8.1.0-canary.33
|
|
152
|
-
|
|
153
|
-
## 8.1.0-canary.32
|
|
154
|
-
|
|
155
|
-
## 8.1.0-canary.31
|
|
156
|
-
|
|
157
|
-
## 8.1.0-canary.30
|
|
158
|
-
|
|
159
|
-
## 8.1.0-canary.29
|
|
160
|
-
|
|
161
|
-
## 8.1.0-canary.28
|
|
162
|
-
|
|
163
|
-
## 8.1.0-canary.27
|
|
164
|
-
|
|
165
|
-
## 8.1.0-canary.26
|
|
166
|
-
|
|
167
|
-
## 8.1.0-canary.25
|
|
168
|
-
|
|
169
|
-
## 8.1.0-canary.24
|
|
170
|
-
|
|
171
|
-
## 8.1.0-canary.23
|
|
172
|
-
|
|
173
|
-
## 8.1.0-canary.22
|
|
174
|
-
|
|
175
|
-
## 8.1.0-canary.21
|
|
176
|
-
|
|
177
|
-
## 8.1.0-canary.20
|
|
178
|
-
|
|
179
|
-
## 8.1.0-canary.19
|
|
180
|
-
|
|
181
|
-
## 8.1.0-canary.18
|
|
182
|
-
|
|
183
|
-
## 8.1.0-canary.17
|
|
184
|
-
|
|
185
|
-
## 8.1.0-canary.16
|
|
186
|
-
|
|
187
|
-
## 8.1.0-canary.15
|
|
188
|
-
|
|
189
|
-
## 8.1.0-canary.14
|
|
190
|
-
|
|
191
|
-
## 8.1.0-canary.13
|
|
192
|
-
|
|
193
|
-
## 8.1.0-canary.12
|
|
194
|
-
|
|
195
|
-
## 8.1.0-canary.11
|
|
196
|
-
|
|
197
|
-
## 8.1.0-canary.10
|
|
198
|
-
|
|
199
|
-
## 8.1.0-canary.9
|
|
200
|
-
|
|
201
|
-
## 8.1.0-canary.8
|
|
202
|
-
|
|
203
|
-
## 8.1.0-canary.7
|
|
204
|
-
|
|
205
|
-
## 8.1.0-canary.6
|
|
206
|
-
|
|
207
|
-
## 8.1.0-canary.5
|
|
208
|
-
|
|
209
|
-
## 8.0.6-canary.4
|
|
210
|
-
|
|
211
|
-
## 8.0.6-canary.3
|
|
212
|
-
|
|
213
|
-
## 8.0.6-canary.2
|
|
214
|
-
|
|
215
|
-
## 8.0.6-canary.1
|
|
216
|
-
|
|
217
|
-
## 8.0.6-canary.0
|
|
218
|
-
|
|
219
|
-
## 8.0.5
|
|
220
|
-
|
|
221
|
-
## 8.0.5-canary.10
|
|
222
|
-
|
|
223
|
-
## 8.0.5-canary.9
|
|
224
|
-
|
|
225
|
-
## 8.0.5-canary.8
|
|
226
|
-
|
|
227
|
-
## 8.0.5-canary.7
|
|
228
|
-
|
|
229
|
-
## 8.0.5-canary.6
|
|
230
|
-
|
|
231
|
-
## 8.0.5-canary.5
|
|
232
|
-
|
|
233
|
-
## 8.0.5-canary.4
|
|
234
|
-
|
|
235
|
-
## 8.0.5-canary.3
|
|
236
|
-
|
|
237
|
-
## 8.0.5-canary.2
|
|
238
|
-
|
|
239
|
-
## 8.0.5-canary.1
|
|
240
|
-
|
|
241
|
-
## 8.0.5-canary.0
|
|
242
|
-
|
|
243
|
-
## 8.0.4
|
|
244
|
-
|
|
245
|
-
## 8.0.4-canary.1
|
|
246
|
-
|
|
247
|
-
## 8.0.4-canary.0
|
|
248
|
-
|
|
249
|
-
## 8.0.3
|
|
250
|
-
|
|
251
|
-
## 8.0.3-canary.6
|
|
252
|
-
|
|
253
|
-
## 8.0.3-canary.5
|
|
254
|
-
|
|
255
|
-
## 8.0.3-canary.4
|
|
256
|
-
|
|
257
|
-
## 8.0.3-canary.3
|
|
258
|
-
|
|
259
|
-
## 8.0.3-canary.2
|
|
260
|
-
|
|
261
|
-
## 8.0.3-canary.1
|
|
262
|
-
|
|
263
|
-
## 8.0.3-canary.0
|
|
264
|
-
|
|
265
|
-
## 8.0.2
|
|
266
|
-
|
|
267
|
-
## 8.0.2-canary.3
|
|
268
|
-
|
|
269
|
-
## 8.0.2-canary.2
|
|
270
|
-
|
|
271
|
-
## 8.0.2-canary.1
|
|
272
|
-
|
|
273
|
-
## 8.0.2-canary.0
|
|
274
|
-
|
|
275
|
-
## 8.0.1
|
|
276
|
-
|
|
277
|
-
## 8.0.1-canary.4
|
|
278
|
-
|
|
279
|
-
## 8.0.1-canary.3
|
|
280
|
-
|
|
281
|
-
## 8.0.1-canary.2
|
|
282
|
-
|
|
283
|
-
## 8.0.1-canary.1
|
|
284
|
-
|
|
285
|
-
## 8.0.1-canary.0
|
|
286
|
-
|
|
287
71
|
## 8.0.0
|
|
288
72
|
|
|
289
73
|
### Minor Changes
|
|
290
74
|
|
|
291
75
|
- [#2100](https://github.com/graphcommerce-org/graphcommerce/pull/2100) [`4df891a`](https://github.com/graphcommerce-org/graphcommerce/commit/4df891a4c18b29cc52447eab3a97c66948b6c18f) - Add Dynamic Row UI for property UI field through a custom Hygraph application ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
292
|
-
|
|
293
|
-
## 8.0.0-canary.100
|
|
294
|
-
|
|
295
|
-
## 8.0.0-canary.99
|
|
296
|
-
|
|
297
|
-
## 8.0.0-canary.98
|
|
298
|
-
|
|
299
|
-
## 8.0.0-canary.97
|
|
300
|
-
|
|
301
|
-
## 8.0.0-canary.96
|
|
302
|
-
|
|
303
|
-
## 8.0.0-canary.95
|
|
304
|
-
|
|
305
|
-
## 8.0.0-canary.94
|
|
306
|
-
|
|
307
|
-
## 8.0.0-canary.93
|
|
308
|
-
|
|
309
|
-
## 8.0.0-canary.92
|
|
310
|
-
|
|
311
|
-
## 8.0.0-canary.91
|
|
312
|
-
|
|
313
|
-
## 8.0.0-canary.90
|
|
314
|
-
|
|
315
|
-
## 8.0.0-canary.89
|
|
316
|
-
|
|
317
|
-
## 8.0.0-canary.88
|
|
318
|
-
|
|
319
|
-
## 8.0.0-canary.87
|
|
320
|
-
|
|
321
|
-
## 8.0.0-canary.86
|
|
322
|
-
|
|
323
|
-
## 8.0.0-canary.85
|
|
324
|
-
|
|
325
|
-
## 8.0.0-canary.84
|
|
326
|
-
|
|
327
|
-
## 8.0.0-canary.83
|
|
328
|
-
|
|
329
|
-
## 8.0.0-canary.82
|
|
330
|
-
|
|
331
|
-
## 8.0.0-canary.81
|
|
332
|
-
|
|
333
|
-
## 8.0.0-canary.80
|
|
334
|
-
|
|
335
|
-
## 8.0.0-canary.79
|
|
336
|
-
|
|
337
|
-
## 8.0.0-canary.78
|
|
338
|
-
|
|
339
|
-
## 8.0.0-canary.77
|
|
340
|
-
|
|
341
|
-
## 8.0.0-canary.76
|
|
342
|
-
|
|
343
|
-
## 8.0.0-canary.75
|
|
344
|
-
|
|
345
|
-
## 8.0.0-canary.74
|
|
346
|
-
|
|
347
|
-
## 8.0.0-canary.73
|
|
348
|
-
|
|
349
|
-
## 8.0.0-canary.72
|
|
350
|
-
|
|
351
|
-
## 8.0.0-canary.71
|
|
352
|
-
|
|
353
|
-
## 8.0.0-canary.70
|
|
354
|
-
|
|
355
|
-
## 8.0.0-canary.69
|
|
356
|
-
|
|
357
|
-
## 7.1.0-canary.68
|
|
358
|
-
|
|
359
|
-
## 7.1.0-canary.67
|
|
360
|
-
|
|
361
|
-
## 7.1.0-canary.66
|
|
362
|
-
|
|
363
|
-
## 7.1.0-canary.65
|
|
364
|
-
|
|
365
|
-
## 7.1.0-canary.64
|
|
366
|
-
|
|
367
|
-
## 7.1.0-canary.63
|
|
368
|
-
|
|
369
|
-
## 7.1.0-canary.62
|
|
370
|
-
|
|
371
|
-
## 7.1.0-canary.61
|
|
372
|
-
|
|
373
|
-
## 7.1.0-canary.60
|
|
374
|
-
|
|
375
|
-
## 7.1.0-canary.59
|
|
376
|
-
|
|
377
|
-
### Patch Changes
|
|
378
|
-
|
|
379
|
-
- [#2126](https://github.com/graphcommerce-org/graphcommerce/pull/2126) [`bacb3c4f5`](https://github.com/graphcommerce-org/graphcommerce/commit/bacb3c4f5734f7606c5f7049c95d7d86a547641a) - Fix eslint errors in Dynamic Rows UI package ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
380
|
-
|
|
381
|
-
## 7.1.0-canary.58
|
|
382
|
-
|
|
383
|
-
## 7.1.0-canary.57
|
|
384
|
-
|
|
385
|
-
## 7.1.0-canary.56
|
|
386
|
-
|
|
387
|
-
## 7.1.0-canary.55
|
|
388
|
-
|
|
389
|
-
## 7.1.0-canary.54
|
|
390
|
-
|
|
391
|
-
### Minor Changes
|
|
392
|
-
|
|
393
|
-
- [#2100](https://github.com/graphcommerce-org/graphcommerce/pull/2100) [`4df891a4c`](https://github.com/graphcommerce-org/graphcommerce/commit/4df891a4c18b29cc52447eab3a97c66948b6c18f) - Add Dynamic Row UI for property UI field through a custom Hygraph application ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { ApolloClient,
|
|
2
|
-
import { FieldExtensionProps
|
|
1
|
+
import { ApolloClient, InMemoryCache, gql, useQuery } from '@apollo/client'
|
|
2
|
+
import type { FieldExtensionProps } from '@hygraph/app-sdk-react'
|
|
3
|
+
import { useFieldExtension } from '@hygraph/app-sdk-react'
|
|
3
4
|
import { TextField } from '@mui/material'
|
|
4
|
-
import {
|
|
5
|
+
import type { IntrospectionQuery } from 'graphql'
|
|
6
|
+
import { getIntrospectionQuery } from 'graphql'
|
|
5
7
|
import { useEffect, useMemo, useState } from 'react'
|
|
6
8
|
import { getFieldPaths } from '../lib/getFieldPaths'
|
|
7
9
|
|
package/components/Setup.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wrapper, useApp } from '@hygraph/app-sdk-react'
|
|
2
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
2
3
|
import Image from 'next/image'
|
|
3
4
|
import { useState } from 'react'
|
|
4
5
|
import styles from './setup.module.css'
|
package/lib/getFieldPaths.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IntrospectionField, IntrospectionOutputTypeRef, IntrospectionSchema } from 'graphql'
|
|
1
|
+
import type { IntrospectionField, IntrospectionOutputTypeRef, IntrospectionSchema } from 'graphql'
|
|
2
2
|
|
|
3
3
|
function getType(type: IntrospectionOutputTypeRef) {
|
|
4
4
|
switch (type.kind) {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/hygraph-dynamic-rows-ui",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0
|
|
5
|
+
"version": "9.0.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"type": "commonjs",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -16,29 +16,34 @@
|
|
|
16
16
|
"dev": "next dev"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@apollo/client": "~3.
|
|
20
|
-
"@graphcommerce/next-config": "9.0.0
|
|
21
|
-
"@hygraph/app-sdk-react": "^0.0.
|
|
22
|
-
"@lingui/
|
|
23
|
-
"@lingui/
|
|
24
|
-
"@lingui/
|
|
25
|
-
"@
|
|
19
|
+
"@apollo/client": "~3.12.3",
|
|
20
|
+
"@graphcommerce/next-config": "9.0.0",
|
|
21
|
+
"@hygraph/app-sdk-react": "^0.0.5",
|
|
22
|
+
"@lingui/conf": "4.14.1",
|
|
23
|
+
"@lingui/core": "4.14.1",
|
|
24
|
+
"@lingui/loader": "4.14.1",
|
|
25
|
+
"@lingui/macro": "4.14.1",
|
|
26
|
+
"@lingui/react": "4.14.1",
|
|
27
|
+
"@lingui/swc-plugin": "4.1.0",
|
|
28
|
+
"@mui/material": "5.16.8",
|
|
26
29
|
"cross-env": "^7.0.3",
|
|
27
|
-
"dotenv": "16.4.
|
|
28
|
-
"graphql": "^16.
|
|
29
|
-
"next": "
|
|
30
|
+
"dotenv": "16.4.7",
|
|
31
|
+
"graphql": "^16.10.0",
|
|
32
|
+
"next": "15.1.0",
|
|
30
33
|
"react": "^18.3.1",
|
|
31
34
|
"react-dom": "^18.3.1",
|
|
32
|
-
"webpack": "
|
|
35
|
+
"webpack": "^5.97.1"
|
|
33
36
|
},
|
|
34
37
|
"devDependencies": {
|
|
35
|
-
"@graphcommerce/eslint-config-pwa": "9.0.0
|
|
36
|
-
"@graphcommerce/prettier-config-pwa": "9.0.0
|
|
37
|
-
"@graphcommerce/typescript-config-pwa": "9.0.0
|
|
38
|
-
"@types/react
|
|
38
|
+
"@graphcommerce/eslint-config-pwa": "9.0.0",
|
|
39
|
+
"@graphcommerce/prettier-config-pwa": "9.0.0",
|
|
40
|
+
"@graphcommerce/typescript-config-pwa": "9.0.0",
|
|
41
|
+
"@types/react": "^18.3.17",
|
|
42
|
+
"@types/react-dom": "^18.3.5",
|
|
43
|
+
"@types/react-is": "^18.3.1",
|
|
39
44
|
"babel-plugin-macros": "^3.1.0",
|
|
40
|
-
"eslint": "^8",
|
|
41
|
-
"prettier": "3
|
|
42
|
-
"typescript": "5.
|
|
45
|
+
"eslint": "^8.57.1",
|
|
46
|
+
"prettier": "^3",
|
|
47
|
+
"typescript": "5.7.2"
|
|
43
48
|
}
|
|
44
49
|
}
|
package/types/index.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export type ProductProperty = {
|
|
2
|
-
label: string
|
|
3
|
-
id: string
|
|
4
|
-
type?: string
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export type Interface = {
|
|
8
|
-
__type: __Type
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type __Type = {
|
|
12
|
-
kind?: __TypeKind
|
|
13
|
-
name?: string
|
|
14
|
-
description?: string
|
|
15
|
-
fields: __Field[]
|
|
16
|
-
ofType?: { name?: string; fields: __Field[] }
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export type __TypeKind =
|
|
20
|
-
| 'SCALAR'
|
|
21
|
-
| 'OBJECT'
|
|
22
|
-
| 'INTERFACE'
|
|
23
|
-
| 'UNION'
|
|
24
|
-
| 'ENUM'
|
|
25
|
-
| 'INPUT_OBJECT'
|
|
26
|
-
| 'LIST'
|
|
27
|
-
| 'NON_NULL'
|
|
28
|
-
|
|
29
|
-
export type __Field = {
|
|
30
|
-
name: string
|
|
31
|
-
type: __Type
|
|
32
|
-
isDeprecated: boolean
|
|
33
|
-
description?: string
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type Option = { id: string; label: string }
|
|
37
|
-
|
|
38
|
-
export type Options = { text: Option[]; number: Option[] }
|