( attachment: messageAttachments )
| 20 | import { MessageFormat } from '@linen/types'; |
| 21 | |
| 22 | function serializeAttachment( |
| 23 | attachment: messageAttachments |
| 24 | ): SerializedAttachment { |
| 25 | return { |
| 26 | url: attachment.internalUrl as string, |
| 27 | name: attachment.name, |
| 28 | }; |
| 29 | } |
| 30 | |
| 31 | type MentionsForSerialization = mentions & { users?: users | null }; |
| 32 |
nothing calls this directly
no outgoing calls
no test coverage detected