@proto-kit/persistanceDocs


Documentation / @proto-kit/persistance / StateTransitionMapper

Class: StateTransitionMapper

Implements

Constructors

new StateTransitionMapper()

new StateTransitionMapper(): StateTransitionMapper

Returns

StateTransitionMapper

Methods

mapIn()

mapIn(input): UntypedStateTransition

Parameters

input: JsonObject

Returns

UntypedStateTransition

Implementation of

ObjectMapper.mapIn

Defined in

packages/persistance/src/services/prisma/mappers/StateTransitionMapper.ts:15


mapOut()

mapOut(input): JsonObject

Parameters

input: UntypedStateTransition

Returns

JsonObject

Implementation of

ObjectMapper.mapOut

Defined in

packages/persistance/src/services/prisma/mappers/StateTransitionMapper.ts:20