Skip to content

Type Alias: SelectTurn

Makaio Framework


Makaio Framework / services-core / SelectTurn

SelectTurn = typeof turns.$inferSelect

Defined in: ../../../packages/services/core/src/session/turns/schema.ts:94

Type for a selected turn row.

type SelectTurn = {
error: string | null;
sessionId: string;
turnId: string;
usage: string | null;
status: 'error' | 'completed' | 'active';
startedAt: number;
turnNumber: number;
completedAt: number | null;
};