export const UserTypes = {
    SUPER_ADMIN:        'super_admin',
    PUNONG_BARANGAY:    'punong_barangay',
    KAGAWAD:            'kagawad',
    SECRETARY:          'secretary',
    TREASURER:          'treasurer',
    SK_CHAIRPERSON:     'sk_chairperson',
    SK_COUNCILOR:       'sk_councilor',
    TANOD:              'tanod',
    BHW:                'bhw',
    DAYCARE_WORKER:     'daycare_worker',
    STAFF:              'staff',
    RESIDENT:           'resident',
    AUDIT:              'audit',
    ANY_USER:           'default',
    PUBLIC:             'public',
};

export const UserTypeLabels = {
    [UserTypes.SUPER_ADMIN]:     'System Administrator',
    [UserTypes.PUNONG_BARANGAY]: 'Punong Barangay',
    [UserTypes.KAGAWAD]:         'Barangay Kagawad',
    [UserTypes.SECRETARY]:       'Barangay Secretary',
    [UserTypes.TREASURER]:       'Barangay Treasurer',
    [UserTypes.SK_CHAIRPERSON]:  'SK Chairperson',
    [UserTypes.SK_COUNCILOR]:    'SK Councilor',
    [UserTypes.TANOD]:           'Barangay Tanod',
    [UserTypes.BHW]:             'Barangay Health Worker',
    [UserTypes.DAYCARE_WORKER]:  'Daycare Worker',
    [UserTypes.STAFF]:           'Staff',
    [UserTypes.RESIDENT]:        'Resident',
    [UserTypes.AUDIT]:           'Auditor',
    [UserTypes.PUBLIC]:          'Public / Guest',
};

export const ADMIN_ROLES = [
    UserTypes.SUPER_ADMIN,
    UserTypes.PUNONG_BARANGAY,
    UserTypes.SECRETARY,
    UserTypes.TREASURER,
    UserTypes.KAGAWAD,
];

export const STAFF_ROLES = [
    ...ADMIN_ROLES,
    UserTypes.SK_CHAIRPERSON,
    UserTypes.SK_COUNCILOR,
    UserTypes.TANOD,
    UserTypes.BHW,
    UserTypes.DAYCARE_WORKER,
    UserTypes.STAFF,
];
