Add dashboard, layout components, and CRM scaffolding
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/** 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;
|
||||
};
|
||||
Reference in New Issue
Block a user