mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-06 08:04:37 +00:00
feat(share): add allow download config to share links (#275)
* feat(share): add allow download config to share links * fix(share): hide download in public share list page when disabled
This commit is contained in:
@@ -367,6 +367,7 @@ model ShareLink {
|
||||
expireAt DateTime? @map("expire_at")
|
||||
password String?
|
||||
isDisabled Boolean @default(false) @map("is_disabled")
|
||||
allowDownload Boolean @default(true) @map("allow_download")
|
||||
defaultSortOrder String? @map("default_sort_order")
|
||||
viewMode String? @map("view_mode")
|
||||
/// [ShareLinkFieldVisibility]
|
||||
|
||||
Reference in New Issue
Block a user