Skip to content

PURISTA API


PURISTA API / @purista/core / GetMessagePayloadType

Type Alias: GetMessagePayloadType<PayloadSchema, TransformInputPayloadSchema>

GetMessagePayloadType<PayloadSchema, TransformInputPayloadSchema> = TransformInputPayloadSchema extends Schema ? InferIn<TransformInputPayloadSchema> : PayloadSchema extends Schema ? 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