init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { PartialType, ApiProperty } from '@nestjs/swagger';
|
||||
import { CreateCartDto, CartItemDto } from './create-cart.dto';
|
||||
|
||||
export class UpdateCartItemDto extends PartialType(CartItemDto) {}
|
||||
|
||||
export class UpdateCartDto {
|
||||
@ApiProperty({ description: 'List of cart items to update', type: [UpdateCartItemDto], required: false })
|
||||
items?: UpdateCartItemDto[];
|
||||
}
|
||||
Reference in New Issue
Block a user