feat: add api models
This commit is contained in:
src/shared
lectureHallResponse.ts
requests/v1
cacheRequest.tscreateUserRequest.tsdatabaseRequest.tsloggingRequest.tsscheduleConfigurationRequest.tsscheduleRequest.ts
responses/v1
campusBasicInfoResponse.tscampusDetailsResponse.tsdisciplineResponse.tsdisciplineScheduleInfo.tsdisciplineScheduleResponse.tsemailRequest.tserrorResponse.tsfacultyDetailsResponse.tsfacultyResponse.tsgroupDetailsResponse.tsgroupResponse.tsgroupScheduleInfo.tsgroupScheduleResponse.tslectureHallDetailsResponse.tslectureHallResponse.tslectureHallScheduleInfo.tslectureHallScheduleResponse.tsprofessorResponse.tsprofessorScheduleInfo.tsprofessorScheduleResponse.tsscheduleResponse.ts
structs
23
src/shared/structs/dayOfWeek.ts
Normal file
23
src/shared/structs/dayOfWeek.ts
Normal file
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* MIREA Schedule Web API
|
||||
* This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team.
|
||||
*
|
||||
* OpenAPI spec version: 1.0
|
||||
* Contact: support@winsomnia.net
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
||||
|
||||
export const DayOfWeek = {
|
||||
NUMBER_0: 0 as DayOfWeek,
|
||||
NUMBER_1: 1 as DayOfWeek,
|
||||
NUMBER_2: 2 as DayOfWeek,
|
||||
NUMBER_3: 3 as DayOfWeek,
|
||||
NUMBER_4: 4 as DayOfWeek,
|
||||
NUMBER_5: 5 as DayOfWeek,
|
||||
NUMBER_6: 6 as DayOfWeek
|
||||
};
|
29
src/shared/structs/pairPeriodTime.ts
Normal file
29
src/shared/structs/pairPeriodTime.ts
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
* MIREA Schedule Web API
|
||||
* This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team.
|
||||
*
|
||||
* OpenAPI spec version: 1.0
|
||||
* Contact: support@winsomnia.net
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents a pair of time periods.
|
||||
*/
|
||||
export interface PairPeriodTime {
|
||||
/**
|
||||
* Gets or sets the start time of the period.
|
||||
*/
|
||||
start: string;
|
||||
/**
|
||||
* Gets or sets the end time of the period.
|
||||
*/
|
||||
end: string;
|
||||
}
|
||||
|
||||
export interface PeriodTimes {
|
||||
[key: string]: PairPeriodTime;
|
||||
}
|
Reference in New Issue
Block a user