Skip to content

Commit

Permalink
Cyberleague: [premieroctet#159] Add consts for enoughScores
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-Wappizy committed Oct 15, 2024
1 parent 364453f commit 75a33ea
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion backend/web/server/plugins/cyberleague/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,14 @@ const BENCHMARK_FIELDS_10 = [ 'admin', 'antivirus', 'cyberRef']

const BENCHMARK_FIELDS_5 = ['sensibilization', 'insurance', 'externalized', 'financial']

const ENOUGH_SCORES_YES = `ENOUGH_SCORES_YES`
const ENOUGH_SCORES_NO = `ENOUGH_SCORES_NO`

const ENOUGH_SCORES = {
[ENOUGH_SCORES_YES]: `Nombre de diags suffisant`,
[ENOUGH_SCORES_NO]: `Nombre de diags insuffisant`
}

module.exports = {
DISC_ADMIN, DISC_MEMBER, DISC_PARTNER, DISCRIMINATOR_KEY,
ROLES, ROLE_ADMIN, ROLE_MEMBER, ROLE_PARTNER,
Expand All @@ -391,5 +399,5 @@ module.exports = {
WORK_DURATIONS,WORK_DURATION_FULLTIME,WORK_DURATION_PARTTIME, PAY, PAY_30_TO_40, PAY_FROM_40, PAY_LESS_30, PAY_TO_NEGOCIATE,
STAT_MIN_SCORES,STATUSES, STATUS_ACTIVE, STATUS_INACTIVE, REQUIRED_COMPLETION_FIELDS, OPTIONAL_COMPLETION_FIELDS, COMPLETED, COMPLETED_YES, COMPLETED_NO,
OFFER_VISIBILITY, OFFER_VISIBILITY_PUBLIC, OFFER_VISIBILITY_PRIVATE, MISSION_VISIBILITY, MISSION_VISIBILITY_PRIVATE, MISSION_VISIBILITY_PUBLIC,
BENCHMARK_FIELDS_10, BENCHMARK_FIELDS_5,
BENCHMARK_FIELDS_10, BENCHMARK_FIELDS_5, ENOUGH_SCORES, ENOUGH_SCORES_NO, ENOUGH_SCORES_YES,
}

0 comments on commit 75a33ea

Please sign in to comment.