@campxdev/shared 1.10.55 → 1.10.56

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.10.55",
3
+ "version": "1.10.56",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -92,7 +92,6 @@ export default function StepsHeader({
92
92
  useEffect(() => {
93
93
  setActiveStep(_activeStep)
94
94
  }, [_activeStep])
95
-
96
95
  return (
97
96
  <StyledStepsContainer sx={{ ...containerStyles }}>
98
97
  {steps?.map((item) => (
@@ -307,6 +307,12 @@ export enum SquarePermissions {
307
307
  CAN_FORM_BUILDER_EDIT = 'can_form_builder_edit',
308
308
  CAN_FORM_BUILDER_ADD = 'can_form_builder_add',
309
309
  CAN_FORM_BUILDER_DELETE = 'can_form_builder_delete',
310
+
311
+ // Surveys
312
+ CAN_SURVEYS_VIEW = 'can_surveys_view',
313
+ CAN_SURVEYS_EDIT = 'can_surveys_edit',
314
+ CAN_SURVEYS_ADD = 'can_surveys_add',
315
+ CAN_SURVEYS_DELETE = 'can_surveys_delete',
310
316
  }
311
317
 
312
318
  export enum EnrollPermissions {
@@ -772,6 +778,7 @@ export enum Permission {
772
778
  CAN_INSTITUTION_CONFIGURATION_EDIT = 'can_institution_configuration_edit',
773
779
 
774
780
  // Infrastructure
781
+ CAN_INFRASTRUCTURE_VIEW = 'can_infrastructure_view',
775
782
  CAN_INFRASTRUCTURE_BUILDINGS_ADD = 'can_infrastructure_buildings_add',
776
783
  CAN_INFRASTRUCTURE_BUILDINGS_EDIT = 'can_infrastructure_buildings_edit',
777
784
  CAN_INFRASTRUCTURE_BUILDINGS_VIEW = 'can_infrastructure_buildings_view',
@@ -897,6 +904,12 @@ export enum Permission {
897
904
  CAN_FORM_BUILDER_ADD = 'can_form_builder_add',
898
905
  CAN_FORM_BUILDER_DELETE = 'can_form_builder_delete',
899
906
 
907
+ // Surveys
908
+ CAN_SURVEYS_VIEW = 'can_surveys_view',
909
+ CAN_SURVEYS_EDIT = 'can_surveys_edit',
910
+ CAN_SURVEYS_ADD = 'can_surveys_add',
911
+ CAN_SURVEYS_DELETE = 'can_surveys_delete',
912
+
900
913
  // Enroll X
901
914
 
902
915
  // manage exams profile_permissions