Browse Source

Merge branch 'main' into feature/add-coingecko-api-key-support

pull/2827/head
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
fb0b48b6c1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 5
      libs/common/src/lib/interfaces/export.interface.ts
  3. 2
      prisma/migrations/20240106124731_removed_account_type_enum/migration.sql
  4. 5
      prisma/schema.prisma

4
CHANGELOG.md

@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added support to set a _CoinGecko_ Demo API key via environment variable (`API_KEY_COINGECKO_DEMO`)
- Added support to set a _CoinGecko_ Pro API key via environment variable (`API_KEY_COINGECKO_PRO`)
### Changed
- Removed the `AccountType` enum
## 2.35.0 - 2024-01-06
### Added

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

@ -5,10 +5,7 @@ export interface Export {
date: string;
version: string;
};
accounts: Omit<
Account,
'accountType' | 'createdAt' | 'isDefault' | 'updatedAt' | 'userId'
>[];
accounts: Omit<Account, 'createdAt' | 'isDefault' | 'updatedAt' | 'userId'>[];
activities: (Omit<
Order,
| 'accountUserId'

2
prisma/migrations/20240106124731_removed_account_type_enum/migration.sql

@ -0,0 +1,2 @@
-- DropEnum
DROP TYPE "AccountType";

5
prisma/schema.prisma

@ -196,11 +196,6 @@ model User {
Subscription Subscription[]
}
enum AccountType {
CASH
SECURITIES
}
enum AssetClass {
CASH
COMMODITY

Loading…
Cancel
Save