@medusajs/link-modules 0.2.12-snapshot-20240704123604 → 0.2.12-snapshot-20240711051411

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. package/dist/definitions/cart-payment-collection.d.ts +1 -0
  2. package/dist/definitions/cart-payment-collection.d.ts.map +1 -0
  3. package/dist/definitions/cart-promotion.d.ts +1 -0
  4. package/dist/definitions/cart-promotion.d.ts.map +1 -0
  5. package/dist/definitions/fulfillment-set-location.d.ts +1 -0
  6. package/dist/definitions/fulfillment-set-location.d.ts.map +1 -0
  7. package/dist/definitions/index.d.ts +1 -0
  8. package/dist/definitions/index.d.ts.map +1 -0
  9. package/dist/definitions/order-cart.d.ts +1 -0
  10. package/dist/definitions/order-cart.d.ts.map +1 -0
  11. package/dist/definitions/order-claim-payment-collection.d.ts +1 -0
  12. package/dist/definitions/order-claim-payment-collection.d.ts.map +1 -0
  13. package/dist/definitions/order-exchange-payment-collection.d.ts +1 -0
  14. package/dist/definitions/order-exchange-payment-collection.d.ts.map +1 -0
  15. package/dist/definitions/order-fulfillment.d.ts +1 -0
  16. package/dist/definitions/order-fulfillment.d.ts.map +1 -0
  17. package/dist/definitions/order-payment-collection.d.ts +1 -0
  18. package/dist/definitions/order-payment-collection.d.ts.map +1 -0
  19. package/dist/definitions/order-promotion.d.ts +1 -0
  20. package/dist/definitions/order-promotion.d.ts.map +1 -0
  21. package/dist/definitions/product-sales-channel.d.ts +1 -0
  22. package/dist/definitions/product-sales-channel.d.ts.map +1 -0
  23. package/dist/definitions/product-variant-inventory-item.d.ts +1 -0
  24. package/dist/definitions/product-variant-inventory-item.d.ts.map +1 -0
  25. package/dist/definitions/product-variant-price-set.d.ts +1 -0
  26. package/dist/definitions/product-variant-price-set.d.ts.map +1 -0
  27. package/dist/definitions/publishable-api-key-sales-channel.d.ts +1 -0
  28. package/dist/definitions/publishable-api-key-sales-channel.d.ts.map +1 -0
  29. package/dist/definitions/readonly/cart-customer.d.ts +1 -0
  30. package/dist/definitions/readonly/cart-customer.d.ts.map +1 -0
  31. package/dist/definitions/readonly/cart-product.d.ts +1 -0
  32. package/dist/definitions/readonly/cart-product.d.ts.map +1 -0
  33. package/dist/definitions/readonly/cart-region.d.ts +1 -0
  34. package/dist/definitions/readonly/cart-region.d.ts.map +1 -0
  35. package/dist/definitions/readonly/cart-sales-channel.d.ts +1 -0
  36. package/dist/definitions/readonly/cart-sales-channel.d.ts.map +1 -0
  37. package/dist/definitions/readonly/index.d.ts +1 -0
  38. package/dist/definitions/readonly/index.d.ts.map +1 -0
  39. package/dist/definitions/readonly/inventory-level-stock-location.d.ts +1 -0
  40. package/dist/definitions/readonly/inventory-level-stock-location.d.ts.map +1 -0
  41. package/dist/definitions/readonly/line-item-adjustment-promotion.d.ts +1 -0
  42. package/dist/definitions/readonly/line-item-adjustment-promotion.d.ts.map +1 -0
  43. package/dist/definitions/readonly/order-customer.d.ts +1 -0
  44. package/dist/definitions/readonly/order-customer.d.ts.map +1 -0
  45. package/dist/definitions/readonly/order-product.d.ts +1 -0
  46. package/dist/definitions/readonly/order-product.d.ts.map +1 -0
  47. package/dist/definitions/readonly/order-region.d.ts +1 -0
  48. package/dist/definitions/readonly/order-region.d.ts.map +1 -0
  49. package/dist/definitions/readonly/order-sales-channel.d.ts +1 -0
  50. package/dist/definitions/readonly/order-sales-channel.d.ts.map +1 -0
  51. package/dist/definitions/readonly/store-currency.d.ts +1 -0
  52. package/dist/definitions/readonly/store-currency.d.ts.map +1 -0
  53. package/dist/definitions/region-payment-provider.d.ts +1 -0
  54. package/dist/definitions/region-payment-provider.d.ts.map +1 -0
  55. package/dist/definitions/sales-channel-location.d.ts +1 -0
  56. package/dist/definitions/sales-channel-location.d.ts.map +1 -0
  57. package/dist/definitions/shipping-option-price-set.d.ts +1 -0
  58. package/dist/definitions/shipping-option-price-set.d.ts.map +1 -0
  59. package/dist/index.d.ts +1 -0
  60. package/dist/index.d.ts.map +1 -0
  61. package/dist/initialize/index.d.ts +1 -0
  62. package/dist/initialize/index.d.ts.map +1 -0
  63. package/dist/initialize/module-definition.d.ts +1 -0
  64. package/dist/initialize/module-definition.d.ts.map +1 -0
  65. package/dist/loaders/connection.d.ts +1 -0
  66. package/dist/loaders/connection.d.ts.map +1 -0
  67. package/dist/loaders/container.d.ts +1 -0
  68. package/dist/loaders/container.d.ts.map +1 -0
  69. package/dist/loaders/index.d.ts +1 -0
  70. package/dist/loaders/index.d.ts.map +1 -0
  71. package/dist/migration/index.d.ts +1 -0
  72. package/dist/migration/index.d.ts.map +1 -0
  73. package/dist/migration/index.js +3 -1
  74. package/dist/repositories/index.d.ts +1 -0
  75. package/dist/repositories/index.d.ts.map +1 -0
  76. package/dist/repositories/link.d.ts +1 -0
  77. package/dist/repositories/link.d.ts.map +1 -0
  78. package/dist/services/dynamic-service-class.d.ts +1 -0
  79. package/dist/services/dynamic-service-class.d.ts.map +1 -0
  80. package/dist/services/index.d.ts +1 -0
  81. package/dist/services/index.d.ts.map +1 -0
  82. package/dist/services/link-module-service.d.ts +1 -0
  83. package/dist/services/link-module-service.d.ts.map +1 -0
  84. package/dist/services/link.d.ts +1 -0
  85. package/dist/services/link.d.ts.map +1 -0
  86. package/dist/types/index.d.ts +1 -0
  87. package/dist/types/index.d.ts.map +1 -0
  88. package/dist/utils/compose-link-name.d.ts +1 -0
  89. package/dist/utils/compose-link-name.d.ts.map +1 -0
  90. package/dist/utils/generate-entity.d.ts +1 -0
  91. package/dist/utils/generate-entity.d.ts.map +1 -0
  92. package/dist/utils/generate-schema.d.ts +1 -0
  93. package/dist/utils/generate-schema.d.ts.map +1 -0
  94. package/dist/utils/index.d.ts +1 -0
  95. package/dist/utils/index.d.ts.map +1 -0
  96. package/package.json +4 -4
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const CartPaymentCollection: ModuleJoinerConfig;
3
+ //# sourceMappingURL=cart-payment-collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/cart-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,qBAAqB,EAAE,kBA8DnC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const CartPromotion: ModuleJoinerConfig;
3
+ //# sourceMappingURL=cart-promotion.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const LocationFulfillmentSet: ModuleJoinerConfig;
3
+ //# sourceMappingURL=fulfillment-set-location.d.ts.map
@@ -0,0 +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"}
@@ -13,3 +13,4 @@ export * from "./readonly";
13
13
  export * from "./region-payment-provider";
