-
-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from sebdei/Trend-Arrows
Trend Arrows
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// According to https://github.com/nightscout/cgm-remote-monitor/blob/46418c7ff275ae80de457209c1686811e033b5dd/lib/plugins/direction.js#L5 | ||
|
||
const NIGHTSCOUT_TREND_ARROWS = { | ||
tripleUp: 'TripleUp', | ||
doubleUp: 'DoubleUp', | ||
singleUp: 'SingleUp', | ||
fortyFiveUp: 'FortyFiveUp', | ||
flat: 'Flat', | ||
fortyFiveDown: 'FortyFiveDown', | ||
singleDown: 'SingleDown', | ||
tripleDown: 'TripleDown', | ||
doubleDown: 'DoubleDown', | ||
notComputable: 'NOT COMPUTABLE', | ||
rateOutOfRange: 'RATE OUT OF RANGE' | ||
} | ||
|
||
module.exports = NIGHTSCOUT_TREND_ARROWS |