mirror of https://github.com/ghostfolio/ghostfolio
13 changed files with 96 additions and 64 deletions
@ -1,7 +1,10 @@ |
|||
import { Currency } from '@prisma/client'; |
|||
import { Currency, DisplayMode } from '@prisma/client'; |
|||
import { IsString } from 'class-validator'; |
|||
|
|||
export class UpdateUserSettingsDto { |
|||
@IsString() |
|||
currency: Currency; |
|||
baseCurrency: Currency; |
|||
|
|||
@IsString() |
|||
displayMode: DisplayMode; |
|||
} |
|||
|
@ -1,7 +1,7 @@ |
|||
import { Currency } from '@prisma/client'; |
|||
import { Currency, DisplayMode } from '@prisma/client'; |
|||
|
|||
export interface UserSettings { |
|||
baseCurrency: Currency; |
|||
displayMode: DisplayMode; |
|||
locale: string; |
|||
mode: 'DEFAULT' | 'ZEN'; |
|||
} |
|||
|
Loading…
Reference in new issue