aboutsummaryrefslogtreecommitdiffstats
path: root/packages/open-api/lib/bookmarks.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add support for user uploaded files (#2100)Mohamed Bassem2025-11-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add user file upload support for bookmarks Add a new "user-uploaded" asset type that allows users to upload and attach their own files to bookmarks from the attachment box in the bookmark preview page. Changes: - Add USER_UPLOADED asset type to database schema - Add userUploaded to zAssetTypesSchema for type safety - Update attachment permissions to allow attaching/detaching user files - Add fileName field to asset schema for displaying custom filenames - Add "Upload File" button in AttachmentBox component - Display actual filename for user-uploaded files - Allow any file type for user uploads (respects existing upload limits) - Add Upload icon for user-uploaded files Fixes #1863 related asset attachment improvements * fix: ensure fileName is returned and remove edit button for user uploads - Fix attachAsset mutation to fetch and return complete asset with fileName instead of just returning the input (which lacks fileName) - Remove replace/edit button for user-uploaded files - users can only delete and re-upload instead - This ensures the filename displays correctly in the UI immediately after upload Fixes fileName propagation issue for user-uploaded assets * fix asset file name * remove filename from attach asset api --------- Co-authored-by: Claude <noreply@anthropic.com>
* fix(api): Return 200 when bookmark already exists instead of 200Mohamed Bassem2025-10-111-1/+9
|
* fix(api): Document the API for getting lists of a bookmark. fixes #2030Mohamed Bassem2025-10-111-1/+31
|
* docs: Add asset APIs to the openapi specMohamed Bassem2025-06-071-11/+1
|
* feat(api): enable ?sortOrder= for relevant resources (#1398)xuatz2025-05-181-0/+6
| | | | | * feat(api): enable `?sortOrder=` for relevant resources * fix tests
* fix: Add includeContent to search endpoint and document it in the docsMohamed Bassem2025-04-161-2/+6
|
* feat: Add an MCP server for karakeepMohamed Bassem2025-04-131-0/+89
|
* chore: Rename hoarder packages to karakeepMohamedBassem2025-04-121-1/+1
|
* feat: Expose bookmark summarization in the API (#1088)erik-nilcoast2025-03-091-0/+23
| | | Proxy to the TRPC Summarize mutation for use in the public API
* feat: Expose the search functionality in the REST APIMohamed Bassem2025-01-051-0/+26
|
* feat: Expose asset manipulation endpoints in the REST APIMohamed Bassem2025-01-041-0/+92
|
* feat: Add REST APIs for manipulating highlights. Fixes #620Mohamed Bassem2024-12-271-0/+23
|
* api: Add tag ids and support variable baseURLMohamed Bassem2024-10-201-0/+7
|
* chore: Define hoarder's rest API in zod formatMohamed Bassem2024-10-201-0/+212