MCPcopy Create free account
hub / github.com/Dhravya/notty / getAllNotes

Method getAllNotes

src/durable-objects/user-notes.ts:986–990  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

984 this.resetNoteSync(noteId);
985
986 const note = this.getNote(noteId);
987 return Response.json(note);
988 }
989
990 // Public notes (no auth required — used by public page renderer)
991 if (request.method === "GET" && path === "/public-notes") {
992 const rows = this.sql.exec(
993 `SELECT n.id, n.title, n.content, n.published_at, n.created_at, f.name as folder_name

Callers 1

fetchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected