refactor: remove geoLocation from the backend config

Closes #87
This commit is contained in:
Jovan Krunić
2021-04-19 15:31:09 +02:00
committed by Rainer Killinger
parent 650b5c1ed3
commit df69bfd95f

View File

@@ -61,7 +61,7 @@ const config: Partial<SCConfigFile> = {
title: 'Stundenplan', title: 'Stundenplan',
}, },
en: { en: {
title: 'schedule' title: 'schedule',
}, },
}, },
}, },
@@ -246,39 +246,7 @@ const config: Partial<SCConfigFile> = {
uid: 'dc9d6dec-6576-45ef-9e35-3598c0d6a662', uid: 'dc9d6dec-6576-45ef-9e35-3598c0d6a662',
values: ['de', 'en'], values: ['de', 'en'],
}, },
{
categories: ['privacy'],
defaultValue: false,
description: 'Allow the App to use the device location to provide additional information\'s based ' +
'on your actual location.',
inputType: SCSettingInputType.SingleChoice,
name: 'geoLocation',
order: 0,
origin: {
indexed: '2018-09-11T12:30:00Z',
name: 'SCConfigFile Default Values',
type: SCThingOriginType.Remote,
},
translations: {
de: {
description: `Berechtigung für die Verwendung des Ortungsdienstes, für die Anzeige der aktuellen Position '
auf der Karte und zur Berechnung der Entfernung zu Gebäuden und Orten des Campus.`,
name: 'Position',
values: ['ja', 'nein'],
},
en: {
description: 'Allow the App to use the device location to provide additional information\'s based ' +
'on your actual location.',
name: 'Position',
values: ['yes', 'no'],
},
},
type: SCThingType.Setting,
uid: '0dbff2de-23b4-442b-9aa7-7bd2c707c199',
values: [true, false],
},
], ],
}, },
backend: { backend: {
SCVersion: JSON.parse((readFileSync(resolve('.', '.', 'package.json'), 'utf-8')).toString()) SCVersion: JSON.parse((readFileSync(resolve('.', '.', 'package.json'), 'utf-8')).toString())