chore: improve and add TSDocs for next release (#14170)
This commit is contained in:
1 parent
d9e3965a10
commit
73ae136965
6 files changed
+71
-14
No files matched your search
@@ -9,7 +9,13 @@ const Promotion = model
|
||||
code: model.text().searchable(),
|
||||
is_automatic: model.boolean().default(false),
|
||||
is_tax_inclusive: model.boolean().default(false),
|
||||
/**
|
||||
* @since v2.11.4
|
||||
*/
|
||||
limit: model.number().nullable(),
|
||||
/**
|
||||
* @since v2.11.4
|
||||
*/
|
||||
used: model.number().default(0),
|
||||
type: model.enum(PromotionUtils.PromotionType).index("IDX_promotion_type"),
|
||||
status: model
|
||||
@@ -30,6 +36,9 @@ const Promotion = model
|
||||
pivotTable: "promotion_promotion_rule",
|
||||
mappedBy: "promotions",
|
||||
}),
|
||||
/**
|
||||
* @since v2.11.4
|
||||
*/
|
||||
metadata: model.json().nullable(),
|
||||
})
|
||||
.cascades({
|
||||
|
||||
Reference in new issue
Block a user