({ accountId }: { accountId: string })
| 80 | } |
| 81 | |
| 82 | export function threadsWhere({ accountId }: { accountId: string }) { |
| 83 | return { |
| 84 | channel: { |
| 85 | account: { id: accountId }, |
| 86 | hidden: false, |
| 87 | }, |
| 88 | hidden: false, |
| 89 | messageCount: { gt: 0 }, |
| 90 | }; |
| 91 | } |
| 92 | |
| 93 | /** persist timestamp as flag for next sync job */ |
| 94 | export async function persistEndFlag( |
no outgoing calls
no test coverage detected