@carsayo/types 1.1.891779 → 1.1.891781

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.
@@ -328,7 +328,7 @@ export interface RepairEstimate {
328
328
  * @note VAT 포함 가격
329
329
  */
330
330
  price: number;
331
- }[] | null;
331
+ } | null;
332
332
  /** 타이어 견적서 내용
333
333
  * @note 타이어일 때 정의
334
334
  */
@@ -359,7 +359,7 @@ export interface RepairEstimate {
359
359
  /** 무상 제공 여부 */
360
360
  isFree: boolean;
361
361
  }[];
362
- }[] | null;
362
+ } | null;
363
363
  /** 추가 요청 사항 비용 */
364
364
  additionalPrice?: {
365
365
  /** 견인
@@ -472,38 +472,17 @@ export interface RepairProgress {
472
472
  finish_date: string;
473
473
  /** 교체 완료 사진 URL */
474
474
  pictures: string[];
475
- /** 부품
476
- * @note 타이어일 때에는 빈Array를 넣어주세요
477
- */
478
- part: {
479
- /** 부품명 */
480
- name: string;
481
- /** 새 부품 여부 */
482
- isNew: boolean;
483
- /** 부품비 */
484
- price: number;
485
- }[];
475
+ /** 엔진오일 교체 정보 */
476
+ engineOilItems: RepairEstimate["engineOilItems"] | null;
486
477
  /** 타이어 교체 정보 */
487
- tire: {
488
- /** 타이어 브랜드 */
489
- brandName: string;
490
- /** 타이어 사이즈 */
491
- size: TireSize;
492
- }[];
493
- price: {
494
- /** 상기 part 비용 합계 */
495
- 부품비: number;
496
- 공임비: number;
497
- /**
498
- * connected with tireItems.options, engineOilItems.part
499
- * @example { "출장": 10000, "장착비용": 0 }
500
- */
501
- 추가비용: Record<string, number>;
502
- /** 총 비용
503
- * @note VAT 포함 가격
504
- */
505
- totalPrice: number;
478
+ tireItems: RepairEstimate["tireItems"] | null;
479
+ additionalPrice?: {
480
+ 출장: RepairEstimate["additionalPrice"]["출장"] | null;
506
481
  };
482
+ /** 총 비용
483
+ * @note VAT 포함 가격
484
+ */
485
+ totalPrice: number;
507
486
  } | null;
508
487
  }
509
488
  /** 정비 리뷰 내용 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891779",
3
+ "version": "1.1.891781",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",