@yolo-croket-dev/entity-v2 0.3.64 → 0.3.65

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/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # 변경 기록
2
+
3
+ ## 0.3.65 — 관리자 개인 즐겨찾기
4
+
5
+ - `ManagePageFavoriteEntity`의 `path`, `title`을 공개합니다.
6
+ - `ManageUserEntity`에 optional `pageFavorites`, `pageFavoritesRevision`을 추가합니다. 기존 문서는 migration 없이 빈 목록·0 버전으로 읽습니다.
7
+ - 소비 순서: entity-v2 → amqp-access → user-service → gateway → admin-front.
8
+ - 새 컬렉션·인덱스는 추가하지 않습니다. beta 발행 전에는 로컬 tarball로 검증합니다.
9
+
10
+ - 정식 0.3.64에 공개된 Buyma 정산 entity 계약을 보존합니다.
@@ -1 +1,3 @@
1
+ /** @author jun @description 관리자 entity 공개 진입점 */
1
2
  export * from './manage-user.entity';
3
+ export * from './manage-page-favorite.entity';
@@ -14,4 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ /** @author jun @description 관리자 entity 공개 진입점 */
17
18
  __exportStar(require("./manage-user.entity"), exports);
19
+ __exportStar(require("./manage-page-favorite.entity"), exports);
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author jun
3
+ * @description 관리자 개인 즐겨찾기의 저장 형식
4
+ * @process 검색 조건 없이 내부 경로와 표시 이름만 보존한다.
5
+ */
6
+ export interface ManagePageFavoriteEntity {
7
+ path: string;
8
+ title: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,6 @@
1
+ /** @author jun @description 관리자 영속 문서의 공용 계약과 개인 즐겨찾기 설정 */
1
2
  import { Types } from 'mongoose';
3
+ import { ManagePageFavoriteEntity } from './manage-page-favorite.entity';
2
4
  export interface ManageUserAuth {
3
5
  read: boolean;
4
6
  write: boolean;
@@ -17,4 +19,6 @@ export interface ManageUserEntity {
17
19
  leaveTime: Date | null;
18
20
  isViewTopNav: boolean;
19
21
  purchasedInfosForAdminExcelColumns?: string[];
22
+ pageFavorites?: ManagePageFavoriteEntity[];
23
+ pageFavoritesRevision?: number;
20
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.3.64",
3
+ "version": "0.3.65",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -23,4 +23,4 @@
23
23
  },
24
24
  "license": "UNLICENSED",
25
25
  "dependencies": {}
26
- }
26
+ }