small changes to project config

This commit is contained in:
Joe Arndt 2025-12-10 18:29:45 -06:00
parent 7011e44662
commit 085e84b086
5 changed files with 34 additions and 30 deletions

View file

@ -1,19 +1,19 @@
import { PartialType } from '@nestjs/mapped-types';
export class CreateExpenseDto {
year: string;
month: string;
day: string;
cents: number;
category: string;
subcategory?: string[];
merchant?: string;
tags?: string[];
description?: string;
year: string;
month: string;
day: string;
cents: number;
category: string;
merchant: string;
subcategory: string[];
tags: string[];
description?: string;
}
export class UpdateExpenseDto extends PartialType(CreateExpenseDto) { }
export class GetExpenseDto extends CreateExpenseDto{
id: number;
id: number;
}