File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
apps/book-server/src/common/errors
packages/database/src/velog-redis Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export class RedisService extends Redis.default implements Service {
44
44
existsUser : ( userId : string ) => `exists:user:${ userId } ` ,
45
45
existsWriter : ( userId : string ) => `exists:writer:${ userId } ` ,
46
46
errorMessageCache : ( type : string , userId : string ) => `error:${ type } :${ userId } ` ,
47
+ deployBook : ( bookId : string ) => `book:deploy:${ bookId } ` ,
47
48
}
48
49
}
49
50
@@ -71,10 +72,11 @@ type GenerateRedisKey = {
71
72
userCache : ( username : string ) => string
72
73
postSeries : ( username : string , seriesUrlSlug : string ) => string
73
74
changeEmail : ( code : string ) => string
75
+ trendingWriters : ( ) => string
74
76
existsUser : ( userId : string ) => string
75
77
existsWriter : ( userId : string ) => string
76
78
errorMessageCache : ( type : string , userId : string ) => string
77
- trendingWriters : ( ) => string
79
+ deployBook : ( bookId : string ) => string
78
80
}
79
81
80
82
type QueueName = 'createFeed' | 'checkPostSpam'
You can’t perform that action at this time.
0 commit comments