@cimplify/sdk 0.100.2 → 0.100.4
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/README.md +17 -0
- package/dist/advanced.d.mts +1 -1
- package/dist/advanced.d.ts +1 -1
- package/dist/advanced.js +20 -20
- package/dist/advanced.mjs +1 -1
- package/dist/{chunk-6JEKKL3M.js → chunk-3HU5I5VG.js} +23 -4
- package/dist/{chunk-YWNJJO2U.mjs → chunk-HSDQWJLA.mjs} +2 -2
- package/dist/{chunk-IJI7KMTG.js → chunk-JEVCHTKZ.js} +256 -74
- package/dist/{chunk-QRBBSIAY.js → chunk-LMD7B33E.js} +4 -4
- package/dist/{chunk-IFAQLFAJ.js → chunk-PNTINRAU.js} +33 -3
- package/dist/{chunk-B2YOCOLH.mjs → chunk-RQPXLXB2.mjs} +33 -3
- package/dist/{chunk-PJUXAUM2.mjs → chunk-RWR7JF7F.mjs} +210 -28
- package/dist/{chunk-TIQLOH2B.mjs → chunk-Z7M6GAHS.mjs} +23 -4
- package/dist/{client-D8XcrONA.d.mts → client-BwRAAk4y.d.mts} +26 -2
- package/dist/{client-CgXkRu2o.d.ts → client-CPcZIrjC.d.ts} +2 -2
- package/dist/{client-LPg_AUUr.d.ts → client-CrPglBBz.d.ts} +26 -2
- package/dist/{client-C6wb92AD.d.mts → client-DGrvLiJv.d.mts} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +69 -69
- package/dist/index.mjs +3 -3
- package/dist/lint-rules.json +1 -0
- package/dist/lint.d.mts +537 -0
- package/dist/lint.d.ts +537 -0
- package/dist/lint.js +540 -0
- package/dist/lint.mjs +524 -0
- package/dist/mock/cli.mjs +33 -3
- package/dist/mock/library.js +33 -3
- package/dist/mock/library.mjs +33 -3
- package/dist/mock/msw.js +33 -3
- package/dist/mock/msw.mjs +33 -3
- package/dist/react.d.mts +10 -5
- package/dist/react.d.ts +10 -5
- package/dist/react.js +40 -35
- package/dist/react.mjs +14 -9
- package/dist/{server--RyVAfPN.d.mts → server-DRAW2OOX.d.mts} +7 -4
- package/dist/{server-CNyy47HL.d.ts → server-zyrpzJVn.d.ts} +7 -4
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +7 -7
- package/dist/server.mjs +2 -2
- package/dist/styles.css +1 -1
- package/dist/testing/msw.d.mts +1 -1
- package/dist/testing/msw.d.ts +1 -1
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.d.mts +4 -4
- package/dist/testing/suite.d.ts +4 -4
- package/dist/testing/suite.js +23 -23
- package/dist/testing/suite.mjs +4 -4
- package/dist/testing.d.mts +3 -3
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +79 -79
- package/dist/testing.mjs +5 -5
- package/package.json +10 -2
package/dist/testing.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkLMD7B33E_js = require('./chunk-LMD7B33E.js');
|
|
4
|
+
require('./chunk-PNTINRAU.js');
|
|
5
5
|
require('./chunk-XREIZ56K.js');
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-JEVCHTKZ.js');
|
|
7
|
+
require('./chunk-3HU5I5VG.js');
|
|
8
8
|
require('./chunk-WMEC5JWN.js');
|
|
9
9
|
require('./chunk-NIOUSKQQ.js');
|
|
10
10
|
require('./chunk-OWW5GUSB.js');
|
|
11
11
|
var zod = require('zod');
|
|
12
12
|
|
|
13
13
|
var PUBLIC_SCHEMAS = {
|
|
14
|
-
Brand:
|
|
15
|
-
AddItemPayload:
|
|
16
|
-
Cart:
|
|
17
|
-
CartItem:
|
|
18
|
-
CartPricing:
|
|
19
|
-
CheckoutBody:
|
|
20
|
-
CheckoutResponse:
|
|
21
|
-
VariantInfo:
|
|
14
|
+
Brand: chunkLMD7B33E_js.BrandSchema,
|
|
15
|
+
AddItemPayload: chunkLMD7B33E_js.AddItemPayloadSchema,
|
|
16
|
+
Cart: chunkLMD7B33E_js.CartSchema,
|
|
17
|
+
CartItem: chunkLMD7B33E_js.CartItemSchema,
|
|
18
|
+
CartPricing: chunkLMD7B33E_js.CartPricingSchema,
|
|
19
|
+
CheckoutBody: chunkLMD7B33E_js.CheckoutBodySchema,
|
|
20
|
+
CheckoutResponse: chunkLMD7B33E_js.CheckoutResponseSchema,
|
|
21
|
+
VariantInfo: chunkLMD7B33E_js.VariantInfoSchema
|
|
22
22
|
};
|
|
23
23
|
function exportJsonSchemas() {
|
|
24
24
|
const out = {};
|
|
25
25
|
for (const [name, schema] of Object.entries(PUBLIC_SCHEMAS)) {
|
|
26
|
-
const meta =
|
|
27
|
-
const json = zod.z.toJSONSchema(schema, { metadata:
|
|
26
|
+
const meta = chunkLMD7B33E_js.cimplifyRegistry.get(schema);
|
|
27
|
+
const json = zod.z.toJSONSchema(schema, { metadata: chunkLMD7B33E_js.cimplifyRegistry });
|
|
28
28
|
if (meta) {
|
|
29
29
|
json.$id = meta.id;
|
|
30
30
|
json["x-cimplify-version"] = meta.version;
|
|
@@ -36,16 +36,16 @@ function exportJsonSchemas() {
|
|
|
36
36
|
function listRegisteredSchemas() {
|
|
37
37
|
const entries = [];
|
|
38
38
|
for (const schema of [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
chunkLMD7B33E_js.BrandSchema,
|
|
40
|
+
chunkLMD7B33E_js.AddItemPayloadSchema,
|
|
41
|
+
chunkLMD7B33E_js.CartSchema,
|
|
42
|
+
chunkLMD7B33E_js.CartItemSchema,
|
|
43
|
+
chunkLMD7B33E_js.CartPricingSchema,
|
|
44
|
+
chunkLMD7B33E_js.CheckoutBodySchema,
|
|
45
|
+
chunkLMD7B33E_js.CheckoutResponseSchema,
|
|
46
|
+
chunkLMD7B33E_js.VariantInfoSchema
|
|
47
47
|
]) {
|
|
48
|
-
const meta =
|
|
48
|
+
const meta = chunkLMD7B33E_js.cimplifyRegistry.get(schema);
|
|
49
49
|
if (meta) entries.push({ schema, meta });
|
|
50
50
|
}
|
|
51
51
|
return entries;
|
|
@@ -53,227 +53,227 @@ function listRegisteredSchemas() {
|
|
|
53
53
|
|
|
54
54
|
Object.defineProperty(exports, "AddItemPayloadSchema", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkLMD7B33E_js.AddItemPayloadSchema; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "AddOnDetailsSchema", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkLMD7B33E_js.AddOnDetailsSchema; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "AddOnGroupDetailsSchema", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkLMD7B33E_js.AddOnGroupDetailsSchema; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "AddOnInDetailsSchema", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkLMD7B33E_js.AddOnInDetailsSchema; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "AddOnOptionDetailsSchema", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkLMD7B33E_js.AddOnOptionDetailsSchema; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "AuthorizationTypeSchema", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkLMD7B33E_js.AuthorizationTypeSchema; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "BrandContactSchema", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkLMD7B33E_js.BrandContactSchema; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "BrandFaqSchema", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkLMD7B33E_js.BrandFaqSchema; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "BrandHeroSchema", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkLMD7B33E_js.BrandHeroSchema; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "BrandNavLinkSchema", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkLMD7B33E_js.BrandNavLinkSchema; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "BrandPolicyPageSchema", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkLMD7B33E_js.BrandPolicyPageSchema; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "BrandPolicySectionSchema", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkLMD7B33E_js.BrandPolicySectionSchema; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "BrandSchema", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkLMD7B33E_js.BrandSchema; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "BrandSocialSchema", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkLMD7B33E_js.BrandSocialSchema; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "BundleResolvedSchema", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkLMD7B33E_js.BundleResolvedSchema; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "BundleSelectionInputSchema", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkLMD7B33E_js.BundleSelectionInputSchema; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "CartItemSchema", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkLMD7B33E_js.CartItemSchema; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "CartPricingSchema", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkLMD7B33E_js.CartPricingSchema; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "CartSchema", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkLMD7B33E_js.CartSchema; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "CheckoutBodySchema", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkLMD7B33E_js.CheckoutBodySchema; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "CheckoutCustomerSchema", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkLMD7B33E_js.CheckoutCustomerSchema; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "CheckoutResponseSchema", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkLMD7B33E_js.CheckoutResponseSchema; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "ChosenPriceSchema", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkLMD7B33E_js.ChosenPriceSchema; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "CompositeResolvedSchema", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkLMD7B33E_js.CompositeResolvedSchema; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "CompositeSelectionInputSchema", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkLMD7B33E_js.CompositeSelectionInputSchema; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "CountryCodeSchema", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkLMD7B33E_js.CountryCodeSchema; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "CurrencyCodeSchema", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkLMD7B33E_js.CurrencyCodeSchema; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "CustomerInputValueSchema", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkLMD7B33E_js.CustomerInputValueSchema; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "DiscountDetailsSchema", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkLMD7B33E_js.DiscountDetailsSchema; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "IsoDateTimeSchema", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkLMD7B33E_js.IsoDateTimeSchema; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "LineTypeSchema", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkLMD7B33E_js.LineTypeSchema; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "LocaleSchema", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkLMD7B33E_js.LocaleSchema; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "MoneyLooseSchema", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkLMD7B33E_js.MoneyLooseSchema; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "MoneySchema", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkLMD7B33E_js.MoneySchema; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "NextActionSchema", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkLMD7B33E_js.NextActionSchema; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "PhoneE164Schema", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkLMD7B33E_js.PhoneE164Schema; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "ProductTypeSchema", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkLMD7B33E_js.ProductTypeSchema; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "SchemaViolationError", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkLMD7B33E_js.SchemaViolationError; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "SeedNameSchema", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkLMD7B33E_js.SeedNameSchema; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "SelectedAddOnOptionSchema", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkLMD7B33E_js.SelectedAddOnOptionSchema; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "ServiceStatusSchema", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkLMD7B33E_js.ServiceStatusSchema; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "TimestampSchema", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkLMD7B33E_js.TimestampSchema; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "VariantDetailsSchema", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkLMD7B33E_js.VariantDetailsSchema; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "VariantDisplayAttributeSchema", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkLMD7B33E_js.VariantDisplayAttributeSchema; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "VariantInfoSchema", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkLMD7B33E_js.VariantInfoSchema; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "assertAddItemPayload", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkLMD7B33E_js.assertAddItemPayload; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "assertBrand", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkLMD7B33E_js.assertBrand; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "assertCart", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkLMD7B33E_js.assertCart; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "assertCartItem", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkLMD7B33E_js.assertCartItem; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "assertCheckoutBody", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkLMD7B33E_js.assertCheckoutBody; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "assertCheckoutResponse", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkLMD7B33E_js.assertCheckoutResponse; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "cimplifyRegistry", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkLMD7B33E_js.cimplifyRegistry; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "createTestClient", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkLMD7B33E_js.createTestClient; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "fixtures", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkLMD7B33E_js.fixtures; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "makeAssertion", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkLMD7B33E_js.makeAssertion; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "registerSchema", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkLMD7B33E_js.registerSchema; }
|
|
277
277
|
});
|
|
278
278
|
exports.exportJsonSchemas = exportJsonSchemas;
|
|
279
279
|
exports.listRegisteredSchemas = listRegisteredSchemas;
|
package/dist/testing.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-
|
|
2
|
-
export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-HSDQWJLA.mjs';
|
|
2
|
+
export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-HSDQWJLA.mjs';
|
|
3
|
+
import './chunk-RQPXLXB2.mjs';
|
|
4
4
|
import './chunk-U4MW6PYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-RWR7JF7F.mjs';
|
|
6
|
+
import './chunk-Z7M6GAHS.mjs';
|
|
7
7
|
import './chunk-DLW3RWRK.mjs';
|
|
8
8
|
import './chunk-O3YUHLZL.mjs';
|
|
9
9
|
import './chunk-3G6RQLXK.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cimplify/sdk",
|
|
3
|
-
"version": "0.100.
|
|
3
|
+
"version": "0.100.4",
|
|
4
4
|
"description": "Cimplify Commerce SDK for storefronts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cimplify",
|
|
@@ -41,6 +41,12 @@
|
|
|
41
41
|
"import": "./dist/advanced.mjs",
|
|
42
42
|
"require": "./dist/advanced.js"
|
|
43
43
|
},
|
|
44
|
+
"./lint": {
|
|
45
|
+
"types": "./dist/lint.d.ts",
|
|
46
|
+
"import": "./dist/lint.mjs",
|
|
47
|
+
"require": "./dist/lint.js"
|
|
48
|
+
},
|
|
49
|
+
"./lint-rules": "./dist/lint-rules.json",
|
|
44
50
|
"./server": {
|
|
45
51
|
"types": "./dist/server.d.ts",
|
|
46
52
|
"react-server": "./dist/server.mjs",
|
|
@@ -89,9 +95,10 @@
|
|
|
89
95
|
"./styles.css": "./dist/styles.css"
|
|
90
96
|
},
|
|
91
97
|
"scripts": {
|
|
92
|
-
"build": "bun run build:mock-assets && tsup && bun run build:css && bun run build:registry",
|
|
98
|
+
"build": "bun run build:mock-assets && tsup && bun run build:lint-rules && bun run build:css && bun run build:registry",
|
|
93
99
|
"prepublishOnly": "bun run build",
|
|
94
100
|
"build:mock-assets": "bun run scripts/build-mock-assets.ts",
|
|
101
|
+
"build:lint-rules": "bun run scripts/build-lint-rules.ts",
|
|
95
102
|
"build:css": "bunx @tailwindcss/cli -i src/styles.css -o dist/styles.css --minify",
|
|
96
103
|
"build:registry": "bun scripts/build-registry.ts",
|
|
97
104
|
"dev": "tsup --watch",
|
|
@@ -166,6 +173,7 @@
|
|
|
166
173
|
"jose": "^6.2.3",
|
|
167
174
|
"libphonenumber-js": "1.13.6",
|
|
168
175
|
"marked": "18.0.5",
|
|
176
|
+
"re2js": "^1.4.0",
|
|
169
177
|
"react-day-picker": "^10.0.1",
|
|
170
178
|
"streamdown": "2.5.0",
|
|
171
179
|
"tailwind-merge": "^3.6.0",
|