-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1876f8
commit 7586979
Showing
6 changed files
with
124 additions
and
295 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
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 |
---|---|---|
@@ -1,79 +1,99 @@ | ||
const stateAttrb = { | ||
'event' : { | ||
name: 'Event', | ||
'name' : { | ||
name: 'Name', | ||
type: 'string', | ||
role: 'value', | ||
}, | ||
'headline' : { | ||
name: 'Headline', | ||
type: 'string', | ||
'reached' : { | ||
name: 'Reached', | ||
type: 'boolean', | ||
role: 'value', | ||
}, | ||
'color' : { | ||
name: 'Alarm color', | ||
type: 'string', | ||
'countUp' : { | ||
name: 'CountUp', | ||
type: 'boolean', | ||
role: 'value', | ||
}, | ||
'icon' : { | ||
name: 'Alarm icon', | ||
type: 'string', | ||
'years' : { | ||
name: 'Years', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'level' : { | ||
name: 'Alarm level', | ||
'months' : { | ||
name: 'Months', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'levelText' : { | ||
name: 'Alarm level text', | ||
type: 'string', | ||
'days' : { | ||
name: 'Days', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'type' : { | ||
name: 'Alarm type', | ||
'hours' : { | ||
name: 'Hours', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'typeText' : { | ||
name: 'Alarm type text', | ||
type: 'string', | ||
'minutes' : { | ||
name: 'Minutes', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'description' : { | ||
name: 'Description', | ||
type: 'string', | ||
'totalDays' : { | ||
name: 'Total no. of days', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'sender' : { | ||
name: 'Sender of the Alarm', | ||
type: 'string', | ||
'totalHours' : { | ||
name: 'Total no. of hours', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'totalWeeks' : { | ||
name: 'Total no. of weeks', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'effective' : { | ||
name: 'Date Alarm gets effective', | ||
'totalMonths' : { | ||
name: 'Total no. of months', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'totalYears' : { | ||
name: 'Total no. of years', | ||
type: 'number', | ||
role: 'value', | ||
}, | ||
'inWordsLong' : { | ||
name: 'Result in words long', | ||
type: 'string', | ||
role: 'value.datetime', | ||
role: 'value', | ||
}, | ||
'expires' : { | ||
name: 'Date Alarm expires', | ||
'inWordsShort' : { | ||
name: 'Result in words short', | ||
type: 'string', | ||
role: 'value.datetime', | ||
role: 'value', | ||
}, | ||
'link' : { | ||
name: 'Link', | ||
'totalJson' : { | ||
name: 'Totals as JSON', | ||
type: 'string', | ||
role: 'value', | ||
}, | ||
'updateIdentifier' : { | ||
name: 'Identifier of update', | ||
'fullJson' : { | ||
name: 'All values as JSON', | ||
type: 'string', | ||
role: 'value', | ||
}, | ||
'sent' : { | ||
name: 'Last Update', | ||
'endDate' : { | ||
name: 'Enddate', | ||
type: 'string', | ||
role: 'value.datetime', | ||
role: 'value', | ||
}, | ||
'repeatEvery' : { | ||
name: 'Period when the Countdown should be repeated', | ||
type: 'string', | ||
role: 'value', | ||
} | ||
}; | ||
|
||
module.exports = stateAttrb; |
Oops, something went wrong.