hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
2.25k stars 74 forks source link

Added the bookmark type to the database #256

Open kamtschatka opened 4 days ago

kamtschatka commented 4 days ago

Introduced an enum to have better type safety cleaned up the code and based some code on the type directly

kamtschatka commented 4 days ago

Since there were some overlaps with https://github.com/hoarder-app/hoarder/pull/253 that would result in a conflict when merging them after each other, i have rebased this PR onto the other PR and resolved the conflict. Merge the other PR first.