Refactor: clients → companies schema v2

This commit is contained in:
Krao Hasanee
2026-03-26 23:42:06 -04:00
commit 719209fa25
61 changed files with 8192 additions and 0 deletions
+270
View File
@@ -0,0 +1,270 @@
export const mockUsers = [
{ id: '1', name: 'Jordan Lee', email: 'jordan@fourgebranding.com', role: 'team', company: 'Fourge Branding' },
{ id: '2', name: 'Alex Rivera', email: 'alex@fourgebranding.com', role: 'team', company: 'Fourge Branding' },
{ id: '3', name: 'Morgan Chen', email: 'morgan@fourgebranding.com', role: 'team', company: 'Fourge Branding' },
{ id: '4', name: 'Taylor Brooks', email: 'taylor@fourgebranding.com', role: 'team', company: 'Fourge Branding' },
{ id: '5', name: 'John Smith', email: 'john@acmecorp.com', role: 'client', company: 'Acme Corp' },
{ id: '6', name: 'Sarah Johnson', email: 'sarah@techstartup.com', role: 'client', company: 'Tech Startup Inc' },
];
export const serviceTypes = [
'Logo Design',
'Brand Identity',
'Brand Guidelines',
'Brand Book',
'Social Media Graphics',
'Print Design',
'Business Cards',
'Packaging Design',
'Web Design',
'Other',
];
export const teamMembers = mockUsers.filter(u => u.role === 'team');
export const mockClients = [
{
id: '1',
name: 'John Smith',
email: 'john@acmecorp.com',
company: 'Acme Corp',
type: 'registered',
userId: '5',
createdAt: '2025-01-10',
},
{
id: '2',
name: 'Sarah Johnson',
email: 'sarah@techstartup.com',
company: 'Tech Startup Inc',
type: 'registered',
userId: '6',
createdAt: '2025-01-18',
},
{
id: '3',
name: 'Mike Davis',
email: 'mike@davisco.com',
company: 'Davis & Co',
type: 'guest',
userId: null,
createdAt: '2025-01-22',
},
{
id: '4',
name: 'Emma Bloom',
email: 'emma@bloombakery.com',
company: 'Bloom Bakery',
type: 'guest',
userId: null,
createdAt: '2024-12-10',
},
];
export const mockProjects = [
{
id: '1',
clientId: '1',
name: '2025 Brand Refresh',
description: 'Full brand identity overhaul including logo, guidelines, and print materials.',
status: 'active',
createdAt: '2025-01-15',
},
{
id: '2',
clientId: '1',
name: 'Social Media Kit',
description: 'Social media templates and graphics package.',
status: 'active',
createdAt: '2025-02-01',
},
{
id: '3',
clientId: '2',
name: 'Launch Package',
description: 'Everything needed for the startup launch — logo, brand, web.',
status: 'active',
createdAt: '2025-01-20',
},
{
id: '4',
clientId: '3',
name: 'Business Card Design',
description: 'Single business card design for consulting firm.',
status: 'active',
createdAt: '2025-01-22',
},
{
id: '5',
clientId: '4',
name: 'Packaging & Brand',
description: 'Packaging design and brand identity for bakery.',
status: 'completed',
createdAt: '2024-12-10',
},
];
export const mockTasks = [
{
id: '1',
projectId: '1',
title: 'Logo Design',
assignedTo: '1',
assignedName: 'Jordan Lee',
status: 'client_review',
currentVersion: 1,
submittedAt: '2025-01-15',
completedAt: null,
},
{
id: '2',
projectId: '1',
title: 'Brand Book',
assignedTo: '2',
assignedName: 'Alex Rivera',
status: 'in_progress',
currentVersion: 0,
submittedAt: '2025-01-15',
completedAt: null,
},
{
id: '3',
projectId: '1',
title: 'Business Cards',
assignedTo: null,
assignedName: null,
status: 'not_started',
currentVersion: 0,
submittedAt: '2025-01-15',
completedAt: null,
},
{
id: '4',
projectId: '2',
title: 'Instagram Templates',
assignedTo: '3',
assignedName: 'Morgan Chen',
status: 'not_started',
currentVersion: 0,
submittedAt: '2025-02-01',
completedAt: null,
},
{
id: '5',
projectId: '3',
title: 'Logo Design',
assignedTo: '1',
assignedName: 'Jordan Lee',
status: 'not_started',
currentVersion: 1,
submittedAt: '2025-01-20',
completedAt: null,
},
{
id: '6',
projectId: '4',
title: 'Business Card Design',
assignedTo: null,
assignedName: null,
status: 'not_started',
currentVersion: 0,
submittedAt: '2025-01-22',
completedAt: null,
},
{
id: '7',
projectId: '5',
title: 'Packaging Design',
assignedTo: '3',
assignedName: 'Morgan Chen',
status: 'client_approved',
currentVersion: 2,
submittedAt: '2024-12-10',
completedAt: '2025-01-05',
},
];
export const mockSubmissions = [
{
id: '1',
taskId: '1',
versionNumber: 1,
type: 'initial',
serviceType: 'Logo Design',
deadline: '2025-02-15',
description: 'We need a modern, minimalist logo for our company. Colors should be blue and white. We want something that conveys trust and professionalism.',
submittedBy: '5',
submittedByName: 'John Smith',
submittedAt: '2025-01-15',
delivery: {
files: [{ name: 'AcmeCorp_Logo_v00.pdf' }, { name: 'AcmeCorp_Logo_v00_dark.pdf' }],
sentAt: '2025-01-22',
sentBy: 'Jordan Lee',
},
},
{
id: '2',
taskId: '1',
versionNumber: 2,
type: 'revision',
serviceType: 'Logo Design',
deadline: '2025-02-20',
description: 'We like the direction but would like the font to be bolder and the icon slightly larger. Also please try a version with a dark background.',
submittedBy: '5',
submittedByName: 'John Smith',
submittedAt: '2025-01-25',
delivery: {
files: [{ name: 'AcmeCorp_Logo_v01.pdf' }],
sentAt: '2025-01-30',
sentBy: 'Jordan Lee',
},
},
{
id: '3',
taskId: '2',
versionNumber: 1,
type: 'initial',
serviceType: 'Brand Book',
deadline: '2025-03-01',
description: 'Full brand book including color palette, typography, logo usage rules, and example applications.',
submittedBy: '5',
submittedByName: 'John Smith',
submittedAt: '2025-01-15',
},
{
id: '4',
taskId: '5',
versionNumber: 1,
type: 'initial',
serviceType: 'Logo Design',
deadline: '2025-02-28',
description: 'Need a fresh, modern logo for our tech startup. We are in the AI space and want something futuristic but approachable.',
submittedBy: '6',
submittedByName: 'Sarah Johnson',
submittedAt: '2025-01-20',
},
{
id: '5',
taskId: '5',
versionNumber: 2,
type: 'revision',
serviceType: 'Logo Design',
deadline: '2025-03-05',
description: 'The logo looks good but we want to explore a different color direction — green and purple. The icon feels too corporate.',
submittedBy: '6',
submittedByName: 'Sarah Johnson',
submittedAt: '2025-01-28',
},
{
id: '6',
taskId: '6',
versionNumber: 1,
type: 'initial',
serviceType: 'Business Cards',
deadline: '2025-02-10',
description: 'Standard business card design for our consulting firm. We have a logo already, just need a professional card layout with clean typography.',
submittedBy: null,
submittedByName: 'Mike Davis (Guest)',
submittedAt: '2025-01-22',
},
];