UNPKG

feedbaby-client

Version:
20 lines (19 loc) 704 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const CsvFile_1 = require("../CsvFile"); const json2csv_1 = require("json2csv"); class ExcretionNotificationTriggerCsv extends CsvFile_1.CsvFile { static create() { return new ExcretionNotificationTriggerCsv(new json2csv_1.Parser(CsvFile_1.CsvFile.createOptions(ExcretionNotificationTriggerCsv.HEADERS))); } getFilename() { return "excretion_notification_triggers.csv"; } } exports.ExcretionNotificationTriggerCsv = ExcretionNotificationTriggerCsv; ExcretionNotificationTriggerCsv.HEADERS = [ "id", "repeatingAlarm", "excretion_type", "notification_duration_in_milliseconds", ];