UNPKG

feedbaby-client

Version:
21 lines (20 loc) 693 B
"use strict"; 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" ];