aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes/positionAttributes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-08 09:21:04 -0800
committerGitHub <noreply@github.com>2021-01-08 09:21:04 -0800
commit2201f5417f41204453e3cd53da003296925282aa (patch)
tree5f9a8ffedc10160ce3aecc7f4f1cb50074a4497f /modern/src/attributes/positionAttributes.js
parentbe88468a42eb4fd61c1bc5bdbf54be173825196d (diff)
parentf48e7801d86ca3d8b831358013823dd62d33c7ee (diff)
downloadtrackermap-web-2201f5417f41204453e3cd53da003296925282aa.tar.gz
trackermap-web-2201f5417f41204453e3cd53da003296925282aa.tar.bz2
trackermap-web-2201f5417f41204453e3cd53da003296925282aa.zip
Merge pull request #806 from mail2bishnoi/computed_attributes
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',
+ },
+};