@mercurjs/core 2.2.1 → 2.3.0-canary.1
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/.medusa/server/src/api/admin/campaigns/helpers.d.ts +2 -0
- package/.medusa/server/src/api/admin/campaigns/helpers.js +152 -0
- package/.medusa/server/src/api/admin/campaigns/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/campaigns/middlewares.js +42 -0
- package/.medusa/server/src/api/admin/inventory-items/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/inventory-items/middlewares.js +46 -0
- package/.medusa/server/src/api/admin/middlewares.js +25 -15
- package/.medusa/server/src/api/admin/price-lists/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/price-lists/middlewares.js +57 -0
- package/.medusa/server/src/api/admin/reservations/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/reservations/middlewares.js +76 -0
- package/.medusa/server/src/api/admin/reservations/query-config.d.ts +9 -0
- package/.medusa/server/src/api/admin/reservations/query-config.js +48 -0
- package/.medusa/server/src/api/admin/reservations/validators.d.ts +123 -0
- package/.medusa/server/src/api/admin/reservations/validators.js +12 -0
- package/.medusa/server/src/api/admin/reviews/[id]/respond/route.d.ts +4 -0
- package/.medusa/server/src/api/admin/reviews/[id]/respond/route.js +22 -0
- package/.medusa/server/src/api/admin/reviews/[id]/route.d.ts +6 -0
- package/.medusa/server/src/api/admin/reviews/[id]/route.js +47 -0
- package/.medusa/server/src/api/admin/reviews/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/admin/reviews/middlewares.js +60 -0
- package/.medusa/server/src/api/admin/reviews/query-config.d.ts +11 -0
- package/.medusa/server/src/api/admin/reviews/query-config.js +35 -0
- package/.medusa/server/src/api/admin/reviews/route.d.ts +3 -0
- package/.medusa/server/src/api/admin/reviews/route.js +20 -0
- package/.medusa/server/src/api/admin/reviews/validators.d.ts +62 -0
- package/.medusa/server/src/api/admin/reviews/validators.js +35 -0
- package/.medusa/server/src/api/store/middlewares.js +3 -1
- package/.medusa/server/src/api/store/reviews/[id]/route.d.ts +6 -0
- package/.medusa/server/src/api/store/reviews/[id]/route.js +53 -0
- package/.medusa/server/src/api/store/reviews/helpers.d.ts +2 -0
- package/.medusa/server/src/api/store/reviews/helpers.js +24 -0
- package/.medusa/server/src/api/store/reviews/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/store/reviews/middlewares.js +48 -0
- package/.medusa/server/src/api/store/reviews/query-config.d.ts +11 -0
- package/.medusa/server/src/api/store/reviews/query-config.js +27 -0
- package/.medusa/server/src/api/store/reviews/route.d.ts +5 -0
- package/.medusa/server/src/api/store/reviews/route.js +47 -0
- package/.medusa/server/src/api/store/reviews/validators.d.ts +52 -0
- package/.medusa/server/src/api/store/reviews/validators.js +21 -0
- package/.medusa/server/src/api/vendor/campaigns/helpers.d.ts +9 -0
- package/.medusa/server/src/api/vendor/campaigns/helpers.js +68 -2
- package/.medusa/server/src/api/vendor/campaigns/middlewares.js +3 -1
- package/.medusa/server/src/api/vendor/campaigns/route.js +3 -1
- package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +18 -6
- package/.medusa/server/src/api/vendor/campaigns/validators.js +3 -1
- package/.medusa/server/src/api/vendor/middlewares.js +23 -21
- package/.medusa/server/src/api/vendor/offers/query-config.js +3 -1
- package/.medusa/server/src/api/vendor/offers/validators.d.ts +22 -0
- package/.medusa/server/src/api/vendor/offers/validators.js +7 -1
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +2 -2
- package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +93 -6
- package/.medusa/server/src/api/vendor/price-lists/validators.js +4 -1
- package/.medusa/server/src/api/vendor/promotions/validators.d.ts +88 -88
- package/.medusa/server/src/api/vendor/reservations/middlewares.js +119 -2
- package/.medusa/server/src/api/vendor/reservations/query-config.js +6 -1
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +3 -0
- package/.medusa/server/src/api/vendor/reservations/validators.js +4 -1
- package/.medusa/server/src/api/vendor/reviews/[id]/route.d.ts +5 -0
- package/.medusa/server/src/api/vendor/reviews/[id]/route.js +39 -0
- package/.medusa/server/src/api/vendor/reviews/helpers.d.ts +2 -0
- package/.medusa/server/src/api/vendor/reviews/helpers.js +24 -0
- package/.medusa/server/src/api/vendor/reviews/middlewares.d.ts +2 -0
- package/.medusa/server/src/api/vendor/reviews/middlewares.js +45 -0
- package/.medusa/server/src/api/vendor/reviews/query-config.d.ts +11 -0
- package/.medusa/server/src/api/vendor/reviews/query-config.js +32 -0
- package/.medusa/server/src/api/vendor/reviews/route.d.ts +3 -0
- package/.medusa/server/src/api/vendor/reviews/route.js +21 -0
- package/.medusa/server/src/api/vendor/reviews/validators.d.ts +48 -0
- package/.medusa/server/src/api/vendor/reviews/validators.js +31 -0
- package/.medusa/server/src/api/vendor/sellers/validators.d.ts +12 -12
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +70 -70
- package/.medusa/server/src/links/customer-review.d.ts +2 -0
- package/.medusa/server/src/links/customer-review.js +13 -0
- package/.medusa/server/src/links/order-review.d.ts +2 -0
- package/.medusa/server/src/links/order-review.js +13 -0
- package/.medusa/server/src/links/product-review.d.ts +2 -0
- package/.medusa/server/src/links/product-review.js +13 -0
- package/.medusa/server/src/links/seller-review.d.ts +2 -0
- package/.medusa/server/src/links/seller-review.js +13 -0
- package/.medusa/server/src/modules/offer/migrations/Migration20260804000000.d.ts +5 -0
- package/.medusa/server/src/modules/offer/migrations/Migration20260804000000.js +16 -0
- package/.medusa/server/src/modules/offer/models/offer.d.ts +2 -0
- package/.medusa/server/src/modules/offer/models/offer.js +3 -1
- package/.medusa/server/src/modules/offer/service.d.ts +2 -0
- package/.medusa/server/src/modules/review/index.d.ts +21 -0
- package/.medusa/server/src/modules/review/index.js +12 -0
- package/.medusa/server/src/modules/review/migrations/Migration20260729120000.d.ts +5 -0
- package/.medusa/server/src/modules/review/migrations/Migration20260729120000.js +16 -0
- package/.medusa/server/src/modules/review/models/index.d.ts +1 -0
- package/.medusa/server/src/modules/review/models/index.js +9 -0
- package/.medusa/server/src/modules/review/models/review.d.ts +10 -0
- package/.medusa/server/src/modules/review/models/review.js +14 -0
- package/.medusa/server/src/modules/review/service.d.ts +19 -0
- package/.medusa/server/src/modules/review/service.js +71 -0
- package/.medusa/server/src/utils/disable-medusa-middlewares.js +5 -1
- package/.medusa/server/src/workflows/cart/hooks/validate.js +3 -3
- package/.medusa/server/src/workflows/cart/workflows/complete-cart-with-split-orders.js +9 -2
- package/.medusa/server/src/workflows/index.d.ts +2 -0
- package/.medusa/server/src/workflows/index.js +3 -1
- package/.medusa/server/src/workflows/offer/steps/create-offers.d.ts +2 -0
- package/.medusa/server/src/workflows/offer/steps/update-offers.d.ts +4 -0
- package/.medusa/server/src/workflows/offer/steps/update-offers.js +3 -1
- package/.medusa/server/src/workflows/offer/utils/prepare-offer-inventory-input.d.ts +3 -0
- package/.medusa/server/src/workflows/offer/utils/prepare-offer-inventory-input.js +5 -2
- package/.medusa/server/src/workflows/offer/workflows/create-offers.js +13 -9
- package/.medusa/server/src/workflows/offer/workflows/update-offers.js +3 -1
- package/.medusa/server/src/workflows/review/index.d.ts +2 -0
- package/.medusa/server/src/workflows/review/index.js +19 -0
- package/.medusa/server/src/workflows/review/steps/create-review.d.ts +13 -0
- package/.medusa/server/src/workflows/review/steps/create-review.js +41 -0
- package/.medusa/server/src/workflows/review/steps/delete-review.d.ts +1 -0
- package/.medusa/server/src/workflows/review/steps/delete-review.js +17 -0
- package/.medusa/server/src/workflows/review/steps/index.d.ts +5 -0
- package/.medusa/server/src/workflows/review/steps/index.js +22 -0
- package/.medusa/server/src/workflows/review/steps/respond-review.d.ts +13 -0
- package/.medusa/server/src/workflows/review/steps/respond-review.js +28 -0
- package/.medusa/server/src/workflows/review/steps/update-review.d.ts +13 -0
- package/.medusa/server/src/workflows/review/steps/update-review.js +24 -0
- package/.medusa/server/src/workflows/review/steps/validate-review.d.ts +2 -0
- package/.medusa/server/src/workflows/review/steps/validate-review.js +36 -0
- package/.medusa/server/src/workflows/review/workflows/create-review.d.ts +13 -0
- package/.medusa/server/src/workflows/review/workflows/create-review.js +40 -0
- package/.medusa/server/src/workflows/review/workflows/delete-review.d.ts +1 -0
- package/.medusa/server/src/workflows/review/workflows/delete-review.js +12 -0
- package/.medusa/server/src/workflows/review/workflows/index.d.ts +4 -0
- package/.medusa/server/src/workflows/review/workflows/index.js +21 -0
- package/.medusa/server/src/workflows/review/workflows/respond-review.d.ts +13 -0
- package/.medusa/server/src/workflows/review/workflows/respond-review.js +12 -0
- package/.medusa/server/src/workflows/review/workflows/update-review.d.ts +13 -0
- package/.medusa/server/src/workflows/review/workflows/update-review.js +12 -0
- package/package.json +6 -6
|
@@ -149,12 +149,12 @@ export declare const VendorCreateShippingOptionRule: z.ZodObject<{
|
|
|
149
149
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
150
150
|
}, "strict", z.ZodTypeAny, {
|
|
151
151
|
value: string | string[];
|
|
152
|
-
attribute: string;
|
|
153
152
|
operator: RuleOperator;
|
|
153
|
+
attribute: string;
|
|
154
154
|
}, {
|
|
155
155
|
value: string | string[];
|
|
156
|
-
attribute: string;
|
|
157
156
|
operator: RuleOperator;
|
|
157
|
+
attribute: string;
|
|
158
158
|
}>;
|
|
159
159
|
export type VendorUpdateShippingOptionRuleType = z.infer<typeof VendorUpdateShippingOptionRule>;
|
|
160
160
|
export declare const VendorUpdateShippingOptionRule: z.ZodObject<{
|
|
@@ -165,13 +165,13 @@ export declare const VendorUpdateShippingOptionRule: z.ZodObject<{
|
|
|
165
165
|
}, "strict", z.ZodTypeAny, {
|
|
166
166
|
id: string;
|
|
167
167
|
value: string | string[];
|
|
168
|
-
attribute: string;
|
|
169
168
|
operator: RuleOperator;
|
|
169
|
+
attribute: string;
|
|
170
170
|
}, {
|
|
171
171
|
id: string;
|
|
172
172
|
value: string | string[];
|
|
173
|
-
attribute: string;
|
|
174
173
|
operator: RuleOperator;
|
|
174
|
+
attribute: string;
|
|
175
175
|
}>;
|
|
176
176
|
export declare const VendorCreateShippingOptionTypeObject: z.ZodObject<{
|
|
177
177
|
label: z.ZodString;
|
|
@@ -195,28 +195,28 @@ export declare const VendorCreateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
195
195
|
value: z.ZodNumber;
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
197
|
value: number;
|
|
198
|
-
attribute: "item_total";
|
|
199
198
|
operator: PricingRuleOperator;
|
|
199
|
+
attribute: "item_total";
|
|
200
200
|
}, {
|
|
201
201
|
value: number;
|
|
202
|
-
attribute: "item_total";
|
|
203
202
|
operator: PricingRuleOperator;
|
|
203
|
+
attribute: "item_total";
|
|
204
204
|
}>, "many">>;
|
|
205
205
|
}, "strict", z.ZodTypeAny, {
|
|
206
206
|
currency_code: string;
|
|
207
207
|
amount: number;
|
|
208
208
|
rules?: {
|
|
209
209
|
value: number;
|
|
210
|
-
attribute: "item_total";
|
|
211
210
|
operator: PricingRuleOperator;
|
|
211
|
+
attribute: "item_total";
|
|
212
212
|
}[] | undefined;
|
|
213
213
|
}, {
|
|
214
214
|
currency_code: string;
|
|
215
215
|
amount: number;
|
|
216
216
|
rules?: {
|
|
217
217
|
value: number;
|
|
218
|
-
attribute: "item_total";
|
|
219
218
|
operator: PricingRuleOperator;
|
|
219
|
+
attribute: "item_total";
|
|
220
220
|
}[] | undefined;
|
|
221
221
|
}>;
|
|
222
222
|
export declare const VendorCreateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
@@ -228,28 +228,28 @@ export declare const VendorCreateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
228
228
|
value: z.ZodNumber;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
value: number;
|
|
231
|
-
attribute: "item_total";
|
|
232
231
|
operator: PricingRuleOperator;
|
|
232
|
+
attribute: "item_total";
|
|
233
233
|
}, {
|
|
234
234
|
value: number;
|
|
235
|
-
attribute: "item_total";
|
|
236
235
|
operator: PricingRuleOperator;
|
|
236
|
+
attribute: "item_total";
|
|
237
237
|
}>, "many">>;
|
|
238
238
|
}, "strict", z.ZodTypeAny, {
|
|
239
239
|
region_id: string;
|
|
240
240
|
amount: number;
|
|
241
241
|
rules?: {
|
|
242
242
|
value: number;
|
|
243
|
-
attribute: "item_total";
|
|
244
243
|
operator: PricingRuleOperator;
|
|
244
|
+
attribute: "item_total";
|
|
245
245
|
}[] | undefined;
|
|
246
246
|
}, {
|
|
247
247
|
region_id: string;
|
|
248
248
|
amount: number;
|
|
249
249
|
rules?: {
|
|
250
250
|
value: number;
|
|
251
|
-
attribute: "item_total";
|
|
252
251
|
operator: PricingRuleOperator;
|
|
252
|
+
attribute: "item_total";
|
|
253
253
|
}[] | undefined;
|
|
254
254
|
}>;
|
|
255
255
|
export declare const VendorUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
@@ -262,12 +262,12 @@ export declare const VendorUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
262
262
|
value: z.ZodNumber;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
264
|
value: number;
|
|
265
|
-
attribute: "item_total";
|
|
266
265
|
operator: PricingRuleOperator;
|
|
266
|
+
attribute: "item_total";
|
|
267
267
|
}, {
|
|
268
268
|
value: number;
|
|
269
|
-
attribute: "item_total";
|
|
270
269
|
operator: PricingRuleOperator;
|
|
270
|
+
attribute: "item_total";
|
|
271
271
|
}>, "many">>;
|
|
272
272
|
}, "strict", z.ZodTypeAny, {
|
|
273
273
|
id?: string | undefined;
|
|
@@ -275,8 +275,8 @@ export declare const VendorUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
275
275
|
amount?: number | undefined;
|
|
276
276
|
rules?: {
|
|
277
277
|
value: number;
|
|
278
|
-
attribute: "item_total";
|
|
279
278
|
operator: PricingRuleOperator;
|
|
279
|
+
attribute: "item_total";
|
|
280
280
|
}[] | undefined;
|
|
281
281
|
}, {
|
|
282
282
|
id?: string | undefined;
|
|
@@ -284,8 +284,8 @@ export declare const VendorUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
284
284
|
amount?: number | undefined;
|
|
285
285
|
rules?: {
|
|
286
286
|
value: number;
|
|
287
|
-
attribute: "item_total";
|
|
288
287
|
operator: PricingRuleOperator;
|
|
288
|
+
attribute: "item_total";
|
|
289
289
|
}[] | undefined;
|
|
290
290
|
}>;
|
|
291
291
|
export declare const VendorUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
@@ -298,12 +298,12 @@ export declare const VendorUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
298
298
|
value: z.ZodNumber;
|
|
299
299
|
}, "strip", z.ZodTypeAny, {
|
|
300
300
|
value: number;
|
|
301
|
-
attribute: "item_total";
|
|
302
301
|
operator: PricingRuleOperator;
|
|
302
|
+
attribute: "item_total";
|
|
303
303
|
}, {
|
|
304
304
|
value: number;
|
|
305
|
-
attribute: "item_total";
|
|
306
305
|
operator: PricingRuleOperator;
|
|
306
|
+
attribute: "item_total";
|
|
307
307
|
}>, "many">>;
|
|
308
308
|
}, "strict", z.ZodTypeAny, {
|
|
309
309
|
id?: string | undefined;
|
|
@@ -311,8 +311,8 @@ export declare const VendorUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
311
311
|
amount?: number | undefined;
|
|
312
312
|
rules?: {
|
|
313
313
|
value: number;
|
|
314
|
-
attribute: "item_total";
|
|
315
314
|
operator: PricingRuleOperator;
|
|
315
|
+
attribute: "item_total";
|
|
316
316
|
}[] | undefined;
|
|
317
317
|
}, {
|
|
318
318
|
id?: string | undefined;
|
|
@@ -320,8 +320,8 @@ export declare const VendorUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
320
320
|
amount?: number | undefined;
|
|
321
321
|
rules?: {
|
|
322
322
|
value: number;
|
|
323
|
-
attribute: "item_total";
|
|
324
323
|
operator: PricingRuleOperator;
|
|
324
|
+
attribute: "item_total";
|
|
325
325
|
}[] | undefined;
|
|
326
326
|
}>;
|
|
327
327
|
export type VendorCreateShippingOptionType = z.infer<typeof VendorCreateShippingOption>;
|
|
@@ -355,28 +355,28 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
355
355
|
value: z.ZodNumber;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
357
|
value: number;
|
|
358
|
-
attribute: "item_total";
|
|
359
358
|
operator: PricingRuleOperator;
|
|
359
|
+
attribute: "item_total";
|
|
360
360
|
}, {
|
|
361
361
|
value: number;
|
|
362
|
-
attribute: "item_total";
|
|
363
362
|
operator: PricingRuleOperator;
|
|
363
|
+
attribute: "item_total";
|
|
364
364
|
}>, "many">>;
|
|
365
365
|
}, "strict", z.ZodTypeAny, {
|
|
366
366
|
currency_code: string;
|
|
367
367
|
amount: number;
|
|
368
368
|
rules?: {
|
|
369
369
|
value: number;
|
|
370
|
-
attribute: "item_total";
|
|
371
370
|
operator: PricingRuleOperator;
|
|
371
|
+
attribute: "item_total";
|
|
372
372
|
}[] | undefined;
|
|
373
373
|
}, {
|
|
374
374
|
currency_code: string;
|
|
375
375
|
amount: number;
|
|
376
376
|
rules?: {
|
|
377
377
|
value: number;
|
|
378
|
-
attribute: "item_total";
|
|
379
378
|
operator: PricingRuleOperator;
|
|
379
|
+
attribute: "item_total";
|
|
380
380
|
}[] | undefined;
|
|
381
381
|
}>, z.ZodObject<{
|
|
382
382
|
region_id: z.ZodString;
|
|
@@ -387,28 +387,28 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
387
387
|
value: z.ZodNumber;
|
|
388
388
|
}, "strip", z.ZodTypeAny, {
|
|
389
389
|
value: number;
|
|
390
|
-
attribute: "item_total";
|
|
391
390
|
operator: PricingRuleOperator;
|
|
391
|
+
attribute: "item_total";
|
|
392
392
|
}, {
|
|
393
393
|
value: number;
|
|
394
|
-
attribute: "item_total";
|
|
395
394
|
operator: PricingRuleOperator;
|
|
395
|
+
attribute: "item_total";
|
|
396
396
|
}>, "many">>;
|
|
397
397
|
}, "strict", z.ZodTypeAny, {
|
|
398
398
|
region_id: string;
|
|
399
399
|
amount: number;
|
|
400
400
|
rules?: {
|
|
401
401
|
value: number;
|
|
402
|
-
attribute: "item_total";
|
|
403
402
|
operator: PricingRuleOperator;
|
|
403
|
+
attribute: "item_total";
|
|
404
404
|
}[] | undefined;
|
|
405
405
|
}, {
|
|
406
406
|
region_id: string;
|
|
407
407
|
amount: number;
|
|
408
408
|
rules?: {
|
|
409
409
|
value: number;
|
|
410
|
-
attribute: "item_total";
|
|
411
410
|
operator: PricingRuleOperator;
|
|
411
|
+
attribute: "item_total";
|
|
412
412
|
}[] | undefined;
|
|
413
413
|
}>]>, "many">;
|
|
414
414
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -417,12 +417,12 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
417
417
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
418
418
|
}, "strict", z.ZodTypeAny, {
|
|
419
419
|
value: string | string[];
|
|
420
|
-
attribute: string;
|
|
421
420
|
operator: RuleOperator;
|
|
421
|
+
attribute: string;
|
|
422
422
|
}, {
|
|
423
423
|
value: string | string[];
|
|
424
|
-
attribute: string;
|
|
425
424
|
operator: RuleOperator;
|
|
425
|
+
attribute: string;
|
|
426
426
|
}>, "many">>;
|
|
427
427
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
428
428
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -433,16 +433,16 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
433
433
|
amount: number;
|
|
434
434
|
rules?: {
|
|
435
435
|
value: number;
|
|
436
|
-
attribute: "item_total";
|
|
437
436
|
operator: PricingRuleOperator;
|
|
437
|
+
attribute: "item_total";
|
|
438
438
|
}[] | undefined;
|
|
439
439
|
} | {
|
|
440
440
|
region_id: string;
|
|
441
441
|
amount: number;
|
|
442
442
|
rules?: {
|
|
443
443
|
value: number;
|
|
444
|
-
attribute: "item_total";
|
|
445
444
|
operator: PricingRuleOperator;
|
|
445
|
+
attribute: "item_total";
|
|
446
446
|
}[] | undefined;
|
|
447
447
|
})[];
|
|
448
448
|
service_zone_id: string;
|
|
@@ -458,8 +458,8 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
458
458
|
type_id?: string | undefined;
|
|
459
459
|
rules?: {
|
|
460
460
|
value: string | string[];
|
|
461
|
-
attribute: string;
|
|
462
461
|
operator: RuleOperator;
|
|
462
|
+
attribute: string;
|
|
463
463
|
}[] | undefined;
|
|
464
464
|
}, {
|
|
465
465
|
name: string;
|
|
@@ -469,16 +469,16 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
469
469
|
amount: number;
|
|
470
470
|
rules?: {
|
|
471
471
|
value: number;
|
|
472
|
-
attribute: "item_total";
|
|
473
472
|
operator: PricingRuleOperator;
|
|
473
|
+
attribute: "item_total";
|
|
474
474
|
}[] | undefined;
|
|
475
475
|
} | {
|
|
476
476
|
region_id: string;
|
|
477
477
|
amount: number;
|
|
478
478
|
rules?: {
|
|
479
479
|
value: number;
|
|
480
|
-
attribute: "item_total";
|
|
481
480
|
operator: PricingRuleOperator;
|
|
481
|
+
attribute: "item_total";
|
|
482
482
|
}[] | undefined;
|
|
483
483
|
})[];
|
|
484
484
|
service_zone_id: string;
|
|
@@ -494,8 +494,8 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
494
494
|
type_id?: string | undefined;
|
|
495
495
|
rules?: {
|
|
496
496
|
value: string | string[];
|
|
497
|
-
attribute: string;
|
|
498
497
|
operator: RuleOperator;
|
|
498
|
+
attribute: string;
|
|
499
499
|
}[] | undefined;
|
|
500
500
|
}>, {
|
|
501
501
|
name: string;
|
|
@@ -505,16 +505,16 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
505
505
|
amount: number;
|
|
506
506
|
rules?: {
|
|
507
507
|
value: number;
|
|
508
|
-
attribute: "item_total";
|
|
509
508
|
operator: PricingRuleOperator;
|
|
509
|
+
attribute: "item_total";
|
|
510
510
|
}[] | undefined;
|
|
511
511
|
} | {
|
|
512
512
|
region_id: string;
|
|
513
513
|
amount: number;
|
|
514
514
|
rules?: {
|
|
515
515
|
value: number;
|
|
516
|
-
attribute: "item_total";
|
|
517
516
|
operator: PricingRuleOperator;
|
|
517
|
+
attribute: "item_total";
|
|
518
518
|
}[] | undefined;
|
|
519
519
|
})[];
|
|
520
520
|
service_zone_id: string;
|
|
@@ -530,8 +530,8 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
530
530
|
type_id?: string | undefined;
|
|
531
531
|
rules?: {
|
|
532
532
|
value: string | string[];
|
|
533
|
-
attribute: string;
|
|
534
533
|
operator: RuleOperator;
|
|
534
|
+
attribute: string;
|
|
535
535
|
}[] | undefined;
|
|
536
536
|
}, {
|
|
537
537
|
name: string;
|
|
@@ -541,16 +541,16 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
541
541
|
amount: number;
|
|
542
542
|
rules?: {
|
|
543
543
|
value: number;
|
|
544
|
-
attribute: "item_total";
|
|
545
544
|
operator: PricingRuleOperator;
|
|
545
|
+
attribute: "item_total";
|
|
546
546
|
}[] | undefined;
|
|
547
547
|
} | {
|
|
548
548
|
region_id: string;
|
|
549
549
|
amount: number;
|
|
550
550
|
rules?: {
|
|
551
551
|
value: number;
|
|
552
|
-
attribute: "item_total";
|
|
553
552
|
operator: PricingRuleOperator;
|
|
553
|
+
attribute: "item_total";
|
|
554
554
|
}[] | undefined;
|
|
555
555
|
})[];
|
|
556
556
|
service_zone_id: string;
|
|
@@ -566,8 +566,8 @@ export declare const VendorCreateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
566
566
|
type_id?: string | undefined;
|
|
567
567
|
rules?: {
|
|
568
568
|
value: string | string[];
|
|
569
|
-
attribute: string;
|
|
570
569
|
operator: RuleOperator;
|
|
570
|
+
attribute: string;
|
|
571
571
|
}[] | undefined;
|
|
572
572
|
}>;
|
|
573
573
|
export type VendorUpdateShippingOptionType = z.infer<typeof VendorUpdateShippingOption>;
|
|
@@ -601,12 +601,12 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
601
601
|
value: z.ZodNumber;
|
|
602
602
|
}, "strip", z.ZodTypeAny, {
|
|
603
603
|
value: number;
|
|
604
|
-
attribute: "item_total";
|
|
605
604
|
operator: PricingRuleOperator;
|
|
605
|
+
attribute: "item_total";
|
|
606
606
|
}, {
|
|
607
607
|
value: number;
|
|
608
|
-
attribute: "item_total";
|
|
609
608
|
operator: PricingRuleOperator;
|
|
609
|
+
attribute: "item_total";
|
|
610
610
|
}>, "many">>;
|
|
611
611
|
}, "strict", z.ZodTypeAny, {
|
|
612
612
|
id?: string | undefined;
|
|
@@ -614,8 +614,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
614
614
|
amount?: number | undefined;
|
|
615
615
|
rules?: {
|
|
616
616
|
value: number;
|
|
617
|
-
attribute: "item_total";
|
|
618
617
|
operator: PricingRuleOperator;
|
|
618
|
+
attribute: "item_total";
|
|
619
619
|
}[] | undefined;
|
|
620
620
|
}, {
|
|
621
621
|
id?: string | undefined;
|
|
@@ -623,8 +623,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
623
623
|
amount?: number | undefined;
|
|
624
624
|
rules?: {
|
|
625
625
|
value: number;
|
|
626
|
-
attribute: "item_total";
|
|
627
626
|
operator: PricingRuleOperator;
|
|
627
|
+
attribute: "item_total";
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
}>, z.ZodObject<{
|
|
630
630
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -636,12 +636,12 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
636
636
|
value: z.ZodNumber;
|
|
637
637
|
}, "strip", z.ZodTypeAny, {
|
|
638
638
|
value: number;
|
|
639
|
-
attribute: "item_total";
|
|
640
639
|
operator: PricingRuleOperator;
|
|
640
|
+
attribute: "item_total";
|
|
641
641
|
}, {
|
|
642
642
|
value: number;
|
|
643
|
-
attribute: "item_total";
|
|
644
643
|
operator: PricingRuleOperator;
|
|
644
|
+
attribute: "item_total";
|
|
645
645
|
}>, "many">>;
|
|
646
646
|
}, "strict", z.ZodTypeAny, {
|
|
647
647
|
id?: string | undefined;
|
|
@@ -649,8 +649,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
649
649
|
amount?: number | undefined;
|
|
650
650
|
rules?: {
|
|
651
651
|
value: number;
|
|
652
|
-
attribute: "item_total";
|
|
653
652
|
operator: PricingRuleOperator;
|
|
653
|
+
attribute: "item_total";
|
|
654
654
|
}[] | undefined;
|
|
655
655
|
}, {
|
|
656
656
|
id?: string | undefined;
|
|
@@ -658,8 +658,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
658
658
|
amount?: number | undefined;
|
|
659
659
|
rules?: {
|
|
660
660
|
value: number;
|
|
661
|
-
attribute: "item_total";
|
|
662
661
|
operator: PricingRuleOperator;
|
|
662
|
+
attribute: "item_total";
|
|
663
663
|
}[] | undefined;
|
|
664
664
|
}>]>, "many">>;
|
|
665
665
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -670,25 +670,25 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
670
670
|
}, "strict", z.ZodTypeAny, {
|
|
671
671
|
id: string;
|
|
672
672
|
value: string | string[];
|
|
673
|
-
attribute: string;
|
|
674
673
|
operator: RuleOperator;
|
|
674
|
+
attribute: string;
|
|
675
675
|
}, {
|
|
676
676
|
id: string;
|
|
677
677
|
value: string | string[];
|
|
678
|
-
attribute: string;
|
|
679
678
|
operator: RuleOperator;
|
|
679
|
+
attribute: string;
|
|
680
680
|
}>, z.ZodObject<{
|
|
681
681
|
operator: z.ZodNativeEnum<typeof RuleOperator>;
|
|
682
682
|
attribute: z.ZodString;
|
|
683
683
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
684
684
|
}, "strict", z.ZodTypeAny, {
|
|
685
685
|
value: string | string[];
|
|
686
|
-
attribute: string;
|
|
687
686
|
operator: RuleOperator;
|
|
687
|
+
attribute: string;
|
|
688
688
|
}, {
|
|
689
689
|
value: string | string[];
|
|
690
|
-
attribute: string;
|
|
691
690
|
operator: RuleOperator;
|
|
691
|
+
attribute: string;
|
|
692
692
|
}>]>, "many">>;
|
|
693
693
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
694
694
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -704,13 +704,13 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
704
704
|
type_id?: string | undefined;
|
|
705
705
|
rules?: ({
|
|
706
706
|
value: string | string[];
|
|
707
|
-
attribute: string;
|
|
708
707
|
operator: RuleOperator;
|
|
708
|
+
attribute: string;
|
|
709
709
|
} | {
|
|
710
710
|
id: string;
|
|
711
711
|
value: string | string[];
|
|
712
|
-
attribute: string;
|
|
713
712
|
operator: RuleOperator;
|
|
713
|
+
attribute: string;
|
|
714
714
|
})[] | undefined;
|
|
715
715
|
prices?: ({
|
|
716
716
|
id?: string | undefined;
|
|
@@ -718,8 +718,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
718
718
|
amount?: number | undefined;
|
|
719
719
|
rules?: {
|
|
720
720
|
value: number;
|
|
721
|
-
attribute: "item_total";
|
|
722
721
|
operator: PricingRuleOperator;
|
|
722
|
+
attribute: "item_total";
|
|
723
723
|
}[] | undefined;
|
|
724
724
|
} | {
|
|
725
725
|
id?: string | undefined;
|
|
@@ -727,8 +727,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
727
727
|
amount?: number | undefined;
|
|
728
728
|
rules?: {
|
|
729
729
|
value: number;
|
|
730
|
-
attribute: "item_total";
|
|
731
730
|
operator: PricingRuleOperator;
|
|
731
|
+
attribute: "item_total";
|
|
732
732
|
}[] | undefined;
|
|
733
733
|
})[] | undefined;
|
|
734
734
|
provider_id?: string | undefined;
|
|
@@ -746,13 +746,13 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
746
746
|
type_id?: string | undefined;
|
|
747
747
|
rules?: ({
|
|
748
748
|
value: string | string[];
|
|
749
|
-
attribute: string;
|
|
750
749
|
operator: RuleOperator;
|
|
750
|
+
attribute: string;
|
|
751
751
|
} | {
|
|
752
752
|
id: string;
|
|
753
753
|
value: string | string[];
|
|
754
|
-
attribute: string;
|
|
755
754
|
operator: RuleOperator;
|
|
755
|
+
attribute: string;
|
|
756
756
|
})[] | undefined;
|
|
757
757
|
prices?: ({
|
|
758
758
|
id?: string | undefined;
|
|
@@ -760,8 +760,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
760
760
|
amount?: number | undefined;
|
|
761
761
|
rules?: {
|
|
762
762
|
value: number;
|
|
763
|
-
attribute: "item_total";
|
|
764
763
|
operator: PricingRuleOperator;
|
|
764
|
+
attribute: "item_total";
|
|
765
765
|
}[] | undefined;
|
|
766
766
|
} | {
|
|
767
767
|
id?: string | undefined;
|
|
@@ -769,8 +769,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
769
769
|
amount?: number | undefined;
|
|
770
770
|
rules?: {
|
|
771
771
|
value: number;
|
|
772
|
-
attribute: "item_total";
|
|
773
772
|
operator: PricingRuleOperator;
|
|
773
|
+
attribute: "item_total";
|
|
774
774
|
}[] | undefined;
|
|
775
775
|
})[] | undefined;
|
|
776
776
|
provider_id?: string | undefined;
|
|
@@ -788,13 +788,13 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
788
788
|
type_id?: string | undefined;
|
|
789
789
|
rules?: ({
|
|
790
790
|
value: string | string[];
|
|
791
|
-
attribute: string;
|
|
792
791
|
operator: RuleOperator;
|
|
792
|
+
attribute: string;
|
|
793
793
|
} | {
|
|
794
794
|
id: string;
|
|
795
795
|
value: string | string[];
|
|
796
|
-
attribute: string;
|
|
797
796
|
operator: RuleOperator;
|
|
797
|
+
attribute: string;
|
|
798
798
|
})[] | undefined;
|
|
799
799
|
prices?: ({
|
|
800
800
|
id?: string | undefined;
|
|
@@ -802,8 +802,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
802
802
|
amount?: number | undefined;
|
|
803
803
|
rules?: {
|
|
804
804
|
value: number;
|
|
805
|
-
attribute: "item_total";
|
|
806
805
|
operator: PricingRuleOperator;
|
|
806
|
+
attribute: "item_total";
|
|
807
807
|
}[] | undefined;
|
|
808
808
|
} | {
|
|
809
809
|
id?: string | undefined;
|
|
@@ -811,8 +811,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
811
811
|
amount?: number | undefined;
|
|
812
812
|
rules?: {
|
|
813
813
|
value: number;
|
|
814
|
-
attribute: "item_total";
|
|
815
814
|
operator: PricingRuleOperator;
|
|
815
|
+
attribute: "item_total";
|
|
816
816
|
}[] | undefined;
|
|
817
817
|
})[] | undefined;
|
|
818
818
|
provider_id?: string | undefined;
|
|
@@ -830,13 +830,13 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
830
830
|
type_id?: string | undefined;
|
|
831
831
|
rules?: ({
|
|
832
832
|
value: string | string[];
|
|
833
|
-
attribute: string;
|
|
834
833
|
operator: RuleOperator;
|
|
834
|
+
attribute: string;
|
|
835
835
|
} | {
|
|
836
836
|
id: string;
|
|
837
837
|
value: string | string[];
|
|
838
|
-
attribute: string;
|
|
839
838
|
operator: RuleOperator;
|
|
839
|
+
attribute: string;
|
|
840
840
|
})[] | undefined;
|
|
841
841
|
prices?: ({
|
|
842
842
|
id?: string | undefined;
|
|
@@ -844,8 +844,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
844
844
|
amount?: number | undefined;
|
|
845
845
|
rules?: {
|
|
846
846
|
value: number;
|
|
847
|
-
attribute: "item_total";
|
|
848
847
|
operator: PricingRuleOperator;
|
|
848
|
+
attribute: "item_total";
|
|
849
849
|
}[] | undefined;
|
|
850
850
|
} | {
|
|
851
851
|
id?: string | undefined;
|
|
@@ -853,8 +853,8 @@ export declare const VendorUpdateShippingOption: z.ZodEffects<z.ZodObject<{
|
|
|
853
853
|
amount?: number | undefined;
|
|
854
854
|
rules?: {
|
|
855
855
|
value: number;
|
|
856
|
-
attribute: "item_total";
|
|
857
856
|
operator: PricingRuleOperator;
|
|
857
|
+
attribute: "item_total";
|
|
858
858
|
}[] | undefined;
|
|
859
859
|
})[] | undefined;
|
|
860
860
|
provider_id?: string | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@medusajs/framework/utils");
|
|
7
|
+
const customer_1 = __importDefault(require("@medusajs/medusa/customer"));
|
|
8
|
+
const review_1 = __importDefault(require("../modules/review"));
|
|
9
|
+
exports.default = (0, utils_1.defineLink)(customer_1.default.linkable.customer, {
|
|
10
|
+
linkable: review_1.default.linkable.review,
|
|
11
|
+
isList: true,
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tZXItcmV2aWV3LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpbmtzL2N1c3RvbWVyLXJldmlldy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHFEQUFzRDtBQUN0RCx5RUFBc0Q7QUFFdEQsK0RBQTRDO0FBRTVDLGtCQUFlLElBQUEsa0JBQVUsRUFBQyxrQkFBYyxDQUFDLFFBQVEsQ0FBQyxRQUFRLEVBQUU7SUFDMUQsUUFBUSxFQUFFLGdCQUFZLENBQUMsUUFBUSxDQUFDLE1BQU07SUFDdEMsTUFBTSxFQUFFLElBQUk7Q0FDYixDQUFDLENBQUEifQ==
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@medusajs/framework/utils");
|
|
7
|
+
const order_1 = __importDefault(require("@medusajs/medusa/order"));
|
|
8
|
+
const review_1 = __importDefault(require("../modules/review"));
|
|
9
|
+
exports.default = (0, utils_1.defineLink)(order_1.default.linkable.order, {
|
|
10
|
+
linkable: review_1.default.linkable.review,
|
|
11
|
+
isList: true,
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItcmV2aWV3LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpbmtzL29yZGVyLXJldmlldy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHFEQUFzRDtBQUN0RCxtRUFBZ0Q7QUFFaEQsK0RBQTRDO0FBRTVDLGtCQUFlLElBQUEsa0JBQVUsRUFBQyxlQUFXLENBQUMsUUFBUSxDQUFDLEtBQUssRUFBRTtJQUNwRCxRQUFRLEVBQUUsZ0JBQVksQ0FBQyxRQUFRLENBQUMsTUFBTTtJQUN0QyxNQUFNLEVBQUUsSUFBSTtDQUNiLENBQUMsQ0FBQSJ9
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@medusajs/framework/utils");
|
|
7
|
+
const product_1 = __importDefault(require("@medusajs/medusa/product"));
|
|
8
|
+
const review_1 = __importDefault(require("../modules/review"));
|
|
9
|
+
exports.default = (0, utils_1.defineLink)(product_1.default.linkable.product, {
|
|
10
|
+
linkable: review_1.default.linkable.review,
|
|
11
|
+
isList: true,
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1yZXZpZXcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGlua3MvcHJvZHVjdC1yZXZpZXcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxxREFBc0Q7QUFDdEQsdUVBQW9EO0FBRXBELCtEQUE0QztBQUU1QyxrQkFBZSxJQUFBLGtCQUFVLEVBQUMsaUJBQWEsQ0FBQyxRQUFRLENBQUMsT0FBTyxFQUFFO0lBQ3hELFFBQVEsRUFBRSxnQkFBWSxDQUFDLFFBQVEsQ0FBQyxNQUFNO0lBQ3RDLE1BQU0sRUFBRSxJQUFJO0NBQ2IsQ0FBQyxDQUFBIn0=
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const utils_1 = require("@medusajs/framework/utils");
|
|
7
|
+
const seller_1 = __importDefault(require("../modules/seller"));
|
|
8
|
+
const review_1 = __importDefault(require("../modules/review"));
|
|
9
|
+
exports.default = (0, utils_1.defineLink)(seller_1.default.linkable.seller, {
|
|
10
|
+
linkable: review_1.default.linkable.review,
|
|
11
|
+
isList: true,
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsbGVyLXJldmlldy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saW5rcy9zZWxsZXItcmV2aWV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEscURBQXNEO0FBRXRELCtEQUE0QztBQUM1QywrREFBNEM7QUFFNUMsa0JBQWUsSUFBQSxrQkFBVSxFQUFDLGdCQUFZLENBQUMsUUFBUSxDQUFDLE1BQU0sRUFBRTtJQUN0RCxRQUFRLEVBQUUsZ0JBQVksQ0FBQyxRQUFRLENBQUMsTUFBTTtJQUN0QyxNQUFNLEVBQUUsSUFBSTtDQUNiLENBQUMsQ0FBQSJ9
|