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
core: add missing audios attachments filter
Ammar Ahmed04f8be5a6247
diff --git a/packages/core/src/collections/attachments.ts b/packages/core/src/collections/attachments.tsindex d7c536cdf..986e39d06 100644--- a/packages/core/src/collections/attachments.ts+++ b/packages/core/src/collections/attachments.ts@@ -460,6 +460,13 @@ export class Attachments implements ICollection {);}+ get audios() {+ return this.collection.createFilter<Attachment>(+ (qb) => qb.where(isFalse("deleted")).where("mimeType", "like", `audio/%`),+ this.db.options?.batchSize+ );+ }+get documents() {return this.collection.createFilter<Attachment>((qb) =>