@taprodev/skooly-shared-types 1.2.2 → 1.2.4
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/studentType.d.ts +45 -44
- package/dist/studentType.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/studentType.d.ts
CHANGED
|
@@ -1,71 +1,72 @@
|
|
|
1
1
|
import { Gender, Status } from "./commonTypes";
|
|
2
2
|
export interface Student {
|
|
3
|
-
id:
|
|
4
|
-
name:
|
|
5
|
-
age:
|
|
6
|
-
contactNumber:
|
|
7
|
-
address:
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
age: string;
|
|
6
|
+
contactNumber: string;
|
|
7
|
+
address: string;
|
|
8
8
|
status: Status;
|
|
9
|
-
email:
|
|
10
|
-
schoolName:
|
|
11
|
-
language:
|
|
9
|
+
email: string;
|
|
10
|
+
schoolName: string;
|
|
11
|
+
language: string;
|
|
12
12
|
bdate: Date;
|
|
13
13
|
gender: Gender;
|
|
14
|
-
nic?:
|
|
15
|
-
parentName:
|
|
16
|
-
parentContact:
|
|
17
|
-
parentEmail:
|
|
18
|
-
speacialNeeds:
|
|
19
|
-
userId?:
|
|
20
|
-
instituteId?:
|
|
21
|
-
instructorHasStudentId?:
|
|
14
|
+
nic?: string;
|
|
15
|
+
parentName: string;
|
|
16
|
+
parentContact: string;
|
|
17
|
+
parentEmail: string;
|
|
18
|
+
speacialNeeds: string;
|
|
19
|
+
userId?: string;
|
|
20
|
+
instituteId?: string;
|
|
21
|
+
instructorHasStudentId?: string;
|
|
22
22
|
createdAt: Date;
|
|
23
23
|
updatedAt: Date;
|
|
24
24
|
}
|
|
25
25
|
export interface StudentCreateRequestDTO {
|
|
26
|
-
name:
|
|
27
|
-
age:
|
|
28
|
-
contactNumber:
|
|
29
|
-
address:
|
|
30
|
-
email:
|
|
31
|
-
schoolName:
|
|
32
|
-
language:
|
|
26
|
+
name: string;
|
|
27
|
+
age: string;
|
|
28
|
+
contactNumber: string;
|
|
29
|
+
address: string;
|
|
30
|
+
email: string;
|
|
31
|
+
schoolName: string;
|
|
32
|
+
language: string;
|
|
33
33
|
bdate: Date;
|
|
34
34
|
gender: Gender;
|
|
35
|
-
nic?:
|
|
36
|
-
parentName:
|
|
37
|
-
parentContact:
|
|
38
|
-
parentEmail:
|
|
39
|
-
speacialNeeds:
|
|
35
|
+
nic?: string;
|
|
36
|
+
parentName: string;
|
|
37
|
+
parentContact: string;
|
|
38
|
+
parentEmail: string;
|
|
39
|
+
speacialNeeds: string;
|
|
40
|
+
password: string;
|
|
40
41
|
}
|
|
41
42
|
export interface StudentCreateResponseDTO {
|
|
42
|
-
id:
|
|
43
|
+
id: string;
|
|
43
44
|
}
|
|
44
45
|
export interface StudentUpdateRequestDTO {
|
|
45
|
-
name?:
|
|
46
|
-
age?:
|
|
47
|
-
contactNumber?:
|
|
48
|
-
address?:
|
|
46
|
+
name?: string;
|
|
47
|
+
age?: string;
|
|
48
|
+
contactNumber?: string;
|
|
49
|
+
address?: string;
|
|
49
50
|
status?: Status;
|
|
50
|
-
email?:
|
|
51
|
-
schoolName?:
|
|
52
|
-
language?:
|
|
51
|
+
email?: string;
|
|
52
|
+
schoolName?: string;
|
|
53
|
+
language?: string;
|
|
53
54
|
bdate?: Date;
|
|
54
55
|
gender?: Gender;
|
|
55
|
-
nic?:
|
|
56
|
-
parentName?:
|
|
57
|
-
parentContact?:
|
|
58
|
-
parentEmail?:
|
|
59
|
-
speacialNeeds?:
|
|
56
|
+
nic?: string;
|
|
57
|
+
parentName?: string;
|
|
58
|
+
parentContact?: string;
|
|
59
|
+
parentEmail?: string;
|
|
60
|
+
speacialNeeds?: string;
|
|
60
61
|
}
|
|
61
62
|
export interface StudentUpdateResponseDTO {
|
|
62
|
-
id:
|
|
63
|
+
id: string;
|
|
63
64
|
}
|
|
64
65
|
export interface StudentDeleteRequestDTO {
|
|
65
|
-
id:
|
|
66
|
+
id: string;
|
|
66
67
|
}
|
|
67
68
|
export interface StudentDeleteResponseDTO {
|
|
68
|
-
id:
|
|
69
|
+
id: string;
|
|
69
70
|
}
|
|
70
71
|
export interface StudentListResponseDTO {
|
|
71
72
|
student?: Student[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"studentType.d.ts","sourceRoot":"","sources":["../src/studentType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,IAAI,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,IAAI,C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