@yolo-croket-dev/entity-v2 0.0.0

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/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # 설명
2
+
3
+ - croket의 entity
4
+
5
+ ## 요약
6
+
7
+ - nest 서버에서 사용되는 entity
8
+
9
+ ## 버전
10
+
@@ -0,0 +1 @@
1
+ export * from './lologin.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("./lologin.entity"), exports);
@@ -0,0 +1,17 @@
1
+ import { Types } from 'mongoose';
2
+ interface LologinLog {
3
+ type: string;
4
+ content: string;
5
+ regDate: string;
6
+ }
7
+ /** @description 로로긴 엔티티 */
8
+ export default interface LologinEntity {
9
+ _id: Types.ObjectId | string;
10
+ loginUserId: Types.ObjectId | string;
11
+ writeName: string;
12
+ managerId: Types.ObjectId | string;
13
+ log: LologinLog[];
14
+ expired: Date;
15
+ regDate: Date;
16
+ }
17
+ export { LologinEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@yolo-croket-dev/entity-v2",
3
+ "version": "0.0.0",
4
+ "main": "index.js",
5
+ "author": "Yolo Co., Ltd.",
6
+ "description": "크로켓 nest 용 entity-v2",
7
+ "keywords": [
8
+ "entity",
9
+ "croket"
10
+ ],
11
+ "homepage": "https://bitbucket.org/yolo_server/croket_monorepo/src",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://bitbucket.org/yolo_server/croket_monorepo/src/master"
15
+ },
16
+ "scripts": {
17
+ "build": "tsc",
18
+ "lint": "eslint src/**/*.ts",
19
+ "fix": "eslint --fix src/**/*.ts",
20
+ "clean": "tsc --build --clean",
21
+ "prepublishOnly": "npm run build",
22
+ "postpublish": "npm run clean"
23
+ },
24
+ "license": "UNLICENSED",
25
+ "dependencies": {}
26
+ }