/**
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

export async function getUpcomingHolidays() {
  return [
    { date: '2024-11-28', holiday: 'Thanksgiving Break' },
    { date: '2024-11-29', holiday: 'Thanksgiving Break (Day 2)' },
  ];
}

export const EXAMPLE_EVENTS = [
  {
    event: 'Freshman Fall Concert',
    activity: 'Choir',
    location: 'School Auditorium',
    startTime: '2024-11-12T19:00',
    endTime: '2023-11-12T20:30',
    grades: [9],
  },
  {
    event: 'Fall Pep Rally',
    location: 'Football Field',
    startTime: '2024-10-27T14:00',
    endTime: '2024-10-27T15:30',
    grades: [9, 10, 11, 12],
  },
  {
    event: 'Junior Fall Concert',
    activity: 'Choir',
    location: 'School Auditorium',
    startTime: '2024-11-15T19:00',
    endTime: '2024-11-15T20:30',
    grades: [11],
  },
  {
    event: 'Varsity Chess Club Tournament',
    activity: 'Chess Club',
    location: 'Library',
    startTime: '2024-11-04T16:00',
    endTime: '2024-11-04T18:00',
    grades: [11, 12],
  },
  {
    event: 'Drama Club Auditions',
    activity: 'Drama Club',
    location: 'School Auditorium',
    startTime: '2024-10-20T15:00',
    endTime: '2024-10-20T17:00',
    grades: [9, 10, 11, 12],
  },
];

export interface GradeEntry {
  studentId: number;
  subject: string;
  grade: string;
  date: string;
  assignment: string;
}

export const EXAMPLE_GRADES: GradeEntry[] = [
  {
    studentId: 3734,
    subject: 'Mathematics',
    grade: 'A-',
    date: '2024-03-01',
    assignment: 'Quadratic Equations Quiz',
  },
  {
    studentId: 3734,
    subject: 'English',
    grade: 'B+',
    date: '2024-03-05',
    assignment: 'Essay: Shakespeare Analysis',
  },
  {
    studentId: 9433,
    subject: 'Physics',
    grade: 'A',
    date: '2024-03-02',
    assignment: 'Forces Lab Report',
  },
];
