172
edits
(→WebIDL) |
(→WebIDL) |
||
Line 38: | Line 38: | ||
interface LogEntryProperties { | interface LogEntryProperties { | ||
attribute DOMString type; | attribute DOMString type; // possible values: ['incoming', 'outgoing''] | ||
attribute DOMString status; | attribute DOMString status; // [missed, new] | ||
attribute DOMString[] contactId; | attribute DOMString[] contactId; // ContactId | ||
attribute DOMString[] tel; | attribute DOMString[] tel; // Tel number if not in contacts | ||
attribute DOMString objectId; | attribute DOMString objectId; // Object id (for example SMS message on the SMS database) | ||
attribute DOMString service; | attribute DOMString service; // oneOf ['SMS', 'Telephony', 'Facebook', 'Twitter'] | ||
attribute DOMString title; | attribute DOMString title; | ||
attribute DOMString description; | attribute DOMString description; | ||
Line 52: | Line 52: | ||
interface LogEntry : LogEntryProperties { | interface LogEntry : LogEntryProperties { | ||
readonly attribute DOMString id; | readonly attribute DOMString id; | ||
readonly attribute DOMTimestamp timestamp; // When | readonly attribute DOMTimestamp timestamp; // When happened | ||
}; | }; |
edits