mirror of https://github.com/ghostfolio/ghostfolio
5 changed files with 32 additions and 20 deletions
@ -0,0 +1,10 @@ |
|||||
|
import { DataSource } from '@prisma/client'; |
||||
|
import { IsEnum, IsString } from 'class-validator'; |
||||
|
|
||||
|
export class AssetProfileIdentifierDto { |
||||
|
@IsEnum(DataSource) |
||||
|
dataSource: DataSource; |
||||
|
|
||||
|
@IsString() |
||||
|
symbol: string; |
||||
|
} |
||||
@ -0,0 +1 @@ |
|||||
|
export * from './asset-profile-identifier.dto'; |
||||
Loading…
Reference in new issue