import type { FormalityLevel } from "@prisma/client"; /** * Personality response entity * Maps Prisma Personality fields to the frontend API contract. * * Field mapping (Prisma -> API): * systemPrompt -> systemPromptTemplate * isEnabled -> isActive * (tone, formalityLevel are identical in both) */ export interface PersonalityResponse { id: string; workspaceId: string; name: string; description: string | null; tone: string; formalityLevel: FormalityLevel; systemPromptTemplate: string; isDefault: boolean; isActive: boolean; createdAt: Date; updatedAt: Date; }