UNPKG

feedbaby-client

Version:
20 lines (19 loc) 499 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const CsvFile_1 = require("../CsvFile"); const json2csv_1 = require("json2csv"); class TeethCsv extends CsvFile_1.CsvFile { static create() { return new TeethCsv(new json2csv_1.Parser(CsvFile_1.CsvFile.createOptions(TeethCsv.HEADERS))); } getFilename() { return "teeths.csv"; } } exports.TeethCsv = TeethCsv; TeethCsv.HEADERS = [ "Id", "Recorded Time", "Tooth", "Notes", ];