placementt-core 1.400.1068 → 1.400.1069

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.
@@ -183,6 +183,12 @@ export type SurveyRequest = {
183
183
  /** Post-leaving contact address; where invites go once the school email dies. */
184
184
  personalEmail?: string;
185
185
  yearGroup?: string;
186
+ /** The cycle's scheduled send date, copied on. A person's requests are written as
187
+ * soon as their survey is provisioned (months before it sends), so "what is coming
188
+ * up for this pupil" is answerable from their own requests alone — no cycle read,
189
+ * which the pupil's own record has no access for. Kept in step by the roster
190
+ * reconcile, so an edited date is corrected rather than left behind. */
191
+ scheduledSendDate?: string;
186
192
  status: SurveyRequestStatus;
187
193
  completed: boolean;
188
194
  /** ISO — when the invite was emailed. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/surveys/types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAuBH,0FAA0F;AAC7E,QAAA,iBAAiB,GAAiB;IAC3C,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,iBAAiB,EAAE,eAAe;IAChG,oBAAoB,EAAE,iBAAiB;CAC1C,CAAC;AAmPF,uDAAuD;AAC1C,QAAA,mBAAmB,GAAuB,CAAC,aAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;AAExG;;;;;;;;GAQG;AACI,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,KAAa,EAAU,EAAE,CAC7E,GAAG,KAAK,IAAI,IAAA,uBAAe,EAAC,KAAK,CAAC,EAAE,CAAC;AAD5B,QAAA,cAAc,kBACc;AAEzC;;;;;;;;;;;GAWG;AACI,MAAM,eAAe,GAAG,CAAC,GAAW,EAAU,EAAE,CACnD,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAA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EAAE,SAAS;IACxB,eAAe,EAAE,SAAS;IAC1B,kBAAkB,EAAE,SAAS;IAC7B,eAAe,EAAE,UAAU;CAC9B,CAAC"}
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.1068",
5
+ "version": "1.400.1069",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -207,6 +207,12 @@ export type SurveyRequest = {
207
207
  /** Post-leaving contact address; where invites go once the school email dies. */
208
208
  personalEmail?: string,
209
209
  yearGroup?: string,
210
+ /** The cycle's scheduled send date, copied on. A person's requests are written as
211
+ * soon as their survey is provisioned (months before it sends), so "what is coming
212
+ * up for this pupil" is answerable from their own requests alone — no cycle read,
213
+ * which the pupil's own record has no access for. Kept in step by the roster
214
+ * reconcile, so an edited date is corrected rather than left behind. */
215
+ scheduledSendDate?: string,
210
216
  status: SurveyRequestStatus,
211
217
  completed: boolean,
212
218
  /** ISO — when the invite was emailed. */