Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Doctype Alarm

jacquarg edited this page Oct 23, 2014 · 1 revision

Current model definition

November 2014 version :

module.exports = Alarm = americano.getModel 'Alarm',
    action : type : String, default: 'DISPLAY'
    trigg : type : String
    description : type : String
    timezone : type : String
    rrule : type : String # recurring rule.
    tags : type : (x) -> x # DAMN IT JUGGLING
    related : type : String, default: null
  • action: One of DISPLAY, EMAIL, BOTH. Email may send to cozy's user email address, found in User doctype.
  • trigg: Datetime in iso8601 format (toISOString()).
  • timezone: unsued.
  • rrule: unused.

Alarm should be interpreted as VTODO + VALARM iCal objects.

with DTSTART <-> trigg ; DURATION = 0 ; TRIGGER = 0 .