14
14
  export * from "./sales-channel-location";
15
15
  export * from "./shipping-option-price-set";
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderCart: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-cart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-cart.d.ts","sourceRoot":"","sources":["../../src/definitions/order-cart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,SAAS,EAAE,kBA8DvB,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderClaimPaymentCollection: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-claim-payment-collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-claim-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-claim-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,2BAA2B,EAAE,kBAoEzC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderExchangePaymentCollection: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-exchange-payment-collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-exchange-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-exchange-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,8BAA8B,EAAE,kBAoE5C,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderFulfillment: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-fulfillment.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderPaymentCollection: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-payment-collection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-payment-collection.d.ts","sourceRoot":"","sources":["../../src/definitions/order-payment-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,sBAAsB,EAAE,kBAiEpC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderPromotion: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-promotion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-promotion.d.ts","sourceRoot":"","sources":["../../src/definitions/order-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,cAAc,EAAE,kBA2D5B,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const ProductSalesChannel: ModuleJoinerConfig;
3
+ //# sourceMappingURL=product-sales-channel.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const ProductVariantInventoryItem: ModuleJoinerConfig;
3
+ //# sourceMappingURL=product-variant-inventory-item.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const ProductVariantPriceSet: ModuleJoinerConfig;
3
+ //# sourceMappingURL=product-variant-price-set.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const PublishableApiKeySalesChannel: ModuleJoinerConfig;
3
+ //# sourceMappingURL=publishable-api-key-sales-channel.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const CartCustomer: ModuleJoinerConfig;
3
+ //# sourceMappingURL=cart-customer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-customer.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,YAAY,EAAE,kBA8B1B,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const CartProduct: ModuleJoinerConfig;
3
+ //# sourceMappingURL=cart-product.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-product.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,WAAW,EAAE,kBA0CzB,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const CartRegion: ModuleJoinerConfig;
3
+ //# sourceMappingURL=cart-region.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-region.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,UAAU,EAAE,kBA8BxB,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const CartSalesChannel: ModuleJoinerConfig;
3
+ //# sourceMappingURL=cart-sales-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-sales-channel.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/cart-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,gBAAgB,EAAE,kBA8B9B,CAAA"}
@@ -9,3 +9,4 @@ export * from "./order-product";
9
9
  export * from "./order-region";
