feat: add email blocklist section with mocked data (#3145)
* feat: add email blocklist section with mocked data * fix:front lint testcase * fix: add current date and placeholder update --------- Co-authored-by: Lakshay saini <lakshay.saini@finmo.net>
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import { Account } from '@/accounts/types/Account';
|
||||
import { BlockedEmail } from '@/accounts/types/BlockedEmail';
|
||||
import { InboxSettingsVisibilityValue } from '@/settings/accounts/components/SettingsAccountsInboxSettingsVisibilitySection';
|
||||
|
||||
export const mockedAccounts: Account[] = [
|
||||
@ -15,3 +16,21 @@ export const mockedAccounts: Account[] = [
|
||||
visibility: InboxSettingsVisibilityValue.Metadata,
|
||||
},
|
||||
];
|
||||
|
||||
export const mockedBlockedEmailList: BlockedEmail[] = [
|
||||
{
|
||||
email: 'thomas@twenty.com',
|
||||
id: '9594b782-232e-48c3-977e-b0f57f90de24',
|
||||
blocked_at: '12/06/2023',
|
||||
},
|
||||
{
|
||||
email: 'tim@apple.com',
|
||||
id: 'ac64a7ec-76b2-325b-a8e8-28ff0396c3aa',
|
||||
blocked_at: '11/06/2023',
|
||||
},
|
||||
{
|
||||
email: '@microsoft.com',
|
||||
id: 'ac6445ec-76b2-325b-58e8-28340396c3ff',
|
||||
blocked_at: '04/06/2023',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user