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