erp-platform/ui/src/mocks/mockIntranet.ts

1081 lines
30 KiB
TypeScript
Raw Normal View History

2025-10-18 22:37:20 +00:00
import { mockEmployees } from './mockEmployees'
2025-10-20 18:48:22 +00:00
import {
Announcement,
CalendarEvent,
Visitor,
Document,
Certificate,
ExpenseRequest,
Task,
Birthday,
WorkAnniversary,
QuickLink,
Training,
Reservation,
MealMenu,
ShuttleRoute,
Survey,
SocialPost,
} from '@/types/intranet'
2025-10-18 22:37:20 +00:00
export const mockAnnouncements: Announcement[] = [
{
id: 'ann1',
title: '🎉 Yeni Ofis Açılışı',
content:
'Ankara ofisimiz 1 Kasım tarihinde hizmete başlıyor! Tüm çalışanlarımızıılış törenimize davet ediyoruz.',
excerpt: 'Ankara ofisimiz 1 Kasım tarihinde hizmete başlıyor!',
category: 'general',
author: mockEmployees[4],
publishDate: new Date('2024-10-15T09:00:00'),
isPinned: true,
viewCount: 156,
imageUrl: 'https://images.unsplash.com/photo-1497366216548-37526070297c?w=800&q=80',
},
{
id: 'ann2',
title: '📅 Performans Değerlendirme Dönemi',
content:
'Yıl sonu performans değerlendirmelerimiz 20 Ekim - 5 Kasım tarihleri arasında gerçekleştirilecektir. Lütfen formları zamanında doldurunuz.',
excerpt: 'Yıl sonu performans değerlendirmeleri başlıyor.',
category: 'hr',
author: mockEmployees[3],
publishDate: new Date('2024-10-18T10:30:00'),
expiryDate: new Date('2024-11-05'),
isPinned: true,
viewCount: 89,
departments: ['Tüm Departmanlar'],
},
{
id: 'ann3',
title: '💻 Sistem Bakımı Duyurusu',
content:
'Bu Cumartesi saat 02:00-06:00 arası sistemlerimizde bakım çalışması yapılacaktır. Bu süre içinde sistemlere erişim sağlanamayacaktır.',
excerpt: 'Cumartesi gecesi planlı bakım çalışması',
category: 'it',
author: mockEmployees[2],
publishDate: new Date('2024-10-17T14:00:00'),
isPinned: false,
viewCount: 234,
},
{
id: 'ann4',
title: '🎓 React İleri Seviye Eğitimi',
content:
'Yazılım Geliştirme ekibimiz için React İleri Seviye eğitimi 25-26 Ekim tarihlerinde düzenlenecektir. Katılım için IK birimine başvurunuz.',
excerpt: 'React İleri Seviye eğitimi kayıtları başladı',
category: 'event',
author: mockEmployees[0],
publishDate: new Date('2024-10-16T11:00:00'),
isPinned: false,
viewCount: 67,
departments: ['Yazılım Geliştirme'],
},
{
id: 'ann5',
title: '⚠️ Güvenlik Politikası Güncellemesi',
content:
'Bilgi güvenliği politikamız güncellenmiştir. Tüm çalışanlarımızın yeni politikayı okuması ve onaylaması gerekmektedir.',
excerpt: 'Güvenlik politikası güncellendi - Onay gerekli',
category: 'urgent',
author: mockEmployees[4],
publishDate: new Date('2024-10-18T08:00:00'),
isPinned: true,
viewCount: 312,
attachments: [{ name: 'Bilgi_Guvenligi_Politikasi_v2.pdf', url: '#', size: '2.4 MB' }],
},
]
export const mockEvents: CalendarEvent[] = [
{
id: 'evt1',
title: 'Yaz Pikniği 2025',
description:
'Şirket çalışanları olarak doğayla iç içe harika bir gün geçirdik. Takım oyunları, barbekü ve çok eğlence!',
type: 'social',
2025-10-20 18:48:22 +00:00
date: new Date('2025-10-20'),
2025-10-18 22:37:20 +00:00
location: 'Polonezköy Piknik Alanı',
organizer: mockEmployees[4],
participants: 45,
photos: [
'https://images.unsplash.com/photo-1530541930197-ff16ac917b0e?w=800',
'https://images.unsplash.com/photo-1527529482837-4698179dc6ce?w=800',
'https://images.unsplash.com/photo-1528605105345-5344ea20e269?w=800',
'https://images.unsplash.com/photo-1504196606672-aef5c9cefc92?w=800',
],
comments: [
{
id: 'c1',
author: mockEmployees[0],
content: 'Muhteşem bir gündü! Yılın en güzel etkinliği 🎉',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2025-07-16T10:30:00'),
2025-10-18 22:37:20 +00:00
likes: 12,
},
{
id: 'c2',
author: mockEmployees[2],
content: 'Voleybol turnuvası harikaydı, gelecek yıl yine yapalım!',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2025-07-16T14:20:00'),
2025-10-18 22:37:20 +00:00
likes: 8,
},
],
likes: 34,
isPublished: true,
},
{
id: 'evt2',
title: 'Hackathon 2025',
description: '24 saatlik yazılım geliştirme maratonu. İnovasyon, teknoloji ve takım çalışması!',
type: 'training',
date: new Date('2025-09-10'),
location: 'Ofis - Ana Salon',
organizer: mockEmployees[0],
participants: 28,
photos: [
'https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=800',
'https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800',
'https://images.unsplash.com/photo-1531482615713-2afd69097998?w=800',
],
comments: [
{
id: 'c3',
author: mockEmployees[1],
content: 'Ekibimiz 2. oldu! Çok gurur duydum herkesle 💪',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2025-09-11T09:00:00'),
2025-10-18 22:37:20 +00:00
likes: 15,
},
{
id: 'c4',
author: mockEmployees[3],
content: 'Gece boyunca kod yazmak ve pizza yemek priceless! 🍕',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2025-09-11T11:45:00'),
2025-10-18 22:37:20 +00:00
likes: 10,
},
],
likes: 42,
isPublished: true,
},
{
id: 'evt3',
title: 'Kurumsal Futbol Turnuvası',
description: 'Departmanlar arası futbol turnuvasında ter döktük, gol attık ve kazandık! 🏆',
type: 'sport',
date: new Date('2025-06-20'),
location: 'Spor Kompleksi Halı Saha',
organizer: mockEmployees[2],
participants: 32,
photos: [
'https://images.unsplash.com/photo-1579952363873-27f3bade9f55?w=800',
'https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=800',
'https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?w=800',
'https://images.unsplash.com/photo-1553778263-73a83bab9b0c?w=800',
],
comments: [
{
id: 'c5',
author: mockEmployees[4],
content: 'İT departmanı şampiyon oldu! Gelecek sene kupayı koruyacağız 🏆',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2025-06-21T08:30:00'),
2025-10-18 22:37:20 +00:00
likes: 18,
},
],
likes: 28,
isPublished: true,
},
{
id: 'evt4',
title: 'Yılbaşı Gala Gecesi 2024',
description: 'Harika bir yıla muhteşem bir gala ile veda ettik. Müzik, dans ve sürprizler!',
type: 'company',
date: new Date('2024-12-28'),
location: 'Grand Hotel - Balo Salonu',
organizer: mockEmployees[3],
participants: 68,
photos: [
'https://images.unsplash.com/photo-1511795409834-ef04bbd61622?w=800',
'https://images.unsplash.com/photo-1519167758481-83f29da8c2b9?w=800',
'https://images.unsplash.com/photo-1464366400600-7168b8af9bc3?w=800',
'https://images.unsplash.com/photo-1478147427282-58a87a120781?w=800',
'https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=800',
],
comments: [
{
id: 'c6',
author: mockEmployees[0],
content: 'Yılın en şık gecesi! Organizasyon mükemmeldi 👏',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-12-29T10:00:00'),
2025-10-18 22:37:20 +00:00
likes: 25,
},
{
id: 'c7',
author: mockEmployees[1],
content: 'Tombala hediyelerim harika, çok teşekkürler! 🎁',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-12-29T12:30:00'),
2025-10-18 22:37:20 +00:00
likes: 14,
},
{
id: 'c8',
author: mockEmployees[2],
content: 'Müzik grubunuz süperdi, dans pistinden ayrılamadık! 🎵',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-12-29T15:20:00'),
2025-10-18 22:37:20 +00:00
likes: 19,
},
],
likes: 51,
isPublished: true,
},
{
id: 'evt5',
title: 'Sanat Atölyesi - Ebru Workshop',
description: 'Geleneksel Türk sanatı ebru yapımı atölyesinde harika eserler ortaya çıktı!',
type: 'culture',
date: new Date('2025-05-12'),
location: 'Ofis - Yaratıcı Alan',
organizer: mockEmployees[1],
participants: 18,
photos: [
'https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?w=800',
'https://images.unsplash.com/photo-1513364776144-60967b0f800f?w=800',
'https://images.unsplash.com/photo-1515405295579-ba7b45403062?w=800',
],
comments: [
{
id: 'c9',
author: mockEmployees[3],
content: 'İlk defa ebru yaptım, çok huzurlu bir deneyimdi 🎨',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2025-05-13T09:15:00'),
2025-10-18 22:37:20 +00:00
likes: 11,
},
],
likes: 22,
isPublished: true,
},
]
export const mockExpenseRequests: ExpenseRequest[] = [
{
id: 'exp1',
employee: mockEmployees[0],
category: 'travel',
amount: 850,
currency: 'TRY',
date: new Date('2024-10-15'),
description: 'Ankara ofis ziyareti - uçak bileti',
project: 'Intranet v2',
receipts: [{ name: 'ucak_bileti.pdf', url: '#', size: '234 KB' }],
status: 'approved',
approver: mockEmployees[4],
approvalDate: new Date('2024-10-16T10:00:00'),
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-10-15T18:00:00'),
2025-10-18 22:37:20 +00:00
},
{
id: 'exp2',
employee: mockEmployees[2],
category: 'meal',
amount: 320,
currency: 'TRY',
date: new Date('2024-10-17'),
description: 'Müşteri toplantısı - öğle yemeği',
receipts: [{ name: 'restoran_fisi.jpg', url: '#', size: '156 KB' }],
status: 'pending',
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-10-17T20:00:00'),
2025-10-18 22:37:20 +00:00
},
{
id: 'exp3',
employee: mockEmployees[1],
category: 'accommodation',
amount: 1200,
currency: 'TRY',
date: new Date('2024-10-14'),
description: 'İzmir workshop - otel konaklaması (2 gece)',
project: 'UX Workshop',
receipts: [{ name: 'otel_fatura.pdf', url: '#', size: '445 KB' }],
status: 'approved',
approver: mockEmployees[4],
approvalDate: new Date('2024-10-15T09:00:00'),
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-10-14T22:00:00'),
2025-10-18 22:37:20 +00:00
},
]
export const mockTasks: Task[] = [
{
id: 'task1',
title: 'API Endpoint Geliştirme',
description: "Kullanıcı yönetimi için RESTful API endpoint'leri oluşturulacak",
project: 'Intranet v2',
assignedTo: [mockEmployees[0]],
assignedBy: mockEmployees[4],
priority: 'high',
status: 'in-progress',
dueDate: new Date('2024-10-25'),
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-10-14'),
2025-10-18 22:37:20 +00:00
labels: ['backend', 'api'],
comments: 3,
},
{
id: 'task2',
title: 'Dashboard UI Tasarımı',
description: 'Yeni dashboard için UI/UX tasarımı yapılacak',
project: 'Intranet v2',
assignedTo: [mockEmployees[1]],
assignedBy: mockEmployees[4],
priority: 'medium',
status: 'review',
dueDate: new Date('2024-10-22'),
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-10-10'),
2025-10-18 22:37:20 +00:00
labels: ['design', 'ui/ux'],
comments: 5,
},
{
id: 'task3',
title: 'Kubernetes Deployment',
description: 'Production ortamı için Kubernetes yapılandırması',
project: 'Infrastructure',
assignedTo: [mockEmployees[2]],
assignedBy: mockEmployees[4],
priority: 'urgent',
status: 'todo',
dueDate: new Date('2024-10-20'),
2025-10-20 18:38:21 +00:00
creationTime: new Date('2024-10-17'),
2025-10-18 22:37:20 +00:00
labels: ['devops', 'infrastructure'],
comments: 1,
},
]
export const mockDocuments: Document[] = [
{
id: 'doc1',
name: 'Çalışan El Kitabı 2024',
type: 'pdf',
category: 'policy',
size: '3.2 MB',
uploadedBy: mockEmployees[3],
uploadDate: new Date('2024-01-15'),
version: '2.0',
url: '#',
description: 'Şirket politikaları ve prosedürleri',
departments: ['Tüm Departmanlar'],
downloadCount: 234,
tags: ['politika', 'prosedür', 'çalışan hakları'],
},
{
id: 'doc2',
name: 'İzin Talep Formu',
type: 'doc',
category: 'form',
size: '124 KB',
uploadedBy: mockEmployees[3],
uploadDate: new Date('2024-02-01'),
version: '1.5',
url: '#',
description: 'İzin talepleri için kullanılacak form',
departments: ['Tüm Departmanlar'],
downloadCount: 567,
tags: ['form', 'izin', 'HR'],
},
{
id: 'doc3',
name: 'Yazılım Geliştirme Standartları',
type: 'pdf',
category: 'procedure',
size: '1.8 MB',
uploadedBy: mockEmployees[4],
uploadDate: new Date('2024-03-10'),
version: '3.1',
url: '#',
description: 'Kod standartları ve best practices',
departments: ['Yazılım Geliştirme'],
downloadCount: 89,
tags: ['development', 'standards', 'coding'],
},
]
export const mockBirthdays: Birthday[] = [
{
employee: mockEmployees[0],
2025-10-19 07:49:12 +00:00
date: new Date('1990-10-20'), // Bugün
age: 35,
2025-10-18 22:37:20 +00:00
},
{
employee: mockEmployees[1],
date: new Date('1992-10-21'), // Bu hafta içinde
age: 33,
},
{
employee: mockEmployees[2],
date: new Date('1988-10-23'), // Bu hafta içinde
age: 37,
},
{
employee: mockEmployees[3],
date: new Date('1995-10-28'), // Bu ay içinde
age: 30,
2025-10-18 22:37:20 +00:00
},
]
export const mockAnniversaries: WorkAnniversary[] = [
{
employee: mockEmployees[2],
hireDate: new Date('2019-10-10'), // Bu ay (Ekim)
years: 6,
},
{
employee: mockEmployees[4],
hireDate: new Date('2020-10-15'), // Bu ay (Ekim)
2025-10-18 22:37:20 +00:00
years: 5,
},
{
employee: mockEmployees[0],
hireDate: new Date('2021-10-20'), // Bu ay (Ekim)
2025-10-18 22:37:20 +00:00
years: 4,
},
]
export const mockQuickLinks: QuickLink[] = [
{
id: 'ql1',
name: 'İzin Talebi',
description: 'Yıllık izin talebinde bulun',
icon: '🏖️',
url: '/intranet/hr/leave',
color: '#3b82f6',
category: 'İnsan Kaynakları',
},
{
id: 'ql2',
name: 'Görevlerim',
description: 'Atanan görevleri görüntüle',
icon: '✅',
url: '/intranet/tasks',
color: '#10b981',
category: 'Proje Yönetimi',
},
{
id: 'ql3',
name: 'Dokümanlar',
description: 'Şirket dokümanlarına eriş',
icon: '📁',
url: '/intranet/documents',
color: '#f59e0b',
category: 'Bilgi Yönetimi',
},
{
id: 'ql4',
name: 'Etkinlikler',
description: 'Yaklaşan etkinlikler',
icon: '📅',
url: '/intranet/events',
color: '#8b5cf6',
category: 'Takvim',
},
{
id: 'ql5',
name: 'IT Destek',
description: 'Teknik destek talebi oluştur',
icon: '🛠️',
url: '/intranet/it-support',
color: '#ef4444',
category: 'IT',
},
{
id: 'ql6',
name: 'Mesai Girişi',
description: 'Mesai saatlerini kaydet',
icon: '⏰',
url: '/intranet/hr/timesheet',
color: '#06b6d4',
category: 'İnsan Kaynakları',
},
]
export const mockTrainings: Training[] = [
{
id: 'tr1',
title: 'React & TypeScript İleri Seviye',
description:
'Modern React uygulamaları geliştirmek için TypeScript kullanımı, hooks, context API ve performans optimizasyonu',
instructor: 'Mehmet Demir',
category: 'technical',
type: 'online',
duration: 16,
startDate: new Date('2024-11-01'),
endDate: new Date('2024-11-08'),
maxParticipants: 20,
enrolled: 15,
status: 'upcoming',
thumbnail: 'https://images.unsplash.com/photo-1633356122544-f134324a6cee?w=400&h=300&fit=crop',
},
{
id: 'tr2',
title: 'Etkili İletişim ve Sunum Teknikleri',
description:
'İş hayatında etkili iletişim kurma, profesyonel sunum hazırlama ve konuşma becerileri geliştirme',
instructor: 'Ayşe Kara',
category: 'soft-skills',
type: 'classroom',
duration: 8,
startDate: new Date('2024-10-25'),
endDate: new Date('2024-10-25'),
maxParticipants: 15,
enrolled: 12,
status: 'ongoing',
location: 'Eğitim Salonu A',
thumbnail: 'https://images.unsplash.com/photo-1557804506-669a67965ba0?w=400&h=300&fit=crop',
},
{
id: 'tr3',
title: 'Agile & Scrum Master Eğitimi',
description:
'Çevik yazılım geliştirme metodolojileri, Scrum framework ve sertifikasyon hazırlığı',
instructor: 'Can Öztürk',
category: 'management',
type: 'hybrid',
duration: 24,
startDate: new Date('2024-09-15'),
endDate: new Date('2024-09-30'),
maxParticipants: 25,
enrolled: 25,
status: 'completed',
thumbnail: 'https://images.unsplash.com/photo-1552664730-d307ca884978?w=400&h=300&fit=crop',
},
{
id: 'tr4',
title: 'Siber Güvenlik ve Veri Koruma',
description: 'KVKK uyumluluğu, siber güvenlik tehditleri ve kurumsal veri koruma stratejileri',
instructor: 'Zeynep Arslan',
category: 'compliance',
type: 'online',
duration: 12,
startDate: new Date('2024-11-15'),
endDate: new Date('2024-11-22'),
maxParticipants: 50,
enrolled: 8,
status: 'upcoming',
thumbnail: 'https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=400&h=300&fit=crop',
},
]
export const mockCertificates: Certificate[] = [
{
id: 'cert1',
employee: mockEmployees[0],
trainingTitle: 'Agile & Scrum Master Eğitimi',
issueDate: new Date('2024-09-30'),
expiryDate: new Date('2026-09-30'),
certificateUrl: '/certificates/cert1.pdf',
score: 95,
},
{
id: 'cert2',
employee: mockEmployees[2],
trainingTitle: 'React & TypeScript İleri Seviye',
issueDate: new Date('2024-08-15'),
certificateUrl: '/certificates/cert2.pdf',
score: 88,
},
{
id: 'cert3',
employee: mockEmployees[4],
trainingTitle: 'Siber Güvenlik ve Veri Koruma',
issueDate: new Date('2024-07-20'),
expiryDate: new Date('2025-07-20'),
certificateUrl: '/certificates/cert3.pdf',
score: 92,
},
]
export const mockReservations: Reservation[] = [
{
id: 'res1',
type: 'room',
resourceName: 'Toplantı Salonu A',
bookedBy: mockEmployees[2],
startDate: new Date('2024-10-20T09:00:00'),
endDate: new Date('2024-10-20T11:00:00'),
purpose: 'Sprint Planning Toplantısı',
status: 'approved',
participants: 8,
notes: 'Projeksiyon cihazı gerekli',
},
{
id: 'res2',
type: 'vehicle',
resourceName: 'Şirket Aracı - 34 ABC 123',
bookedBy: mockEmployees[3],
startDate: new Date('2024-10-22T08:00:00'),
endDate: new Date('2024-10-22T18:00:00'),
purpose: 'Müşteri Ziyareti',
status: 'pending',
notes: 'Ankara çıkışı',
},
{
id: 'res3',
type: 'equipment',
resourceName: 'Kamera ve Tripod Seti',
bookedBy: mockEmployees[5],
startDate: new Date('2024-10-19T14:00:00'),
endDate: new Date('2024-10-19T17:00:00'),
purpose: 'Ürün Tanıtım Videosu Çekimi',
status: 'approved',
},
{
id: 'res4',
type: 'room',
resourceName: 'Eğitim Salonu B',
bookedBy: mockEmployees[6],
startDate: new Date('2024-10-25T09:00:00'),
endDate: new Date('2024-10-25T17:00:00'),
purpose: 'Etkili İletişim Eğitimi',
status: 'approved',
participants: 15,
notes: 'Tüm gün rezervasyon, öğle yemeği dahil',
},
]
export const mockMealMenus: MealMenu[] = [
{
id: 'menu1',
date: new Date('2024-10-21'),
dayOfWeek: 'Pazartesi',
meals: [
{
type: 'lunch',
items: ['Mercimek Çorbası', 'Tavuk Şinitzel', 'Bulgur Pilavı', 'Salata', 'Meyve'],
calories: 650,
},
],
},
{
id: 'menu2',
date: new Date('2024-10-22'),
dayOfWeek: 'Salı',
meals: [
{
type: 'lunch',
items: ['Yayla Çorbası', 'Köfte', 'Patates Püresi', 'Cacık', 'Ayran'],
calories: 720,
},
],
},
{
id: 'menu3',
date: new Date('2024-10-23'),
dayOfWeek: 'Çarşamba',
meals: [
{
type: 'lunch',
items: ['Domates Çorbası', 'Etli Kuru Fasulye', 'Pilav', 'Turşu', 'Komposto'],
calories: 680,
},
],
},
{
id: 'menu4',
date: new Date('2024-10-24'),
dayOfWeek: 'Perşembe',
meals: [
{
type: 'lunch',
items: ['Tarhana Çorbası', 'Fırın Tavuk', 'Makarna', 'Yeşil Salata', 'Sütlaç'],
calories: 700,
},
],
},
{
id: 'menu5',
date: new Date('2024-10-25'),
dayOfWeek: 'Cuma',
meals: [
{
type: 'lunch',
items: ['Ezogelin Çorbası', 'Balık', 'Bulgur Pilavı', 'Salata', 'Meyve'],
calories: 620,
},
],
},
]
export const mockShuttleRoutes: ShuttleRoute[] = [
{
id: 'shuttle1',
name: 'Kadıköy - Ofis',
route: ['Kadıköy İskele', 'Bostancı', 'Acıbadem', 'Kozyatağı', 'Ofis'],
departureTime: '07:30',
arrivalTime: '08:45',
capacity: 25,
available: 3,
type: 'morning',
},
{
id: 'shuttle2',
name: 'Üsküdar - Ofis',
route: ['Üsküdar Meydanı', 'Kısıklı', 'Bulgurlu', 'Ümraniye', 'Ofis'],
departureTime: '07:45',
arrivalTime: '08:50',
capacity: 25,
available: 8,
type: 'morning',
},
{
id: 'shuttle3',
name: 'Ofis - Kadıköy',
route: ['Ofis', 'Kozyatağı', 'Acıbadem', 'Bostancı', 'Kadıköy İskele'],
departureTime: '18:00',
arrivalTime: '19:15',
capacity: 25,
available: 5,
type: 'evening',
},
{
id: 'shuttle4',
name: 'Ofis - Üsküdar',
route: ['Ofis', 'Ümraniye', 'Bulgurlu', 'Kısıklı', 'Üsküdar Meydanı'],
departureTime: '18:15',
arrivalTime: '19:20',
capacity: 25,
available: 12,
type: 'evening',
},
]
export const mockSurveys: Survey[] = [
{
id: 'survey1',
title: 'Çalışan Memnuniyet Anketi 2024',
description: 'Yıllık çalışan memnuniyeti ve bağlılık araştırması',
2025-10-20 18:38:21 +00:00
creatorId: mockEmployees[0],
creationTime: new Date('2024-10-01'),
2025-10-18 22:37:20 +00:00
deadline: new Date('2024-10-31'),
totalQuestions: 25,
responses: 45,
targetAudience: ['Tüm Çalışanlar'],
status: 'active',
isAnonymous: true,
},
{
id: 'survey2',
title: 'Eğitim İhtiyaç Analizi',
description: '2025 yılı eğitim planlaması için ihtiyaç tespiti',
2025-10-20 18:38:21 +00:00
creatorId: mockEmployees[2],
creationTime: new Date('2024-10-10'),
2025-10-18 22:37:20 +00:00
deadline: new Date('2024-11-15'),
totalQuestions: 15,
responses: 28,
targetAudience: ['Yazılım Geliştirme', 'Ürün Yönetimi'],
status: 'active',
isAnonymous: false,
},
{
id: 'survey3',
title: 'Kafeterya Memnuniyet Anketi',
description: 'Yemek kalitesi ve servis değerlendirmesi',
2025-10-20 18:38:21 +00:00
creatorId: mockEmployees[4],
creationTime: new Date('2024-09-15'),
2025-10-18 22:37:20 +00:00
deadline: new Date('2024-09-30'),
totalQuestions: 10,
responses: 62,
targetAudience: ['Tüm Çalışanlar'],
status: 'closed',
isAnonymous: true,
},
]
export const mockVisitors: Visitor[] = [
{
id: 'vis1',
fullName: 'Ali Veli',
company: 'ABC Teknoloji',
email: 'ali.veli@abc.com',
phone: '+90 532 111 22 33',
visitDate: new Date('2024-10-20T10:00:00'),
checkIn: new Date('2024-10-20T10:15:00'),
host: mockEmployees[1],
purpose: 'İş Ortaklığı Görüşmesi',
status: 'checked-in',
badgeNumber: 'V-001',
photo: 'https://i.pravatar.cc/150?img=60',
},
{
id: 'vis2',
fullName: 'Fatma Yıldız',
company: 'XYZ Danışmanlık',
email: 'fatma@xyz.com',
phone: '+90 533 222 33 44',
visitDate: new Date('2024-10-21T14:00:00'),
host: mockEmployees[2],
purpose: 'Eğitim Danışmanlığı',
status: 'scheduled',
photo: 'https://i.pravatar.cc/150?img=47',
},
{
id: 'vis3',
fullName: 'Mehmet Kara',
company: 'DEF Yazılım',
email: 'mehmet@def.com',
phone: '+90 534 333 44 55',
visitDate: new Date('2024-10-18T11:00:00'),
checkIn: new Date('2024-10-18T11:05:00'),
checkOut: new Date('2024-10-18T13:30:00'),
host: mockEmployees[3],
purpose: 'Teknik Sunum',
status: 'checked-out',
badgeNumber: 'V-002',
photo: 'https://i.pravatar.cc/150?img=68',
},
]
2025-10-20 18:38:21 +00:00
export const mockSocialPosts: SocialPost[] = [
{
id: '1',
author: {
id: 'user1',
name: 'Ahmet Yılmaz',
avatar: 'https://i.pravatar.cc/150?img=12',
title: 'Yazılım Geliştirici',
email: 'ahmet.yilmaz@sozsoft.com',
phone: '+90 532 123 45 67',
department: 'Yazılım Geliştirme',
2025-10-20 18:48:22 +00:00
location: 'İstanbul, Türkiye',
2025-10-20 18:38:21 +00:00
},
content:
'Yeni proje üzerinde çalışıyoruz! React ve TypeScript ile harika bir deneyim oluşturuyoruz. Ekip çalışması harika gidiyor! 🚀',
creationTime: new Date('2024-10-15T10:30:00'),
location: {
id: '1',
name: 'Taksim Meydanı',
address: 'Taksim, Gümüşsuyu Mahallesi, 34437 Beyoğlu/İstanbul',
lat: 41.0369,
2025-10-20 18:48:22 +00:00
lng: 28.985,
placeId: 'ChIJBQRGmL25yhQRXwqRTHAwAAQ',
2025-10-20 18:38:21 +00:00
},
media: {
type: 'image',
2025-10-20 18:48:22 +00:00
url: 'https://images.unsplash.com/photo-1633356122544-f134324a6cee?w=800&q=80',
2025-10-20 18:38:21 +00:00
},
likes: {
count: 24,
isLiked: true,
users: [
{ id: 'user2', name: 'Ayşe Demir', avatar: 'https://i.pravatar.cc/150?img=5' },
2025-10-20 18:48:22 +00:00
{ id: 'user3', name: 'Mehmet Kaya', avatar: 'https://i.pravatar.cc/150?img=8' },
],
2025-10-20 18:38:21 +00:00
},
comments: [
{
id: 'c1',
author: {
id: 'user2',
name: 'Ayşe Demir',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=5',
2025-10-20 18:38:21 +00:00
},
content: 'Harika görünüyor! Başarılar 👏',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-15T11:00:00'),
2025-10-20 18:38:21 +00:00
},
{
id: 'c2',
author: {
id: 'user3',
name: 'Mehmet Kaya',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=8',
2025-10-20 18:38:21 +00:00
},
content: 'TypeScript gerçekten fark yaratıyor!',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-15T11:30:00'),
},
2025-10-20 18:38:21 +00:00
],
2025-10-20 18:48:22 +00:00
isOwnPost: false,
2025-10-20 18:38:21 +00:00
},
{
id: '2',
author: {
id: 'currentUser',
name: 'Siz',
avatar: 'https://i.pravatar.cc/150?img=1',
2025-10-20 18:48:22 +00:00
title: 'Proje Yöneticisi',
2025-10-20 18:38:21 +00:00
},
content:
'Bu hafta sprint planlamasını yaptık. Ekibimizle birlikte yeni özellikleri değerlendirdik. Heyecan verici bir hafta olacak!',
creationTime: new Date('2024-10-16T09:00:00'),
media: {
type: 'poll',
poll: {
question: 'Hangi özelliği öncelikli olarak geliştirmeliyiz?',
options: [
{ id: 'p1', text: 'Kullanıcı profilleri', votes: 12 },
{ id: 'p2', text: 'Bildirim sistemi', votes: 8 },
{ id: 'p3', text: 'Mesajlaşma', votes: 15 },
2025-10-20 18:48:22 +00:00
{ id: 'p4', text: 'Raporlama', votes: 5 },
2025-10-20 18:38:21 +00:00
],
totalVotes: 40,
endsAt: new Date('2024-10-20T23:59:59'),
2025-10-20 18:48:22 +00:00
userVote: 'p3',
},
2025-10-20 18:38:21 +00:00
},
likes: {
count: 18,
isLiked: false,
2025-10-20 18:48:22 +00:00
users: [],
2025-10-20 18:38:21 +00:00
},
comments: [
{
id: 'c3',
author: {
id: 'user4',
name: 'Fatma Şahin',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=9',
2025-10-20 18:38:21 +00:00
},
content: 'Mesajlaşma özelliğine kesinlikle ihtiyacımız var!',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-16T10:15:00'),
},
2025-10-20 18:38:21 +00:00
],
2025-10-20 18:48:22 +00:00
isOwnPost: true,
2025-10-20 18:38:21 +00:00
},
{
id: '3',
author: {
id: 'user5',
name: 'Zeynep Arslan',
avatar: 'https://i.pravatar.cc/150?img=10',
2025-10-20 18:48:22 +00:00
title: 'UI/UX Tasarımcı',
2025-10-20 18:38:21 +00:00
},
content:
'Yeni tasarım sistemimizin ilk prototipini hazırladık! Kullanıcı deneyimini iyileştirmek için çok çalıştık. Geri bildirimlerinizi bekliyorum! 🎨',
creationTime: new Date('2024-10-17T14:20:00'),
media: {
type: 'image',
urls: [
'https://images.unsplash.com/photo-1561070791-2526d30994b5?w=800&q=80',
'https://images.unsplash.com/photo-1586717799252-bd134ad00e26?w=800&q=80',
2025-10-20 18:48:22 +00:00
'https://images.unsplash.com/photo-1609921212029-bb5a28e60960?w=800&q=80',
],
2025-10-20 18:38:21 +00:00
},
likes: {
count: 42,
isLiked: true,
2025-10-20 18:48:22 +00:00
users: [{ id: 'user1', name: 'Ahmet Yılmaz', avatar: 'https://i.pravatar.cc/150?img=12' }],
2025-10-20 18:38:21 +00:00
},
comments: [
{
id: 'c4',
author: {
id: 'user6',
name: 'Can Öztürk',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=11',
2025-10-20 18:38:21 +00:00
},
content: 'Tasarımlar çok şık! Renk paleti özellikle güzel 😍',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-17T15:00:00'),
2025-10-20 18:38:21 +00:00
},
{
id: 'c5',
author: {
id: 'user7',
name: 'Elif Yıldız',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=20',
2025-10-20 18:38:21 +00:00
},
content: 'Dark mode opsiyonu da olacak mı?',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-17T15:30:00'),
},
2025-10-20 18:38:21 +00:00
],
2025-10-20 18:48:22 +00:00
isOwnPost: false,
2025-10-20 18:38:21 +00:00
},
{
id: '4',
author: {
id: 'user8',
name: 'Burak Çelik',
avatar: 'https://i.pravatar.cc/150?img=13',
2025-10-20 18:48:22 +00:00
title: 'DevOps Mühendisi',
2025-10-20 18:38:21 +00:00
},
content:
'CI/CD pipeline güncellememiz tamamlandı! Deployment süremiz %40 azaldı. Otomasyonun gücü 💪',
creationTime: new Date('2024-10-18T08:45:00'),
media: {
type: 'video',
2025-10-20 18:48:22 +00:00
url: 'https://www.w3schools.com/html/mov_bbb.mp4',
2025-10-20 18:38:21 +00:00
},
likes: {
count: 31,
isLiked: false,
2025-10-20 18:48:22 +00:00
users: [],
2025-10-20 18:38:21 +00:00
},
comments: [
{
id: 'c6',
author: {
id: 'user9',
name: 'Deniz Koç',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=14',
2025-10-20 18:38:21 +00:00
},
content: 'Harika iş! Detayları paylaşabilir misin?',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-18T09:15:00'),
},
2025-10-20 18:38:21 +00:00
],
2025-10-20 18:48:22 +00:00
isOwnPost: false,
2025-10-20 18:38:21 +00:00
},
{
id: '5',
author: {
id: 'user10',
name: 'Selin Aydın',
avatar: 'https://i.pravatar.cc/150?img=15',
2025-10-20 18:48:22 +00:00
title: 'İK Müdürü',
2025-10-20 18:38:21 +00:00
},
content:
'Ekip üyelerimize yeni eğitim programımızı duyurmak istiyorum! 🎓 React, TypeScript ve Modern Web Geliştirme konularında kapsamlı bir program hazırladık.',
creationTime: new Date('2024-10-14T16:00:00'),
likes: {
count: 56,
isLiked: true,
2025-10-20 18:48:22 +00:00
users: [],
2025-10-20 18:38:21 +00:00
},
comments: [
{
id: 'c7',
author: {
id: 'user1',
name: 'Ahmet Yılmaz',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=12',
2025-10-20 18:38:21 +00:00
},
content: 'Ne zaman başlıyor?',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-14T16:30:00'),
2025-10-20 18:38:21 +00:00
},
{
id: 'c8',
author: {
id: 'user10',
name: 'Selin Aydın',
2025-10-20 18:48:22 +00:00
avatar: 'https://i.pravatar.cc/150?img=15',
2025-10-20 18:38:21 +00:00
},
content: 'Gelecek hafta başlıyoruz! Kayıt linki mail ile paylaşılacak.',
2025-10-20 18:48:22 +00:00
creationTime: new Date('2024-10-14T17:00:00'),
},
2025-10-20 18:38:21 +00:00
],
2025-10-20 18:48:22 +00:00
isOwnPost: false,
2025-10-20 18:38:21 +00:00
},
{
id: '6',
author: {
id: 'user11',
name: 'Deniz Öztürk',
avatar: 'https://i.pravatar.cc/150?img=20',
2025-10-20 18:48:22 +00:00
title: 'Proje Yöneticisi',
2025-10-20 18:38:21 +00:00
},
content: 'Bugün müşteri ile harika bir toplantı yaptık! Yeni projenin detaylarını konuştuk. 🎯',
creationTime: new Date('2024-10-17T14:00:00'),
location: {
id: '4',
name: 'Sultanahmet Meydanı',
address: 'Sultanahmet Mahallesi, 34122 Fatih/İstanbul',
lat: 41.0058,
lng: 28.9768,
2025-10-20 18:48:22 +00:00
placeId: 'ChIJ7fVVZiy5yhQRzsXXXXXXXXk',
2025-10-20 18:38:21 +00:00
},
likes: {
count: 18,
isLiked: false,
2025-10-20 18:48:22 +00:00
users: [],
2025-10-20 18:38:21 +00:00
},
comments: [],
2025-10-20 18:48:22 +00:00
isOwnPost: false,
},
2025-10-20 18:38:21 +00:00
]