Browse Source
			
			
			Feature/remove account type enum (#2832)
			
				* Remove AccountType enum
* Update changelog
			
			
				pull/2827/head^2
			
			
		 
		
			
				
					
						 Thomas Kaul
					
					2 years ago
						Thomas Kaul
					
					2 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 4 changed files with 
9 additions and 
9 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
- 
					
					
					 
					libs/common/src/lib/interfaces/export.interface.ts
				
- 
					
					
					 
					prisma/migrations/20240106124731_removed_account_type_enum/migration.sql
				
- 
					
					
					 
					prisma/schema.prisma
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. | 
			
		
	
		
		
			
				
					|  |  | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |  |  | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 
			
		
	
		
		
			
				
					|  |  | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |  |  | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | ## Unreleased | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | ### Changed | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | - Removed the `AccountType` enum | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | ## 2.35.0 - 2024-01-06 |  |  | ## 2.35.0 - 2024-01-06 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | ### Added |  |  | ### Added | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -5,10 +5,7 @@ export interface Export { | 
			
		
	
		
		
			
				
					|  |  |     date: string; |  |  |     date: string; | 
			
		
	
		
		
			
				
					|  |  |     version: string; |  |  |     version: string; | 
			
		
	
		
		
			
				
					|  |  |   }; |  |  |   }; | 
			
		
	
		
		
			
				
					
					|  |  |   accounts: Omit< |  |  |   accounts: Omit<Account, 'createdAt' | 'isDefault' | 'updatedAt' | 'userId'>[]; | 
			
				
				
			
		
	
		
		
			
				
					|  |  |     Account, |  |  |  | 
			
		
	
		
		
			
				
					|  |  |     'accountType' | 'createdAt' | 'isDefault' | 'updatedAt' | 'userId' |  |  |  | 
			
		
	
		
		
			
				
					|  |  |   >[]; |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					|  |  |   activities: (Omit< |  |  |   activities: (Omit< | 
			
		
	
		
		
			
				
					|  |  |     Order, |  |  |     Order, | 
			
		
	
		
		
			
				
					|  |  |     | 'accountUserId' |  |  |     | 'accountUserId' | 
			
		
	
	
		
		
			
				
					|  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -0,0 +1,2 @@ | 
			
		
	
		
		
			
				
					|  |  |  |  |  | -- DropEnum | 
			
		
	
		
		
			
				
					|  |  |  |  |  | DROP TYPE "AccountType"; | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -196,11 +196,6 @@ model User { | 
			
		
	
		
		
			
				
					|  |  |   Subscription  Subscription[] |  |  |   Subscription  Subscription[] | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  | enum AccountType { |  |  |  | 
			
		
	
		
		
			
				
					|  |  |   CASH |  |  |  | 
			
		
	
		
		
			
				
					|  |  |   SECURITIES |  |  |  | 
			
		
	
		
		
			
				
					|  |  | } |  |  |  | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  |  | 
			
		
	
		
		
			
				
					|  |  | enum AssetClass { |  |  | enum AssetClass { | 
			
		
	
		
		
			
				
					|  |  |   CASH |  |  |   CASH | 
			
		
	
		
		
			
				
					|  |  |   COMMODITY |  |  |   COMMODITY | 
			
		
	
	
		
		
			
				
					|  | 
 |