mirror of
https://git.coastit.co.za/caitlin/CRM_ENVR.git
synced 2026-07-10 11:15:43 +02:00
54 lines
1.5 KiB
TypeScript
54 lines
1.5 KiB
TypeScript
// ── App Constants ────────────────────────────────────────────────────
|
|
// Auto-generated by self-healing setup. Edit .setup-templates/templates/constants.ts to customize.
|
|
|
|
export const APP_NAME = "CoastIT CRM";
|
|
export const APP_VERSION = "1.0.0";
|
|
|
|
export const LEAD_STATUSES = {
|
|
new: { label: "New", color: "bg-blue-500" },
|
|
contacted: { label: "Contacted", color: "bg-yellow-500" },
|
|
qualified: { label: "Qualified", color: "bg-purple-500" },
|
|
proposal: { label: "Proposal", color: "bg-orange-500" },
|
|
won: { label: "Won", color: "bg-green-500" },
|
|
lost: { label: "Lost", color: "bg-red-500" },
|
|
} as const;
|
|
|
|
export const USER_ROLES = {
|
|
super_admin: { label: "Super Admin", level: 1 },
|
|
admin: { label: "Admin", level: 2 },
|
|
sales: { label: "Sales", level: 3 },
|
|
dev: { label: "Developer", level: 4 },
|
|
} as const;
|
|
|
|
export const EVENT_TYPES = [
|
|
"meeting",
|
|
"call",
|
|
"email",
|
|
"task",
|
|
"note",
|
|
] as const;
|
|
|
|
export const EVENT_STATUSES = [
|
|
"scheduled",
|
|
"completed",
|
|
"cancelled",
|
|
"rescheduled",
|
|
] as const;
|
|
|
|
export const AI_MODELS = {
|
|
chat: "llama3.2:3b",
|
|
scraper: "dolphin-llama3:8b",
|
|
coder: "qwen2.5-coder:1.5b-base",
|
|
} as const;
|
|
|
|
export const PAGINATION = {
|
|
defaultLimit: 50,
|
|
maxLimit: 200,
|
|
} as const;
|
|
|
|
export const DATE_FORMATS = {
|
|
short: "MMM d, yyyy",
|
|
long: "MMMM d, yyyy",
|
|
time: "h:mm a",
|
|
datetime: "MMM d, yyyy h:mm a",
|
|
} as const; |