10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
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[];
|
|
}
|