@reactionary/core 0.0.39 → 0.0.40

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.
Files changed (46) hide show
  1. package/package.json +2 -2
  2. package/schemas/capabilities.schema.js +1 -1
  3. package/schemas/models/base.model.js +5 -5
  4. package/schemas/models/cart.model.js +1 -1
  5. package/schemas/models/identifiers.model.js +12 -12
  6. package/schemas/models/price.model.js +1 -1
  7. package/schemas/models/product.model.js +2 -2
  8. package/schemas/models/search.model.js +3 -3
  9. package/schemas/mutations/base.mutation.js +1 -1
  10. package/schemas/mutations/inventory.mutation.js +0 -5
  11. package/schemas/mutations/price.mutation.js +0 -5
  12. package/schemas/mutations/product.mutation.js +0 -5
  13. package/schemas/mutations/search.mutation.js +0 -5
  14. package/schemas/queries/analytics.query.js +0 -5
  15. package/schemas/queries/base.query.js +1 -1
  16. package/schemas/queries/cart.query.js +1 -4
  17. package/schemas/queries/inventory.query.js +1 -3
  18. package/src/schemas/capabilities.schema.d.ts +2 -6
  19. package/src/schemas/models/analytics.model.d.ts +6 -22
  20. package/src/schemas/models/base.model.d.ts +21 -61
  21. package/src/schemas/models/cart.model.d.ts +73 -224
  22. package/src/schemas/models/category.model.d.ts +29 -95
  23. package/src/schemas/models/identifiers.model.d.ts +37 -109
  24. package/src/schemas/models/identity.model.d.ts +8 -25
  25. package/src/schemas/models/inventory.model.d.ts +12 -41
  26. package/src/schemas/models/price.model.d.ts +20 -65
  27. package/src/schemas/models/product.model.d.ts +20 -65
  28. package/src/schemas/models/search.model.d.ts +47 -144
  29. package/src/schemas/mutations/analytics.mutation.d.ts +47 -143
  30. package/src/schemas/mutations/base.mutation.d.ts +1 -5
  31. package/src/schemas/mutations/cart.mutation.d.ts +18 -66
  32. package/src/schemas/mutations/identity.mutation.d.ts +3 -19
  33. package/src/schemas/mutations/inventory.mutation.d.ts +1 -3
  34. package/src/schemas/mutations/price.mutation.d.ts +1 -3
  35. package/src/schemas/mutations/product.mutation.d.ts +1 -3
  36. package/src/schemas/mutations/search.mutation.d.ts +1 -3
  37. package/src/schemas/queries/analytics.query.d.ts +1 -3
  38. package/src/schemas/queries/base.query.d.ts +1 -5
  39. package/src/schemas/queries/cart.query.d.ts +4 -33
  40. package/src/schemas/queries/category.query.d.ts +20 -80
  41. package/src/schemas/queries/identity.query.d.ts +1 -9
  42. package/src/schemas/queries/inventory.query.d.ts +4 -34
  43. package/src/schemas/queries/price.query.d.ts +4 -16
  44. package/src/schemas/queries/product.query.d.ts +4 -20
  45. package/src/schemas/queries/search.query.d.ts +10 -30
  46. package/src/schemas/session.schema.d.ts +13 -40
@@ -1,133 +1,61 @@
1
1
  import { z } from 'zod';
