Skip to content

Type Alias: InsertSessionEvent

Makaio Framework


Makaio Framework / services-core / InsertSessionEvent

InsertSessionEvent = typeof sessionEvents.$inferInsert

Defined in: ../../../packages/services/core/src/session/session-events/schema.ts:123

Type for inserting a new session event.

type InsertSessionEvent = {
type: string;
sessionId: string;
payload: string;
eventId: string;
timestamp: number;
agentId?: string | null | undefined;
adapterId?: string | null | undefined;
messageId?: string | null | undefined;
turnId?: string | null | undefined;
id?: number | undefined;
contentText?: string | null | undefined;
originatingMessageId?: string | null | undefined;
};