PURISTA API / @purista/core / GetMessagePayloadType
Type Alias: GetMessagePayloadType<PayloadSchema, TransformInputPayloadSchema>
GetMessagePayloadType<
PayloadSchema
,TransformInputPayloadSchema
> =TransformInputPayloadSchema
extendsSchema
?InferIn
<TransformInputPayloadSchema
> :PayloadSchema
extendsSchema
?InferIn
<PayloadSchema
> :unknown
Defined in: packages/core/src/core/types/GetMessagePayloadType.ts:3
Type Parameters
PayloadSchema
PayloadSchema
extends Schema
| undefined
TransformInputPayloadSchema
TransformInputPayloadSchema
extends Schema
| undefined