10
10
  export * from "./order-sales-channel";
11
11
  export * from "./store-currency";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,kCAAkC,CAAA;AAChD,cAAc,kCAAkC,CAAA;AAChD,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const InventoryLevelStockLocation: ModuleJoinerConfig;
3
+ //# sourceMappingURL=inventory-level-stock-location.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-level-stock-location.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/inventory-level-stock-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,2BAA2B,EAAE,kBAkBzC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const LineItemAdjustmentPromotion: ModuleJoinerConfig;
3
+ //# sourceMappingURL=line-item-adjustment-promotion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-item-adjustment-promotion.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/line-item-adjustment-promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,2BAA2B,EAAE,kBAiBzC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderCustomer: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-customer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-customer.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,aAAa,EAAE,kBA8B3B,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderProduct: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-product.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-product.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,YAAY,EAAE,kBA0C1B,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderRegion: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-region.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-region.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-region.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,WAAW,EAAE,kBA8BzB,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const OrderSalesChannel: ModuleJoinerConfig;
3
+ //# sourceMappingURL=order-sales-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-sales-channel.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/order-sales-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,iBAAiB,EAAE,kBA8B/B,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const StoreCurrencies: ModuleJoinerConfig;
3
+ //# sourceMappingURL=store-currency.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-currency.d.ts","sourceRoot":"","sources":["../../../src/definitions/readonly/store-currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,eAAe,EAAE,kBAiB7B,CAAA"}
@@ -1,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const RegionPaymentProvider: ModuleJoinerConfig;
3
+ //# sourceMappingURL=region-payment-provider.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const SalesChannelLocation: ModuleJoinerConfig;
3
+ //# sourceMappingURL=sales-channel-location.d.ts.map
@@ -0,0 +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,2 +1,3 @@
1
1
  import { ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare const ShippingOptionPriceSet: ModuleJoinerConfig;
3
+ //# sourceMappingURL=shipping-option-price-set.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-option-price-set.d.ts","sourceRoot":"","sources":["../../src/definitions/shipping-option-price-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGpD,eAAO,MAAM,sBAAsB,EAAE,kBAsEpC,CAAA"}
package/dist/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from "./types";
3
3
  export * from "./loaders";
4
4
  export * from "./services";
5
5
  export * from "./utils/compose-link-name";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,2BAA2B,CAAA"}
@@ -6,3 +6,4 @@ export declare const initialize: (options?: ModuleServiceInitializeOptions | Mod
6
6
  }>;
7
7
  export declare function runMigrations({ options, logger, }: Omit<LoaderOptions<ModuleServiceInitializeOptions>, "container">, modulesDefinition?: ModuleJoinerConfig[]): Promise<void>;
8
8
  export declare function revertMigrations({ options, logger, }: Omit<LoaderOptions<ModuleServiceInitializeOptions>, "container">, modulesDefinition?: ModuleJoinerConfig[]): Promise<void>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/initialize/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EAI1B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACL,yBAAyB,EACzB,WAAW,EAEX,aAAa,EAEb,kBAAkB,EAClB,6CAA6C,EAC7C,8BAA8B,EAC/B,MAAM,iBAAiB,CAAA;AAWxB,OAAO,EAAE,sCAAsC,EAAE,MAAM,UAAU,CAAA;AAQjE,eAAO,MAAM,UAAU,aAEjB,8BAA8B,GAC9B,6CAA6C,GAC7C,yBAAyB,GACzB,yBAAyB,sBACT,kBAAkB,EAAE,yBACjB,sCAAsC,KAC5D,QAAQ;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAA;CAAE,CAgJzC,CAAA;AA6DD,wBAAsB,aAAa,CACjC,EACE,OAAO,EACP,MAAM,GACP,EAAE,IAAI,CAAC,aAAa,CAAC,8BAA8B,CAAC,EAAE,WAAW,CAAC,EACnE,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,iBAGzC;AAED,wBAAsB,gBAAgB,CACpC,EACE,OAAO,EACP,MAAM,GACP,EAAE,IAAI,CAAC,aAAa,CAAC,8BAA8B,CAAC,EAAE,WAAW,CAAC,EACnE,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,iBAGzC"}
@@ -1,2 +1,3 @@
1
1
  import { JoinerRelationship, ModuleExports, ModuleJoinerConfig } from "@medusajs/types";
2
2
  export declare function getLinkModuleDefinition(joinerConfig: ModuleJoinerConfig, primary: JoinerRelationship, foreign: JoinerRelationship): ModuleExports;
3
+ //# sourceMappingURL=module-definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-definition.d.ts","sourceRoot":"","sources":["../../src/initialize/module-definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EACnB,MAAM,iBAAiB,CAAA;AAIxB,wBAAgB,uBAAuB,CACrC,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,kBAAkB,GAC1B,aAAa,CAWf"}
@@ -1,3 +1,4 @@
1
1
  import { InternalModuleDeclaration, LoaderOptions, ModuleServiceInitializeCustomDataLayerOptions, ModuleServiceInitializeOptions } from "@medusajs/modules-sdk";
2
2
  import { EntitySchema } from "@mikro-orm/core";
3
3
  export declare function connectionLoader(entity: EntitySchema): ({ options, container, logger, }: LoaderOptions<ModuleServiceInitializeOptions | ModuleServiceInitializeCustomDataLayerOptions>, moduleDeclaration?: InternalModuleDeclaration) => Promise<void>;
4
+ //# sourceMappingURL=connection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/loaders/connection.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,aAAa,EACb,6CAA6C,EAC7C,8BAA8B,EAC/B,MAAM,uBAAuB,CAAA;AAG9B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,qCAM9C,cACC,8BAA8B,GAC9B,6CAA6C,CAChD,sBACmB,yBAAyB,KAC5C,QAAQ,IAAI,CAAC,CAajB"}
@@ -1,3 +1,4 @@
1
1
  import { LoaderOptions } from "@medusajs/modules-sdk";
2
2
  import { InternalModuleDeclaration, ModuleJoinerConfig, ModulesSdkTypes } from "@medusajs/types";
3
3
  export declare function containerLoader(entity: any, joinerConfig: ModuleJoinerConfig): ({ options, container, }: LoaderOptions<ModulesSdkTypes.ModuleServiceInitializeOptions | ModulesSdkTypes.ModuleServiceInitializeCustomDataLayerOptions>, moduleDeclaration?: InternalModuleDeclaration) => Promise<void>;
4
+ //# sourceMappingURL=container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/loaders/container.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EAChB,MAAM,iBAAiB,CAAA;AAKxB,wBAAgB,eAAe,CAAC,MAAM,KAAA,EAAE,YAAY,EAAE,kBAAkB,6BAKjE,cACC,gBAAgB,8BAA8B,GAC9C,gBAAgB,6CAA6C,CAChE,sBACmB,yBAAyB,KAC5C,QAAQ,IAAI,CAAC,CA2CjB"}
@@ -4,3 +4,4 @@ export declare function getLoaders({ joinerConfig, primary, foreign, }: {
4
4
  primary: JoinerRelationship;
5
5
  foreign: JoinerRelationship;
6
6
  }): ModuleLoaderFunction[];
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/loaders/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,iBAAiB,CAAA;AAMxB,wBAAgB,UAAU,CAAC,EACzB,YAAY,EACZ,OAAO,EACP,OAAO,GACR,EAAE;IACD,YAAY,EAAE,kBAAkB,CAAA;IAChC,OAAO,EAAE,kBAAkB,CAAA;IAC3B,OAAO,EAAE,kBAAkB,CAAA;CAC5B,GAAG,oBAAoB,EAAE,CAOzB"}
@@ -1,3 +1,4 @@
1
1
  import { JoinerRelationship, LoaderOptions, ModuleJoinerConfig, ModuleServiceInitializeOptions } from "@medusajs/types";
2
2
  export declare function getMigration(joinerConfig: ModuleJoinerConfig, serviceName: string, primary: JoinerRelationship, foreign: JoinerRelationship): ({ options, logger, }?: Pick<LoaderOptions<ModuleServiceInitializeOptions>, "options" | "logger">) => Promise<void>;
3
3
  export declare function getRevertMigration(joinerConfig: ModuleJoinerConfig, serviceName: string, primary: JoinerRelationship, foreign: JoinerRelationship): ({ options, logger, }?: Pick<LoaderOptions<ModuleServiceInitializeOptions>, "options" | "logger">) => Promise<void>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,aAAa,EAEb,kBAAkB,EAClB,8BAA8B,EAC/B,MAAM,iBAAiB,CAAA;AAKxB,wBAAgB,YAAY,CAC1B,YAAY,EAAE,kBAAkB,EAChC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,kBAAkB,2BAMtB,KACD,cAAc,8BAA8B,CAAC,EAC7C,SAAS,GAAG,QAAQ,CACrB,mBAkEJ;AAED,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,kBAAkB,EAChC,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,kBAAkB,2BAMtB,KACD,cAAc,8BAA8B,CAAC,EAC7C,SAAS,GAAG,QAAQ,CACrB,mBA4BJ"}
@@ -13,7 +13,9 @@ function getMigration(joinerConfig, serviceName, primary, foreign) {
13
13
  const tableName = entity.meta.collection;
14
14
  let hasTable = false;
15
15
  try {
16
- await orm.em.getConnection().execute(`SELECT 1 FROM ${tableName} LIMIT 0`);
16
+ await orm.em
17
+ .getConnection()
18
+ .execute(`SELECT 1 FROM "${tableName}" LIMIT 0`);
17
19
  hasTable = true;
18
20
  }
19
21
  catch { }
@@ -1,2 +1,3 @@
1
1
  export { MikroOrmBaseRepository as BaseRepository } from "@medusajs/utils";
2
2
  export { getLinkRepository } from "./link";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,IAAI,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA"}
@@ -36,3 +36,4 @@ export declare function getLinkRepository(model: EntitySchema): {
36
36
  serialize<TOutput extends object | object[]>(data: any, options?: any): Promise<TOutput>;
37
37
  };
38
38
  };
39
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/repositories/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAQ9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,YAAY;2BAInB;QAAE,YAAY,EAAE,kBAAkB,CAAA;KAAE;gCAF1C,kBAAkB;qBAQvB,GAAG,YAAW,OAAO,GAAQ,QAAQ,IAAI,CAAC;qBAY1C,MAAM,EAAE,YAAW,OAAO,GAAQ,QAAQ,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBzE"}
@@ -5,3 +5,4 @@ export declare function getReadOnlyModuleService(joinerConfig: ModuleJoinerConfi
5
5
  __joinerConfig(): ModuleJoinerConfig;
6
6
  };
7
7
  };
