@yolo-croket-dev/entity-v2 0.2.111 → 0.2.112
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.
|
@@ -2,7 +2,7 @@ import { Types } from 'mongoose';
|
|
|
2
2
|
/** 디바이스 타입 ios, android, etc */
|
|
3
3
|
export type AppPushDeviceType = 'ios' | 'android' | 'etc';
|
|
4
4
|
/** 앱 푸시 토큰 */
|
|
5
|
-
export interface
|
|
5
|
+
export interface AppPushDeviceTokenEntity {
|
|
6
6
|
/** 앱 푸시 토큰 아이디 */
|
|
7
7
|
_id: Types.ObjectId | string;
|
|
8
8
|
/** 사용자 아이디 */
|
|
@@ -11,8 +11,10 @@ export interface AppPushDeviceToken {
|
|
|
11
11
|
deviceToken: string;
|
|
12
12
|
/** 디바이스 타입 */
|
|
13
13
|
deviceType: AppPushDeviceType;
|
|
14
|
+
/** 앱 버전 */
|
|
15
|
+
appVersion?: string;
|
|
14
16
|
/** 마지막 수정일 */
|
|
15
|
-
lastModifiedDate
|
|
17
|
+
lastModifiedDate: Date;
|
|
16
18
|
/** 저장일 */
|
|
17
19
|
regDate: Date;
|
|
18
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/entity-v2",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.112",
|
|
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
|
+
}
|