ghostfolio/libs/common/src/lib/interfaces/export.interface.ts
Christoph Califice 0edebe30e1
Feature/Add user account currency to export (#3194)
* Add user account currency to export

* Update changelog
2024-03-27 18:08:34 +01:00

21 lines
444 B
TypeScript

import { Account, Order } from '@prisma/client';
export interface Export {
meta: {
date: string;
version: string;
};
accounts: Omit<Account, 'createdAt' | 'updatedAt' | 'userId'>[];
activities: (Omit<
Order,
| 'accountUserId'
| 'createdAt'
| 'date'
| 'isDraft'
| 'symbolProfileId'
| 'updatedAt'
| 'userId'
> & { date: string; symbol: string })[];
user: { settings: { currency: string } };
}