placementt-core 1.300.30 → 1.300.32

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.
@@ -92,6 +92,12 @@ export type StudentPlacementData = {
92
92
  [key: string]: unknown;
93
93
  };
94
94
  };
95
+ parent: {
96
+ completed: boolean;
97
+ data?: {
98
+ [key: string]: unknown;
99
+ };
100
+ };
95
101
  provider: {
96
102
  completed: boolean;
97
103
  data?: {
@@ -781,14 +787,17 @@ export type CohortData = {
781
787
  feedback?: {
782
788
  students?: string;
783
789
  staff?: string;
790
+ parent?: string;
784
791
  provider?: string;
785
792
  };
786
793
  feedbackText?: {
787
794
  students?: Descendant[];
788
795
  staff?: Descendant[];
796
+ parent?: Descendant[];
789
797
  provider?: Descendant[];
790
798
  };
791
799
  providerFeedbackSent?: Timestamp;
800
+ parentFeedbackSent?: Timestamp;
792
801
  studentsFeedbackSent?: Timestamp;
793
802
  emailTemplates?: {
794
803
  [key in keyof typeof emailTemplates]: string;
@@ -811,6 +820,28 @@ export type ArrowObject = {
811
820
  required?: boolean;
812
821
  screenX?: number;
813
822
  };
823
+ export type CohortAnalytics = {
824
+ students?: {
825
+ [key: string /** key is formID_fieldID */]: {
826
+ [key: string]: number;
827
+ }; /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
828
+ };
829
+ staff?: {
830
+ [key: string /** key is formID_fieldID */]: {
831
+ [key: string]: number;
832
+ }; /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
833
+ };
834
+ parent?: {
835
+ [key: string /** key is formID_fieldID */]: {
836
+ [key: string]: number;
837
+ }; /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
838
+ };
839
+ provider?: {
840
+ [key: string /** key is formID_fieldID */]: {
841
+ [key: string]: number;
842
+ }; /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
843
+ };
844
+ };
814
845
  export type PlacementReviewDetails = {
815
846
  activeDates: string[];
816
847
  studentForename: string;
@@ -887,7 +918,7 @@ export type PlacementReviewDetails = {
887
918
  }[] | string;
888
919
  feedbackText?: Descendant[];
889
920
  feedback: CustomFormSchema;
890
- providerFeedback?: {
921
+ feedbackData?: {
891
922
  [key: string]: unknown;
892
923
  };
893
924
  primaryColor?: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.300.30",
5
+ "version": "1.300.32",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -88,6 +88,10 @@ export type StudentPlacementData = {
88
88
  completed: boolean,
89
89
  data?: {[key: string]: unknown}
90
90
  },
91
+ parent: {
92
+ completed: boolean,
93
+ data?: {[key: string]: unknown}
94
+ },
91
95
  provider: {
92
96
  completed: boolean,
93
97
  data?: {[key: string]: unknown}
@@ -807,14 +811,17 @@ export type CohortData = {
807
811
  feedback?: {
808
812
  students?: string,
809
813
  staff?: string,
814
+ parent?: string,
810
815
  provider?: string,
811
816
  },
812
817
  feedbackText?: {
813
818
  students?: Descendant[],
814
819
  staff?: Descendant[],
820
+ parent?: Descendant[],
815
821
  provider?: Descendant[],
816
822
  },
817
823
  providerFeedbackSent?: Timestamp,
824
+ parentFeedbackSent?: Timestamp,
818
825
  studentsFeedbackSent?: Timestamp,
819
826
  emailTemplates?: {[key in keyof typeof emailTemplates]: string},
820
827
  skillsTargets?: string[],
@@ -837,6 +844,21 @@ export type ArrowObject = {
837
844
  screenX?: number,
838
845
  }
839
846
 
847
+ export type CohortAnalytics = { // Has same ID as cohort.
848
+ students?: {
849
+ [key: string/** key is formID_fieldID */] : {[key: string]: number} /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
850
+ },
851
+ staff?: {
852
+ [key: string/** key is formID_fieldID */] : {[key: string]: number} /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
853
+ },
854
+ parent?: {
855
+ [key: string/** key is formID_fieldID */] : {[key: string]: number} /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
856
+ },
857
+ provider?: {
858
+ [key: string/** key is formID_fieldID */] : {[key: string]: number} /**key is: number for rating; string for dropdown value, number for number value, boolean for checkbox, dbstring for date; */
859
+ },
860
+ }
861
+
840
862
 
841
863
  export type PlacementReviewDetails = {
842
864
  activeDates: string[],
@@ -897,7 +919,7 @@ export type PlacementReviewDetails = {
897
919
  dbsCheckData?: {[key: string]: unknown}[]|string,
898
920
  feedbackText?: Descendant[],
899
921
  feedback: CustomFormSchema,
900
- providerFeedback?: {[key: string]: unknown},
922
+ feedbackData?: {[key: string]: unknown},
901
923
  primaryColor?: string,
902
924
  primaryImage?: string,
903
925
  mapConsent?: boolean,