MCPcopy
hub / github.com/chartbrew/chartbrew / TemplateController.js

File TemplateController.js

server/controllers/TemplateController.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const db = require("../models/models");
2
3const chartAttributeExcludes = ["id", "project_id", "chartData", "createdAt", "updatedAt", "lastAutoUpdate", "chartDataUpdated"];
4const chartDatasetConfigAttributeExcludes = ["id", "chart_id", "createdAt", "updatedAt"];

Callers

nothing calls this directly

Calls 9

sanitizeTemplateDatasetFunction · 0.85
sanitizeTemplateChartFunction · 0.85
toPlainObjectFunction · 0.70
findAllMethod · 0.45
updateMethod · 0.45
findByIdMethod · 0.45
createMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected