@eliasrrosa/tutorhub-public-assets 0.0.3 → 0.0.5
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.
- package/dist/domain/entities/AsaasCustomer.js +5 -1
- package/dist/domain/entities/Class.js +5 -1
- package/dist/domain/entities/ClassRequest.js +2 -1
- package/dist/domain/entities/Contract.js +2 -1
- package/dist/domain/entities/Course.js +2 -1
- package/dist/domain/entities/CourseToSchoolConnectionRequest.js +2 -1
- package/dist/domain/entities/Date.js +2 -1
- package/dist/domain/entities/DateTimeSlot.js +2 -1
- package/dist/domain/entities/DateValidator.js +2 -1
- package/dist/domain/entities/File.js +2 -1
- package/dist/domain/entities/FreeTimeSlot.js +5 -1
- package/dist/domain/entities/GenericNotification.js +2 -1
- package/dist/domain/entities/GoogleAuth.js +2 -1
- package/dist/domain/entities/GoogleCalendar.js +2 -1
- package/dist/domain/entities/GoogleCalendarEvent.js +2 -1
- package/dist/domain/entities/ISO8601Date.js +7 -3
- package/dist/domain/entities/ISO8601Date.test.js +35 -33
- package/dist/domain/entities/ISO8601DateTime.js +5 -1
- package/dist/domain/entities/ISO8601DateTime.test.js +53 -51
- package/dist/domain/entities/ISO8601DateValidator.js +5 -1
- package/dist/domain/entities/ISO8601DateValidator.test.js +5 -3
- package/dist/domain/entities/ISO8601Time.js +7 -3
- package/dist/domain/entities/ISO8601Time.test.js +14 -12
- package/dist/domain/entities/ISO8601TimeValidator.js +5 -1
- package/dist/domain/entities/ISO8601TimeValidator.test.js +4 -2
- package/dist/domain/entities/PasswordRecovery.js +2 -1
- package/dist/domain/entities/Payment.js +2 -1
- package/dist/domain/entities/PaymentRecognitionRequest.js +2 -1
- package/dist/domain/entities/PreApprovedUser.js +2 -1
- package/dist/domain/entities/RescheduleRequest.js +2 -1
- package/dist/domain/entities/School.js +2 -1
- package/dist/domain/entities/SchoolConnection.js +2 -1
- package/dist/domain/entities/SchoolConnectionRequest.js +2 -1
- package/dist/domain/entities/SchoolStudent.js +2 -1
- package/dist/domain/entities/SchoolTeacher.js +2 -1
- package/dist/domain/entities/Time.js +2 -1
- package/dist/domain/entities/TimeSlot.js +2 -1
- package/dist/domain/entities/TimeValidator.js +2 -1
- package/dist/domain/entities/UnauthorizedUser.js +2 -1
- package/dist/domain/entities/UserAuth.js +2 -1
- package/dist/domain/entities/UserConnection.js +2 -1
- package/dist/domain/entities/UserConnectionRequest.js +2 -1
- package/dist/domain/entities/UserCredentials.js +5 -1
- package/dist/domain/entities/UserNavigation.js +2 -1
- package/dist/domain/entities/UserPreferences.js +2 -1
- package/dist/domain/entities/UserPremium.js +2 -1
- package/dist/domain/entities/UserProfile.js +2 -1
- package/dist/domain/entities/UserRoles.js +2 -1
- package/dist/domain/entities/UserSharedFileTimestamps.js +2 -1
- package/dist/domain/entities/UserUnavailableTime.js +5 -1
- package/dist/domain/entities/UserUnavailableTime.test.js +6 -4
- package/dist/domain/repositories/UnavailableTimeRepository.js +2 -1
- package/dist/index.cjs +341 -0
- package/dist/index.d.ts +47 -47
- package/dist/index.js +21 -10
- package/dist/restful/responses/GetFixedAvailableTimesResponseBody.js +2 -1
- package/package.json +9 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { AsaasCustomer } from "./domain/entities/AsaasCustomer";
|
|
2
|
-
import { Class, IClass } from "./domain/entities/Class";
|
|
3
|
-
import { IClassRequest } from "./domain/entities/ClassRequest";
|
|
4
|
-
import { IContract } from "./domain/entities/Contract";
|
|
5
|
-
import { ICourse } from "./domain/entities/Course";
|
|
6
|
-
import { ICourseToSchoolConnectionRequest } from "./domain/entities/CourseToSchoolConnectionRequest";
|
|
7
|
-
import { IDate } from "./domain/entities/Date";
|
|
8
|
-
import { IDateTimeSlot } from "./domain/entities/DateTimeSlot";
|
|
9
|
-
import { IDateValidator } from "./domain/entities/DateValidator";
|
|
10
|
-
import { IFile } from "./domain/entities/File";
|
|
11
|
-
import { IGenericNotification } from "./domain/entities/GenericNotification";
|
|
12
|
-
import { IGoogleAuth } from "./domain/entities/GoogleAuth";
|
|
13
|
-
import { IGoogleCalendar } from "./domain/entities/GoogleCalendar";
|
|
14
|
-
import { IGoogleCalendarEvent } from "./domain/entities/GoogleCalendarEvent";
|
|
15
|
-
import { ISO8601Date } from "./domain/entities/ISO8601Date";
|
|
16
|
-
import { IDateTime, ISO8601DateTime } from "./domain/entities/ISO8601DateTime";
|
|
17
|
-
import { ISO8601DateValidator } from "./domain/entities/ISO8601DateValidator";
|
|
18
|
-
import { ISO8601Time } from "./domain/entities/ISO8601Time";
|
|
19
|
-
import { ISO8601TimeValidator } from "./domain/entities/ISO8601TimeValidator";
|
|
20
|
-
import { IPasswordRecovery } from "./domain/entities/PasswordRecovery";
|
|
21
|
-
import { IPayment } from "./domain/entities/Payment";
|
|
22
|
-
import { IPaymentRecognitionRequest } from "./domain/entities/PaymentRecognitionRequest";
|
|
23
|
-
import { IPreApprovedUser } from "./domain/entities/PreApprovedUser";
|
|
24
|
-
import { IRescheduleRequest } from "./domain/entities/RescheduleRequest";
|
|
25
|
-
import { ISchool } from "./domain/entities/School";
|
|
26
|
-
import { ISchoolConnection } from "./domain/entities/SchoolConnection";
|
|
27
|
-
import { ISchoolConnectionRequest } from "./domain/entities/SchoolConnectionRequest";
|
|
28
|
-
import { ISchoolStudent } from "./domain/entities/SchoolStudent";
|
|
29
|
-
import { ISchoolTeacher } from "./domain/entities/SchoolTeacher";
|
|
30
|
-
import { ITime } from "./domain/entities/Time";
|
|
31
|
-
import { ITimeSlot } from "./domain/entities/TimeSlot";
|
|
32
|
-
import { ITimeValidator } from "./domain/entities/TimeValidator";
|
|
33
|
-
import { IUnauthorizedUser } from "./domain/entities/UnauthorizedUser";
|
|
34
|
-
import { IUserAuth } from "./domain/entities/UserAuth";
|
|
35
|
-
import { IUserConnection } from "./domain/entities/UserConnection";
|
|
36
|
-
import { IUserConnectionRequest } from "./domain/entities/UserConnectionRequest";
|
|
37
|
-
import { IUserCredentials } from "./domain/entities/UserCredentials";
|
|
38
|
-
import { IUserNavigation } from "./domain/entities/UserNavigation";
|
|
39
|
-
import { IUserPreferences } from "./domain/entities/UserPreferences";
|
|
40
|
-
import { IUserPremium } from "./domain/entities/UserPremium";
|
|
41
|
-
import { IUserProfile } from "./domain/entities/UserProfile";
|
|
42
|
-
import { IUserRoles } from "./domain/entities/UserRoles";
|
|
43
|
-
import { IUserSharedFileTimestamps } from "./domain/entities/UserSharedFileTimestamps";
|
|
44
|
-
import { IUnavailableTimeRepository } from "./domain/repositories/UnavailableTimeRepository";
|
|
45
|
-
import { GetFixedAvailableTimeResponseBody } from "./restful/responses/GetFixedAvailableTimesResponseBody";
|
|
46
|
-
import { IUserUnavailableTime, UserUnavailableTime } from "./domain/entities/UserUnavailableTime";
|
|
47
|
-
import { IFreeDateTimeSlot, FreeDateTimeSlot } from "./domain/entities/FreeTimeSlot";
|
|
1
|
+
import { AsaasCustomer } from "./domain/entities/AsaasCustomer.js";
|
|
2
|
+
import { Class, IClass } from "./domain/entities/Class.js";
|
|
3
|
+
import { IClassRequest } from "./domain/entities/ClassRequest.js";
|
|
4
|
+
import { IContract } from "./domain/entities/Contract.js";
|
|
5
|
+
import { ICourse } from "./domain/entities/Course.js";
|
|
6
|
+
import { ICourseToSchoolConnectionRequest } from "./domain/entities/CourseToSchoolConnectionRequest.js";
|
|
7
|
+
import { IDate } from "./domain/entities/Date.js";
|
|
8
|
+
import { IDateTimeSlot } from "./domain/entities/DateTimeSlot.js";
|
|
9
|
+
import { IDateValidator } from "./domain/entities/DateValidator.js";
|
|
10
|
+
import { IFile } from "./domain/entities/File.js";
|
|
11
|
+
import { IGenericNotification } from "./domain/entities/GenericNotification.js";
|
|
12
|
+
import { IGoogleAuth } from "./domain/entities/GoogleAuth.js";
|
|
13
|
+
import { IGoogleCalendar } from "./domain/entities/GoogleCalendar.js";
|
|
14
|
+
import { IGoogleCalendarEvent } from "./domain/entities/GoogleCalendarEvent.js";
|
|
15
|
+
import { ISO8601Date } from "./domain/entities/ISO8601Date.js";
|
|
16
|
+
import { IDateTime, ISO8601DateTime } from "./domain/entities/ISO8601DateTime.js";
|
|
17
|
+
import { ISO8601DateValidator } from "./domain/entities/ISO8601DateValidator.js";
|
|
18
|
+
import { ISO8601Time } from "./domain/entities/ISO8601Time.js";
|
|
19
|
+
import { ISO8601TimeValidator } from "./domain/entities/ISO8601TimeValidator.js";
|
|
20
|
+
import { IPasswordRecovery } from "./domain/entities/PasswordRecovery.js";
|
|
21
|
+
import { IPayment } from "./domain/entities/Payment.js";
|
|
22
|
+
import { IPaymentRecognitionRequest } from "./domain/entities/PaymentRecognitionRequest.js";
|
|
23
|
+
import { IPreApprovedUser } from "./domain/entities/PreApprovedUser.js";
|
|
24
|
+
import { IRescheduleRequest } from "./domain/entities/RescheduleRequest.js";
|
|
25
|
+
import { ISchool } from "./domain/entities/School.js";
|
|
26
|
+
import { ISchoolConnection } from "./domain/entities/SchoolConnection.js";
|
|
27
|
+
import { ISchoolConnectionRequest } from "./domain/entities/SchoolConnectionRequest.js";
|
|
28
|
+
import { ISchoolStudent } from "./domain/entities/SchoolStudent.js";
|
|
29
|
+
import { ISchoolTeacher } from "./domain/entities/SchoolTeacher.js";
|
|
30
|
+
import { ITime } from "./domain/entities/Time.js";
|
|
31
|
+
import { ITimeSlot } from "./domain/entities/TimeSlot.js";
|
|
32
|
+
import { ITimeValidator } from "./domain/entities/TimeValidator.js";
|
|
33
|
+
import { IUnauthorizedUser } from "./domain/entities/UnauthorizedUser.js";
|
|
34
|
+
import { IUserAuth } from "./domain/entities/UserAuth.js";
|
|
35
|
+
import { IUserConnection } from "./domain/entities/UserConnection.js";
|
|
36
|
+
import { IUserConnectionRequest } from "./domain/entities/UserConnectionRequest.js";
|
|
37
|
+
import { IUserCredentials } from "./domain/entities/UserCredentials.js";
|
|
38
|
+
import { IUserNavigation } from "./domain/entities/UserNavigation.js";
|
|
39
|
+
import { IUserPreferences } from "./domain/entities/UserPreferences.js";
|
|
40
|
+
import { IUserPremium } from "./domain/entities/UserPremium.js";
|
|
41
|
+
import { IUserProfile } from "./domain/entities/UserProfile.js";
|
|
42
|
+
import { IUserRoles } from "./domain/entities/UserRoles.js";
|
|
43
|
+
import { IUserSharedFileTimestamps } from "./domain/entities/UserSharedFileTimestamps.js";
|
|
44
|
+
import { IUnavailableTimeRepository } from "./domain/repositories/UnavailableTimeRepository.js";
|
|
45
|
+
import { GetFixedAvailableTimeResponseBody } from "./restful/responses/GetFixedAvailableTimesResponseBody.js";
|
|
46
|
+
import { IUserUnavailableTime, UserUnavailableTime } from "./domain/entities/UserUnavailableTime.js";
|
|
47
|
+
import { IFreeDateTimeSlot, FreeDateTimeSlot } from "./domain/entities/FreeTimeSlot.js";
|
|
48
48
|
export { AsaasCustomer, Class, IClass, IClassRequest, IContract, ICourse, ICourseToSchoolConnectionRequest, IDate, IDateTimeSlot, IFreeDateTimeSlot, FreeDateTimeSlot, IUserUnavailableTime, UserUnavailableTime, IDateValidator, IFile, IGenericNotification, IGoogleAuth, IGoogleCalendar, IGoogleCalendarEvent, ISO8601Date, IDateTime, ISO8601DateValidator, ISO8601Time, ISO8601TimeValidator, IPasswordRecovery, IPayment, IPaymentRecognitionRequest, IPreApprovedUser, IRescheduleRequest, ISchool, ISchoolConnection, ISchoolConnectionRequest, ISchoolStudent, ISchoolTeacher, ITime, ITimeSlot, ITimeValidator, IUnauthorizedUser, IUserAuth, IUserConnection, IUserConnectionRequest, IUserCredentials, IUserNavigation, IUserPreferences, IUserPremium, IUserProfile, IUserRoles, IUserSharedFileTimestamps, IUnavailableTimeRepository, GetFixedAvailableTimeResponseBody, ISO8601DateTime };
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ISO8601DateTime = exports.ISO8601TimeValidator = exports.ISO8601Time = exports.ISO8601DateValidator = exports.ISO8601Date = exports.UserUnavailableTime = exports.FreeDateTimeSlot = exports.Class = exports.AsaasCustomer = void 0;
|
|
4
|
+
const AsaasCustomer_js_1 = require("./domain/entities/AsaasCustomer.js");
|
|
5
|
+
Object.defineProperty(exports, "AsaasCustomer", { enumerable: true, get: function () { return AsaasCustomer_js_1.AsaasCustomer; } });
|
|
6
|
+
const Class_js_1 = require("./domain/entities/Class.js");
|
|
7
|
+
Object.defineProperty(exports, "Class", { enumerable: true, get: function () { return Class_js_1.Class; } });
|
|
8
|
+
const ISO8601Date_js_1 = require("./domain/entities/ISO8601Date.js");
|
|
9
|
+
Object.defineProperty(exports, "ISO8601Date", { enumerable: true, get: function () { return ISO8601Date_js_1.ISO8601Date; } });
|
|
10
|
+
const ISO8601DateTime_js_1 = require("./domain/entities/ISO8601DateTime.js");
|
|
11
|
+
Object.defineProperty(exports, "ISO8601DateTime", { enumerable: true, get: function () { return ISO8601DateTime_js_1.ISO8601DateTime; } });
|
|
12
|
+
const ISO8601DateValidator_js_1 = require("./domain/entities/ISO8601DateValidator.js");
|
|
13
|
+
Object.defineProperty(exports, "ISO8601DateValidator", { enumerable: true, get: function () { return ISO8601DateValidator_js_1.ISO8601DateValidator; } });
|
|
14
|
+
const ISO8601Time_js_1 = require("./domain/entities/ISO8601Time.js");
|
|
15
|
+
Object.defineProperty(exports, "ISO8601Time", { enumerable: true, get: function () { return ISO8601Time_js_1.ISO8601Time; } });
|
|
16
|
+
const ISO8601TimeValidator_js_1 = require("./domain/entities/ISO8601TimeValidator.js");
|
|
17
|
+
Object.defineProperty(exports, "ISO8601TimeValidator", { enumerable: true, get: function () { return ISO8601TimeValidator_js_1.ISO8601TimeValidator; } });
|
|
18
|
+
const UserUnavailableTime_js_1 = require("./domain/entities/UserUnavailableTime.js");
|
|
19
|
+
Object.defineProperty(exports, "UserUnavailableTime", { enumerable: true, get: function () { return UserUnavailableTime_js_1.UserUnavailableTime; } });
|
|
20
|
+
const FreeTimeSlot_js_1 = require("./domain/entities/FreeTimeSlot.js");
|
|
21
|
+
Object.defineProperty(exports, "FreeDateTimeSlot", { enumerable: true, get: function () { return FreeTimeSlot_js_1.FreeDateTimeSlot; } });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eliasrrosa/tutorhub-public-assets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Assets, mainly interfaces, to be shared among different Tutorhub apps.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/index.
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
7
8
|
"exports": {
|
|
8
9
|
".": {
|
|
9
10
|
"import": "./dist/index.js",
|
|
10
|
-
"
|
|
11
|
+
"require": "./dist/index.cjs",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.cjs"
|
|
11
14
|
}
|
|
12
15
|
},
|
|
13
16
|
"files": [
|
|
14
17
|
"dist"
|
|
15
18
|
],
|
|
16
19
|
"scripts": {
|
|
17
|
-
"test": "npx jest --watch --passWithNoTests "
|
|
20
|
+
"test": "npx jest --watch --passWithNoTests ",
|
|
21
|
+
"build": "tsup src/index.ts --format esm,cjs && tsc"
|
|
18
22
|
},
|
|
19
23
|
"repository": {
|
|
20
24
|
"type": "git",
|
|
@@ -34,6 +38,7 @@
|
|
|
34
38
|
"@types/jest": "^29.5.14",
|
|
35
39
|
"jest": "^29.7.0",
|
|
36
40
|
"ts-jest": "^29.3.2",
|
|
41
|
+
"tsup": "^8.4.0",
|
|
37
42
|
"typescript": "^5.8.3"
|
|
38
43
|
}
|
|
39
44
|
}
|