2
- export declare const FacetIdentifierSchema: z.ZodInterface<{
2
+ export declare const FacetIdentifierSchema: z.ZodObject<{
3
3
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
4
- }, {
5
- optional: never;
6
- defaulted: never;
7
- extra: Record<string, unknown>;
8
- }>;
9
- export declare const FacetValueIdentifierSchema: z.ZodInterface<{
10
- facet: z.ZodDefault<z.ZodInterface<{
4
+ }, z.core.$loose>;
5
+ export declare const FacetValueIdentifierSchema: z.ZodObject<{
6
+ facet: z.ZodDefault<z.ZodObject<{
11
7
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
12
- }, {
13
- optional: never;
14
- defaulted: never;
15
- extra: Record<string, unknown>;
16
- }>>;
8
+ }, z.core.$loose>>;
17
9
  key: z.ZodDefault<z.ZodString>;
18
- }, {
19
- optional: never;
20
- defaulted: never;
21
- extra: Record<string, unknown>;
22
- }>;
23
- export declare const SKUIdentifierSchema: z.ZodInterface<{
10
+ }, z.core.$loose>;
11
+ export declare const SKUIdentifierSchema: z.ZodObject<{
24
12
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
25
- }, {
26
- optional: never;
27
- defaulted: never;
28
- extra: Record<string, unknown>;
29
- }>;
30
- export declare const ProductIdentifierSchema: z.ZodInterface<{
13
+ }, z.core.$loose>;
14
+ export declare const ProductIdentifierSchema: z.ZodObject<{
31
15
  key: z.ZodDefault<z.ZodString>;
32
- }, {
33
- optional: never;
34
- defaulted: never;
35
- extra: Record<string, unknown>;
36
- }>;
37
- export declare const SearchIdentifierSchema: z.ZodInterface<{
16
+ }, z.core.$loose>;
17
+ export declare const SearchIdentifierSchema: z.ZodObject<{
38
18
  term: z.ZodDefault<z.ZodString>;
39
19
  page: z.ZodDefault<z.ZodNumber>;
40
20
  pageSize: z.ZodDefault<z.ZodNumber>;
41
- facets: z.ZodDefault<z.ZodArray<z.ZodInterface<{
42
- key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
43
- facet: z.ZodNonOptional<z.ZodDefault<z.ZodInterface<{
21
+ facets: z.ZodDefault<z.ZodArray<z.ZodObject<{
22
+ facet: z.ZodNonOptional<z.ZodDefault<z.ZodObject<{
44
23
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
45
- }, {
46
- optional: never;
47
- defaulted: never;
48
- extra: Record<string, unknown>;
49
- }>>>;
50
- }, {
51
- optional: never;
52
- defaulted: never;
53
- extra: Record<string, unknown>;
54
- }>>>;
55
- }, {
56
- optional: never;
57
- defaulted: never;
58
- extra: Record<string, unknown>;
59
- }>;
60
- export declare const CartIdentifierSchema: z.ZodInterface<{
24
+ }, z.core.$loose>>>;
25
+ key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
26
+ }, z.core.$loose>>>;
27
+ }, z.core.$loose>;
28
+ export declare const CartIdentifierSchema: z.ZodObject<{
61
29
  key: z.ZodDefault<z.ZodString>;
62
- }, {
63
- optional: never;
64
- defaulted: never;
65
- extra: Record<string, unknown>;
66
- }>;
67
- export declare const CartItemIdentifierSchema: z.ZodInterface<{
30
+ }, z.core.$loose>;
31
+ export declare const CartItemIdentifierSchema: z.ZodObject<{
68
32
  key: z.ZodDefault<z.ZodString>;
69
- }, {
70
- optional: never;
71
- defaulted: never;
72
- extra: Record<string, unknown>;
73
- }>;
74
- export declare const PriceIdentifierSchema: z.ZodInterface<{
75
- sku: z.ZodDefault<z.ZodInterface<{
33
+ }, z.core.$loose>;
34
+ export declare const PriceIdentifierSchema: z.ZodObject<{
35
+ sku: z.ZodDefault<z.ZodObject<{
76
36
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
77
- }, {
78
- optional: never;
79
- defaulted: never;
80
- extra: Record<string, unknown>;
81
- }>>;
82
- }, {
83
- optional: never;
84
- defaulted: never;
85
- extra: Record<string, unknown>;
86
- }>;
87
- export declare const CategoryIdentifierSchema: z.ZodInterface<{
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
+ export declare const CategoryIdentifierSchema: z.ZodObject<{
88
40
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
89
- }, {
90
- optional: never;
91
- defaulted: never;
92
- extra: Record<string, unknown>;
93
- }>;
41
+ }, z.core.$loose>;
94
42
  /**
95
43
  * The target store the user is interacting with. Can change over time, and is not necessarily the same as the default store.
96
44
  */
97
- export declare const WebStoreIdentifierSchema: z.ZodInterface<{
45
+ export declare const WebStoreIdentifierSchema: z.ZodObject<{
98
46
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
99
- }, {
100
- optional: never;
101
- defaulted: never;
102
- extra: Record<string, unknown>;
103
- }>;
104
- export declare const InventoryChannelIdentifierSchema: z.ZodInterface<{
47
+ }, z.core.$loose>;
48
+ export declare const InventoryChannelIdentifierSchema: z.ZodObject<{
105
49
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
106
- }, {
107
- optional: never;
108
- defaulted: never;
109
- extra: Record<string, unknown>;
110
- }>;
111
- export declare const InventoryIdentifierSchema: z.ZodInterface<{
112
- sku: z.ZodDefault<z.ZodInterface<{
50
+ }, z.core.$loose>;
51
+ export declare const InventoryIdentifierSchema: z.ZodObject<{
52
+ sku: z.ZodDefault<z.ZodObject<{
113
53
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
114
- }, {
115
- optional: never;
116
- defaulted: never;
117
- extra: Record<string, unknown>;
118
- }>>;
119
- channelId: z.ZodDefault<z.ZodInterface<{
54
+ }, z.core.$loose>>;
55
+ channelId: z.ZodDefault<z.ZodObject<{
120
56
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
121
- }, {
122
- optional: never;
123
- defaulted: never;
124
- extra: Record<string, unknown>;
125
- }>>;
126
- }, {
127
- optional: never;
128
- defaulted: never;
129
- extra: Record<string, unknown>;
130
- }>;
57
+ }, z.core.$loose>>;
58
+ }, z.core.$loose>;
131
59
  export type ProductIdentifier = z.infer<typeof ProductIdentifierSchema>;
132
60
  export type SearchIdentifier = z.infer<typeof SearchIdentifierSchema>;
133
61
  export type FacetIdentifier = z.infer<typeof FacetIdentifierSchema>;
@@ -4,27 +4,14 @@ export declare const IdentityTypeSchema: z.ZodEnum<{
4
4
  Guest: "Guest";
5
5
  Registered: "Registered";
6
6
  }>;
7
- export declare const IdentitySchema: z.MergeInterfaces<z.ZodInterface<{
8
- meta: z.ZodDefault<z.ZodInterface<{
9
- cache: z.ZodDefault<z.ZodInterface<{
7
+ export declare const IdentitySchema: z.ZodObject<{
8
+ meta: z.ZodDefault<z.ZodObject<{
9
+ cache: z.ZodDefault<z.ZodObject<{
10
10
  hit: z.ZodDefault<z.ZodBoolean>;
11
11
  key: z.ZodDefault<z.ZodString>;
12
- }, {
13
- optional: never;
14
- defaulted: never;
15
- extra: Record<string, unknown>;
16
- }>>;
12
+ }, z.core.$loose>>;
17
13
  placeholder: z.ZodDefault<z.ZodBoolean>;
18
- }, {
19
- optional: never;
20
- defaulted: never;
21
- extra: Record<string, unknown>;
22
- }>>;
23
- }, {
24
- optional: never;
25
- defaulted: never;
26
- extra: Record<string, unknown>;
27
- }>, z.ZodInterface<{
14
+ }, z.core.$loose>>;
28
15
  id: z.ZodDefault<z.ZodString>;
29
16
  type: z.ZodDefault<z.ZodEnum<{
30
17
  Anonymous: "Anonymous";
@@ -32,12 +19,8 @@ export declare const IdentitySchema: z.MergeInterfaces<z.ZodInterface<{
32
19
  Registered: "Registered";
33
20
  }>>;
34
21
  token: z.ZodOptional<z.ZodString>;
35
- issued: z.ZodDefault<z.coerce.ZodCoercedDate>;
36
- expiry: z.ZodDefault<z.coerce.ZodCoercedDate>;
37
- }, {
38
- optional: never;
39
- defaulted: never;
40
- extra: {};
41
- }>>;
22
+ issued: z.ZodDefault<z.ZodCoercedDate<unknown>>;
23
+ expiry: z.ZodDefault<z.ZodCoercedDate<unknown>>;
24
+ }, z.core.$loose>;
42
25
  export type IdentityType = z.infer<typeof IdentityTypeSchema>;
43
26
  export type Identity = z.infer<typeof IdentitySchema>;
@@ -1,45 +1,20 @@
1
1
  import { z } from 'zod';
2
- export declare const InventorySchema: z.MergeInterfaces<z.ZodInterface<{
3
- meta: z.ZodDefault<z.ZodInterface<{
4
- cache: z.ZodDefault<z.ZodInterface<{
2
+ export declare const InventorySchema: z.ZodObject<{
3
+ meta: z.ZodDefault<z.ZodObject<{
4
+ cache: z.ZodDefault<z.ZodObject<{
5
5
  hit: z.ZodDefault<z.ZodBoolean>;
6
6
  key: z.ZodDefault<z.ZodString>;
7
- }, {
8
- optional: never;
9
- defaulted: never;
10
- extra: Record<string, unknown>;
11
- }>>;
7
+ }, z.core.$loose>>;
12
8
  placeholder: z.ZodDefault<z.ZodBoolean>;
13
- }, {
14
- optional: never;
15
- defaulted: never;
16
- extra: Record<string, unknown>;
17
- }>>;
18
- }, {
19
- optional: never;
20
- defaulted: never;
21
- extra: Record<string, unknown>;
22
- }>, z.ZodInterface<{
23
- identifier: z.ZodDefault<z.ZodInterface<{
24
- sku: z.ZodDefault<z.ZodInterface<{
9
+ }, z.core.$loose>>;
10
+ identifier: z.ZodDefault<z.ZodObject<{
11
+ sku: z.ZodDefault<z.ZodObject<{
25
12
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
26
- }, {
27
- optional: never;
28
- defaulted: never;
29
- extra: Record<string, unknown>;
30
- }>>;
31
- channelId: z.ZodDefault<z.ZodInterface<{
13
+ }, z.core.$loose>>;
14
+ channelId: z.ZodDefault<z.ZodObject<{
32
15
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
33
- }, {
34
- optional: never;
35
- defaulted: never;
36
- extra: Record<string, unknown>;
37
- }>>;
38
- }, {
39
- optional: never;
40
- defaulted: never;
41
- extra: Record<string, unknown>;
42
- }>>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>>;
43
18
  sku: z.ZodDefault<z.ZodString>;
44
19
  quantity: z.ZodDefault<z.ZodNumber>;
45
20
  status: z.ZodDefault<z.ZodEnum<{
@@ -49,9 +24,5 @@ export declare const InventorySchema: z.MergeInterfaces<z.ZodInterface<{
49
24
  preOrder: "preOrder";
50
25
  discontinued: "discontinued";
51
26
  }>>;
52
- }, {
53
- optional: never;
54
- defaulted: never;
55
- extra: {};
56
- }>>;
27
+ }, z.core.$loose>;
57
28
  export type Inventory = z.infer<typeof InventorySchema>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const MonetaryAmountSchema: z.ZodInterface<{
2
+ export declare const MonetaryAmountSchema: z.ZodObject<{
3
3
  value: z.ZodDefault<z.ZodNumber>;
4
4
  currency: z.ZodDefault<z.ZodEnum<{
5
5
  AED: "AED";
@@ -184,14 +184,10 @@ export declare const MonetaryAmountSchema: z.ZodInterface<{
184
184
  ZMW: "ZMW";
185
185
  ZWL: "ZWL";
186
186
  }>>;
187
- }, {
188
- optional: never;
189
- defaulted: never;
190
- extra: Record<string, unknown>;
191
- }>;
187
+ }, z.core.$loose>;
192
188
  export declare const TieredPriceSchema: z.ZodObject<{
193
189
  minimumQuantity: z.ZodDefault<z.ZodNumber>;
194
- price: z.ZodDefault<z.ZodInterface<{
190
+ price: z.ZodDefault<z.ZodObject<{
195
191
  value: z.ZodDefault<z.ZodNumber>;
196
192
  currency: z.ZodDefault<z.ZodEnum<{
197
193
  AED: "AED";
@@ -376,49 +372,22 @@ export declare const TieredPriceSchema: z.ZodObject<{
376
372
  ZMW: "ZMW";
377
373
  ZWL: "ZWL";
378
374
  }>>;
379
- }, {
380
- optional: never;
381
- defaulted: never;
382
- extra: Record<string, unknown>;
383
- }>>;
384
- }, {
385
- [k: string]: unknown;
386
- }>;
387
- export declare const PriceSchema: z.MergeInterfaces<z.ZodInterface<{
388
- meta: z.ZodDefault<z.ZodInterface<{
389
- cache: z.ZodDefault<z.ZodInterface<{
375
+ }, z.core.$loose>>;
376
+ }, z.core.$loose>;
377
+ export declare const PriceSchema: z.ZodObject<{
378
+ meta: z.ZodDefault<z.ZodObject<{
379
+ cache: z.ZodDefault<z.ZodObject<{
390
380
  hit: z.ZodDefault<z.ZodBoolean>;
391
381
  key: z.ZodDefault<z.ZodString>;
392
- }, {
393
- optional: never;
394
- defaulted: never;
395
- extra: Record<string, unknown>;
396
- }>>;
382
+ }, z.core.$loose>>;
397
383
  placeholder: z.ZodDefault<z.ZodBoolean>;
398
- }, {
399
- optional: never;
400
- defaulted: never;
401
- extra: Record<string, unknown>;
402
- }>>;
403
- }, {
404
- optional: never;
405
- defaulted: never;
406
- extra: Record<string, unknown>;
407
- }>, z.ZodInterface<{
408
- identifier: z.ZodDefault<z.ZodInterface<{
409
- sku: z.ZodDefault<z.ZodInterface<{
384
+ }, z.core.$loose>>;
385
+ identifier: z.ZodDefault<z.ZodObject<{
386
+ sku: z.ZodDefault<z.ZodObject<{
410
387
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
411
- }, {
412
- optional: never;
413
- defaulted: never;
414
- extra: Record<string, unknown>;
415
- }>>;
416
- }, {
417
- optional: never;
418
- defaulted: never;
419
- extra: Record<string, unknown>;
420
- }>>;
421
- unitPrice: z.ZodDefault<z.ZodInterface<{
388
+ }, z.core.$loose>>;
389
+ }, z.core.$loose>>;
390
+ unitPrice: z.ZodDefault<z.ZodObject<{
422
391
  value: z.ZodDefault<z.ZodNumber>;
423
392
  currency: z.ZodDefault<z.ZodEnum<{
424
393
  AED: "AED";
@@ -603,14 +572,10 @@ export declare const PriceSchema: z.MergeInterfaces<z.ZodInterface<{
603
572
  ZMW: "ZMW";
604
573
  ZWL: "ZWL";
605
574
  }>>;
606
- }, {
607
- optional: never;
608
- defaulted: never;
609
- extra: Record<string, unknown>;
610
- }>>;
575
+ }, z.core.$loose>>;
611
576
  tieredPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
612
577
  minimumQuantity: z.ZodDefault<z.ZodNumber>;
613
- price: z.ZodDefault<z.ZodInterface<{
578
+ price: z.ZodDefault<z.ZodObject<{
614
579
  value: z.ZodDefault<z.ZodNumber>;
615
580
  currency: z.ZodDefault<z.ZodEnum<{
616
581
  AED: "AED";
@@ -795,19 +760,9 @@ export declare const PriceSchema: z.MergeInterfaces<z.ZodInterface<{
795
760
  ZMW: "ZMW";
796
761
  ZWL: "ZWL";
797
762
  }>>;
798
- }, {
799
- optional: never;
800
- defaulted: never;
801
- extra: Record<string, unknown>;
802
- }>>;
803
- }, {
804
- [k: string]: unknown;
805
- }>>>;
806
- }, {
807
- optional: never;
808
- defaulted: never;
809
- extra: {};
810
- }>>;
763
+ }, z.core.$loose>>;
764
+ }, z.core.$loose>>>;
765
+ }, z.core.$loose>;
811
766
  export type MonetaryAmount = z.infer<typeof MonetaryAmountSchema>;
812
767
  export type Price = z.infer<typeof PriceSchema>;
813
768
  export type TieredPrice = z.infer<typeof TieredPriceSchema>;
@@ -1,86 +1,41 @@
1
1
  import { z } from 'zod';
2
- export declare const SKUSchema: z.ZodInterface<{
3
- identifier: z.ZodDefault<z.ZodInterface<{
2
+ export declare const SKUSchema: z.ZodObject<{
3
+ identifier: z.ZodDefault<z.ZodObject<{
4
4
  key: z.ZodDefault<z.ZodString>;
5
- }, {
6
- optional: never;
7
- defaulted: never;
8
- extra: Record<string, unknown>;
9
- }>>;
10
- }, {
11
- optional: never;
12
- defaulted: never;
13
- extra: Record<string, unknown>;
14
- }>;
15
- export declare const ProductAttributeSchema: z.ZodInterface<{
5
+ }, z.core.$loose>>;
6
+ }, z.core.$loose>;
7
+ export declare const ProductAttributeSchema: z.ZodObject<{
16
8
  id: z.ZodString;
17
9
  name: z.ZodString;
18
10
  value: z.ZodString;
19
- }, {
20
- optional: never;
21
- defaulted: never;
22
- extra: Record<string, unknown>;
23
- }>;
24
- export declare const ProductSchema: z.MergeInterfaces<z.ZodInterface<{
25
- meta: z.ZodDefault<z.ZodInterface<{
26
- cache: z.ZodDefault<z.ZodInterface<{
11
+ }, z.core.$loose>;
12
+ export declare const ProductSchema: z.ZodObject<{
13
+ meta: z.ZodDefault<z.ZodObject<{
14
+ cache: z.ZodDefault<z.ZodObject<{
27
15
  hit: z.ZodDefault<z.ZodBoolean>;
28
16
  key: z.ZodDefault<z.ZodString>;
29
- }, {
30
- optional: never;
31
- defaulted: never;
32
- extra: Record<string, unknown>;
33
- }>>;
17
+ }, z.core.$loose>>;
34
18
  placeholder: z.ZodDefault<z.ZodBoolean>;
35
- }, {
36
- optional: never;
37
- defaulted: never;
38
- extra: Record<string, unknown>;
39
- }>>;
40
- }, {
41
- optional: never;
42
- defaulted: never;
43
- extra: Record<string, unknown>;
44
- }>, z.ZodInterface<{
45
- identifier: z.ZodDefault<z.ZodInterface<{
19
+ }, z.core.$loose>>;
20
+ identifier: z.ZodDefault<z.ZodObject<{
46
21
  key: z.ZodDefault<z.ZodString>;
47
- }, {
48
- optional: never;
49
- defaulted: never;
50
- extra: Record<string, unknown>;
51
- }>>;
22
+ }, z.core.$loose>>;
52
23
  name: z.ZodDefault<z.ZodString>;
53
24
  slug: z.ZodDefault<z.ZodString>;
54
25
  description: z.ZodDefault<z.ZodString>;
55
26
  image: z.ZodDefault<z.ZodString>;
56
27
  images: z.ZodDefault<z.ZodArray<z.ZodString>>;
57
- attributes: z.ZodDefault<z.ZodArray<z.ZodInterface<{
28
+ attributes: z.ZodDefault<z.ZodArray<z.ZodObject<{
58
29
  id: z.ZodString;
59
30
  name: z.ZodString;
60
31
  value: z.ZodString;
61
- }, {
62
- optional: never;
63
- defaulted: never;
64
- extra: Record<string, unknown>;
65
- }>>>;
66
- skus: z.ZodDefault<z.ZodArray<z.ZodInterface<{
67
- identifier: z.ZodDefault<z.ZodInterface<{
32
+ }, z.core.$loose>>>;
33
+ skus: z.ZodDefault<z.ZodArray<z.ZodObject<{
34
+ identifier: z.ZodDefault<z.ZodObject<{
68
35
  key: z.ZodDefault<z.ZodString>;
69
- }, {
70
- optional: never;
71
- defaulted: never;
72
- extra: Record<string, unknown>;
73
- }>>;
74
- }, {
75
- optional: never;
76
- defaulted: never;
77
- extra: Record<string, unknown>;
78
- }>>>;
79
- }, {
80
- optional: never;
81
- defaulted: never;
82
- extra: {};
83
- }>>;
36
+ }, z.core.$loose>>;
37
+ }, z.core.$loose>>>;
38
+ }, z.core.$loose>;
84
39
  export type SKU = z.infer<typeof SKUSchema>;
85
40
  export type Product = z.infer<typeof ProductSchema>;
86
41
  export type ProductAttribute = z.infer<typeof ProductAttributeSchema>;