mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
First ui view of preview images for items
Users can choose to not show them via ui settings
This commit is contained in:
@ -30,6 +30,7 @@ module Api exposing
|
||||
, deleteSource
|
||||
, deleteTag
|
||||
, deleteUser
|
||||
, fileURL
|
||||
, getAttachmentMeta
|
||||
, getCollective
|
||||
, getCollectiveSettings
|
||||
@ -59,6 +60,7 @@ module Api exposing
|
||||
, getUsers
|
||||
, itemDetail
|
||||
, itemIndexSearch
|
||||
, itemPreviewURL
|
||||
, itemSearch
|
||||
, login
|
||||
, loginSession
|
||||
@ -1501,6 +1503,16 @@ deleteAllItems flags ids receive =
|
||||
--- Item
|
||||
|
||||
|
||||
itemPreviewURL : String -> String
|
||||
itemPreviewURL itemId =
|
||||
"/api/v1/sec/item/" ++ itemId ++ "/preview"
|
||||
|
||||
|
||||
fileURL : String -> String
|
||||
fileURL attachId =
|
||||
"/api/v1/sec/attachment/" ++ attachId
|
||||
|
||||
|
||||
setAttachmentName :
|
||||
Flags
|
||||
-> String
|
||||
|
Reference in New Issue
Block a user