(shareId: string)
| 78 | } |
| 79 | |
| 80 | export function revokeShare(shareId: string): boolean { |
| 81 | return store.delete(shareId); |
| 82 | } |
| 83 | |
| 84 | export function getSharesByConversation(conversationId: string): StoredShare[] { |
| 85 | return Array.from(store.values()).filter( |