refactor: rename shared
All checks were successful
Build and Deploy Angular App / build (push) Successful in 57s

This commit is contained in:
Polianin Nikita 2024-12-18 07:53:25 +03:00
parent 1ffbfad37a
commit 8138a63324
24 changed files with 0 additions and 103 deletions

View File

@ -1,5 +0,0 @@
export interface CreateUserRequest {
email: string;
username: string;
password: string;
}

View File

@ -1,4 +0,0 @@
export interface LoginRequest {
username: string;
password: string;
}

View File

@ -1,7 +0,0 @@
export interface ScheduleRequest {
groups?: Array<number>;
isEven?: boolean;
disciplines?: Array<number>;
professors?: Array<number>;
lectureHalls?: Array<number>;
}

View File

@ -1,5 +0,0 @@
export interface CampusBasicInfoResponse {
id: number;
codeName: string;
fullName?: string;
}

View File

@ -1,6 +0,0 @@
export interface CampusDetailsResponse {
id: number;
codeName: string;
fullName?: string;
address?: string;
}

View File

@ -1,4 +0,0 @@
export interface DisciplineResponse {
id: number;
name: string;
}

View File

@ -1,4 +0,0 @@
export interface ErrorResponse {
error: string;
code: number;
}

View File

@ -1,4 +0,0 @@
export interface FacultyResponse {
id: number;
name: string;
}

View File

@ -1,7 +0,0 @@
export interface GroupDetailsResponse {
id: number;
name: string;
courseNumber: number;
facultyId?: number;
facultyName?: string;
}

View File

@ -1,6 +0,0 @@
export interface GroupResponse {
id: number;
name: string;
courseNumber: number;
facultyId?: number;
}

View File

@ -1,7 +0,0 @@
export interface LectureHallDetailsResponse {
id: number;
name: string;
campusId: number;
campusName?: string;
campusCode?: string;
}

View File

@ -1,5 +0,0 @@
export interface LectureHallResponse {
id: number;
name: string;
campusId: number;
}

View File

@ -1,5 +0,0 @@
export interface ProfessorResponse {
id: number;
name: string;
altName?: string;
}

View File

@ -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>;
}

View File

@ -1,9 +0,0 @@
export enum DayOfWeek {
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday
}

View File

@ -1,4 +0,0 @@
export interface PairPeriodTime {
start: string;
end: string;
}