Browse Source

Refactoring

pull/4337/head
Thomas Kaul 2 months ago
parent
commit
abb20de236
  1. 8
      libs/common/src/lib/interfaces/export.interface.ts

8
libs/common/src/lib/interfaces/export.interface.ts

@ -1,10 +1,6 @@
import { Account, Order, Tag } from '@prisma/client';
export interface Export {
meta: {
date: string;
version: string;
};
accounts: Omit<Account, 'createdAt' | 'updatedAt' | 'userId'>[];
activities: (Omit<
Order,
@ -16,6 +12,10 @@ export interface Export {
| 'updatedAt'
| 'userId'
> & { date: string; symbol: string })[];
meta: {
date: string;
version: string;
};
tags: Omit<Tag, 'userId'>[];
user: { settings: { currency: string } };
}

Loading…
Cancel
Save