feat: add laboratory and computer as room categories

Closes #33
This commit is contained in:
Jovan Krunić
2019-02-18 13:14:42 +01:00
parent b4229aac35
commit a0ab72e597
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2018 StApps * Copyright (C) 2018, 2019 StApps
* This program is free software: you can redistribute it and/or modify it * This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free * under the terms of the GNU General Public License as published by the Free
* Software Foundation, version 3. * Software Foundation, version 3.
@@ -29,15 +29,17 @@ import {SCMap} from '../types/Map';
*/ */
export type SCRoomCategories = export type SCRoomCategories =
'cafe' 'cafe'
| 'canteen'
| 'computer'
| 'education' | 'education'
| 'laboratory'
| 'learn' | 'learn'
| 'library' | 'library'
| 'lounge'
| 'office' | 'office'
| 'restaurant' | 'restaurant'
| 'canteen'
| 'student canteen'
| 'restroom' | 'restroom'
| 'lounge' | 'student canteen'
| 'student union'; | 'student union';
/** /**
@@ -108,7 +110,9 @@ export class SCRoomMeta extends SCThingMeta {
categories: { categories: {
'cafe': 'Café', 'cafe': 'Café',
'canteen': 'Kantine', 'canteen': 'Kantine',
'computer': 'PC-Pool',
'education': 'Bildung', 'education': 'Bildung',
'laboratory': 'Labor',
'learn': 'Lernen', 'learn': 'Lernen',
'library': 'Bibliothek', 'library': 'Bibliothek',
'lounge': 'Lounge', 'lounge': 'Lounge',

View File

@@ -5,6 +5,7 @@
"name": "Poolraum (HoF)", "name": "Poolraum (HoF)",
"type": "room", "type": "room",
"categories": [ "categories": [
"computer",
"learn" "learn"
], ],
"description": "1. OG, Raum 1.29, 18 Plätze, rollstuhlgerecht, Montag bis Freitag von 8:00 bis 20:00 Uhr", "description": "1. OG, Raum 1.29, 18 Plätze, rollstuhlgerecht, Montag bis Freitag von 8:00 bis 20:00 Uhr",