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