8
+ //# sourceMappingURL=dynamic-service-class.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic-service-class.d.ts","sourceRoot":"","sources":["../../src/services/dynamic-service-class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAI9E,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,kBAAkB,GAC/B,WAAW,CAAC,WAAW,CAAC,CAmB1B;AAED,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,kBAAkB;;0BAEnD,kBAAkB;;EAIvC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./dynamic-service-class";
2
2
  export { default as LinkService } from "./link";
3
3
  export { default as LinkModuleService } from "./link-module-service";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA"}
@@ -37,3 +37,4 @@ export default class LinkModuleService<TLink> implements ILinkModule {
37
37
  restore_(data: any, sharedContext?: Context): Promise<[object[], Record<string, string[]>]>;
38
38
  }
39
39
  export {};
40
+ //# sourceMappingURL=link-module-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link-module-service.d.ts","sourceRoot":"","sources":["../../src/services/link-module-service.ts"],"names":[],"mappings":"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"}
@@ -14,3 +14,4 @@ export default class LinkService<TEntity> {
14
14
  restore(data: any, sharedContext?: Context): Promise<[object[], Record<string, string[]>]>;
15
15
  }
16
16
  export {};
17
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/services/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AASrD,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAA;CACpB,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,WAAW,CAAC,OAAO;IACtC,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,GAAG,CAAA;gBAE3B,EAAE,cAAc,EAAE,EAAE,oBAAoB;IAK9C,IAAI,CACR,OAAO,GAAE,OAAY,EACrB,MAAM,GAAE,UAAU,CAAC,OAAO,CAAM,EACf,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,OAAO,EAAE,CAAC;IASf,YAAY,CAChB,OAAO,KAAK,EACZ,MAAM,GAAE,UAAU,CAAC,OAAO,CAAM,EACf,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC;IAMzB,MAAM,CACV,IAAI,EAAE,OAAO,EAAE,EACE,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,OAAO,EAAE,CAAC;IAOf,OAAO,CACX,IAAI,EAAE,OAAO,EAAE,EACE,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,OAAO,EAAE,CAAC;IAqBf,MAAM,CACV,IAAI,EAAE,OAAO,EACI,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,IAAI,CAAC;IAOV,UAAU,CACd,IAAI,EAAE,GAAG,EAAE,EACM,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAqB1C,OAAO,CACX,IAAI,EAAE,GAAG,EACQ,aAAa,GAAE,OAAY,GAC3C,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;CAmBjD"}
@@ -2,3 +2,4 @@ import { Logger } from "@medusajs/types";
2
2
  export type InitializeModuleInjectableDependencies = {
3
3
  logger?: Logger;
4
4
  };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -1,2 +1,3 @@
