diff --git a/config/default-b-tu.ts b/config/default-b-tu.ts index 62267705..be9e32b8 100644 --- a/config/default-b-tu.ts +++ b/config/default-b-tu.ts @@ -6,7 +6,6 @@ import {RecursivePartial} from '@openstapps/logger/lib/common'; /** * This is the default configuration for the technical university of Berlin */ -const config: RecursivePartial = { -}; +const config: RecursivePartial = {}; export default config; diff --git a/config/default-fb-fh.ts b/config/default-fb-fh.ts index a6501b1c..5de12b81 100644 --- a/config/default-fb-fh.ts +++ b/config/default-fb-fh.ts @@ -6,7 +6,6 @@ import {RecursivePartial} from '@openstapps/logger/lib/common'; /** * This is the default configuration for the university of Kassel */ -const config: RecursivePartial = { -}; +const config: RecursivePartial = {}; export default config; diff --git a/config/default-ks-ug.ts b/config/default-ks-ug.ts index d9c9b645..5de12b81 100644 --- a/config/default-ks-ug.ts +++ b/config/default-ks-ug.ts @@ -3,11 +3,9 @@ import {SCConfigFile} from '@openstapps/core'; import {RecursivePartial} from '@openstapps/logger/lib/common'; - /** * This is the default configuration for the university of Kassel */ -const config: RecursivePartial = { -}; +const config: RecursivePartial = {}; export default config; diff --git a/config/default.ts b/config/default.ts index 53d66e38..4772e7d0 100644 --- a/config/default.ts +++ b/config/default.ts @@ -22,8 +22,8 @@ export function inRangeInclusive(number_: number, range: number[]): boolean { return number_ >= range[0] && number_ <= range[1]; } -const sommerRange = [4, 9]; -const winterRange = [10, 3]; +const sommerRange = [4, 1]; +const winterRange = [10, 1]; const month = new Date().getMonth(); const year = new Date().getFullYear(); const winterYearOffset = month < winterRange[0] ? -1 : 0; @@ -55,14 +55,14 @@ const userGroupSetting: SCUserGroupSetting = { 'Mit welcher Benutzergruppe soll die App verwendet werden?' + ' Die Einstellung wird beispielsweise für die Vorauswahl der Preiskategorie der Mensa verwendet.', name: 'Gruppe', - values: ['Student', 'Angestellter', 'Gast'], + values: ['Studierende', 'Angestellte', 'Gäste'], }, en: { description: 'The user group the app is going to be used.' + ' This settings for example is getting used for the predefined price category of mensa meals.', name: 'Group', - values: ['student', 'employee', 'guest'], + values: ['students', 'employees', 'guests'], }, }, type: SCThingType.Setting,