@medusajs/pricing 1.0.0-rc-20241003153304 → 1.0.0-rc-20241014151055
Sign up to get free protection for your applications and to get access to all the features.
@@ -92,9 +92,7 @@ export default class PricingModuleService extends PricingModuleService_base impl
|
|
92
92
|
skip?: number | null | undefined;
|
93
93
|
take?: number | null | undefined;
|
94
94
|
relations?: string[];
|
95
|
-
order?: {
|
96
|
-
[K: string]: "ASC" | "DESC";
|
97
|
-
};
|
95
|
+
order?: Record<string, "ASC" | "DESC" | (string & {})>;
|
98
96
|
withDeleted?: boolean;
|
99
97
|
filters?: Record<string, any>;
|
100
98
|
options: Record<string, any>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pricing-module.d.ts","sourceRoot":"","sources":["../../src/services/pricing-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,OAAO,EAKP,GAAG,EACH,UAAU,EACV,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAYL,eAAe,EAKhB,MAAM,2BAA2B,CAAA;AAElC,OAAO,EACL,KAAK,EACL,SAAS,EACT,aAAa,EACb,eAAe,EACf,SAAS,EACT,QAAQ,EACT,MAAM,SAAS,CAAA;AAGhB,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAGrC,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,iBAAiB,EAAE,wBAAwB,CAAA;IAC3C,eAAe,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC5D,gBAAgB,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC7D,YAAY,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IACzD,gBAAgB,EAAE,eAAe,C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E;IAiBL,SAAS,CAAC,uBAAuB,CAC/B,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,SAAS;;;;;;;;;;CAS3D"}
|
package/dist/utils/events.js
CHANGED
@@ -7,61 +7,61 @@ exports.eventBuilders = {
|
|
7
7
|
source: utils_1.Modules.PRICING,
|
8
8
|
action: utils_1.CommonEvents.CREATED,
|
9
9
|
object: "price_set",
|
10
|
-
|
10
|
+
eventName: utils_1.PricingEvents.PRICE_SET_CREATED,
|
11
11
|
}),
|
12
12
|
createdPrice: (0, utils_1.moduleEventBuilderFactory)({
|
13
13
|
source: utils_1.Modules.PRICING,
|
14
14
|
action: utils_1.CommonEvents.CREATED,
|
15
15
|
object: "price",
|
16
|
-
|
16
|
+
eventName: utils_1.PricingEvents.PRICE_CREATED,
|
17
17
|
}),
|
18
18
|
createdPriceRule: (0, utils_1.moduleEventBuilderFactory)({
|
19
19
|
source: utils_1.Modules.PRICING,
|
20
20
|
action: utils_1.CommonEvents.CREATED,
|
21
21
|
object: "price_rule",
|
22
|
-
|
22
|
+
eventName: utils_1.PricingEvents.PRICE_RULE_CREATED,
|
23
23
|
}),
|
24
24
|
createdPriceList: (0, utils_1.moduleEventBuilderFactory)({
|
25
25
|
source: utils_1.Modules.PRICING,
|
26
26
|
action: utils_1.CommonEvents.CREATED,
|
27
27
|
object: "price_list",
|
28
|
-
|
28
|
+
eventName: utils_1.PricingEvents.PRICE_LIST_CREATED,
|
29
29
|
}),
|
30
30
|
createdPriceListRule: (0, utils_1.moduleEventBuilderFactory)({
|
31
31
|
source: utils_1.Modules.PRICING,
|
32
32
|
action: utils_1.CommonEvents.CREATED,
|
33
33
|
object: "price_list_rule",
|
34
|
-
|
34
|
+
eventName: utils_1.PricingEvents.PRICE_LIST_RULE_CREATED,
|
35
35
|
}),
|
36
36
|
attachedPriceListRule: (0, utils_1.moduleEventBuilderFactory)({
|
37
37
|
source: utils_1.Modules.PRICING,
|
38
38
|
action: utils_1.CommonEvents.ATTACHED,
|
39
39
|
object: "price_list_rule",
|
40
|
-
|
40
|
+
eventName: utils_1.PricingEvents.PRICE_LIST_RULE_ATTACHED,
|
41
41
|
}),
|
42
42
|
updatedPrice: (0, utils_1.moduleEventBuilderFactory)({
|
43
43
|
source: utils_1.Modules.PRICING,
|
44
44
|
action: utils_1.CommonEvents.UPDATED,
|
45
45
|
object: "price",
|
46
|
-
|
46
|
+
eventName: utils_1.PricingEvents.PRICE_UPDATED,
|
47
47
|
}),
|
48
48
|
updatedPriceRule: (0, utils_1.moduleEventBuilderFactory)({
|
49
49
|
source: utils_1.Modules.PRICING,
|
50
50
|
action: utils_1.CommonEvents.UPDATED,
|
51
51
|
object: "price_rule",
|
52
|
-
|
52
|
+
eventName: utils_1.PricingEvents.PRICE_RULE_UPDATED,
|
53
53
|
}),
|
54
54
|
deletedPrice: (0, utils_1.moduleEventBuilderFactory)({
|
55
55
|
source: utils_1.Modules.PRICING,
|
56
56
|
action: utils_1.CommonEvents.DELETED,
|
57
57
|
object: "price",
|
58
|
-
|
58
|
+
eventName: utils_1.PricingEvents.PRICE_DELETED,
|
59
59
|
}),
|
60
60
|
deletedPriceRule: (0, utils_1.moduleEventBuilderFactory)({
|
61
61
|
source: utils_1.Modules.PRICING,
|
62
62
|
action: utils_1.CommonEvents.DELETED,
|
63
63
|
object: "price_rule",
|
64
|
-
|
64
|
+
eventName: utils_1.PricingEvents.PRICE_RULE_DELETED,
|
65
65
|
}),
|
66
66
|
};
|
67
67
|
//# sourceMappingURL=events.js.map
|
package/dist/utils/events.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/utils/events.ts"],"names":[],"mappings":";;;AAAA,qDAKkC;AAErB,QAAA,aAAa,GAAG;IAC3B,eAAe,EAAE,IAAA,iCAAyB,EAAC;QACzC,MAAM,EAAE,eAAO,CAAC,OAAO;QACvB,MAAM,EAAE,oBAAY,CAAC,OAAO;QAC5B,MAAM,EAAE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AS,EAAE,qBAAa,CAAC,wBAAwB;KAClD,CAAC;IACF,YAAY,EAAE,IAAA,iCAAyB,EAAC;QACtC,MAAM,EAAE,eAAO,CAAC,OAAO;QACvB,MAAM,EAAE,oBAAY,CAAC,OAAO;QAC5B,MAAM,EAAE,OAAO;QACf,SAAS,EAAE,qBAAa,CAAC,aAAa;KACvC,CAAC;IACF,gBAAgB,EAAE,IAAA,iCAAyB,EAAC;QAC1C,MAAM,EAAE,eAAO,CAAC,OAAO;QACvB,MAAM,EAAE,oBAAY,CAAC,OAAO;QAC5B,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,qBAAa,CAAC,kBAAkB;KAC5C,CAAC;IACF,YAAY,EAAE,IAAA,iCAAyB,EAAC;QACtC,MAAM,EAAE,eAAO,CAAC,OAAO;QACvB,MAAM,EAAE,oBAAY,CAAC,OAAO;QAC5B,MAAM,EAAE,OAAO;QACf,SAAS,EAAE,qBAAa,CAAC,aAAa;KACvC,CAAC;IACF,gBAAgB,EAAE,IAAA,iCAAyB,EAAC;QAC1C,MAAM,EAAE,eAAO,CAAC,OAAO;QACvB,MAAM,EAAE,oBAAY,CAAC,OAAO;QAC5B,MAAM,EAAE,YAAY;QACpB,SAAS,EAAE,qBAAa,CAAC,kBAAkB;KAC5C,CAAC;CACH,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/pricing",
|
3
|
-
"version": "1.0.0-rc-
|
3
|
+
"version": "1.0.0-rc-20241014151055",
|
4
4
|
"description": "Medusa Pricing module",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts medusa-mikro-orm cache:clear"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@medusajs/framework": "1.0.0-rc-
|
40
|
+
"@medusajs/framework": "1.0.0-rc-20241014151055",
|
41
41
|
"@mikro-orm/cli": "5.9.7",
|
42
42
|
"@mikro-orm/core": "5.9.7",
|
43
43
|
"@mikro-orm/migrations": "5.9.7",
|
@@ -45,13 +45,13 @@
|
|
45
45
|
"@swc/core": "^1.7.28",
|
46
46
|
"@swc/jest": "^0.2.36",
|
47
47
|
"jest": "^29.7.0",
|
48
|
-
"medusa-test-utils": "2.0.0-rc-
|
48
|
+
"medusa-test-utils": "2.0.0-rc-20241014151055",
|
49
49
|
"rimraf": "^3.0.2",
|
50
50
|
"tsc-alias": "^1.8.6",
|
51
51
|
"typescript": "^5.6.2"
|
52
52
|
},
|
53
53
|
"peerDependencies": {
|
54
|
-
"@medusajs/framework": "1.0.0-rc-
|
54
|
+
"@medusajs/framework": "1.0.0-rc-20241014151055",
|
55
55
|
"@mikro-orm/core": "5.9.7",
|
56
56
|
"@mikro-orm/migrations": "5.9.7",
|
57
57
|
"@mikro-orm/postgresql": "5.9.7",
|