@carsayo/types 1.1.89115 → 1.1.89116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  /** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
2
2
  import { CarCategoryId, CarMakerId, CarShapeId, PopularCarCategoryId } from "../../../data";
3
+ import { CarColorRestrictions } from "./interface";
3
4
  export interface GetCarModelDTO {
4
5
  carMakerId: CarMakerId;
5
6
  /**
@@ -199,6 +200,8 @@ export declare class ModifyCarColorDTO {
199
200
  */
200
201
  is_interior?: boolean;
201
202
  isHidden: boolean;
203
+ /** 해당 색상 선택 시 걸리는 제한 사항 */
204
+ restrictions: CarColorRestrictions | null;
202
205
  }
203
206
  export interface ModifyCarOptionRelationDTO {
204
207
  /** 대상 옵션 Id */
@@ -355,6 +358,8 @@ export interface CreateCarColorDTO {
355
358
  * @default false
356
359
  */
357
360
  is_interior: boolean;
361
+ /** 해당 색상 선택 시 걸리는 제한 사항 */
362
+ restrictions: CarColorRestrictions | null;
358
363
  }
359
364
  export interface ConnectCarOptionDTO {
360
365
  gradeId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.89115",
3
+ "version": "1.1.89116",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",