Function
processLinearIntegration
({
channelId,
messageId,
threadId,
event,
integration,
id,
}: any)
Source from the content-addressed store, hash-verified
| 15 | type channelsIntegration = { channelId: string; data: any; externalId: string }; |
| 16 | |
| 17 | export async function processLinearIntegration({ |
| 18 | channelId, |
| 19 | messageId, |
| 20 | threadId, |
| 21 | event, |
| 22 | integration, |
| 23 | id, |
| 24 | }: any) { |
| 25 | return await integrationMap[event as TwoWaySyncEvent]({ |
| 26 | threadId, |
| 27 | integration, |
| 28 | event, |
| 29 | messageId, |
| 30 | }); |
| 31 | } |
| 32 | |
| 33 | async function processNewMessage({ |
| 34 | messageId, |
Tested by
no test coverage detected