@eliasrrosa/tutorhub-public-assets 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,7 @@ import { IFile } from "./File";
|
|
|
5
5
|
import { IGoogleCalendarEvent } from "./GoogleCalendarEvent";
|
|
6
6
|
import { IPayment } from "./Payment";
|
|
7
7
|
import { IRescheduleRequest } from "./RescheduleRequest";
|
|
8
|
+
import { ITime } from "./Time";
|
|
8
9
|
export interface IClass {
|
|
9
10
|
id: string;
|
|
10
11
|
groupId: string | null;
|
|
@@ -13,8 +14,8 @@ export interface IClass {
|
|
|
13
14
|
createdAt: Date | null;
|
|
14
15
|
updatedAt: Date | null;
|
|
15
16
|
date: IDate;
|
|
16
|
-
time:
|
|
17
|
-
endTime:
|
|
17
|
+
time: ITime;
|
|
18
|
+
endTime: ITime;
|
|
18
19
|
endDate: IDate | null;
|
|
19
20
|
courseId: string;
|
|
20
21
|
paymentId: string | null;
|
|
@@ -37,8 +38,8 @@ export declare class Class implements IClass {
|
|
|
37
38
|
createdAt: Date | null;
|
|
38
39
|
updatedAt: Date | null;
|
|
39
40
|
date: IDate;
|
|
40
|
-
time:
|
|
41
|
-
endTime:
|
|
41
|
+
time: ITime;
|
|
42
|
+
endTime: ITime;
|
|
42
43
|
endDate: IDate | null;
|
|
43
44
|
courseId: string;
|
|
44
45
|
paymentId: string | null;
|
|
@@ -60,8 +61,8 @@ export declare class Class implements IClass {
|
|
|
60
61
|
createdAt?: Date | null;
|
|
61
62
|
updatedAt?: Date | null;
|
|
62
63
|
date: IDate;
|
|
63
|
-
time:
|
|
64
|
-
endTime:
|
|
64
|
+
time: ITime;
|
|
65
|
+
endTime: ITime;
|
|
65
66
|
endDate?: IDate | null;
|
|
66
67
|
courseId: string;
|
|
67
68
|
paymentId?: string | null;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { IDate } from "./Date";
|
|
2
|
+
import { ITime } from "./Time";
|
|
2
3
|
export interface IFreeDateTimeSlot {
|
|
3
4
|
date: IDate;
|
|
4
|
-
startTime:
|
|
5
|
-
endTime:
|
|
5
|
+
startTime: ITime;
|
|
6
|
+
endTime: ITime;
|
|
6
7
|
userId: string;
|
|
7
8
|
}
|
|
8
9
|
export declare class FreeDateTimeSlot implements IFreeDateTimeSlot {
|
|
9
10
|
date: IDate;
|
|
10
|
-
startTime:
|
|
11
|
-
endTime:
|
|
11
|
+
startTime: ITime;
|
|
12
|
+
endTime: ITime;
|
|
12
13
|
userId: string;
|
|
13
14
|
constructor(opts: {
|
|
14
15
|
date: IDate;
|
|
15
|
-
startTime:
|
|
16
|
-
endTime:
|
|
16
|
+
startTime: ITime;
|
|
17
|
+
endTime: ITime;
|
|
17
18
|
userId: string;
|
|
18
19
|
});
|
|
19
20
|
}
|