reorganize module
This commit is contained in:
		
							
								
								
									
										31
									
								
								database/data/calendars.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								database/data/calendars.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
{
 | 
			
		||||
  "calendars": [
 | 
			
		||||
    {
 | 
			
		||||
      "id": "cal1",
 | 
			
		||||
      "name": "Work Calendar",
 | 
			
		||||
      "owner_id": "user1",
 | 
			
		||||
      "description": "Main work calendar for team coordination",
 | 
			
		||||
      "color": "#4285F4",
 | 
			
		||||
      "shared_with": ["user2", "user3", "user4"],
 | 
			
		||||
      "visibility": "team"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "cal2",
 | 
			
		||||
      "name": "Personal Calendar",
 | 
			
		||||
      "owner_id": "user1",
 | 
			
		||||
      "description": "Personal appointments and reminders",
 | 
			
		||||
      "color": "#0F9D58",
 | 
			
		||||
      "shared_with": ["user5"],
 | 
			
		||||
      "visibility": "private"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "cal3",
 | 
			
		||||
      "name": "Project Calendar",
 | 
			
		||||
      "owner_id": "user2",
 | 
			
		||||
      "description": "Project-specific deadlines and milestones",
 | 
			
		||||
      "color": "#DB4437",
 | 
			
		||||
      "shared_with": ["user1", "user3", "user4"],
 | 
			
		||||
      "visibility": "public"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										57
									
								
								database/data/events.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								database/data/events.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,57 @@
 | 
			
		||||
{
 | 
			
		||||
  "events": [
 | 
			
		||||
    {
 | 
			
		||||
      "id": "event1",
 | 
			
		||||
      "title": "Team Meeting",
 | 
			
		||||
      "description": "Weekly team sync meeting",
 | 
			
		||||
      "start_time": "2025-04-04T10:00:00",
 | 
			
		||||
      "end_time": "2025-04-04T11:00:00",
 | 
			
		||||
      "location": "Conference Room A",
 | 
			
		||||
      "calendar_id": "cal1",
 | 
			
		||||
      "organizer_id": "user1",
 | 
			
		||||
      "attendees": ["user1", "user2", "user3"],
 | 
			
		||||
      "recurring": false,
 | 
			
		||||
      "status": "confirmed"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "event2",
 | 
			
		||||
      "title": "Project Deadline",
 | 
			
		||||
      "description": "Final submission for Q2 project",
 | 
			
		||||
      "start_time": "2025-04-15T17:00:00",
 | 
			
		||||
      "end_time": "2025-04-15T18:00:00",
 | 
			
		||||
      "location": "Virtual",
 | 
			
		||||
      "calendar_id": "cal1",
 | 
			
		||||
      "organizer_id": "user2",
 | 
			
		||||
      "attendees": ["user1", "user2", "user4"],
 | 
			
		||||
      "recurring": false,
 | 
			
		||||
      "status": "confirmed"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "event3",
 | 
			
		||||
      "title": "Lunch with Client",
 | 
			
		||||
      "description": "Discuss upcoming partnership",
 | 
			
		||||
      "start_time": "2025-04-10T12:30:00",
 | 
			
		||||
      "end_time": "2025-04-10T14:00:00",
 | 
			
		||||
      "location": "Downtown Cafe",
 | 
			
		||||
      "calendar_id": "cal2",
 | 
			
		||||
      "organizer_id": "user1",
 | 
			
		||||
      "attendees": ["user1", "user5"],
 | 
			
		||||
      "recurring": false,
 | 
			
		||||
      "status": "tentative"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "event4",
 | 
			
		||||
      "title": "Weekly Status Update",
 | 
			
		||||
      "description": "Regular status update meeting",
 | 
			
		||||
      "start_time": "2025-04-05T09:00:00",
 | 
			
		||||
      "end_time": "2025-04-05T09:30:00",
 | 
			
		||||
      "location": "Conference Room B",
 | 
			
		||||
      "calendar_id": "cal1",
 | 
			
		||||
      "organizer_id": "user3",
 | 
			
		||||
      "attendees": ["user1", "user2", "user3", "user4"],
 | 
			
		||||
      "recurring": true,
 | 
			
		||||
      "recurrence_pattern": "weekly",
 | 
			
		||||
      "status": "confirmed"
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										54
									
								
								database/data/users.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								database/data/users.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
{
 | 
			
		||||
  "users": [
 | 
			
		||||
    {
 | 
			
		||||
      "id": "user1",
 | 
			
		||||
      "name": "John Doe",
 | 
			
		||||
      "email": "john.doe@example.com",
 | 
			
		||||
      "timezone": "UTC+2",
 | 
			
		||||
      "preferences": {
 | 
			
		||||
        "notification_time": 15,
 | 
			
		||||
        "default_calendar_id": "cal1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "user2",
 | 
			
		||||
      "name": "Jane Smith",
 | 
			
		||||
      "email": "jane.smith@example.com",
 | 
			
		||||
      "timezone": "UTC+1",
 | 
			
		||||
      "preferences": {
 | 
			
		||||
        "notification_time": 30,
 | 
			
		||||
        "default_calendar_id": "cal1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "user3",
 | 
			
		||||
      "name": "Bob Johnson",
 | 
			
		||||
      "email": "bob.johnson@example.com",
 | 
			
		||||
      "timezone": "UTC",
 | 
			
		||||
      "preferences": {
 | 
			
		||||
        "notification_time": 10,
 | 
			
		||||
        "default_calendar_id": "cal2"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "user4",
 | 
			
		||||
      "name": "Alice Brown",
 | 
			
		||||
      "email": "alice.brown@example.com",
 | 
			
		||||
      "timezone": "UTC-5",
 | 
			
		||||
      "preferences": {
 | 
			
		||||
        "notification_time": 20,
 | 
			
		||||
        "default_calendar_id": "cal1"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "id": "user5",
 | 
			
		||||
      "name": "Charlie Davis",
 | 
			
		||||
      "email": "charlie.davis@example.com",
 | 
			
		||||
      "timezone": "UTC+3",
 | 
			
		||||
      "preferences": {
 | 
			
		||||
        "notification_time": 15,
 | 
			
		||||
        "default_calendar_id": "cal2"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user