@yolo-croket-dev/entity-v2 0.0.86 → 0.0.87

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -0,0 +1 @@
1
+ export * from './store-item-synonyms.entity';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./store-item-synonyms.entity"), exports);
@@ -0,0 +1,24 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @description atlas 상품 검색 동의어 처리
4
+ * 생성일: 2025-02-14
5
+ * created by jun
6
+ */
7
+ export declare enum MappingTypeEnum {
8
+ 'explicit' = "explicit",
9
+ 'equivalent' = "equivalent"
10
+ }
11
+ export default interface StoreItemSynonymsEntity {
12
+ _id: Types.ObjectId;
13
+ /** @description mapping 종류 */
14
+ mappingType: MappingTypeEnum;
15
+ /** @description mappingType이 explicit 일때 필수 */
16
+ input?: string;
17
+ /** @description 동의어 */
18
+ synonyms: string[];
19
+ /** @description 업데이트 일자 */
20
+ updateDate: Date;
21
+ /** @description 등록일 */
22
+ regDate: Date;
23
+ }
24
+ export { StoreItemSynonymsEntity };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MappingTypeEnum = void 0;
4
+ /**
5
+ * @description atlas 상품 검색 동의어 처리
6
+ * 생성일: 2025-02-14
7
+ * created by jun
8
+ */
9
+ var MappingTypeEnum;
10
+ (function (MappingTypeEnum) {
11
+ MappingTypeEnum["explicit"] = "explicit";
12
+ MappingTypeEnum["equivalent"] = "equivalent";
13
+ })(MappingTypeEnum || (exports.MappingTypeEnum = MappingTypeEnum = {}));