@proto-kit/persistance • Docs
Documentation / @proto-kit/persistance / StateTransitionMapper
Class: StateTransitionMapper
Implements
ObjectMapper<UntypedStateTransition,Prisma.JsonObject>
Constructors
new StateTransitionMapper()
new StateTransitionMapper():
StateTransitionMapper
Returns
Methods
mapIn()
mapIn(
input):UntypedStateTransition
Parameters
• input: JsonObject
Returns
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