placementt-core 1.400.895 → 1.400.896
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
|
@@ -855,6 +855,12 @@ export type InstituteData = {
|
|
|
855
855
|
url: string;
|
|
856
856
|
};
|
|
857
857
|
};
|
|
858
|
+
yearGroupConfig?: {
|
|
859
|
+
field: string;
|
|
860
|
+
valueMap: {
|
|
861
|
+
[rawValue: string]: number;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
858
864
|
aspirationCycleConfig?: {
|
|
859
865
|
autoSend?: boolean;
|
|
860
866
|
scheduledSendMMDD?: string;
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -840,6 +840,14 @@ export type InstituteData = {
|
|
|
840
840
|
url: string
|
|
841
841
|
}
|
|
842
842
|
},
|
|
843
|
+
// YEAR GROUP MAPPING — student year groups are not standardised: the field
|
|
844
|
+
// may be details.yearGroup or details.year, and values vary ("10", "Year 10",
|
|
845
|
+
// "Y10"). Configured in Organisation → Overview; consumed by aspiration
|
|
846
|
+
// surveys (and anything else needing canonical year group numbers).
|
|
847
|
+
yearGroupConfig?: {
|
|
848
|
+
field: string, // studentsFields entry holding year group, e.g. "yearGroup"
|
|
849
|
+
valueMap: {[rawValue: string]: number}, // raw stored value → canonical year number, e.g. {"Year 10": 10}
|
|
850
|
+
},
|
|
843
851
|
// ASPIRATION CYCLE CONFIGURATION (Form A — annual student intent tracking)
|
|
844
852
|
aspirationCycleConfig?: {
|
|
845
853
|
autoSend?: boolean, // if true, cron fires each year on scheduledSendMMDD
|