diff --git a/src/shared/requests/v1/CreateUserRequest.ts b/src/shared/requests/v1/CreateUserRequest.ts deleted file mode 100644 index 12c9f7c..0000000 --- a/src/shared/requests/v1/CreateUserRequest.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface CreateUserRequest { - email: string; - username: string; - password: string; -} diff --git a/src/shared/requests/v1/LoginRequest.ts b/src/shared/requests/v1/LoginRequest.ts deleted file mode 100644 index eb97118..0000000 --- a/src/shared/requests/v1/LoginRequest.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface LoginRequest { - username: string; - password: string; -} diff --git a/src/shared/requests/v1/ScheduleRequest.ts b/src/shared/requests/v1/ScheduleRequest.ts deleted file mode 100644 index 741f70e..0000000 --- a/src/shared/requests/v1/ScheduleRequest.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface ScheduleRequest { - groups?: Array; - isEven?: boolean; - disciplines?: Array; - professors?: Array; - lectureHalls?: Array; -} diff --git a/src/shared/responses/v1/CampusBasicInfoResponse.ts b/src/shared/responses/v1/CampusBasicInfoResponse.ts deleted file mode 100644 index f7734c3..0000000 --- a/src/shared/responses/v1/CampusBasicInfoResponse.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface CampusBasicInfoResponse { - id: number; - codeName: string; - fullName?: string; -} diff --git a/src/shared/responses/v1/CampusDetailsResponse.ts b/src/shared/responses/v1/CampusDetailsResponse.ts deleted file mode 100644 index cd9af12..0000000 --- a/src/shared/responses/v1/CampusDetailsResponse.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface CampusDetailsResponse { - id: number; - codeName: string; - fullName?: string; - address?: string; -} diff --git a/src/shared/responses/v1/DisciplineResponse.ts b/src/shared/responses/v1/DisciplineResponse.ts deleted file mode 100644 index e84be6b..0000000 --- a/src/shared/responses/v1/DisciplineResponse.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface DisciplineResponse { - id: number; - name: string; -} diff --git a/src/shared/responses/v1/ErrorResponse.ts b/src/shared/responses/v1/ErrorResponse.ts deleted file mode 100644 index 64f24ff..0000000 --- a/src/shared/responses/v1/ErrorResponse.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface ErrorResponse { - error: string; - code: number; -} diff --git a/src/shared/responses/v1/FacultyResponse.ts b/src/shared/responses/v1/FacultyResponse.ts deleted file mode 100644 index 33970ef..0000000 --- a/src/shared/responses/v1/FacultyResponse.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface FacultyResponse { - id: number; - name: string; -} diff --git a/src/shared/responses/v1/GroupDetailsResponse.ts b/src/shared/responses/v1/GroupDetailsResponse.ts deleted file mode 100644 index c65397a..0000000 --- a/src/shared/responses/v1/GroupDetailsResponse.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface GroupDetailsResponse { - id: number; - name: string; - courseNumber: number; - facultyId?: number; - facultyName?: string; -} diff --git a/src/shared/responses/v1/GroupResponse.ts b/src/shared/responses/v1/GroupResponse.ts deleted file mode 100644 index 1f87bc9..0000000 --- a/src/shared/responses/v1/GroupResponse.ts +++ /dev/null @@ -1,6 +0,0 @@ -export interface GroupResponse { - id: number; - name: string; - courseNumber: number; - facultyId?: number; -} diff --git a/src/shared/responses/v1/LectureHallDetailsResponse.ts b/src/shared/responses/v1/LectureHallDetailsResponse.ts deleted file mode 100644 index f731fcf..0000000 --- a/src/shared/responses/v1/LectureHallDetailsResponse.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface LectureHallDetailsResponse { - id: number; - name: string; - campusId: number; - campusName?: string; - campusCode?: string; -} diff --git a/src/shared/responses/v1/LectureHallResponse.ts b/src/shared/responses/v1/LectureHallResponse.ts deleted file mode 100644 index d951d85..0000000 --- a/src/shared/responses/v1/LectureHallResponse.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface LectureHallResponse { - id: number; - name: string; - campusId: number; -} diff --git a/src/shared/responses/v1/ProfessorResponse.ts b/src/shared/responses/v1/ProfessorResponse.ts deleted file mode 100644 index 50ad14d..0000000 --- a/src/shared/responses/v1/ProfessorResponse.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface ProfessorResponse { - id: number; - name: string; - altName?: string; -} diff --git a/src/shared/responses/v1/ScheduleResponse.ts b/src/shared/responses/v1/ScheduleResponse.ts deleted file mode 100644 index 23dea16..0000000 --- a/src/shared/responses/v1/ScheduleResponse.ts +++ /dev/null @@ -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; - typeOfOccupations: Array; - group: string; - groupId: number; - lectureHalls: Array; - lectureHallsId: Array; - professors: Array; - professorsId: Array; - campus: Array; - campusId: Array; - linkToMeet: Array; -} diff --git a/src/shared/structs/DayOfWeek.ts b/src/shared/structs/DayOfWeek.ts deleted file mode 100644 index 2bbafb7..0000000 --- a/src/shared/structs/DayOfWeek.ts +++ /dev/null @@ -1,9 +0,0 @@ -export enum DayOfWeek { - Sunday, - Monday, - Tuesday, - Wednesday, - Thursday, - Friday, - Saturday -} diff --git a/src/shared/structs/PairPeriodTime.ts b/src/shared/structs/PairPeriodTime.ts deleted file mode 100644 index 378933d..0000000 --- a/src/shared/structs/PairPeriodTime.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface PairPeriodTime { - start: string; - end: string; -} diff --git a/src/shared/structs/AuthRoles.ts b/src/shared/structs/authRoles.ts similarity index 100% rename from src/shared/structs/AuthRoles.ts rename to src/shared/structs/authRoles.ts diff --git a/src/shared/structs/CacheType.ts b/src/shared/structs/cacheType.ts similarity index 100% rename from src/shared/structs/CacheType.ts rename to src/shared/structs/cacheType.ts diff --git a/src/shared/structs/DatabaseType.ts b/src/shared/structs/databaseType.ts similarity index 100% rename from src/shared/structs/DatabaseType.ts rename to src/shared/structs/databaseType.ts diff --git a/src/shared/structs/DateOnly.ts b/src/shared/structs/dateOnly.ts similarity index 100% rename from src/shared/structs/DateOnly.ts rename to src/shared/structs/dateOnly.ts diff --git a/src/shared/structs/OAuthProvider.ts b/src/shared/structs/oAuthProvider.ts similarity index 100% rename from src/shared/structs/OAuthProvider.ts rename to src/shared/structs/oAuthProvider.ts diff --git a/src/shared/structs/PasswordPolicy.ts b/src/shared/structs/passwordPolicy.ts similarity index 100% rename from src/shared/structs/PasswordPolicy.ts rename to src/shared/structs/passwordPolicy.ts diff --git a/src/shared/structs/TimeOnly.ts b/src/shared/structs/timeOnly.ts similarity index 100% rename from src/shared/structs/TimeOnly.ts rename to src/shared/structs/timeOnly.ts diff --git a/src/shared/structs/TwoFactorAuthentication.ts b/src/shared/structs/twoFactorAuthentication.ts similarity index 100% rename from src/shared/structs/TwoFactorAuthentication.ts rename to src/shared/structs/twoFactorAuthentication.ts