mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-03 06:24:30 +00:00
feat(share): allow creating share links from media view with quick share dialog (#548)
* feat(share): allow creating share links from media view with quick share dialog * fix(share): prevent horizontal overflow in quick share dialog
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { create } from 'zustand'
|
||||
import type { AncestorFolder } from '@shumai/dtos'
|
||||
import type { AncestorFolder, ShareLinkInfo } from '@shumai/dtos'
|
||||
|
||||
export interface TopNavProjectState {
|
||||
teamId: string
|
||||
@@ -46,6 +46,10 @@ export interface TopNavProjectState {
|
||||
onDelete?: () => void
|
||||
onArchive?: () => void
|
||||
onRestoreArchive?: () => void
|
||||
shareLinks?: ShareLinkInfo[]
|
||||
onCreateShareLink?: () => void
|
||||
onAddToShareLink?: (shareId: string) => void
|
||||
isShareActionPending?: boolean
|
||||
isRightSidebarCollapsed?: boolean
|
||||
onRightSidebarToggle?: () => void
|
||||
// Compare Versions
|
||||
|
||||
Reference in New Issue
Block a user