@yolo-croket-dev/entity-v2 0.1.15-jun.2 → 0.1.15-jun.4

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.
@@ -4,7 +4,7 @@ import { Types } from 'mongoose';
4
4
  * @description 유저당 1:1로 생성되는 apiKey 입니다.
5
5
  * 해당 apiKeysms apiSecret과 1:N 관계로 되어있습니다.
6
6
  */
7
- export interface ApiKey {
7
+ export interface ApiKeyEntity {
8
8
  _id: Types.ObjectId;
9
9
  /** 해당 유저 아이디 */
10
10
  userId: Types.ObjectId | string;
@@ -10,7 +10,7 @@ export declare enum ApiKeyLogTypeEnum {
10
10
  * @author jun
11
11
  * @description apiKey, Secret 관련 사용 로그 입니다.
12
12
  */
13
- export interface ApiKeyLog {
13
+ export interface ApiKeyLogEntity {
14
14
  _id: Types.ObjectId;
15
15
  logType: ApiKeyLogTypeEnum;
16
16
  /** 해당 유저 아이디 */
@@ -1,13 +1,13 @@
1
1
  import { Types } from 'mongoose';
2
2
  /** api 인증 권한 */
3
- declare enum ApiSecretAuthEnum {
3
+ export declare enum ApiSecretAuthEnum {
4
4
  사방넷_셀러 = "sabang_seller"
5
5
  }
6
6
  /**
7
7
  * @author jun
8
8
  * @description apiKey와 1:N 관계로 되어있습니다.
9
9
  */
10
- export interface ApiSecret {
10
+ export interface ApiSecretEntity {
11
11
  _id: Types.ObjectId;
12
12
  /** 해당 유저 아이디 */
13
13
  userId: Types.ObjectId | string;
@@ -28,4 +28,3 @@ export interface ApiSecret {
28
28
  /** 등록일 */
29
29
  regDate: Date;
30
30
  }
31
- export {};
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApiSecretAuthEnum = void 0;
3
4
  /** api 인증 권한 */
4
5
  var ApiSecretAuthEnum;
5
6
  (function (ApiSecretAuthEnum) {
6
7
  ApiSecretAuthEnum["\uC0AC\uBC29\uB137_\uC140\uB7EC"] = "sabang_seller";
7
- })(ApiSecretAuthEnum || (ApiSecretAuthEnum = {}));
8
+ })(ApiSecretAuthEnum || (exports.ApiSecretAuthEnum = ApiSecretAuthEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.1.15-jun.2",
3
+ "version": "0.1.15-jun.4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",