feedbaby-client
Version:
Client for the FeedBaby App
21 lines (20 loc) • 693 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const CsvFile_1 = require("../CsvFile");
const json2csv_1 = require("json2csv");
class FeedingNotificationTriggerCsv extends CsvFile_1.CsvFile {
static create() {
return new FeedingNotificationTriggerCsv(new json2csv_1.Parser(CsvFile_1.CsvFile.createOptions(FeedingNotificationTriggerCsv.HEADERS)));
}
getFilename() {
return "feeding_notification_triggers.csv";
}
}
exports.FeedingNotificationTriggerCsv = FeedingNotificationTriggerCsv;
FeedingNotificationTriggerCsv.HEADERS = [
"id",
"type",
"notification_duration_in_milliseconds",
"active",
"repeatingAlarm"
];