refactor: adapt models to the new api
This commit is contained in:
@ -1,23 +1,9 @@
|
||||
/**
|
||||
* 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
|
||||
};
|
||||
export enum DayOfWeek {
|
||||
Sunday,
|
||||
Monday,
|
||||
Tuesday,
|
||||
Wednesday,
|
||||
Thursday,
|
||||
Friday,
|
||||
Saturday
|
||||
}
|
||||
|
@ -1,29 +1,4 @@
|
||||
/**
|
||||
* 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