MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / attachments.ts

File attachments.ts

apps/web/services/slack/sync/attachments.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { uploadFile } from 'services/aws/s3';
2import { BUCKET_PREFIX_FOR_ATTACHMENTS, LINEN_STATIC_CDN } from 'config';
3import { messages, prisma } from '@linen/database';
4import { MessageFile, ConversationHistoryMessage, Logger } from '@linen/types';

Callers

nothing calls this directly

Calls 1

arrayToMapGenericFunction · 0.85

Tested by

no test coverage detected