|
|
|
@ -7,9 +7,9 @@ import { |
|
|
|
Tag |
|
|
|
} from '@prisma/client'; |
|
|
|
|
|
|
|
import { PerformanceCalculationType } from '../../types/performance-calculation-type.type'; |
|
|
|
import { AccountBalance } from '../account-balance.interface'; |
|
|
|
import { MarketData } from '../market-data.interface'; |
|
|
|
import { PerformanceCalculationType } from '../../types/performance-calculation-type.type'; |
|
|
|
|
|
|
|
export interface ExportResponse { |
|
|
|
accounts: (Omit<Account, 'createdAt' | 'updatedAt' | 'userId'> & { |
|
|
|
@ -37,5 +37,10 @@ export interface ExportResponse { |
|
|
|
}; |
|
|
|
platforms: Platform[]; |
|
|
|
tags: Omit<Tag, 'userId'>[]; |
|
|
|
user: { settings: { currency: string; performanceCalculationType: PerformanceCalculationType } }; |
|
|
|
user: { |
|
|
|
settings: { |
|
|
|
currency: string; |
|
|
|
performanceCalculationType: PerformanceCalculationType; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
|