MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / demoReport

Function demoReport

deployments/desktop/static/app.js:279–294  ·  view source on GitHub ↗
(title = "PaperFlow Demo Reading Report", writeFeishu = false)

Source from the content-addressed store, hash-verified

277}
278
279function demoReport(title = "PaperFlow Demo Reading Report", writeFeishu = false) {
280 return {
281 created_docs: [
282 {
283 title,
284 report_path: "data/reading_reports/demo-reading-report.md",
285 pdf_path: "data/papers/demo-paper.pdf",
286 url: writeFeishu ? "https://example.com/paperflow-demo-feishu-doc" : "",
287 feishu_error: writeFeishu ? "" : "Preview mode does not call Feishu APIs.",
288 },
289 ],
290 count: 1,
291 write_feishu_requested: Boolean(writeFeishu),
292 feishu_warning: writeFeishu ? "" : "",
293 };
294}
295
296async function demoApi(path, options = {}) {
297 await new Promise((resolve) => window.setTimeout(resolve, 90));

Callers 1

demoApiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected