@yolo-croket-dev/entity-v2 0.1.51 → 0.1.52-hj-2

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,27 @@
1
+ import { Types } from 'mongoose';
2
+ /** @description 환율 데이터 */
3
+ export default interface ExchangeRateEntity {
4
+ _id: Types.ObjectId | string;
5
+ /** @description 환율 정보 */
6
+ exchangeRateInfo: string;
7
+ /** @description 환율 데이터 갱신 시간 */
8
+ renewedAt: Date;
9
+ /** @description 환율 데이터 api 호출 시간 */
10
+ apiCalledAt: Date;
11
+ }
12
+ /** @description 나라별 환율 정보 */
13
+ export interface ExchangeRateInfo {
14
+ /** @description 통화 코드 */
15
+ cur_unit: string;
16
+ /** @description 국가/통화명 */
17
+ cur_nm: string;
18
+ /** @description 전신환(송금) 받으실 때 */
19
+ ttb: string;
20
+ /** @description 전신환(송금) 보내실 때 */
21
+ tts: string;
22
+ /** @description 매매 기준율 */
23
+ deal_bas_r: string;
24
+ /** @description 나라별 환율 정보 갱신 시간 */
25
+ renewedAt: Date;
26
+ }
27
+ export { ExchangeRateEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './exchange-rate.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("./exchange-rate.entity"), exports);
package/index.d.ts CHANGED
@@ -37,3 +37,4 @@ export * from './changed-purhcased-option-log';
37
37
  export * from './brand';
38
38
  export * from './brand-cohort';
39
39
  export * from './brand-bookmark';
40
+ export * from './exchange-rate';
package/index.js CHANGED
@@ -53,3 +53,4 @@ __exportStar(require("./changed-purhcased-option-log"), exports);
53
53
  __exportStar(require("./brand"), exports);
54
54
  __exportStar(require("./brand-cohort"), exports);
55
55
  __exportStar(require("./brand-bookmark"), exports);
56
+ __exportStar(require("./exchange-rate"), exports);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.1.51",
3
+ "version": "0.1.52-hj-2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
7
7
  "keywords": [
8
- "entity",
8
+ "entity",
9
9
  "croket"
10
10
  ],
11
11
  "homepage": "https://bitbucket.org/yolo_server/croket_monorepo/src",