today.webhook/app/lib/comcigan.ts
imnyang 40116ec84c
Add initial project setup with Docker, GitHub Actions, and meal timetable functionality
- Create Dockerfile for multi-stage build
- Set up GitHub Actions workflow for CI/CD
- Implement meal and timetable fetching logic
- Add README and configuration files
- Include cron job for scheduled execution
- Establish .gitignore for build artifacts and environment files
2026-03-06 23:32:46 +09:00

7 lines
340 B
TypeScript

import Comcigan, { School, Weekday } from '@imnyang/comcigan.ts'
const comcigan = new Comcigan()
export default async function getTimetable({ schoolId, grade, classNum, weekday }: { schoolId: number, grade: number, classNum: number, weekday: number }) {
return await comcigan.getTimetable(schoolId, grade, classNum, weekday, false)
}