placementt-core 1.400.911 → 1.400.913

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.
@@ -512,6 +512,7 @@ export type DataViewerFilterView = {
512
512
  search?: string;
513
513
  sort?: string;
514
514
  filters?: FilterObject;
515
+ columns?: string[];
515
516
  permanent?: boolean;
516
517
  };
517
518
  export type AnalyticsItem = {
@@ -921,6 +922,23 @@ export type InstituteData = {
921
922
  v: unknown;
922
923
  }[];
923
924
  };
925
+ cohortConfig?: {
926
+ [groupId: string]: {
927
+ name: string;
928
+ placementType: "defined" | "continuous";
929
+ workflow?: WorkflowStage[];
930
+ customWorkflow?: boolean;
931
+ autoCreate: boolean;
932
+ createMMDD: string;
933
+ autoAddFilter?: {
934
+ k: string;
935
+ e?: WhereFilterOp;
936
+ v: unknown;
937
+ }[];
938
+ feedback?: CohortData["feedback"];
939
+ feedbackText?: CohortData["feedbackText"];
940
+ };
941
+ };
924
942
  cs?: CustomerSuccessData;
925
943
  } & Address;
926
944
  export type ExternalActivity = {
@@ -1044,6 +1062,7 @@ export type CohortData = {
1044
1062
  oId: string;
1045
1063
  product: Products;
1046
1064
  schoolId?: string;
1065
+ groupId?: string;
1047
1066
  designatedStaff?: string;
1048
1067
  autoArchiveDate?: string;
1049
1068
  logType?: "basic" | "custom";
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.911",
5
+ "version": "1.400.913",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -503,6 +503,7 @@ export type DataViewerFilterView = {
503
503
  search?: string,
504
504
  sort?: string,
505
505
  filters?: FilterObject,
506
+ columns?: string[],
506
507
  permanent?: boolean,
507
508
  }
508
509
 
@@ -908,6 +909,24 @@ export type InstituteData = {
908
909
  e?: WhereFilterOp;
909
910
  v: unknown;
910
911
  }[],}
912
+ // RECURRING WORK EXPERIENCE GROUPS (templates that spawn a cohort instance each year)
913
+ cohortConfig?: {
914
+ [groupId: string]: {
915
+ name: string,
916
+ placementType: "defined"|"continuous",
917
+ workflow?: WorkflowStage[],
918
+ customWorkflow?: boolean,
919
+ autoCreate: boolean, // recurrence on; always true when created via setup
920
+ createMMDD: string, // "08-15" — annual creation trigger (mirrors aspirationCycleConfig.scheduledSendMMDD)
921
+ autoAddFilter?: { // same shape as a cohortFilters entry; copied to cohortFilters[newCohortId] on creation
922
+ k: string;
923
+ e?: WhereFilterOp;
924
+ v: unknown;
925
+ }[],
926
+ feedback?: CohortData["feedback"], // promoted feedback form config
927
+ feedbackText?: CohortData["feedbackText"],
928
+ }
929
+ },
911
930
  cs?: CustomerSuccessData,
912
931
  }&Address;
913
932
 
@@ -1043,6 +1062,7 @@ export type CohortData = {
1043
1062
  oId: string,
1044
1063
  product: Products,
1045
1064
  schoolId?: string,
1065
+ groupId?: string, // links this instance to its recurring template in InstituteData.cohortConfig
1046
1066
  designatedStaff?: string,
1047
1067
  autoArchiveDate?: string,
1048
1068
  logType?: "basic"|"custom",