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