summaryrefslogtreecommitdiff
path: root/alarm/node_modules/pronote-api/src/cas/index.js
blob: e893f3adb02706960078cc1db882a2df129f845f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* eslint-disable array-element-newline */

const find = require('./find');

const CAS = [
    'ac-besancon', 'ac-bordeaux', 'ac-bordeaux2', 'ac-caen', 'ac-clermont', 'ac-dijon',
    'ac-grenoble', 'ac-lille', 'ac-limoges', 'ac-lyon', 'ac-montpellier',
    'ac-nancy-metz', 'ac-nantes', 'ac-orleans-tours', 'ac-poitiers',
    'ac-reims', 'ac-rouen', 'ac-strasbourg', 'ac-toulouse',

    'agora06', 'arsene76', 'atrium-sud',

    'haute-garonne', 'hdf', 'iledefrance', 'seine-et-marne', 'somme', 'eure-normandie',
    'parisclassenumerique', 'ljr-munich',

    'toutatice', 'laclasse', 'lyceeconnecte', 'portail-famille', 'cybercolleges42',
    'ac-valdoise', 'ac-lille2', 'moncollege-essonne', 'monbureaunumerique-educonnect',

    'none'
];

module.exports = {
    getCAS: find,
    list: CAS
};

for (const cas of CAS) {
    // eslint-disable-next-line node/global-require
    module.exports[cas] = require('./' + cas);
}