journal.pl/ijl.config.js
Primakov Alexandr Alexandrovich 56e07bc2ef attendance table
2024-11-06 12:35:55 +03:00

35 lines
725 B
JavaScript

const pkg = require('./package')
module.exports = {
apiPath: 'stubs/api',
webpackConfig: {
output: {
publicPath: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
},
},
navigations: {
'journal.main': '/journal.pl',
'exam.main': '/exam',
'link.exam.details': '/details/:courseId/:examId',
'link.journal.attendance': '/attendance/:courseId',
},
features: {
journal: {
'lesson.bar': {
on: true,
value: '',
key: 'lesson.bar',
},
'group.by.date': {
on: true,
value: '',
key: 'group.by.date',
},
},
},
config: {
'journal.back.url': '/api',
'journal.polling-interval': '10000',
},
}