Type Alias: InsertMessage
Makaio Framework / services-core / InsertMessage
Type Alias: InsertMessage
Section titled “Type Alias: InsertMessage”InsertMessage = typeof
messages.$inferInsert
Defined in: ../../../packages/services/core/src/session/messages/schema.ts:127
Type for inserting a new message.
Type Composition
Section titled “Type Composition”InsertMessagetypeof messages.$inferInsert
Resolved Shape
Section titled “Resolved Shape”type InsertMessage = { sessionId: string; role: 'user' | 'assistant'; messageId: string; timestamp: number; contentText: string; agentId?: string | null | undefined; adapterSessionId?: string | null | undefined; blocks?: string | undefined; turnId?: string | null | undefined; origin?: 'text' | 'voice' | 'compact' | null | undefined; adapterMessageId?: string | null | undefined; editOf?: string | null | undefined;};