aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes/positionAttributes.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-01-05 17:23:32 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2021-01-05 17:23:32 +0530
commit3fb3b5334e11c1239b5126767c4160da79d1cfe9 (patch)
treeb68db81232ab2e74656fb18af9559ca8c2278b6e /modern/src/attributes/positionAttributes.js
parentbe88468a42eb4fd61c1bc5bdbf54be173825196d (diff)
downloadtrackermap-web-3fb3b5334e11c1239b5126767c4160da79d1cfe9.tar.gz
trackermap-web-3fb3b5334e11c1239b5126767c4160da79d1cfe9.tar.bz2
trackermap-web-3fb3b5334e11c1239b5126767c4160da79d1cfe9.zip
Computed Attributes
Diffstat (limited to 'modern/src/attributes/positionAttributes.js')
-rw-r--r--modern/src/attributes/positionAttributes.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/modern/src/attributes/positionAttributes.js b/modern/src/attributes/positionAttributes.js
new file mode 100644
index 00000000..44926839
--- /dev/null
+++ b/modern/src/attributes/positionAttributes.js
@@ -0,0 +1,16 @@
+import t from '../common/localization'
+
+export default {
+ 'raw': {
+ name: t('positionRaw'),
+ type: 'string',
+ },
+ 'index': {
+ name: t('positionIndex'),
+ type: 'number',
+ },
+ 'ignition': {
+ name: t('positionIgnition'),
+ type: 'boolean',
+ },
+};