1 import { ClientMessageWithEvents } from '../Generated'
2 import type { EventTypeEnum } from '../Event/EventTypeEnum'
3 import type { ClientEventVersion } from '../Version'
4 import { CreateEvent } from './CreateEvent'
6 export function CreateClientEventMessage(dto: {
9 authorAddress: string | undefined
11 version: ClientEventVersion
12 }): ClientMessageWithEvents {
13 const event = CreateEvent(dto)
15 const message = new ClientMessageWithEvents({