placementt-core 1.400.949 → 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.
@@ -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;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.949",
5
+ "version": "1.400.950",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -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,