@campxdev/shared 1.8.10 → 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.10",
3
+ "version": "1.8.12",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -40,6 +40,12 @@ export enum Permission {
40
40
  ACADEMIC_CALENDAR_EVENT_EDIT = 'can_academic_calendar_event_edit',
41
41
  ACADEMIC_CALENDAR_EVENT_DELETE = 'can_academic_calendar_event_delete',
42
42
 
43
+ //Departments
44
+ CAN_DEPARTMENTS_VIEW = 'can_departments_view',
45
+ CAN_DEPARTMENTS_ADD = 'can_departments_add',
46
+ CAN_DEPARTMENTS_EDIT = 'can_departments_edit',
47
+ CAN_DEPARTMENTS_DELETE = 'can_departments_delete',
48
+
43
49
  //Designations
44
50
  DESIGNATIONS_ADD = 'can_designations_add',
45
51
  DESIGNATIONS_DELETE = 'can_designations_delete',
@@ -228,6 +234,8 @@ export enum Permission {
228
234
  CAN_INTERNAL_MARKS_VIEW = 'can_internal_marks_view',
229
235
  CAN_INTERNAL_MARKS_ADD = 'can_internal_marks_add',
230
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',
231
239
 
232
240
  // External Marks
233
241
  CAN_EXTERNAL_MARKS_VIEW = 'can_external_marks_view',
@@ -255,6 +263,13 @@ export enum Permission {
255
263
  CAN_TIME_SLOTS_ADD = 'can_time_slots_add',
256
264
  CAN_TIME_SLOTS_EDIT = 'can_time_slots_edit',
257
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',
258
273
  }
259
274
 
260
275
  export interface IPermissions {
@@ -283,6 +298,13 @@ export interface IPermissions {
283
298
  can_manage_semesters: boolean
284
299
  can_manage_curriculums: boolean
285
300
  can_manage_assessments: boolean
301
+
302
+ //department
303
+ can_departments_view: boolean
304
+ can_departments_add: boolean
305
+ can_departments_edit: boolean
306
+ can_departments_delete: boolean
307
+
286
308
  can_users_add: boolean
287
309
  can_users_edit: boolean
288
310
  can_users_delete: boolean
@@ -345,6 +367,12 @@ export interface IPermissions {
345
367
  can_tasks_delete: boolean
346
368
  can_classroom_subject_attendance_edit: boolean
347
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
348
376
  }
349
377
 
350
378
  interface IPermissionsStore {