placementt-core 1.400.1110 → 1.400.1111

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.
@@ -1045,6 +1045,8 @@ export type EmployerField = {
1045
1045
  multiple?: boolean;
1046
1046
  required?: boolean;
1047
1047
  };
1048
+ /** The areas of the staff platform that each own part of the careers year. */
1049
+ export type CareersSetupArea = "development" | "destinations";
1048
1050
  export type InstituteData = {
1049
1051
  students: number;
1050
1052
  staff: number;
@@ -1163,7 +1165,14 @@ export type InstituteData = {
1163
1165
  };
1164
1166
  destinationsConfig?: DestinationsConfig;
1165
1167
  guidanceConfig?: GuidanceConfig;
1168
+ /** "Set up later" from the careers calendar's whole-year flow. Holds until the
1169
+ * next 1 September, so the year is offered again when it actually changes. */
1166
1170
  careersYearSetupDeferredAt?: string;
1171
+ /** The same, said from inside one area's own flow. Development's "later" is no
1172
+ * answer about Destinations, so each area keeps its own. */
1173
+ careersAreaSetupDeferredAt?: {
1174
+ [area in CareersSetupArea]?: string;
1175
+ };
1167
1176
  leaverDestinations?: {
1168
1177
  [id: string]: LeaverDestination;
1169
1178
  };
@@ -1 +1 @@
1
- {"version":3,"file":"typeDefinitions.js","sourceRoot":"","sources":["../src/typeDefinitions.ts"],"names":[],"mappings":";;;AAoiIA,sDASC;AAeD,oDAKC;AAaD,0CAEC;AA/nED;;;;;kFAKkF;AACrE,QAAA,qBAAqB,GAAG,SAAS,CAAC;AAClC,QAAA,iBAAiB,GAAG,OAAO,CAAC;AA2iEzC;yEACyE;AAC5D,QAAA,0BAA0B,GAA2C;IAC9E,gBAAgB,EAAE,2BAA2B;IAC7C,mBAAmB,EAAE,sBAAsB;IAC3C,cAAc,EAAE,iBAAiB;IACjC,kBAAkB,EAAE,qBAAqB;IACzC,UAAU,EAAE,oCAAoC;IAChD,aAAa,EAAE,yBAAyB;IACxC,aAAa,EAAE,wBAAwB;IACvC,KAAK,EAAE,OAAO;CACjB,CAAC;AAEW,QAAA,0BAA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,EAAE,OAAO;CACjB,CAAC;AAEW,QAAA,0BAA0B,GAA+C;IAClF,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,OAAO;CACjB,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,SAAsC;IACxE,QAAQ,SAAS,EAAE,CAAC;QACpB,KAAK,MAAM,CAAC,CAAC,OAAO,OAAO,CAAC;QAC5B,KAAK,OAAO,CAAC,CAAC,OAAO,OAAO,CAAC;QAC7B,KAAK,WAAW,CAAC;QACjB,KAAK,OAAO,CAAC;QACb,KAAK,OAAO,CAAC;QACb,OAAO,CAAC,CAAC,OAAO,UAAU,CAAC;IAC3B,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,oBAAoB,CAChC,IAAwC,EACxC,MAA6C;IAE7C,OAAO,IAAI,EAAE,WAAW,IAAI,MAAM,EAAE,YAAY,IAAI,KAAK,CAAC;AAC9D,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,eAAe,CAAC,KAA6D;IACzF,OAAO,GAAG,KAAK,CAAC,cAAc,IAAI,EAAE,IAAI,KAAK,CAAC,aAAa,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,CAAC;AAC/E,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.1110",
5
+ "version": "1.400.1111",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -1086,6 +1086,9 @@ export type EmployerField = {
1086
1086
  required?: boolean,
1087
1087
  }
1088
1088
 
1089
+ /** The areas of the staff platform that each own part of the careers year. */
1090
+ export type CareersSetupArea = "development"|"destinations";
1091
+
1089
1092
  export type InstituteData = {
1090
1093
  students: number,
1091
1094
  staff: number,
@@ -1193,7 +1196,12 @@ export type InstituteData = {
1193
1196
  },
1194
1197
  destinationsConfig?: DestinationsConfig,
1195
1198
  guidanceConfig?: GuidanceConfig,
1199
+ /** "Set up later" from the careers calendar's whole-year flow. Holds until the
1200
+ * next 1 September, so the year is offered again when it actually changes. */
1196
1201
  careersYearSetupDeferredAt?: string,
1202
+ /** The same, said from inside one area's own flow. Development's "later" is no
1203
+ * answer about Destinations, so each area keeps its own. */
1204
+ careersAreaSetupDeferredAt?: {[area in CareersSetupArea]?: string},
1197
1205
  leaverDestinations?: {[id: string]: LeaverDestination},
1198
1206
  trustPolicies?: {[feature in TrustPolicyFeature]?: TrustPolicy},
1199
1207
  studentTasks?: StudentTaskConfigMap,