feedbaby-client
Version:
Client for the FeedBaby App
20 lines (19 loc) • 704 B
JavaScript
;
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",
];