placementt-core 1.400.914 → 1.400.916
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
|
@@ -1063,6 +1063,7 @@ export type CohortData = {
|
|
|
1063
1063
|
product: Products;
|
|
1064
1064
|
schoolId?: string;
|
|
1065
1065
|
groupId?: string;
|
|
1066
|
+
academicYear?: string;
|
|
1066
1067
|
designatedStaff?: string;
|
|
1067
1068
|
autoArchiveDate?: string;
|
|
1068
1069
|
logType?: "basic" | "custom";
|
|
@@ -2990,10 +2991,12 @@ export type LeaverGroup = {
|
|
|
2990
2991
|
resultsDay?: {
|
|
2991
2992
|
enabled: boolean;
|
|
2992
2993
|
sendAt: string;
|
|
2994
|
+
emailTemplateId?: string;
|
|
2993
2995
|
};
|
|
2994
2996
|
christmas?: {
|
|
2995
2997
|
enabled: boolean;
|
|
2996
2998
|
sendAt: string;
|
|
2999
|
+
emailTemplateId?: string;
|
|
2997
3000
|
};
|
|
2998
3001
|
};
|
|
2999
3002
|
/** Per-checkpoint lifecycle state, stamped by the cron / send-now callables. */
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -1063,6 +1063,7 @@ export type CohortData = {
|
|
|
1063
1063
|
product: Products,
|
|
1064
1064
|
schoolId?: string,
|
|
1065
1065
|
groupId?: string, // links this instance to its recurring template in InstituteData.cohortConfig
|
|
1066
|
+
academicYear?: string, // "YYYY/YY" cycle this instance belongs to (used to dedupe auto-creation)
|
|
1066
1067
|
designatedStaff?: string,
|
|
1067
1068
|
autoArchiveDate?: string,
|
|
1068
1069
|
logType?: "basic"|"custom",
|
|
@@ -2974,8 +2975,8 @@ export type LeaverGroup = {
|
|
|
2974
2975
|
|
|
2975
2976
|
/** Post-leaving checkpoint schedule. Absent = checkpoints disabled for this group. */
|
|
2976
2977
|
checkpointConfig?: {
|
|
2977
|
-
resultsDay?: {enabled: boolean, sendAt: string}, // ISO datetime
|
|
2978
|
-
christmas?: {enabled: boolean, sendAt: string},
|
|
2978
|
+
resultsDay?: {enabled: boolean, sendAt: string, emailTemplateId?: string}, // ISO datetime
|
|
2979
|
+
christmas?: {enabled: boolean, sendAt: string, emailTemplateId?: string},
|
|
2979
2980
|
},
|
|
2980
2981
|
/** Per-checkpoint lifecycle state, stamped by the cron / send-now callables. */
|
|
2981
2982
|
checkpointState?: {
|