import { HasId } from './types'; import { UserData } from './user'; type TinkAccountRelations = { user?: UserData; }; export type TinkAccountData = HasId & { id?: number; userId?: number; accountNumber?: string; tinkId?: string; name?: string; type?: string; balance?: number; currency?: string; tinkUserId?: string; tinkCredentialId?: string; } & TinkAccountRelations;