placementt-core 1.400.931 → 1.400.933

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.
@@ -2237,10 +2237,12 @@ export type LeaverRequest = Omit<AspirationRequest, "cycleId" | "response"> & {
2237
2237
  resultsCompleted?: boolean;
2238
2238
  resultsCompletedAt?: string;
2239
2239
  resultsResponse?: LeaverCheckpointResponse;
2240
+ resultsCompletedByStaff?: boolean;
2240
2241
  christmasStatus?: "pending" | "sent" | "completed" | "bounced";
2241
2242
  christmasCompleted?: boolean;
2242
2243
  christmasCompletedAt?: string;
2243
2244
  christmasResponse?: LeaverCheckpointResponse;
2245
+ christmasCompletedByStaff?: boolean;
2244
2246
  };
2245
2247
  export type Alumni = {
2246
2248
  forename: string;
@@ -2855,6 +2857,8 @@ export type SkillAssessment = {
2855
2857
  email: string;
2856
2858
  forename: string;
2857
2859
  surname: string;
2860
+ completedByStaff?: boolean;
2861
+ completedByStaffId?: string;
2858
2862
  };
2859
2863
  export type SkillAssessmentRequest = {
2860
2864
  dateCreated: Timestamp;
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.931",
5
+ "version": "1.400.933",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -2147,12 +2147,14 @@ export type LeaverRequest = Omit<AspirationRequest, "cycleId"|"response"> & {
2147
2147
  resultsCompleted?: boolean, // denormalised for compound queries
2148
2148
  resultsCompletedAt?: string,
2149
2149
  resultsResponse?: LeaverCheckpointResponse,
2150
+ resultsCompletedByStaff?: boolean, // true when a staff member submitted this checkpoint on the student's behalf
2150
2151
 
2151
2152
  // ── Checkpoint 3 — Christmas ──
2152
2153
  christmasStatus?: "pending"|"sent"|"completed"|"bounced",
2153
2154
  christmasCompleted?: boolean,
2154
2155
  christmasCompletedAt?: string,
2155
2156
  christmasResponse?: LeaverCheckpointResponse,
2157
+ christmasCompletedByStaff?: boolean, // true when a staff member submitted this checkpoint on the student's behalf
2156
2158
  }
2157
2159
 
2158
2160
  export type Alumni = {
@@ -2762,7 +2764,7 @@ export type SkillAssessment = {
2762
2764
  dateCompleted: Timestamp,
2763
2765
  uid: string,
2764
2766
  scores: {
2765
- [skill: string]: number,
2767
+ [skill: string]: number,
2766
2768
  },
2767
2769
  externalKey?: string,
2768
2770
  userType: "parents"|"employers"|"students",
@@ -2771,6 +2773,8 @@ export type SkillAssessment = {
2771
2773
  email: string,
2772
2774
  forename: string,
2773
2775
  surname: string,
2776
+ completedByStaff?: boolean, // true when a staff member submitted scores on the student's behalf
2777
+ completedByStaffId?: string, // uid of the staff member who submitted
2774
2778
  }
2775
2779
 
2776
2780
  export type SkillAssessmentRequest = {