@@ -29,15 +29,15 @@ type _LwProp<N extends keyof ProjectConstructor> = LwProp<ProjectConstructor, N>
29
29
/** 엔트리 작품을 나타낸다. */
30
30
export default class Project implements LwInterface < ProjectConstructor > {
31
31
id
32
- @Lw ( "getinfo " ) name : _LwProp < "name" >
33
- @Lw ( "getinfo " ) owner : _LwProp < "owner" >
34
- @Lw ( "getinfo " ) thumbURL : _LwProp < "thumbURL" >
35
- @Lw ( "getinfo " ) updated : _LwProp < "updated" >
36
- @Lw ( "getinfo " ) visitCount : _LwProp < "visitCount" >
37
- @Lw ( "getinfo " ) likeCount : _LwProp < "likeCount" >
38
- @Lw ( "getinfo " ) recentLikeCount : _LwProp < "recentLikeCount" >
39
- @Lw ( "getinfo " ) commentCount : _LwProp < "commentCount" >
40
- @Lw ( "getinfo " ) childCount : _LwProp < "childCount" >
32
+ @Lw ( "getInfo " ) name : _LwProp < "name" >
33
+ @Lw ( "getInfo " ) owner : _LwProp < "owner" >
34
+ @Lw ( "getInfo " ) thumbURL : _LwProp < "thumbURL" >
35
+ @Lw ( "getInfo " ) updated : _LwProp < "updated" >
36
+ @Lw ( "getInfo " ) visitCount : _LwProp < "visitCount" >
37
+ @Lw ( "getInfo " ) likeCount : _LwProp < "likeCount" >
38
+ @Lw ( "getInfo " ) recentLikeCount : _LwProp < "recentLikeCount" >
39
+ @Lw ( "getInfo " ) commentCount : _LwProp < "commentCount" >
40
+ @Lw ( "getInfo " ) childCount : _LwProp < "childCount" >
41
41
constructor ( info : ProjectConstructor ) {
42
42
this . id = info . id
43
43
this . name = info . name !
@@ -61,7 +61,7 @@ export default class Project implements LwInterface<ProjectConstructor> {
61
61
this . updated = new Date ( res . updated )
62
62
this . visitCount = res . visit
63
63
this . likeCount = res . likeCnt
64
- this . recentLikeCount = res . recent
64
+ this . recentLikeCount = res . recentLikeCnt
65
65
this . commentCount = res . comment
66
66
this . childCount = res . childCnt
67
67
}
0 commit comments