@carsayo/types 1.1.89132 → 1.1.89134

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.
@@ -339,7 +339,7 @@ export interface ConnectCarColorDTO {
339
339
  colorId: number;
340
340
  }
341
341
  /** 특정 모델 내 유효한 모든 옵션을 조회합니다. */
342
- export interface GetCarModelOptionDTO {
342
+ export interface GetCarModelOptionColorDTO {
343
343
  modelId: number;
344
344
  }
345
345
  export {};
@@ -442,12 +442,21 @@ export type Admin_WholeSellingCar = Omit<WholeSellingCar, "car_model"> & {
442
442
  })[];
443
443
  })[];
444
444
  };
445
- export interface CarModelOption {
446
- id: number;
447
- name: string;
448
- price: number;
449
- isDescription: boolean;
450
- isInsertedManually: boolean;
445
+ /** 특정 모델 내 모든 옵션과 색상 데이터 */
446
+ export interface CarModelOptionColor {
447
+ option: {
448
+ id: number;
449
+ name: string;
450
+ price: number;
451
+ isDescription: boolean;
452
+ isInsertedManually: boolean;
453
+ }[];
454
+ color: {
455
+ id: number;
456
+ name: string;
457
+ price: number;
458
+ isInsertedManually: boolean;
459
+ }[];
451
460
  }
452
461
  export interface Admin_CarOption extends CarOption {
453
462
  /** 관리자에서 에디트한 제목 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.89132",
3
+ "version": "1.1.89134",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",