Commit graph

9 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
b25c1cd4b4 feat: migrated from zod v3 to v4 2025-12-20 05:10:47 -08:00
CREDO23
034e42e15e refactor: update SourceDetailSheet to use useQuery with centralized cache keys
- Replace useDocumentByChunk hook with useQuery implementation
- Use descriptive variable names (isDocumentByChunkFetching, documentByChunkFetchingError)
- Integrate with centralized cache key management
- Update all loading and error state references
- Add 5-minute stale time for document queries
2025-12-08 11:02:01 +00:00
Thierry CH.
074c71aec3 Improve request validation in searchDocuments
Refactor error handling for searchDocuments method.
2025-12-08 11:02:01 +00:00
Thierry CH.
8bf7957827 Improve request validation for uploadDocument
Refactor error handling for document upload requests.
2025-12-08 11:02:01 +00:00
Thierry CH.
3ce1ec8225 Clean up comments in createDocument method
Removed unnecessary comments in createDocument function.
2025-12-08 11:02:01 +00:00
Thierry CH.
ccea51084c Refactor request validation in getDocument method 2025-12-08 11:02:01 +00:00
Thierry CH.
9cd3756c2f Refactor request validation in getDocuments method 2025-12-08 11:02:01 +00:00
thierryverse
5a887e9243 add documents api service 2025-12-08 11:02:00 +00:00
thierryverse
fc915fec13 getdocuments reques / response zod schema 2025-12-08 11:02:00 +00:00