From eeb471f363248286edf75faf5e9306626b101bb7 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Wed, 20 May 2020 13:31:28 +0200 Subject: [PATCH] docs(core): Correctly tag PriceCalculationStrategy for docs --- .../src/config/order/default-price-calculation-strategy.ts | 2 ++ packages/core/src/config/order/price-calculation-strategy.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/src/config/order/default-price-calculation-strategy.ts b/packages/core/src/config/order/default-price-calculation-strategy.ts index 4c0b9b178a..90cde6a791 100644 --- a/packages/core/src/config/order/default-price-calculation-strategy.ts +++ b/packages/core/src/config/order/default-price-calculation-strategy.ts @@ -6,6 +6,8 @@ import { CalculatedPrice, PriceCalculationStrategy } from './price-calculation-s * @description * The default {@link PriceCalculationStrategy}, which simply passes through the price of * the ProductVariant without performing any calculations + * + * @docsCategory orders */ export class DefaultPriceCalculationStrategy implements PriceCalculationStrategy { calculateUnitPrice(productVariant: ProductVariant): CalculatedPrice | Promise { diff --git a/packages/core/src/config/order/price-calculation-strategy.ts b/packages/core/src/config/order/price-calculation-strategy.ts index 035a7e5f7b..cc36a2f6a1 100644 --- a/packages/core/src/config/order/price-calculation-strategy.ts +++ b/packages/core/src/config/order/price-calculation-strategy.ts @@ -5,7 +5,7 @@ import { ProductVariant } from '../../entity/product-variant/product-variant.ent * @description * The result of the price calculation from the {@link PriceCalculationStrategy}. * - * @docsCateogory Orders + * @docsCategory Orders */ export type CalculatedPrice = { price: number; @@ -45,7 +45,7 @@ export type CalculatedPrice = { * * A product-configurator where e.g. various finishes, colors, and materials can be selected and stored * as OrderLine custom fields. * - * @docsCateogory Orders + * @docsCategory Orders */ export interface PriceCalculationStrategy extends InjectableStrategy { /**