Ver Fonte

docs(core): Update docs category of refund types

Michael Bromley há 1 ano atrás
pai
commit
a6ae27a0eb

+ 1 - 1
packages/core/src/config/refund/default-refund-process.ts

@@ -11,7 +11,7 @@ let historyService: import('../../service/index').HistoryService;
  * @description
  * The default {@link RefundProcess}.
  *
- * @docsCategory refund
+ * @docsCategory payment
  */
 export const defaultRefundProcess: RefundProcess<RefundState> = {
     transitions: {

+ 1 - 1
packages/core/src/config/refund/refund-process.ts

@@ -20,7 +20,7 @@ import {
  *
  * For detailed description of the interface members, see the {@link StateMachineConfig} docs.
  *
- * @docsCategory refund
+ * @docsCategory payment
  */
 export interface RefundProcess<State extends keyof CustomRefundStates | string> extends InjectableStrategy {
     transitions?: Transitions<State, State | RefundState> & Partial<Transitions<RefundState | State>>;

+ 2 - 2
packages/core/src/service/helpers/refund-state-machine/refund-state.ts

@@ -14,7 +14,7 @@ export interface CustomRefundStates {}
  * @description
  * An interface to extend standard {@link RefundState}.
  *
- * @docsCategory refund
+ * @docsCategory payment
  */
 export interface RefundStates {}
 
@@ -22,7 +22,7 @@ export interface RefundStates {}
  * @description
  * These are the default states of the refund process.
  *
- * @docsCategory refund
+ * @docsCategory payment
  */
 export type RefundState = 'Pending' | 'Settled' | 'Failed' | keyof CustomRefundStates | keyof RefundStates;