(link: ShareLink)
| 74 | } |
| 75 | |
| 76 | export function isLinkExpired(link: ShareLink): boolean { |
| 77 | return link.expiresAt !== null && Date.now() > link.expiresAt; |
| 78 | } |
| 79 | |
| 80 | export function buildShareUrl(linkId: string, role: CollabRole): string { |
| 81 | const base = |
nothing calls this directly
no outgoing calls
no test coverage detected