Bettertyping (#10725)

To get better at catching errors on providers
(It will ease also my coming PR to send microsoft messages using
workflow)
This commit is contained in:
Guillim
2025-03-07 14:11:56 +01:00
committed by GitHub
parent 4be75fb7da
commit 4bdcf77028
12 changed files with 48 additions and 28 deletions

View File

@ -0,0 +1 @@
export const MICROSOFT_SEND_SCOPE = 'Mail.Send';

View File

@ -1,11 +1,12 @@
import { CalendarChannel } from '@/accounts/types/CalendarChannel';
import { ConnectedAccountProvider } from 'twenty-shared';
import { MessageChannel } from './MessageChannel';
export type ConnectedAccount = {
id: string;
handle: string;
provider: string;
provider: ConnectedAccountProvider;
accessToken: string;
refreshToken: string;
accountOwnerId: string;