placementt-core 1.400.928 → 1.400.929

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.
@@ -2860,6 +2860,8 @@ export type SkillAssessmentRequest = {
2860
2860
  title: string;
2861
2861
  description: string;
2862
2862
  oId: string;
2863
+ academicYear?: string;
2864
+ yearGroup?: number;
2863
2865
  sendTime?: string;
2864
2866
  students: string;
2865
2867
  requestParents?: boolean;
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.928",
5
+ "version": "1.400.929",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -2777,6 +2777,10 @@ export type SkillAssessmentRequest = {
2777
2777
  title: string,
2778
2778
  description: string,
2779
2779
  oId: string,
2780
+ // Additive grouping fields (mirrors AspirationCycle). Optional so existing
2781
+ // documents stay valid — legacy requests without them surface as "Ungrouped".
2782
+ academicYear?: string, // e.g. "2024-25", derived from sendTime/creation
2783
+ yearGroup?: number, // the single year group this request targets
2780
2784
  sendTime?: string,
2781
2785
  students: string // JSON stringify
2782
2786
  // {