Files
medusa-store/www/apps/docs/content/references/pricing/interfaces/Context.md
Shahed Nasser f0af8ecc89 docs: generate pricing module reference (#5349)
* docs: generate pricing module reference

* added notes about new configurations
2023-10-11 14:08:19 +03:00

2.0 KiB

displayed_sidebar
displayed_sidebar
pricingReference

Context

The interface tag is used to ensure that the type is documented similar to interfaces.

A shared context object that is used to share resources between the application and the module.

Type parameters

Name Type
TManager unknown

Properties

enableNestedTransactions

Optional enableNestedTransactions: boolean

a boolean value indicating whether nested transactions are enabled.

Defined in

packages/types/src/shared-context.ts:24


isolationLevel

Optional isolationLevel: string

A string indicating the isolation level of the context. Possible values are READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, or SERIALIZABLE.

Defined in

packages/types/src/shared-context.ts:23


manager

Optional manager: TManager

An instance of a manager, typically an entity manager, of type TManager, which is a typed parameter passed to the context to specify the type of the manager.

Defined in

packages/types/src/shared-context.ts:22


transactionId

Optional transactionId: string

a string indicating the ID of the current transaction.

Defined in

packages/types/src/shared-context.ts:25


transactionManager

Optional transactionManager: TManager

An instance of a transaction manager of type TManager, which is a typed parameter passed to the context to specify the type of the transactionManager.

Defined in

packages/types/src/shared-context.ts:21