Files
lynkeduppro-crm/src/types/index.ts
T
2026-06-27 14:25:37 +05:30

31 lines
584 B
TypeScript

/** Shared domain types for the CRM. Extend as features are added. */
export type ID = string;
export type Lead = {
id: ID;
name: string;
email: string;
phone?: string;
company?: string;
status: "new" | "contacted" | "qualified" | "lost" | "won";
createdAt: string;
};
export type Contact = {
id: ID;
name: string;
email: string;
phone?: string;
company?: string;
};
export type Deal = {
id: ID;
title: string;
amount: number;
stage: "prospect" | "negotiation" | "proposal" | "closed-won" | "closed-lost";
contactId?: ID;
createdAt: string;
};