@eliasrrosa/tutorhub-public-assets 0.4.0 → 0.5.0
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.
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { IDate } from "./Date";
|
|
2
|
-
import { ITime } from "./Time";
|
|
3
1
|
export interface IFreeDateTimeSlot {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
endTime: ITime;
|
|
2
|
+
startDateTime: Date;
|
|
3
|
+
endDateTime: Date;
|
|
7
4
|
userId: string;
|
|
8
5
|
}
|
|
9
6
|
export declare class FreeDateTimeSlot implements IFreeDateTimeSlot {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
endTime: ITime;
|
|
7
|
+
startDateTime: Date;
|
|
8
|
+
endDateTime: Date;
|
|
13
9
|
userId: string;
|
|
14
10
|
constructor(opts: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
endTime: ITime;
|
|
11
|
+
startDateTime: Date;
|
|
12
|
+
endDateTime: Date;
|
|
18
13
|
userId: string;
|
|
19
14
|
});
|
|
20
15
|
}
|
|
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FreeDateTimeSlot = void 0;
|
|
4
4
|
class FreeDateTimeSlot {
|
|
5
5
|
constructor(opts) {
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
8
|
-
this.endTime = opts.endTime;
|
|
6
|
+
this.startDateTime = opts.startDateTime;
|
|
7
|
+
this.endDateTime = opts.endDateTime;
|
|
9
8
|
this.userId = opts.userId;
|
|
10
9
|
}
|
|
11
10
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -594,9 +594,8 @@ var UserUnavailableTime = class {
|
|
|
594
594
|
// src/domain/entities/FreeTimeSlot.ts
|
|
595
595
|
var FreeDateTimeSlot = class {
|
|
596
596
|
constructor(opts) {
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
599
|
-
this.endTime = opts.endTime;
|
|
597
|
+
this.startDateTime = opts.startDateTime;
|
|
598
|
+
this.endDateTime = opts.endDateTime;
|
|
600
599
|
this.userId = opts.userId;
|
|
601
600
|
}
|
|
602
601
|
};
|
package/dist/index.js
CHANGED
|
@@ -556,9 +556,8 @@ var UserUnavailableTime = class {
|
|
|
556
556
|
// src/domain/entities/FreeTimeSlot.ts
|
|
557
557
|
var FreeDateTimeSlot = class {
|
|
558
558
|
constructor(opts) {
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
561
|
-
this.endTime = opts.endTime;
|
|
559
|
+
this.startDateTime = opts.startDateTime;
|
|
560
|
+
this.endDateTime = opts.endDateTime;
|
|
562
561
|
this.userId = opts.userId;
|
|
563
562
|
}
|
|
564
563
|
};
|