(attachment: Attachment)
| 9 | }; |
| 10 | |
| 11 | export const getAttachmentThumbnailUrl = (attachment: Attachment) => { |
| 12 | return `${window.location.origin}/file/${attachment.name}/${attachment.filename}?thumbnail=true`; |
| 13 | }; |
| 14 | |
| 15 | export const getAttachmentMotionClipUrl = (attachment: Attachment) => { |
| 16 | return `${window.location.origin}/file/${attachment.name}/${attachment.filename}?motion=true`; |
no outgoing calls
no test coverage detected