1
1
  export declare const composeLinkName: (...args: any[]) => string;
2
2
  export declare const composeTableName: (...args: any[]) => string;
3
+ //# sourceMappingURL=compose-link-name.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compose-link-name.d.ts","sourceRoot":"","sources":["../../src/utils/compose-link-name.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,4BAE3B,CAAA;AAED,eAAO,MAAM,gBAAgB,4BAE5B,CAAA"}
@@ -1,3 +1,4 @@
1
1
  import { JoinerRelationship, ModuleJoinerConfig } from "@medusajs/types";
2
2
  import { EntitySchema } from "@mikro-orm/core";
3
3
  export declare function generateEntity(joinerConfig: ModuleJoinerConfig, primary: JoinerRelationship, foreign: JoinerRelationship): EntitySchema<any, never>;
4
+ //# sourceMappingURL=generate-entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-entity.d.ts","sourceRoot":"","sources":["../../src/utils/generate-entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAOxE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAa9C,wBAAgB,cAAc,CAC5B,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,kBAAkB,4BA6F5B"}
@@ -2,3 +2,4 @@ import { ModuleJoinerConfig, ModuleJoinerRelationship } from "@medusajs/types";
2
2
  export declare function generateGraphQLSchema(joinerConfig: ModuleJoinerConfig, primary: ModuleJoinerRelationship, foreign: ModuleJoinerRelationship, { logger }?: {
3
3
  logger: any;
4
4
  }): string;
