UNPKG

trade360-nodejs-sdk

Version:

LSports Trade360 SDK for Node.js

15 lines (14 loc) 529 B
import { BaseEntity, MessageHeader } from '../../../../entities/core-entities/index.js'; /** * Interface for message structure object to * represent the message structure with header, * body and entity properties to be used in the * message consumer and entity handler classes * @param TEntity entity type to be used in the message * structure object to represent the entity property */ export interface IMessageStructure<TEntity extends BaseEntity> { header: MessageHeader; body?: string; entity?: TEntity; }