init: port to typescript and bun

This commit is contained in:
JamesFlare1212
2025-05-10 23:39:39 -04:00
commit 2543e56ec4
19 changed files with 2099 additions and 0 deletions

26
models/activity.ts Normal file
View File

@@ -0,0 +1,26 @@
// src/models/activity.ts
export interface ActivityData {
// Include all common properties
id?: string | null;
name?: string | null;
description?: string | null;
photo?: string | null | undefined;
academicYear?: string | null;
category?: string | null;
isPreSignup?: boolean | null;
isStudentLed?: boolean | null;
materials?: any[];
poorWeatherPlan?: string | null;
requirements?: any[];
schedule?: string | null;
semesterCost?: string | null;
staff?: string[];
staffForReports?: string[];
studentLeaders?: string[];
// Cache-related properties
lastCheck?: string;
error?: string;
source?: string;
cache?: string;
[key: string]: any; // Allow additional properties
}