Module

transactions

Transactional decorators for TypeScript

View Source index.ts, line 11

Interfaces

TransactionLock

Defines the contract for transaction lock implementations that manage transaction execution order and concurrency

Members

TransactionalKeysType

# static constant TransactionalKeys

Constant object containing string keys used throughout the transactional system for reflection and identification

Keys used for transactional operations

View Source constants.ts, line 8

# static constant VERSION

Stores the current package version string, used for version tracking and compatibility checks

Package version identifier

View Source index.ts, line 16

# inner constant COMMIT

Stores the current git commit hash for the package. The build replaces the placeholder with the actual commit hash at publish time.

Represents the current commit hash of the module build.

View Source index.ts, line 23

# inner constant FULL_VERSION

Stores the semver version and commit hash for the package. The build replaces the placeholder with the actual <version>-<commit> value at publish time.

Represents the full version string of the module.

View Source index.ts, line 30

Type Definitions

# LockCallable(valueopt)

Defines a callable function type as perceived by the transaction lock, used for resolving promises in the lock implementation

Function type for transaction lock callbacks

Parameters:
Name Type Attributes Description
value void | PromiseLike.<void> <optional>

View Source types.ts, line 15

Object

# TransactionalKeysType

Properties:
Name Type Description
REFLECT string

Key used for reflection metadata related to transactional models

TRANSACTIONAL string

Key used to identify transactional properties

View Source constants.ts, line 2