placementt-core 1.400.948 → 1.400.950
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/lib/typeDefinitions.d.ts
CHANGED
|
@@ -87,8 +87,9 @@ export type StudentPlacementData = {
|
|
|
87
87
|
placementId?: string;
|
|
88
88
|
providerContactId?: string;
|
|
89
89
|
geoHash?: string;
|
|
90
|
-
statusType: "draft" | "submitted" | "active" | "completed" | "withdrawn" | "requested" | "rejected";
|
|
90
|
+
statusType: "draft" | "submitted" | "active" | "completed" | "withdrawn" | "requested" | "rejected" | "inSchool";
|
|
91
91
|
rejectedReason?: string;
|
|
92
|
+
inSchool?: boolean;
|
|
92
93
|
questions: PlacementQuestions;
|
|
93
94
|
staffRoles: string[];
|
|
94
95
|
sector: string;
|
|
@@ -1107,6 +1108,7 @@ export type CohortData = {
|
|
|
1107
1108
|
listingReleaseDate?: string;
|
|
1108
1109
|
enableListings?: boolean;
|
|
1109
1110
|
shareEmployerFeedback?: boolean;
|
|
1111
|
+
studentsInSchool?: string[];
|
|
1110
1112
|
logs?: {
|
|
1111
1113
|
students?: string;
|
|
1112
1114
|
staff?: string;
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -75,8 +75,13 @@ export type StudentPlacementData = {
|
|
|
75
75
|
placementId?: string,
|
|
76
76
|
providerContactId?: string,
|
|
77
77
|
geoHash?: string,
|
|
78
|
-
statusType: "draft"|"submitted"|"active"|"completed"|"withdrawn"|"requested"|"rejected",
|
|
78
|
+
statusType: "draft"|"submitted"|"active"|"completed"|"withdrawn"|"requested"|"rejected"|"inSchool",
|
|
79
79
|
rejectedReason?: string;
|
|
80
|
+
// Marks a "dummy" placement created when a student is kept in school for
|
|
81
|
+
// work experience. Sits entirely outside the workflow: no provider,
|
|
82
|
+
// no working hours, no stage processing. Used only so the student is not
|
|
83
|
+
// counted as having no placement.
|
|
84
|
+
inSchool?: boolean;
|
|
80
85
|
questions: PlacementQuestions,
|
|
81
86
|
staffRoles: string[],
|
|
82
87
|
sector: string,
|
|
@@ -1117,6 +1122,7 @@ export type CohortData = {
|
|
|
1117
1122
|
listingReleaseDate?: string,
|
|
1118
1123
|
enableListings?: boolean,
|
|
1119
1124
|
shareEmployerFeedback?: boolean,
|
|
1125
|
+
studentsInSchool?: string[],
|
|
1120
1126
|
logs?: {
|
|
1121
1127
|
students?: string,
|
|
1122
1128
|
staff?: string,
|