mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
feat: boost academic terms dynamically
This commit is contained in:
committed by
Rainer Killinger
parent
afd324fc6a
commit
13938ecf21
@@ -1,3 +1,5 @@
|
||||
// tslint:disable:no-default-export
|
||||
// tslint:disable:no-magic-numbers
|
||||
import {SCConfigFile, SCThingType} from '@openstapps/core';
|
||||
|
||||
/**
|
||||
@@ -184,10 +186,6 @@ const config: Partial<SCConfigFile> = {
|
||||
{
|
||||
factor: 1,
|
||||
fields: {
|
||||
'academicTerms.acronym': {
|
||||
'SS 2018': 1.05,
|
||||
'WS 2018/19': 1.1,
|
||||
},
|
||||
'categories': {
|
||||
'course': 1.08,
|
||||
'integrated course': 1.08,
|
||||
@@ -225,6 +223,25 @@ const config: Partial<SCConfigFile> = {
|
||||
type: SCThingType.Dish,
|
||||
},
|
||||
],
|
||||
dining: [
|
||||
{
|
||||
factor: 1,
|
||||
fields: {
|
||||
'categories': {
|
||||
'cafe': 2,
|
||||
'canteen': 2,
|
||||
'restaurant': 2,
|
||||
'restroom': 1.2,
|
||||
'student canteen': 2,
|
||||
},
|
||||
},
|
||||
type: SCThingType.Building,
|
||||
},
|
||||
{
|
||||
factor: 2,
|
||||
type: SCThingType.Dish,
|
||||
},
|
||||
],
|
||||
place: [
|
||||
{
|
||||
factor: 2,
|
||||
@@ -239,28 +256,10 @@ const config: Partial<SCConfigFile> = {
|
||||
type: SCThingType.Room,
|
||||
},
|
||||
],
|
||||
dining: [
|
||||
{
|
||||
factor: 1,
|
||||
fields: {
|
||||
'categories': {
|
||||
'cafe': 2,
|
||||
'restaurant': 2,
|
||||
'canteen': 2,
|
||||
'student canteen': 2,
|
||||
'restroom': 1.2,
|
||||
},
|
||||
},
|
||||
type: SCThingType.Building,
|
||||
},
|
||||
{
|
||||
factor: 2,
|
||||
type: SCThingType.Dish,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
uid: 'b-tu',
|
||||
};
|
||||
|
||||
// tslint:disable-next-line:no-default-export
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user