A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat: add func for fetching all published notes
thecodrr2cb5e619e74b
diff --git a/packages/core/api/monographs.js b/packages/core/api/monographs.jsindex 15df75b02..26b238a63 100644--- a/packages/core/api/monographs.js+++ b/packages/core/api/monographs.js@@ -116,5 +116,11 @@ class Monographs {this.monographs.splice(this.monographs.indexOf(noteId), 1);}++ get all() {+ return this._db.notes.all.filter(+ (note) => this.monographs.indexOf(note.id) > -1+ );+ }}export default Monographs;