@tucmc/hazel
Version:
Clubs Data Processing Framework
28 lines (27 loc) • 694 B
TypeScript
import type { SystemClubIDType } from './ClubID';
export type Contact = {
context: string;
type: string;
} | {};
export interface ClubData {
audition: boolean;
call_count: number;
committees: string[] | undefined;
contact: Contact;
contact2: Contact;
contact3: Contact;
count_limit: number;
m4: number;
maxPos: number | Record<string, number>;
message: string;
new_count: number;
new_count_limit: number;
old_count: number;
old_count_limit: number;
place: string;
status: string;
teacher_count: number;
title: string;
sections?: string[];
}
export type ClubDataCollection = Record<SystemClubIDType, ClubData>;