chore: fixes to TSDocs (#14186)

* chore: fixes to TSDocs

* update comments for auth provider
This commit is contained in:
Shahed Nasser
2025-12-02 11:57:04 +02:00
committed by GitHub
parent 9372a17d1f
commit 92769b2b1c
10 changed files with 49 additions and 30 deletions

View File

@@ -28,7 +28,7 @@ const _OrderChange = model
canceled_by: model.text().nullable(),
canceled_at: model.dateTime().nullable(),
/**
* @since v2.12.0
* @since 2.12.0
*/
carry_over_promotions: model.boolean().nullable(),
order: model.belongsTo<() => typeof Order>(() => Order, {

View File

@@ -10,11 +10,11 @@ const Promotion = model
is_automatic: model.boolean().default(false),
is_tax_inclusive: model.boolean().default(false),
/**
* @since v2.12.0
* @since 2.12.0
*/
limit: model.number().nullable(),
/**
* @since v2.12.0
* @since 2.12.0
*/
used: model.number().default(0),
type: model.enum(PromotionUtils.PromotionType).index("IDX_promotion_type"),
@@ -37,7 +37,7 @@ const Promotion = model
mappedBy: "promotions",
}),
/**
* @since v2.12.0
* @since 2.12.0
*/
metadata: model.json().nullable(),
})