@campxdev/shared 1.8.11 → 1.8.12

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.8.11",
3
+ "version": "1.8.12",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -234,6 +234,8 @@ export enum Permission {
234
234
  CAN_INTERNAL_MARKS_VIEW = 'can_internal_marks_view',
235
235
  CAN_INTERNAL_MARKS_ADD = 'can_internal_marks_add',
236
236
  CAN_INTERNAL_MARKS_EDIT = 'can_internal_marks_edit',
237
+ CAN_INTERNAL_MARKS_IMPORT = 'can_internal_marks_import',
238
+ CAN_INTERANL_MARKS_IMPORT_LMS = 'can_internal_marks_import_lms',
237
239
 
238
240
  // External Marks
239
241
  CAN_EXTERNAL_MARKS_VIEW = 'can_external_marks_view',
@@ -261,6 +263,13 @@ export enum Permission {
261
263
  CAN_TIME_SLOTS_ADD = 'can_time_slots_add',
262
264
  CAN_TIME_SLOTS_EDIT = 'can_time_slots_edit',
263
265
  CAN_TIME_SLOTS_DELETE = 'can_time_slots_delete',
266
+
267
+ // Grades
268
+
269
+ CAN_GRADES_ADD = 'can_grades_add',
270
+ CAN_GRADES_EDIT = 'can_grades_edit',
271
+ CAN_GRADES_DELETE = 'can_grades_delete',
272
+ CAN_GRADES_VIEW = 'can_grades_view',
264
273
  }
265
274
 
266
275
  export interface IPermissions {
@@ -358,6 +367,12 @@ export interface IPermissions {
358
367
  can_tasks_delete: boolean
359
368
  can_classroom_subject_attendance_edit: boolean
360
369
  can_classroom_subjects_view: boolean
370
+ can_internal_marks_import: boolean
371
+ can_internal_marks_import_lms: boolean
372
+ can_grades_add: boolean
373
+ can_grades_edit: boolean
374
+ can_grades_delete: boolean
375
+ can_grades_view: boolean
361
376
  }
362
377
 
363
378
  interface IPermissionsStore {