@medusajs/link-modules 0.2.12-snapshot-20240524111804 → 0.2.12-snapshot-20240525075223
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/definitions/index.d.ts +0 -1
- package/dist/definitions/index.js +0 -1
- package/dist/definitions/readonly/index.d.ts +1 -0
- package/dist/definitions/readonly/index.js +1 -0
- package/package.json +4 -4
- package/dist/definitions/location-fulfillment-set.d.ts +0 -2
- package/dist/definitions/location-fulfillment-set.js +0 -61
- /package/dist/definitions/{order-region.d.ts → readonly/order-region.d.ts} +0 -0
- /package/dist/definitions/{order-region.js → readonly/order-region.js} +0 -0
@@ -3,7 +3,6 @@ export * from "./cart-promotion";
|
|
3
3
|
export * from "./fulfillment-set-location";
|
4
4
|
export * from "./order-payment-collection";
|
5
5
|
export * from "./order-promotion";
|
6
|
-
export * from "./order-region";
|
7
6
|
export * from "./product-sales-channel";
|
8
7
|
export * from "./product-variant-inventory-item";
|
9
8
|
export * from "./product-variant-price-set";
|
@@ -19,7 +19,6 @@ __exportStar(require("./cart-promotion"), exports);
|
|
19
19
|
__exportStar(require("./fulfillment-set-location"), exports);
|
20
20
|
__exportStar(require("./order-payment-collection"), exports);
|
21
21
|
__exportStar(require("./order-promotion"), exports);
|
22
|
-
__exportStar(require("./order-region"), exports);
|
23
22
|
__exportStar(require("./product-sales-channel"), exports);
|
24
23
|
__exportStar(require("./product-variant-inventory-item"), exports);
|
25
24
|
__exportStar(require("./product-variant-price-set"), exports);
|
@@ -6,5 +6,6 @@ export * from "./inventory-level-stock-location";
|
|
6
6
|
export * from "./line-item-adjustment-promotion";
|
7
7
|
export * from "./order-customer";
|
8
8
|
export * from "./order-product";
|
9
|
+
export * from "./order-region";
|
9
10
|
export * from "./order-sales-channel";
|
10
11
|
export * from "./store-default-currency";
|
@@ -22,5 +22,6 @@ __exportStar(require("./inventory-level-stock-location"), exports);
|
|
22
22
|
__exportStar(require("./line-item-adjustment-promotion"), exports);
|
23
23
|
__exportStar(require("./order-customer"), exports);
|
24
24
|
__exportStar(require("./order-product"), exports);
|
25
|
+
__exportStar(require("./order-region"), exports);
|
25
26
|
__exportStar(require("./order-sales-channel"), exports);
|
26
27
|
__exportStar(require("./store-default-currency"), exports);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/link-modules",
|
3
|
-
"version": "0.2.12-snapshot-
|
3
|
+
"version": "0.2.12-snapshot-20240525075223",
|
4
4
|
"description": "Medusa Default Link Modules Package and Definitions",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -39,9 +39,9 @@
|
|
39
39
|
"typescript": "^5.1.6"
|
40
40
|
},
|
41
41
|
"dependencies": {
|
42
|
-
"@medusajs/modules-sdk": "1.13.0-snapshot-
|
43
|
-
"@medusajs/types": "1.12.0-snapshot-
|
44
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
42
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240525075223",
|
43
|
+
"@medusajs/types": "1.12.0-snapshot-20240525075223",
|
44
|
+
"@medusajs/utils": "1.12.0-snapshot-20240525075223",
|
45
45
|
"@mikro-orm/core": "5.9.7",
|
46
46
|
"@mikro-orm/postgresql": "5.9.7",
|
47
47
|
"awilix": "^8.0.0"
|
@@ -1,61 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.LocationFulfillmentSet = void 0;
|
4
|
-
const modules_sdk_1 = require("@medusajs/modules-sdk");
|
5
|
-
const utils_1 = require("@medusajs/utils");
|
6
|
-
exports.LocationFulfillmentSet = {
|
7
|
-
serviceName: utils_1.LINKS.LocationFulfillmentSet,
|
8
|
-
isLink: true,
|
9
|
-
databaseConfig: {
|
10
|
-
tableName: "location_fulfillment_set",
|
11
|
-
idPrefix: "locfs",
|
12
|
-
},
|
13
|
-
alias: [
|
14
|
-
{
|
15
|
-
name: ["location_fulfillment_set", "location_fulfillment_sets"],
|
16
|
-
args: {
|
17
|
-
entity: "LinkLocationFulfillmentSet",
|
18
|
-
},
|
19
|
-
},
|
20
|
-
],
|
21
|
-
primaryKeys: ["id", "stock_location_id", "fulfillment_set_id"],
|
22
|
-
relationships: [
|
23
|
-
{
|
24
|
-
serviceName: modules_sdk_1.Modules.STOCK_LOCATION,
|
25
|
-
primaryKey: "id",
|
26
|
-
foreignKey: "stock_location_id",
|
27
|
-
alias: "location",
|
28
|
-
},
|
29
|
-
{
|
30
|
-
serviceName: modules_sdk_1.Modules.FULFILLMENT,
|
31
|
-
primaryKey: "id",
|
32
|
-
foreignKey: "fulfillment_set_id",
|
33
|
-
alias: "fulfillment_set",
|
34
|
-
deleteCascade: true,
|
35
|
-
},
|
36
|
-
],
|
37
|
-
extends: [
|
38
|
-
{
|
39
|
-
serviceName: modules_sdk_1.Modules.STOCK_LOCATION,
|
40
|
-
relationship: {
|
41
|
-
serviceName: utils_1.LINKS.LocationFulfillmentSet,
|
42
|
-
primaryKey: "stock_location_id",
|
43
|
-
foreignKey: "id",
|
44
|
-
alias: "fulfillment_set_link",
|
45
|
-
isList: true,
|
46
|
-
},
|
47
|
-
fieldAlias: {
|
48
|
-
fulfillment_sets: "fulfillment_set_link.fulfillment_set",
|
49
|
-
},
|
50
|
-
},
|
51
|
-
{
|
52
|
-
serviceName: modules_sdk_1.Modules.FULFILLMENT,
|
53
|
-
relationship: {
|
54
|
-
serviceName: utils_1.LINKS.LocationFulfillmentSet,
|
55
|
-
primaryKey: "fulfillment_set_id",
|
56
|
-
foreignKey: "id",
|
57
|
-
alias: "locations_link",
|
58
|
-
},
|
59
|
-
},
|
60
|
-
],
|
61
|
-
};
|
File without changes
|
File without changes
|