122 lines
2.5 KiB
TypeScript
122 lines
2.5 KiB
TypeScript
export interface NSDAMemberSearchResult {
|
|
id: number;
|
|
first: string;
|
|
last: string;
|
|
role: string;
|
|
school_id: number;
|
|
status: number;
|
|
realm: string;
|
|
school_name: string;
|
|
school_state: string | null;
|
|
type: string;
|
|
name: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface TabroomEntry {
|
|
institution: string;
|
|
location: string;
|
|
entry: string;
|
|
code: string;
|
|
}
|
|
|
|
export interface NSDAMemberLookup {
|
|
person_id: number;
|
|
first: string;
|
|
middle: string | null;
|
|
last: string;
|
|
disabled: number;
|
|
created_at: string;
|
|
points: number;
|
|
points_service: number;
|
|
points_service_this_year: number;
|
|
points_this_year: number;
|
|
points_last_year: number;
|
|
last_points_entry: string;
|
|
citation_points: number;
|
|
degree_id: number;
|
|
degree_name: string;
|
|
to_next_degree: number;
|
|
diamonds: number | null;
|
|
"3_diamond": boolean;
|
|
hof: boolean;
|
|
aaa: boolean;
|
|
active: boolean;
|
|
paid: boolean;
|
|
paid_latest: string;
|
|
school_paid: boolean;
|
|
active_student: boolean;
|
|
degrees: NSDAMemberDegree[];
|
|
honors: NSDAMemberHonor[];
|
|
citations: unknown[];
|
|
districts_eligible: boolean;
|
|
}
|
|
|
|
export interface NSDAMemberDegree {
|
|
member_honor_id: number;
|
|
person_id: number;
|
|
honor_id: number;
|
|
description: string;
|
|
type: string;
|
|
school_id: number;
|
|
school_name: string;
|
|
district_id: number | null;
|
|
district_name: string | null;
|
|
state: string | null;
|
|
points: number;
|
|
start: string;
|
|
end: unknown;
|
|
status: string;
|
|
recognized: unknown;
|
|
note: string | null;
|
|
created_at: string;
|
|
created_by_id: unknown;
|
|
}
|
|
|
|
export interface NSDAMemberHonor {
|
|
member_honor_id: number;
|
|
person_id: number;
|
|
honor_id: number;
|
|
description: string;
|
|
type: string;
|
|
school_id: number;
|
|
school_name: string;
|
|
district_id: number | null;
|
|
district_name: string | null;
|
|
state: string | null;
|
|
points: number | null;
|
|
start: string;
|
|
end: unknown;
|
|
status: string;
|
|
recognized: unknown;
|
|
note: string | null;
|
|
created_at: string;
|
|
created_by_id: unknown;
|
|
}
|
|
|
|
export interface NSDAMemberPointEntry {
|
|
id: number;
|
|
student_id: number;
|
|
student_name: string;
|
|
coach_id: number;
|
|
coach_name: string;
|
|
school_id: number;
|
|
category_id: number;
|
|
points: number;
|
|
result: string;
|
|
description: string | null;
|
|
autopost: boolean;
|
|
districts: boolean;
|
|
nationals: boolean;
|
|
tourn_id: number;
|
|
tourn_name: string;
|
|
location: string;
|
|
state: string;
|
|
start: string;
|
|
end: string;
|
|
source: string;
|
|
status: number;
|
|
created_at: string;
|
|
created_by_id: number | null;
|
|
created_by: string;
|
|
}
|