diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-08 09:21:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 09:21:04 -0800 |
commit | 2201f5417f41204453e3cd53da003296925282aa (patch) | |
tree | 5f9a8ffedc10160ce3aecc7f4f1cb50074a4497f /modern/src/attributes/positionAttributes.js | |
parent | be88468a42eb4fd61c1bc5bdbf54be173825196d (diff) | |
parent | f48e7801d86ca3d8b831358013823dd62d33c7ee (diff) | |
download | trackermap-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.js | 16 |
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', + }, +}; |