refactor: rename shared
All checks were successful
Build and Deploy Angular App / build (push) Successful in 57s
All checks were successful
Build and Deploy Angular App / build (push) Successful in 57s
This commit is contained in:
parent
1ffbfad37a
commit
8138a63324
@ -1,5 +0,0 @@
|
|||||||
export interface CreateUserRequest {
|
|
||||||
email: string;
|
|
||||||
username: string;
|
|
||||||
password: string;
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
export interface LoginRequest {
|
|
||||||
username: string;
|
|
||||||
password: string;
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
export interface ScheduleRequest {
|
|
||||||
groups?: Array<number>;
|
|
||||||
isEven?: boolean;
|
|
||||||
disciplines?: Array<number>;
|
|
||||||
professors?: Array<number>;
|
|
||||||
lectureHalls?: Array<number>;
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
export interface CampusBasicInfoResponse {
|
|
||||||
id: number;
|
|
||||||
codeName: string;
|
|
||||||
fullName?: string;
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
export interface CampusDetailsResponse {
|
|
||||||
id: number;
|
|
||||||
codeName: string;
|
|
||||||
fullName?: string;
|
|
||||||
address?: string;
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
export interface DisciplineResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
export interface ErrorResponse {
|
|
||||||
error: string;
|
|
||||||
code: number;
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
export interface FacultyResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
export interface GroupDetailsResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
courseNumber: number;
|
|
||||||
facultyId?: number;
|
|
||||||
facultyName?: string;
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
export interface GroupResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
courseNumber: number;
|
|
||||||
facultyId?: number;
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
export interface LectureHallDetailsResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
campusId: number;
|
|
||||||
campusName?: string;
|
|
||||||
campusCode?: string;
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
export interface LectureHallResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
campusId: number;
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
export interface ProfessorResponse {
|
|
||||||
id: number;
|
|
||||||
name: string;
|
|
||||||
altName?: string;
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
import {DayOfWeek} from "@model/dayOfWeek";
|
|
||||||
|
|
||||||
export interface ScheduleResponse {
|
|
||||||
dayOfWeek: DayOfWeek;
|
|
||||||
pairNumber: number;
|
|
||||||
isEven: boolean;
|
|
||||||
discipline: string;
|
|
||||||
disciplineId: number;
|
|
||||||
isExcludedWeeks?: boolean;
|
|
||||||
weeks?: Array<number>;
|
|
||||||
typeOfOccupations: Array<string>;
|
|
||||||
group: string;
|
|
||||||
groupId: number;
|
|
||||||
lectureHalls: Array<string | null>;
|
|
||||||
lectureHallsId: Array<number | null>;
|
|
||||||
professors: Array<string | null>;
|
|
||||||
professorsId: Array<number | null>;
|
|
||||||
campus: Array<string | null>;
|
|
||||||
campusId: Array<number | null>;
|
|
||||||
linkToMeet: Array<string | null>;
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
export enum DayOfWeek {
|
|
||||||
Sunday,
|
|
||||||
Monday,
|
|
||||||
Tuesday,
|
|
||||||
Wednesday,
|
|
||||||
Thursday,
|
|
||||||
Friday,
|
|
||||||
Saturday
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
export interface PairPeriodTime {
|
|
||||||
start: string;
|
|
||||||
end: string;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user