@carsayo/types 1.1.764 → 1.1.765

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.
@@ -0,0 +1,20 @@
1
+ /** 카사요 서비스 내 인기 차량 카테고리
2
+ * @relation RDB 내 car_popular_catrgory
3
+ * @frontend 카사요 앱 리액트 프로젝트, 카사요 어드민 웹
4
+ * @backend Prisma, Main_Service
5
+ */
6
+ export declare const CarOptionRelationCategory: readonly [{
7
+ readonly id: 0;
8
+ readonly title: "포함 관계";
9
+ readonly description: "car_option_1은 car_option_2를 포함하고 있습니다.";
10
+ }, {
11
+ readonly id: 1;
12
+ readonly title: "필요 관계";
13
+ readonly description: "car_option_1을 선택하기 위해서는 car_option_2를 필요로 합니다.";
14
+ }, {
15
+ readonly id: 2;
16
+ readonly title: "양립 불가 관계";
17
+ readonly description: "car_option_1는 car_option_2와 동시 선택될 수 없습니다.";
18
+ }];
19
+ export declare const CarOptionRelationCategoryId: (0 | 1 | 2)[];
20
+ export type CarOptionRelationCategoryId = (typeof CarOptionRelationCategory)[number]["id"];
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /** 카사요 서비스 내 인기 차량 카테고리
3
+ * @relation RDB 내 car_popular_catrgory
4
+ * @frontend 카사요 앱 리액트 프로젝트, 카사요 어드민 웹
5
+ * @backend Prisma, Main_Service
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.CarOptionRelationCategoryId = exports.CarOptionRelationCategory = void 0;
9
+ exports.CarOptionRelationCategory = [
10
+ {
11
+ id: 0,
12
+ title: "포함 관계",
13
+ description: "car_option_1은 car_option_2를 포함하고 있습니다.",
14
+ },
15
+ {
16
+ id: 1,
17
+ title: "필요 관계",
18
+ description: "car_option_1을 선택하기 위해서는 car_option_2를 필요로 합니다.",
19
+ },
20
+ {
21
+ id: 2,
22
+ title: "양립 불가 관계",
23
+ description: "car_option_1는 car_option_2와 동시 선택될 수 없습니다.",
24
+ },
25
+ ];
26
+ exports.CarOptionRelationCategoryId = exports.CarOptionRelationCategory.map((el) => {
27
+ return el.id;
28
+ });
@@ -134,6 +134,14 @@ export interface CarOption {
134
134
  * @example "파퓰러 패키지" 안에 "드라이브 와이즈 1"이 포함될 경우, "드라이브 와이즈 1"의 id값이 포함됩니다.
135
135
  */
136
136
  include: number[];
137
+ /** 이 옵션이 선택되려면 먼저 선택되어야 하는 옵션 리스트
138
+ * @notice CarOption의 Id값 리스트입니다.
139
+ */
140
+ /** 이 옵션의 상위 옵션 목록
141
+ * @notice CarOption의 Id값 리스트입니다.
142
+ * @example "드라이브 와이즈 1" 이 "파퓰러 패키지", "프레스티지 패키지"에 포함될 경우, "파퓰러 패키지", "프레스티지 패키지"의 id값 두 개가 포함됩니다.
143
+ */
144
+ parent: number[];
137
145
  /** 이 옵션이 선택되려면 먼저 선택되어야 하는 옵션 리스트
138
146
  * @notice CarOption의 Id값 리스트입니다.
139
147
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.764",
3
+ "version": "1.1.765",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",