@medusajs/promotion 2.12.0 → 2.12.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.
|
@@ -7,11 +7,11 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
7
7
|
is_automatic: import("@medusajs/framework/utils").BooleanProperty;
|
|
8
8
|
is_tax_inclusive: import("@medusajs/framework/utils").BooleanProperty;
|
|
9
9
|
/**
|
|
10
|
-
* @since
|
|
10
|
+
* @since 2.12.0
|
|
11
11
|
*/
|
|
12
12
|
limit: import("@medusajs/framework/utils").NullableModifier<number, import("@medusajs/framework/utils").NumberProperty>;
|
|
13
13
|
/**
|
|
14
|
-
* @since
|
|
14
|
+
* @since 2.12.0
|
|
15
15
|
*/
|
|
16
16
|
used: import("@medusajs/framework/utils").NumberProperty;
|
|
17
17
|
type: import("@medusajs/framework/utils").EnumProperty<typeof PromotionUtils.PromotionType>;
|
|
@@ -148,7 +148,7 @@ declare const Promotion: import("@medusajs/framework/utils").DmlEntity<import("@
|
|
|
148
148
|
application_method: import("@medusajs/framework/utils").RelationNullableModifier<() => typeof ApplicationMethod, import("@medusajs/framework/utils").HasOne<() => typeof ApplicationMethod>, false>;
|
|
149
149
|
rules: import("@medusajs/framework/utils").ManyToMany<() => typeof PromotionRule>;
|
|
150
150
|
/**
|
|
151
|
-
* @since
|
|
151
|
+
* @since 2.12.0
|
|
152
152
|
*/
|
|
153
153
|
metadata: import("@medusajs/framework/utils").NullableModifier<Record<string, unknown>, import("@medusajs/framework/utils").JSONProperty>;
|
|
154
154
|
}>, "Promotion">;
|
package/dist/models/promotion.js
CHANGED
|
@@ -14,11 +14,11 @@ const Promotion = utils_1.model
|
|
|
14
14
|
is_automatic: utils_1.model.boolean().default(false),
|
|
15
15
|
is_tax_inclusive: utils_1.model.boolean().default(false),
|
|
16
16
|
/**
|
|
17
|
-
* @since
|
|
17
|
+
* @since 2.12.0
|
|
18
18
|
*/
|
|
19
19
|
limit: utils_1.model.number().nullable(),
|
|
20
20
|
/**
|
|
21
|
-
* @since
|
|
21
|
+
* @since 2.12.0
|
|
22
22
|
*/
|
|
23
23
|
used: utils_1.model.number().default(0),
|
|
24
24
|
type: utils_1.model.enum(utils_1.PromotionUtils.PromotionType).index("IDX_promotion_type"),
|
|
@@ -41,7 +41,7 @@ const Promotion = utils_1.model
|
|
|
41
41
|
mappedBy: "promotions",
|
|
42
42
|
}),
|
|
43
43
|
/**
|
|
44
|
-
* @since
|
|
44
|
+
* @since 2.12.0
|
|
45
45
|
*/
|
|
46
46
|
metadata: utils_1.model.json().nullable(),
|
|
47
47
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/promotion",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "Medusa Promotion module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@medusajs/framework": "2.12.
|
|
41
|
-
"@medusajs/test-utils": "2.12.
|
|
40
|
+
"@medusajs/framework": "2.12.1",
|
|
41
|
+
"@medusajs/test-utils": "2.12.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@medusajs/framework": "2.12.
|
|
44
|
+
"@medusajs/framework": "2.12.1"
|
|
45
45
|
}
|
|
46
46
|
}
|