5
+ //# sourceMappingURL=generate-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-schema.d.ts","sourceRoot":"","sources":["../../src/utils/generate-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA;AAI9E,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,kBAAkB,EAChC,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,wBAAwB,EACjC,EAAE,MAAM,EAAE,GAAE;IAAE,MAAM,MAAA;CAAwB,UAiH7C"}
@@ -3,3 +3,4 @@ export * from "./generate-entity";
3
3
  export * from "./generate-schema";
4
4
  export declare function shouldForceTransaction(target: any): boolean;
5
5
  export declare function doNotForceTransaction(): boolean;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AAEjC,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAE3D;AAED,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/link-modules",
3
- "version": "0.2.12-snapshot-20240704123604",
3
+ "version": "0.2.12-snapshot-20240711051411",
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 --passWithNoTests"
30
30
  },
31
31
  "devDependencies": {
32
- "@medusajs/types": "1.12.0-snapshot-20240704123604",
32
+ "@medusajs/types": "1.12.0-snapshot-20240711051411",
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.1.6"
40
40
  },
41
41
  "dependencies": {
42
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240704123604",
43
- "@medusajs/utils": "1.12.0-snapshot-20240704123604",
42
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240711051411",
43
+ "@medusajs/utils": "1.12.0-snapshot-20240711051411",
44
44
  "@mikro-orm/core": "5.9.7",
45
45
  "@mikro-orm/postgresql": "5.9.7",
46
46
  "awilix": "^8.0.0"