3434 connect settingsaccountsemails to the backend (#3584)
* wip * wip * update sync settings * fix key in map * connect email visibility to backend * finished * improve typing
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
import { MessageChannel } from './MessageChannel';
|
||||
|
||||
type MessageChannelConnection = { edges: [MessageChannelEdge] };
|
||||
type MessageChannelEdge = { node: MessageChannel };
|
||||
|
||||
export type ConnectedAccount = {
|
||||
id: string;
|
||||
handle: string;
|
||||
provider: string;
|
||||
accessToken: string;
|
||||
refreshToken: string;
|
||||
accountOwnerId: string;
|
||||
lastSyncHistoryId: string;
|
||||
messageChannels: MessageChannelConnection;
|
||||
};
|
||||
@ -1,6 +1,6 @@
|
||||
import { InboxSettingsVisibilityValue } from '@/settings/accounts/components/SettingsAccountsInboxSettingsVisibilitySection';
|
||||
|
||||
export type Account = {
|
||||
export type MessageChannel = {
|
||||
id: string;
|
||||
handle: string;
|
||||
isContactAutoCreationEnabled?: boolean;
|
||||
Reference in New Issue
Block a user