@free-drivers-ed-california/types 0.0.24 → 0.0.27
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/interfaces/student/create-student-request.interface.d.ts +3 -1
- package/dist/interfaces/student/create-student-request.interface.d.ts.map +1 -1
- package/dist/interfaces/student/create-student-response.interface.d.ts +2 -4
- package/dist/interfaces/student/create-student-response.interface.d.ts.map +1 -1
- package/dist/interfaces/student/get-all-students-response.interface.d.ts +3 -2
- package/dist/interfaces/student/get-all-students-response.interface.d.ts.map +1 -1
- package/dist/interfaces/student/get-student-response.interface.d.ts +3 -2
- package/dist/interfaces/student/get-student-response.interface.d.ts.map +1 -1
- package/dist/interfaces/student/index.d.ts +1 -0
- package/dist/interfaces/student/index.d.ts.map +1 -1
- package/dist/interfaces/student/index.js +1 -0
- package/dist/interfaces/student/student-user.interface.d.ts +5 -0
- package/dist/interfaces/student/student-user.interface.d.ts.map +1 -0
- package/dist/interfaces/student/student-user.interface.js +0 -0
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Address } from "../generics";
|
|
2
|
+
import { UserRoles } from "../../enums";
|
|
2
3
|
export interface CreateStudentRequest {
|
|
3
|
-
userId: number;
|
|
4
4
|
firstName: string;
|
|
5
5
|
lastName: string;
|
|
6
6
|
email: string;
|
|
7
|
+
passwordHash: string;
|
|
8
|
+
role: UserRoles;
|
|
7
9
|
phone: string;
|
|
8
10
|
dateOfBirth: string;
|
|
9
11
|
address: Address;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-student-request.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/create-student-request.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"create-student-request.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/create-student-request.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,oBAAoB;IAEjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { BaseResponse } from "../generics";
|
|
2
|
-
import {
|
|
3
|
-
import { Student } from "./student.interface";
|
|
2
|
+
import { StudentUser } from "./student-user.interface";
|
|
4
3
|
export interface CreateStudentResponse extends BaseResponse {
|
|
5
|
-
|
|
6
|
-
student: Student;
|
|
4
|
+
student: StudentUser;
|
|
7
5
|
}
|
|
8
6
|
//# sourceMappingURL=create-student-response.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-student-response.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/create-student-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"create-student-response.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/create-student-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACvD,OAAO,EAAE,WAAW,CAAC;CACxB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { BaseResponse
|
|
1
|
+
import { BaseResponse } from "../generics";
|
|
2
|
+
import { StudentUser } from "./student-user.interface";
|
|
2
3
|
export interface GetAllStudentsResponse extends BaseResponse {
|
|
3
|
-
students:
|
|
4
|
+
students: StudentUser[];
|
|
4
5
|
total: number;
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=get-all-students-response.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-students-response.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/get-all-students-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"get-all-students-response.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/get-all-students-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IACxD,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BaseResponse
|
|
1
|
+
import { BaseResponse } from "../generics";
|
|
2
|
+
import { StudentUser } from "./student-user.interface";
|
|
2
3
|
export interface GetStudentResponse extends BaseResponse {
|
|
3
|
-
student:
|
|
4
|
+
student: StudentUser;
|
|
4
5
|
}
|
|
5
6
|
//# sourceMappingURL=get-student-response.interface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-student-response.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/get-student-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"get-student-response.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/get-student-response.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,MAAM,WAAW,kBAAmB,SAAQ,YAAY;IACpD,OAAO,EAAE,WAAW,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-user.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/student/student-user.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAC,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,IAAI,EAAE,OAAO;CACjD"}
|
|
File without changes
|