5622 add a syncemail onboarding step (#5689)
- add sync email onboarding step - refactor calendar and email visibility enums - add a new table `keyValuePair` in `core` schema - add a new resolved boolean field `skipSyncEmail` in current user https://github.com/twentyhq/twenty/assets/29927851/de791475-5bfe-47f9-8e90-76c349fba56f
This commit is contained in:
@ -10,6 +10,7 @@ type MockedUser = Pick<
|
||||
| 'canImpersonate'
|
||||
| '__typename'
|
||||
| 'supportUserHash'
|
||||
| 'state'
|
||||
> & {
|
||||
workspaceMember: WorkspaceMember | null;
|
||||
locale: string;
|
||||
@ -92,6 +93,7 @@ export const mockedUsersData: Array<MockedUser> = [
|
||||
defaultWorkspace: mockDefaultWorkspace,
|
||||
locale: 'en',
|
||||
workspaces: [{ workspace: mockDefaultWorkspace }],
|
||||
state: { skipSyncEmailOnboardingStep: true },
|
||||
},
|
||||
{
|
||||
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6c',
|
||||
@ -114,6 +116,7 @@ export const mockedUsersData: Array<MockedUser> = [
|
||||
defaultWorkspace: mockDefaultWorkspace,
|
||||
locale: 'en',
|
||||
workspaces: [{ workspace: mockDefaultWorkspace }],
|
||||
state: { skipSyncEmailOnboardingStep: true },
|
||||
},
|
||||
];
|
||||
|
||||
@ -140,6 +143,7 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
|
||||
defaultWorkspace: mockDefaultWorkspace,
|
||||
locale: 'en',
|
||||
workspaces: [{ workspace: mockDefaultWorkspace }],
|
||||
state: { skipSyncEmailOnboardingStep: true },
|
||||
},
|
||||
{
|
||||
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6d',
|
||||
@ -155,5 +159,6 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
|
||||
},
|
||||
locale: 'en',
|
||||
workspaces: [{ workspace: mockDefaultWorkspace }],
|
||||
state: { skipSyncEmailOnboardingStep: true },
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user