[PR #2301] [MERGED] refactor: move assets to their own model #2054

Closed
opened 2026-03-02 12:00:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2301
Author: @MohamedBassem
Created: 12/24/2025
Status: Merged
Merged: 12/24/2025
Merged by: @MohamedBassem

Base: mainHead: assets-models


📝 Commits (2)

  • b409ddd refactor: move assets to their own model
  • c8e2fee move asset privacy checks to the model

📊 Changes

4 files changed (+274 additions, -196 deletions)

View changed files

📝 packages/api/routes/assets.ts (+4 -35)
packages/trpc/models/assets.ts (+252 -0)
📝 packages/trpc/routers/assets.ts (+10 -150)
📝 packages/trpc/routers/bookmarks.ts (+8 -11)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/2301 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 12/24/2025 **Status:** ✅ Merged **Merged:** 12/24/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `assets-models` --- ### 📝 Commits (2) - [`b409ddd`](https://github.com/karakeep-app/karakeep/commit/b409ddd14eb3c043c2098e9442012aa60982c07f) refactor: move assets to their own model - [`c8e2fee`](https://github.com/karakeep-app/karakeep/commit/c8e2fee4c1a42307af28d79b2de6c560c30ac163) move asset privacy checks to the model ### 📊 Changes **4 files changed** (+274 additions, -196 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/routes/assets.ts` (+4 -35) ➕ `packages/trpc/models/assets.ts` (+252 -0) 📝 `packages/trpc/routers/assets.ts` (+10 -150) 📝 `packages/trpc/routers/bookmarks.ts` (+8 -11) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:00:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#2054
No description provided.