MCPcopy Create free account
hub / github.com/TruthHun/BookStack / comment

Function comment

static/word2md/mammoth.browser.js:702–710  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

700}
701
702function comment(options) {
703 return {
704 type: types.comment,
705 commentId: options.commentId,
706 body: options.body,
707 authorName: options.authorName,
708 authorInitials: options.authorInitials
709 };
710}
711
712function noteKey(noteType, id) {
713 return noteType + "-" + id;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected