@medusajs/link-modules 0.2.12-snapshot-20240723115023 → 0.2.12-snapshot-20240728080605

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/definitions/cart-promotion.d.ts.map +1 -1
  2. package/dist/definitions/cart-promotion.js +4 -1
  3. package/dist/definitions/fulfillment-provider-location.d.ts +3 -0
  4. package/dist/definitions/fulfillment-provider-location.d.ts.map +1 -0
  5. package/dist/definitions/fulfillment-provider-location.js +69 -0
  6. package/dist/definitions/fulfillment-set-location.d.ts.map +1 -1
  7. package/dist/definitions/fulfillment-set-location.js +4 -1
  8. package/dist/definitions/index.d.ts +2 -0
  9. package/dist/definitions/index.d.ts.map +1 -1
  10. package/dist/definitions/index.js +2 -0
  11. package/dist/definitions/order-fulfillment.d.ts.map +1 -1
  12. package/dist/definitions/order-fulfillment.js +4 -1
  13. package/dist/definitions/order-return-fulfillment.d.ts +3 -0
  14. package/dist/definitions/order-return-fulfillment.d.ts.map +1 -0
  15. package/dist/definitions/order-return-fulfillment.js +68 -0
  16. package/dist/definitions/product-sales-channel.d.ts.map +1 -1
  17. package/dist/definitions/product-sales-channel.js +4 -1
  18. package/dist/definitions/product-variant-inventory-item.d.ts.map +1 -1
  19. package/dist/definitions/product-variant-inventory-item.js +4 -1
  20. package/dist/definitions/product-variant-price-set.d.ts.map +1 -1
  21. package/dist/definitions/product-variant-price-set.js +4 -1
  22. package/dist/definitions/publishable-api-key-sales-channel.d.ts.map +1 -1
  23. package/dist/definitions/publishable-api-key-sales-channel.js +8 -2
  24. package/dist/definitions/region-payment-provider.d.ts.map +1 -1
  25. package/dist/definitions/region-payment-provider.js +8 -2
  26. package/dist/definitions/sales-channel-location.d.ts.map +1 -1
  27. package/dist/definitions/sales-channel-location.js +8 -2
  28. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"cart-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,aAAa,EAAE,kBAmD3B,CAAA"}
1
+ {"version":3,"file":"cart-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,aAAa,EAAE,kBAsD3B,CAAA"}
@@ -42,7 +42,10 @@ exports.CartPromotion = {
42
42
  {
43
43
  serviceName: utils_1.Modules.CART,
44
44
  fieldAlias: {
45
- promotions: "cart_link.promotions",
45
+ promotions: {
46
+ path: "cart_link.promotions",
47
+ isList: true,
48
+ },
46
49
  },
47
50
  relationship: {
48
51
  serviceName: utils_1.LINKS.CartPromotion,
@@ -0,0 +1,3 @@
1
+ import { ModuleJoinerConfig } from "@medusajs/types";
2
+ export declare const LocationFulfillmentProvider: ModuleJoinerConfig;
3
+ //# sourceMappingURL=fulfillment-provider-location.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment-provider-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-provider-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,2BAA2B,EAAE,kBAgEzC,CAAA"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LocationFulfillmentProvider = void 0;
4
+ const utils_1 = require("@medusajs/utils");
5
+ exports.LocationFulfillmentProvider = {
6
+ serviceName: utils_1.LINKS.LocationFulfillmentProvider,
7
+ isLink: true,
8
+ databaseConfig: {
9
+ tableName: "location_fulfillment_provider",
10
+ idPrefix: "locfp",
11
+ },
12
+ alias: [
13
+ {
14
+ name: ["location_fulfillment_provider", "location_fulfillment_providers"],
15
+ args: { entity: "LinkLocationFulfillmentProvider" },
16
+ },
17
+ ],
18
+ primaryKeys: ["id", "stock_location_id", "fulfillment_provider_id"],
19
+ relationships: [
20
+ {
21
+ serviceName: utils_1.Modules.STOCK_LOCATION,
22
+ primaryKey: "id",
23
+ foreignKey: "stock_location_id",
24
+ alias: "location",
25
+ args: { methodSuffix: "StockLocations" },
26
+ },
27
+ {
28
+ serviceName: utils_1.Modules.FULFILLMENT,
29
+ primaryKey: "id",
30
+ foreignKey: "fulfillment_provider_id",
31
+ alias: "fulfillment_provider",
32
+ args: { methodSuffix: "FulfillmentProviders" },
33
+ },
34
+ ],
35
+ extends: [
36
+ {
37
+ serviceName: utils_1.Modules.STOCK_LOCATION,
38
+ relationship: {
39
+ serviceName: utils_1.LINKS.LocationFulfillmentProvider,
40
+ primaryKey: "stock_location_id",
41
+ foreignKey: "id",
42
+ alias: "fulfillment_provider_link",
43
+ isList: true,
44
+ },
45
+ fieldAlias: {
46
+ fulfillment_providers: {
47
+ path: "fulfillment_provider_link.fulfillment_provider",
48
+ isList: true,
49
+ },
50
+ },
51
+ },
52
+ {
53
+ serviceName: utils_1.Modules.FULFILLMENT,
54
+ relationship: {
55
+ serviceName: utils_1.LINKS.LocationFulfillmentProvider,
56
+ primaryKey: "fulfillment_provider_id",
57
+ foreignKey: "id",
58
+ alias: "locations_link",
59
+ isList: true,
60
+ },
61
+ fieldAlias: {
62
+ locations: {
63
+ path: "locations_link.location",
64
+ isList: true,
65
+ },
66
+ },
67
+ },
68
+ ],
69
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-set-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-set-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,sBAAsB,EAAE,kBAgEpC,CAAA"}
1
+ {"version":3,"file":"fulfillment-set-location.d.ts","sourceRoot":"","sources":["../../src/definitions/fulfillment-set-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,sBAAsB,EAAE,kBAmEpC,CAAA"}
@@ -50,7 +50,10 @@ exports.LocationFulfillmentSet = {
50
50
  isList: true,
51
51
  },
52
52
  fieldAlias: {
53
- fulfillment_sets: "fulfillment_set_link.fulfillment_set",
53
+ fulfillment_sets: {
54
+ path: "fulfillment_set_link.fulfillment_set",
55
+ isList: true,
56
+ },
54
57
  },
55
58
  },
56
59
  {
@@ -1,10 +1,12 @@
1
1
  export * from "./cart-payment-collection";
2
2
  export * from "./cart-promotion";
3
+ export * from "./fulfillment-provider-location";
3
4
  export * from "./fulfillment-set-location";
4
5
  export * from "./order-cart";
5
6
  export * from "./order-fulfillment";
6
7
  export * from "./order-payment-collection";
7
8
  export * from "./order-promotion";
9
+ export * from "./order-return-fulfillment";
8
10
  export * from "./product-sales-channel";
9
11
  export * from "./product-variant-inventory-item";
10
12
  export * from "./product-variant-price-set";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/definitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qCAAqC,CAAA;AACnD,cAAc,YAAY,CAAA;AAC1B,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/definitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qCAAqC,CAAA;AACnD,cAAc,YAAY,CAAA;AAC1B,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA"}
@@ -16,11 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./cart-payment-collection"), exports);
18
18
  __exportStar(require("./cart-promotion"), exports);
19
+ __exportStar(require("./fulfillment-provider-location"), exports);
19
20
  __exportStar(require("./fulfillment-set-location"), exports);
20
21
  __exportStar(require("./order-cart"), exports);
21
22
  __exportStar(require("./order-fulfillment"), exports);
22
23
  __exportStar(require("./order-payment-collection"), exports);
23
24
  __exportStar(require("./order-promotion"), exports);
25
+ __exportStar(require("./order-return-fulfillment"), exports);
24
26
  __exportStar(require("./product-sales-channel"), exports);
25
27
  __exportStar(require("./product-variant-inventory-item"), exports);
26
28
  __exportStar(require("./product-variant-price-set"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"order-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,gBAAgB,EAAE,kBA6D9B,CAAA"}
1
+ {"version":3,"file":"order-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,gBAAgB,EAAE,kBAgE9B,CAAA"}
@@ -43,7 +43,10 @@ exports.OrderFulfillment = {
43
43
  {
44
44
  serviceName: utils_1.Modules.ORDER,
45
45
  fieldAlias: {
46
- fulfillments: "fulfillment_link.fulfillments",
46
+ fulfillments: {
47
+ path: "fulfillment_link.fulfillments",
48
+ isList: true,
49
+ },
47
50
  },
48
51
  relationship: {
49
52
  serviceName: utils_1.LINKS.OrderFulfillment,
@@ -0,0 +1,3 @@
1
+ import { ModuleJoinerConfig } from "@medusajs/types";
2
+ export declare const ReturnFulfillment: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-return-fulfillment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-return-fulfillment.d.ts","sourceRoot":"","sources":["../../src/definitions/order-return-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,iBAAiB,EAAE,kBA+D/B,CAAA"}
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReturnFulfillment = void 0;
4
+ const utils_1 = require("@medusajs/utils");
5
+ exports.ReturnFulfillment = {
6
+ serviceName: utils_1.LINKS.ReturnFulfillment,
7
+ isLink: true,
8
+ databaseConfig: {
9
+ tableName: "return_fulfillment",
10
+ idPrefix: "retful",
11
+ },
12
+ alias: [
13
+ {
14
+ name: ["return_fulfillment", "return_fulfillments"],
15
+ args: {
16
+ entity: "LinkReturnFulfillment",
17
+ },
18
+ },
19
+ ],
20
+ primaryKeys: ["id", "return_id", "fulfillment_id"],
21
+ relationships: [
22
+ {
23
+ serviceName: utils_1.Modules.ORDER,
24
+ primaryKey: "id",
25
+ foreignKey: "return_id",
26
+ alias: "return",
27
+ args: {
28
+ methodSuffix: "Returns",
29
+ },
30
+ },
31
+ {
32
+ serviceName: utils_1.Modules.FULFILLMENT,
33
+ primaryKey: "id",
34
+ foreignKey: "fulfillment_id",
35
+ alias: "fulfillments",
36
+ args: {
37
+ methodSuffix: "Fulfillments",
38
+ },
39
+ },
40
+ ],
41
+ extends: [
42
+ {
43
+ serviceName: utils_1.Modules.ORDER,
44
+ fieldAlias: {
45
+ return_fulfillments: {
46
+ path: "return_fulfillment_link.fulfillments",
47
+ isList: true,
48
+ },
49
+ },
50
+ relationship: {
51
+ serviceName: utils_1.LINKS.OrderFulfillment,
52
+ primaryKey: "return_id",
53
+ foreignKey: "id",
54
+ alias: "return_fulfillment_link",
55
+ isList: true,
56
+ },
57
+ },
58
+ {
59
+ serviceName: utils_1.Modules.FULFILLMENT,
60
+ relationship: {
61
+ serviceName: utils_1.LINKS.OrderFulfillment,
62
+ primaryKey: "fulfillment_id",
63
+ foreignKey: "id",
64
+ alias: "return_link",
65
+ },
66
+ },
67
+ ],
68
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"product-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/product-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,mBAAmB,EAAE,kBA6DjC,CAAA"}
1
+ {"version":3,"file":"product-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/product-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,mBAAmB,EAAE,kBAgEjC,CAAA"}
@@ -42,7 +42,10 @@ exports.ProductSalesChannel = {
42
42
  {
43
43
  serviceName: utils_1.Modules.PRODUCT,
44
44
  fieldAlias: {
45
- sales_channels: "sales_channels_link.sales_channel",
45
+ sales_channels: {
46
+ path: "sales_channels_link.sales_channel",
47
+ isList: true,
48
+ },
46
49
  },
47
50
  relationship: {
48
51
  serviceName: utils_1.LINKS.ProductSalesChannel,
@@ -1 +1 @@
1
- {"version":3,"file":"product-variant-inventory-item.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-inventory-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,2BAA2B,EAAE,kBA0EzC,CAAA"}
1
+ {"version":3,"file":"product-variant-inventory-item.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-inventory-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,2BAA2B,EAAE,kBA6EzC,CAAA"}
@@ -65,7 +65,10 @@ exports.ProductVariantInventoryItem = {
65
65
  {
66
66
  serviceName: utils_1.Modules.INVENTORY,
67
67
  fieldAlias: {
68
- variants: "variant_link.variant",
68
+ variants: {
69
+ path: "variant_link.variant",
70
+ isList: true,
71
+ },
69
72
  },
70
73
  relationship: {
71
74
  serviceName: utils_1.LINKS.ProductVariantInventoryItem,
@@ -1 +1 @@
1
- {"version":3,"file":"product-variant-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,sBAAsB,EAAE,kBAoEpC,CAAA"}
1
+ {"version":3,"file":"product-variant-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/product-variant-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,sBAAsB,EAAE,kBAuEpC,CAAA"}
@@ -44,7 +44,10 @@ exports.ProductVariantPriceSet = {
44
44
  serviceName: utils_1.Modules.PRODUCT,
45
45
  fieldAlias: {
46
46
  price_set: "price_set_link.price_set",
47
- prices: "price_set_link.price_set.prices",
47
+ prices: {
48
+ path: "price_set_link.price_set.prices",
49
+ isList: true,
50
+ },
48
51
  calculated_price: {
49
52
  path: "price_set_link.price_set.calculated_price",
50
53
  forwardArgumentsOnPath: ["price_set_link.price_set"],
@@ -1 +1 @@
1
- {"version":3,"file":"publishable-api-key-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/publishable-api-key-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,6BAA6B,EAAE,kBAgE3C,CAAA"}
1
+ {"version":3,"file":"publishable-api-key-sales-channel.d.ts","sourceRoot":"","sources":["../../src/definitions/publishable-api-key-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,6BAA6B,EAAE,kBAsE3C,CAAA"}
@@ -42,7 +42,10 @@ exports.PublishableApiKeySalesChannel = {
42
42
  {
43
43
  serviceName: utils_1.Modules.API_KEY,
44
44
  fieldAlias: {
45
- sales_channels: "sales_channels_link.sales_channel",
45
+ sales_channels: {
46
+ path: "sales_channels_link.sales_channel",
47
+ isList: true,
48
+ },
46
49
  },
47
50
  relationship: {
48
51
  serviceName: utils_1.LINKS.PublishableApiKeySalesChannel,
@@ -55,7 +58,10 @@ exports.PublishableApiKeySalesChannel = {
55
58
  {
56
59
  serviceName: utils_1.Modules.SALES_CHANNEL,
57
60
  fieldAlias: {
58
- publishable_api_keys: "api_keys_link.api_key",
61
+ publishable_api_keys: {
62
+ path: "api_keys_link.api_key",
63
+ isList: true,
64
+ },
59
65
  },
60
66
  relationship: {
61
67
  serviceName: utils_1.LINKS.PublishableApiKeySalesChannel,
@@ -1 +1 @@
1
- {"version":3,"file":"region-payment-provider.d.ts","sourceRoot":"","sources":["../../src/definitions/region-payment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,qBAAqB,EAAE,kBA8DnC,CAAA"}
1
+ {"version":3,"file":"region-payment-provider.d.ts","sourceRoot":"","sources":["../../src/definitions/region-payment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,qBAAqB,EAAE,kBAoEnC,CAAA"}
@@ -40,7 +40,10 @@ exports.RegionPaymentProvider = {
40
40
  {
41
41
  serviceName: utils_1.Modules.REGION,
42
42
  fieldAlias: {
43
- payment_providers: "payment_provider_link.payment_provider",
43
+ payment_providers: {
44
+ path: "payment_provider_link.payment_provider",
45
+ isList: true,
46
+ },
44
47
  },
45
48
  relationship: {
46
49
  serviceName: utils_1.LINKS.RegionPaymentProvider,
@@ -53,7 +56,10 @@ exports.RegionPaymentProvider = {
53
56
  {
54
57
  serviceName: utils_1.Modules.PAYMENT,
55
58
  fieldAlias: {
56
- regions: "region_link.region",
59
+ regions: {
60
+ path: "region_link.region",
61
+ isList: true,
62
+ },
57
63
  },
58
64
  relationship: {
59
65
  serviceName: utils_1.LINKS.RegionPaymentProvider,
@@ -1 +1 @@
1
- {"version":3,"file":"sales-channel-location.d.ts","sourceRoot":"","sources":["../../src/definitions/sales-channel-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,oBAAoB,EAAE,kBAgElC,CAAA"}
1
+ {"version":3,"file":"sales-channel-location.d.ts","sourceRoot":"","sources":["../../src/definitions/sales-channel-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,oBAAoB,EAAE,kBAsElC,CAAA"}
@@ -42,7 +42,10 @@ exports.SalesChannelLocation = {
42
42
  {
43
43
  serviceName: utils_1.Modules.SALES_CHANNEL,
44
44
  fieldAlias: {
45
- stock_locations: "locations_link.location",
45
+ stock_locations: {
46
+ path: "locations_link.location",
47
+ isList: true,
48
+ },
46
49
  },
47
50
  relationship: {
48
51
  serviceName: utils_1.LINKS.SalesChannelLocation,
@@ -55,7 +58,10 @@ exports.SalesChannelLocation = {
55
58
  {
56
59
  serviceName: utils_1.Modules.STOCK_LOCATION,
57
60
  fieldAlias: {
58
- sales_channels: "sales_channels_link.sales_channel",
61
+ sales_channels: {
62
+ path: "sales_channels_link.sales_channel",
63
+ isList: true,
64
+ },
59
65
  },
60
66
  relationship: {
61
67
  serviceName: utils_1.LINKS.SalesChannelLocation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/link-modules",
3
- "version": "0.2.12-snapshot-20240723115023",
3
+ "version": "0.2.12-snapshot-20240728080605",
4
4
  "description": "Medusa Default Link Modules Package and Definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "test:integration": "jest --forceExit -- integration-tests/**/__tests__/**/*.ts"
30
30
  },
31
31
  "devDependencies": {
32
- "@medusajs/types": "1.12.0-snapshot-20240723115023",
32
+ "@medusajs/types": "1.12.0-snapshot-20240728080605",
33
33
  "cross-env": "^5.2.1",
34
34
  "jest": "^29.7.0",
35
35
  "pg-god": "^1.0.12",
@@ -39,8 +39,8 @@
39
39
  "typescript": "^5.5.0"
40
40
  },
41
41
  "dependencies": {
42
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240723115023",
43
- "@medusajs/utils": "1.12.0-snapshot-20240723115023",
42
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240728080605",
43
+ "@medusajs/utils": "1.12.0-snapshot-20240728080605",
44
44
  "@mikro-orm/core": "5.9.7",
45
45
  "@mikro-orm/postgresql": "5.9.7",
46
46
  "awilix": "^8.0.0"