mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-05-17 03:48:06 +08:00
Reworked the onboarding apis to follow standard format
This commit is contained in:
parent
df58613d4b
commit
f503f060f2
3 changed files with 21 additions and 15 deletions
|
@ -47,24 +47,30 @@ export interface ActivationParams {
|
|||
token: string;
|
||||
}
|
||||
|
||||
export interface SemesterParams {
|
||||
export interface Semester {
|
||||
id: string;
|
||||
name: string;
|
||||
shortname: string;
|
||||
}
|
||||
|
||||
export interface YearLevelParams {
|
||||
export type SemesterParams = [boolean, Semester];
|
||||
|
||||
export interface YearLevel {
|
||||
id: string;
|
||||
name: string;
|
||||
shortname: string;
|
||||
}
|
||||
|
||||
export interface CourseParams {
|
||||
export type YearLevelParams = [boolean, YearLevel];
|
||||
|
||||
export interface Course {
|
||||
id: string;
|
||||
name: string;
|
||||
shortname: string;
|
||||
}
|
||||
|
||||
export type CourseParams = [boolean, Course];
|
||||
|
||||
export interface OnboardingParams {
|
||||
year_level: string;
|
||||
course: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue