mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
391 B
23 lines
391 B
import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
|
|
export class UpdateUserSettingDto {
|
|
@IsNumber()
|
|
@IsOptional()
|
|
emergencyFund?: number;
|
|
|
|
@IsBoolean()
|
|
@IsOptional()
|
|
isRestrictedView?: boolean;
|
|
|
|
@IsString()
|
|
@IsOptional()
|
|
language?: string;
|
|
|
|
@IsString()
|
|
@IsOptional()
|
|
locale?: string;
|
|
|
|
@IsNumber()
|
|
@IsOptional()
|
|
savingsRate?: number;
|
|
}
|
|
|