-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathobjectstack.config.ts
More file actions
694 lines (689 loc) · 26.7 KB
/
objectstack.config.ts
File metadata and controls
694 lines (689 loc) · 26.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
import { defineStack } from '@objectstack/spec';
import { App } from '@objectstack/spec/ui';
import { AccountObject } from './src/objects/account.object';
import { ContactObject } from './src/objects/contact.object';
import { OpportunityObject } from './src/objects/opportunity.object';
import { ProductObject } from './src/objects/product.object';
import { OrderObject } from './src/objects/order.object';
import { UserObject } from './src/objects/user.object';
import { ProjectObject } from './src/objects/project.object';
import { EventObject } from './src/objects/event.object';
import { ConsolePlugin } from '../../apps/console/plugin';
export default defineStack({
objects: [
AccountObject,
ContactObject,
OpportunityObject,
ProductObject,
OrderObject,
UserObject,
ProjectObject,
EventObject
],
reports: [],
pages: [
{
name: 'crm_help',
label: 'Help & Resources',
type: 'app',
regions: [
{
name: 'main',
components: [
{
type: 'container',
properties: {
className: 'prose max-w-3xl mx-auto p-8 text-foreground',
children: [
{ type: 'text', properties: { value: '# CRM Help Guide', className: 'text-3xl font-bold mb-6 block' } },
{ type: 'text', properties: { value: 'Welcome to the CRM application. This guide covers the key features available in your sales workspace.', className: 'text-muted-foreground mb-6 block' } },
{ type: 'text', properties: { value: '## Navigation', className: 'text-xl font-semibold mb-3 block' } },
{ type: 'text', properties: { value: '- **Dashboard** — KPI metrics, revenue trends, pipeline charts\n- **Contacts** — Customer and lead management with map view\n- **Accounts** — Company records with geographic map\n- **Opportunities** — Sales pipeline with Kanban board\n- **Projects** — Task tracking with Gantt and Timeline views\n- **Calendar** — Events and meetings\n- **Orders & Products** — Sales catalog and order processing', className: 'whitespace-pre-line mb-6 block' } },
{ type: 'text', properties: { value: '## View Types', className: 'text-xl font-semibold mb-3 block' } },
{ type: 'text', properties: { value: 'Each object supports multiple view types. Use the view switcher in the toolbar to change between:\n- **Grid** — Tabular data with sorting and filtering\n- **Kanban** — Drag-and-drop board (Opportunities → Pipeline)\n- **Calendar** — Date-based event view (Events → Calendar)\n- **Gantt** — Project timeline (Projects → Gantt View)\n- **Map** — Geographic visualization (Accounts → Map View)\n- **Gallery** — Visual cards (Products → Product Gallery)', className: 'whitespace-pre-line mb-6 block' } },
{ type: 'text', properties: { value: '## Keyboard Shortcuts', className: 'text-xl font-semibold mb-3 block' } },
{ type: 'text', properties: { value: '- **⌘+K** — Open Command Palette for quick navigation\n- **⌘+N** — Create new record\n- Click any record row to open the detail panel', className: 'whitespace-pre-line block' } },
]
}
}
]
}
]
}
],
apps: [
App.create({
name: 'crm_app',
label: 'CRM',
icon: 'briefcase',
description: 'Sales pipeline, accounts, and customer management',
branding: {
primaryColor: '#3B82F6',
},
navigation: [
{
id: 'nav_dashboard',
type: 'dashboard',
dashboardName: 'crm_dashboard',
label: 'Dashboard',
icon: 'layout-dashboard'
},
{
id: 'nav_contacts',
type: 'object',
objectName: 'contact',
label: 'Contacts',
icon: 'users'
},
{
id: 'nav_accounts',
type: 'object',
objectName: 'account',
label: 'Accounts',
icon: 'building-2'
},
{
id: 'nav_opportunities',
type: 'object',
objectName: 'opportunity',
label: 'Opportunities',
icon: 'trending-up'
},
{
id: 'nav_pipeline',
type: 'object',
objectName: 'opportunity',
viewName: 'pipeline',
label: 'Pipeline',
icon: 'kanban-square'
},
{
id: 'nav_projects',
type: 'object',
objectName: 'project_task',
label: 'Projects',
icon: 'kanban-square'
},
{
id: 'nav_events',
type: 'object',
objectName: 'event',
viewName: 'calendar',
label: 'Calendar',
icon: 'calendar'
},
{
id: 'nav_sales',
type: 'group',
label: 'Sales',
icon: 'banknote',
children: [
{
id: 'nav_orders',
type: 'object',
objectName: 'order',
label: 'Orders',
icon: 'shopping-cart'
},
{
id: 'nav_products',
type: 'object',
objectName: 'product',
label: 'Products',
icon: 'package'
}
]
},
{
id: 'nav_help',
type: 'page',
pageName: 'crm_help',
label: 'Help',
icon: 'help-circle'
}
]
})
],
dashboards: [
{
name: 'crm_dashboard',
label: 'CRM Overview',
widgets: [
// --- KPI Row ---
{
type: 'metric',
layout: { x: 0, y: 0, w: 1, h: 1 },
options: {
label: 'Total Revenue',
value: '$652,000',
trend: { value: 12.5, direction: 'up', label: 'vs last month' },
icon: 'DollarSign'
}
},
{
type: 'metric',
layout: { x: 1, y: 0, w: 1, h: 1 },
options: {
label: 'Active Deals',
value: '5',
trend: { value: 2.1, direction: 'down', label: 'vs last month' },
icon: 'Briefcase'
}
},
{
type: 'metric',
layout: { x: 2, y: 0, w: 1, h: 1 },
options: {
label: 'Win Rate',
value: '42%',
trend: { value: 4.3, direction: 'up', label: 'vs last month' },
icon: 'Trophy'
}
},
{
type: 'metric',
layout: { x: 3, y: 0, w: 1, h: 1 },
options: {
label: 'Avg Deal Size',
value: '$93,000',
trend: { value: 1.2, direction: 'up', label: 'vs last month' },
icon: 'BarChart3'
}
},
// --- Row 2: Charts ---
{
title: 'Revenue Trends',
type: 'area',
layout: { x: 0, y: 1, w: 3, h: 2 },
options: {
xField: 'month',
yField: 'revenue'
},
// @ts-ignore
data: {
provider: 'value',
items: [
{ month: 'Jan', revenue: 155000 },
{ month: 'Feb', revenue: 87000 },
{ month: 'Mar', revenue: 48000 },
{ month: 'Apr', revenue: 61000 },
{ month: 'May', revenue: 55000 },
{ month: 'Jun', revenue: 67000 },
{ month: 'Jul', revenue: 72000 }
]
}
},
{
title: 'Lead Source',
type: 'donut',
layout: { x: 3, y: 1, w: 1, h: 2 },
options: {
xField: 'source',
yField: 'value'
},
// @ts-ignore
data: {
provider: 'value',
items: [
{ source: 'Web', value: 2 },
{ source: 'Referral', value: 1 },
{ source: 'Partner', value: 1 },
{ source: 'Existing Business', value: 3 }
]
}
},
// --- Row 3: More Charts ---
{
title: 'Pipeline by Stage',
type: 'bar',
layout: { x: 0, y: 3, w: 2, h: 2 },
options: {
xField: 'stage',
yField: 'amount'
},
// @ts-ignore
data: {
provider: 'value',
items: [
{ stage: 'Prospecting', amount: 250000 },
{ stage: 'Qualification', amount: 35000 },
{ stage: 'Proposal', amount: 85000 },
{ stage: 'Negotiation', amount: 45000 },
{ stage: 'Closed Won', amount: 225000 }
]
}
},
{
title: 'Top Products',
type: 'bar',
layout: { x: 2, y: 3, w: 2, h: 2 },
options: {
xField: 'name',
yField: 'sales'
},
// @ts-ignore
data: {
provider: 'value',
items: [
{ name: 'Workstation Pro Laptop', sales: 45000 },
{ name: 'Implementation Service', sales: 32000 },
{ name: 'Premimum Support', sales: 21000 },
{ name: 'Executive Mesh Chair', sales: 15000 }
]
}
},
// --- Row 4: Table ---
{
title: 'Recent Opportunities',
type: 'table',
layout: { x: 0, y: 5, w: 4, h: 2 },
options: {
columns: [
{ header: 'Opportunity Name', accessorKey: 'name' },
{ header: 'Amount', accessorKey: 'amount' },
{ header: 'Stage', accessorKey: 'stage' },
{ header: 'Close Date', accessorKey: 'date' }
]
},
// @ts-ignore
data: {
provider: 'value',
items: [
{ name: 'Berlin Automation Project', amount: '$250,000', stage: 'Prospecting', date: '2024-09-01' },
{ name: 'ObjectStack Enterprise License', amount: '$150,000', stage: 'Closed Won', date: '2024-01-15' },
{ name: 'London Annual Renewal', amount: '$85,000', stage: 'Proposal', date: '2024-05-15' },
{ name: 'SF Tower Expansion', amount: '$75,000', stage: 'Closed Won', date: '2024-02-28' },
{ name: 'Global Fin Q1 Upsell', amount: '$45,000', stage: 'Negotiation', date: '2024-03-30' }
]
}
}
]
}
],
manifest: {
id: 'com.example.crm',
version: '1.0.0',
type: 'app',
name: 'CRM Example',
description: 'CRM App Definition',
data: [
{
object: 'account',
mode: 'upsert',
records: [
{
_id: "1",
name: "ObjectStack HQ",
industry: "Technology",
type: "Partner",
employees: 120,
billing_address: "44 Tehama St, San Francisco, CA 94105",
latitude: 37.7879,
longitude: -122.3961,
website: "https://objectstack.com",
phone: "415-555-0101",
owner: "1",
created_at: new Date("2023-01-15")
},
{
_id: "2",
name: "Salesforce Tower",
industry: "Technology",
type: "Customer",
employees: 35000,
billing_address: "415 Mission St, San Francisco, CA 94105",
latitude: 37.7897,
longitude: -122.3972,
website: "https://salesforce.com",
phone: "415-555-0102",
owner: "1",
created_at: new Date("2023-02-20")
},
{
_id: "3",
name: "Global Financial Services",
industry: "Finance",
type: "Customer",
employees: 5000,
billing_address: "100 Wall St, New York, NY 10005",
latitude: 40.7056,
longitude: -74.0084,
website: "https://globalfin.example.com",
phone: "212-555-0103",
owner: "2",
created_at: new Date("2023-03-10")
},
{
_id: "4",
name: "London Consulting Grp",
industry: "Services",
type: "Partner",
employees: 250,
billing_address: "10 Downing St, London, UK",
latitude: 51.5034,
longitude: -0.1276,
website: "https://lcg.example.co.uk",
phone: "+44-555-0104",
owner: "2",
created_at: new Date("2023-04-05")
},
{
_id: "5",
name: "Tokyo E-Commerce",
industry: "Retail",
type: "Vendor",
employees: 80,
billing_address: "Shibuya Crossing, Tokyo, Japan",
latitude: 35.6595,
longitude: 139.7004,
website: "https://tokyoshop.example.jp",
phone: "+81-555-0105",
owner: "1",
created_at: new Date("2023-05-20")
},
{
_id: "6",
name: "Berlin AutoWorks",
industry: "Manufacturing",
type: "Customer",
employees: 1200,
billing_address: "Berlin, Germany",
latitude: 52.5200,
longitude: 13.4050,
website: "https://berlinauto.example.de",
phone: "+49-555-0106",
owner: "1",
created_at: new Date("2023-06-15")
},
{
_id: "7",
name: "Paris Fashion House",
industry: "Retail",
type: "Customer",
employees: 450,
billing_address: "Champs-Élysées, Paris, France",
latitude: 48.8698,
longitude: 2.3075,
website: "https://mode.example.fr",
phone: "+33-555-0107",
owner: "2",
created_at: new Date("2023-07-01")
}
]
},
{
object: 'contact',
mode: 'upsert',
records: [
{
_id: "1",
name: "Alice Johnson",
email: "alice@objectstack.com",
phone: "415-555-1001",
title: "VP Sales",
department: "Sales",
account: "1",
status: "Active",
priority: "High",
birthdate: new Date("1985-04-12"),
latitude: 37.7879,
longitude: -122.3961,
address: "San Francisco, CA"
},
{
_id: "2",
name: "Bob Smith",
email: "bob@salesforce.com",
phone: "415-555-1002",
title: "CTO",
department: "Engineering",
account: "2",
status: "Active",
priority: "High",
birthdate: new Date("1980-08-23"),
latitude: 37.7897,
longitude: -122.3972,
address: "San Francisco, CA"
},
{
_id: "3",
name: "Charlie Brown",
email: "charlie@globalfin.com",
phone: "212-555-1003",
title: "Procurement Manager",
department: "Purchasing",
account: "3",
status: "Customer",
priority: "Medium",
birthdate: new Date("1990-01-15"),
latitude: 40.7056,
longitude: -74.0084,
address: "New York, NY"
},
{
_id: "4",
name: "Diana Prince",
email: "diana@lcg.co.uk",
phone: "+44-555-1004",
title: "Director",
department: "Management",
account: "4",
status: "Partner",
priority: "High",
birthdate: new Date("1988-06-05"),
latitude: 51.5034,
longitude: -0.1276,
address: "London, UK"
},
{
_id: "5",
name: "Evan Wright",
email: "evan@berlinauto.de",
phone: "+49-555-1005",
title: "Head of Operations",
department: "Operations",
account: "6",
status: "Lead",
priority: "High",
birthdate: new Date("1975-11-30"),
latitude: 52.5200,
longitude: 13.4050,
address: "Berlin, DE"
},
{
_id: "6",
name: "Fiona Gallagher",
email: "fiona@mode.fr",
phone: "+33-555-1006",
title: "Creative Director",
department: "Design",
account: "7",
status: "Customer",
priority: "Low",
birthdate: new Date("1992-03-18"),
latitude: 48.8698,
longitude: 2.3075,
address: "Paris, FR"
},
{
_id: "7",
name: "George Martin",
email: "george@salesforce.com",
phone: "415-555-1007",
title: "Senior Developer",
department: "Engineering",
account: "2",
status: "Active",
priority: "Low",
birthdate: new Date("1995-12-12"),
latitude: 37.7897,
longitude: -122.3972,
address: "San Francisco, CA"
}
]
},
{
object: 'opportunity',
mode: 'upsert',
records: [
{
_id: "101",
name: "ObjectStack Enterprise License",
amount: 150000,
stage: "Closed Won",
close_date: new Date("2024-01-15"),
account_id: "2",
contact_ids: ["2", "7"],
probability: 100,
type: "New Business",
lead_source: "Partner",
next_step: "Onboarding",
description: "Enterprise software license for 500 users. Includes premium support and training."
},
{
_id: "102",
name: "Global Fin Q1 Upsell",
amount: 45000,
stage: "Negotiation",
close_date: new Date("2024-03-30"),
account_id: "3",
contact_ids: ["3"],
probability: 80,
type: "Upgrade",
lead_source: "Existing Business",
next_step: "Review Contract",
description: "Adding 50 more seats to the existing contract."
},
{
_id: "103",
name: "London Annual Renewal",
amount: 85000,
stage: "Proposal",
close_date: new Date("2024-05-15"),
account_id: "4",
contact_ids: ["4"],
probability: 60,
type: "Renewal",
lead_source: "Existing Business",
next_step: "Send Quote",
description: "Annual renewal for continuous integration services."
},
{
_id: "104",
name: "Berlin Automation Project",
amount: 250000,
stage: "Prospecting",
close_date: new Date("2024-09-01"),
account_id: "6",
contact_ids: ["5"],
probability: 20,
type: "New Business",
lead_source: "Web",
next_step: "Initial Discovery Call",
description: "Full factory automation software suite."
},
{
_id: "105",
name: "Paris Store POS System",
amount: 35000,
stage: "Qualification",
close_date: new Date("2024-07-20"),
account_id: "7",
contact_ids: ["6"],
probability: 40,
type: "New Business",
lead_source: "Referral",
next_step: "Demo",
description: "POS system for the flagship store on Champs-Élysées."
},
{
_id: "106",
name: "Tokyo E-Com Integration",
amount: 12000,
stage: "Closed Lost",
close_date: new Date("2024-02-10"),
account_id: "5",
contact_ids: [],
probability: 0,
type: "New Business",
lead_source: "Web",
next_step: "N/A",
description: "Client chose a competitor."
},
{
_id: "107",
name: "SF Tower Expansion",
amount: 75000,
stage: "Closed Won",
close_date: new Date("2024-02-28"),
account_id: "2",
contact_ids: ["2"],
probability: 100,
type: "Upgrade",
lead_source: "Existing Business",
next_step: "Implement",
description: "Additional storage modules."
}
]
},
{
object: 'user',
mode: 'upsert',
records: [
{ _id: "1", name: 'Martin CEO', email: 'martin@example.com', username: 'martin', role: 'admin', active: true },
{ _id: "2", name: 'Sarah Sales', email: 'sarah@example.com', username: 'sarah', role: 'user', active: true }
]
},
{
object: 'product',
mode: 'upsert',
records: [
{ _id: "p1", sku: 'HW-LAP-001', name: 'Workstation Pro Laptop', category: 'Electronics', price: 2499.99, stock: 15, image: 'https://images.unsplash.com/photo-1593642702821-c8da6771f0c6?w=600&q=80' },
{ _id: "p2", sku: 'HW-ACC-002', name: 'Wireless Ergonomic Mouse', category: 'Electronics', price: 89.99, stock: 120, image: 'https://images.unsplash.com/photo-1527864550417-7fd91fc51a46?w=600&q=80' },
{ _id: "p3", sku: 'FUR-CHR-003', name: 'Executive Mesh Chair', category: 'Furniture', price: 549.99, stock: 8, image: 'https://images.unsplash.com/photo-1505843490538-5133c6c7d0e1?w=600&q=80' },
{ _id: "p4", sku: 'FUR-DSK-004', name: 'Adjustable Standing Desk', category: 'Furniture', price: 799.99, stock: 20, image: 'https://images.unsplash.com/photo-1595515106969-1ce29566ff1c?w=600&q=80' },
{ _id: "p5", sku: 'HW-AUD-005', name: 'Studio Noise Cancelling Headphones', category: 'Electronics', price: 349.99, stock: 45, image: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=600&q=80' },
{ _id: "p6", sku: 'HW-MON-006', name: '4K UltraWide Monitor', category: 'Electronics', price: 899.99, stock: 30, image: 'https://images.unsplash.com/photo-1527443224154-c4a3942d3acf?w=600&q=80' },
{ _id: "p7", sku: 'SVC-CNS-007', name: 'Implementation Service (Hourly)', category: 'Services', price: 250.00, stock: 1000, image: 'https://images.unsplash.com/photo-1521791136064-7986c2920216?w=600&q=80' },
{ _id: "p8", sku: 'SVC-SUP-008', name: 'Premium Support (Annual)', category: 'Services', price: 5000.00, stock: 1000, image: 'https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=600&q=80' }
]
},
{
object: 'order',
mode: 'upsert',
records: [
{ _id: "o1", name: 'ORD-2024-001', customer: "2", order_date: new Date('2024-01-15'), amount: 15459.99, status: 'Draft' },
{ _id: "o2", name: 'ORD-2024-002', customer: "3", order_date: new Date('2024-01-18'), amount: 289.50, status: 'Pending' }
]
},
{
object: 'project_task',
mode: 'upsert',
records: [
{ _id: "t1", name: "Requirements Gathering", start_date: new Date("2024-02-01"), end_date: new Date("2024-02-14"), progress: 100, status: 'Completed', color: '#10b981', priority: 'High', manager: "1" },
{ _id: "t2", name: "Architecture Design", start_date: new Date("2024-02-15"), end_date: new Date("2024-03-01"), progress: 100, status: 'Completed', color: '#3b82f6', priority: 'High', dependencies: 't1', manager: "1" },
{ _id: "t3", name: "Frontend Development", start_date: new Date("2024-03-02"), end_date: new Date("2024-04-15"), progress: 75, status: 'In Progress', color: '#8b5cf6', priority: 'High', dependencies: 't2', manager: "2" },
{ _id: "t4", name: "Backend API Integration", start_date: new Date("2024-03-02"), end_date: new Date("2024-04-10"), progress: 80, status: 'In Progress', color: '#6366f1', priority: 'High', dependencies: 't2', manager: "2" },
{ _id: "t5", name: "QA & Testing", start_date: new Date("2024-04-16"), end_date: new Date("2024-05-01"), progress: 0, status: 'Planned', color: '#f59e0b', priority: 'Medium', dependencies: 't3,t4', manager: "1" },
{ _id: "t6", name: "UAT", start_date: new Date("2024-05-02"), end_date: new Date("2024-05-15"), progress: 0, status: 'Planned', color: '#f43f5e', priority: 'Medium', dependencies: 't5', manager: "1" },
{ _id: "t7", name: "Go Live & Launch", start_date: new Date("2024-05-20"), end_date: new Date("2024-05-20"), progress: 0, status: 'Planned', color: '#ef4444', priority: 'Critical', dependencies: 't6', manager: "1" }
]
},
{
object: 'event',
mode: 'upsert',
records: [
{ _id: "e1", subject: "Weekly Standup", start: new Date("2024-02-05T09:00:00"), end: new Date("2024-02-05T10:00:00"), location: "Conference Room A", type: "Meeting", description: "Team synchronization regarding Project Alpha" },
{ _id: "e2", subject: "Client Call - TechCorp", start: new Date("2024-02-06T14:00:00"), end: new Date("2024-02-06T15:00:00"), location: "Zoom", type: "Call", description: "Reviewing Q1 Goals and Roadblocks" },
{ _id: "e3", subject: "Project Review", start: new Date("2024-02-08T10:00:00"), end: new Date("2024-02-08T11:30:00"), location: "Board Room", type: "Meeting", description: "Milestone review with stakeholders" },
{ _id: "e4", subject: "Lunch with Partners", start: new Date("2024-02-09T12:00:00"), end: new Date("2024-02-09T13:30:00"), location: "Downtown Cafe", type: "Other", description: "Networking event" },
{ _id: "e5", subject: "Product Demo - Berlin Auto", start: new Date("2024-03-10T11:00:00"), end: new Date("2024-03-10T12:30:00"), location: "Online", type: "Meeting", description: "Showcasing the new automation suite capabilities" },
{ _id: "e6", subject: "Internal Training", start: new Date("2024-03-15T09:00:00"), end: new Date("2024-03-15T16:00:00"), location: "Training Center", type: "Other", description: "Security compliance training for all staff" }
]
}
]
},
plugins: [
new ConsolePlugin(),
],
} as any);