mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(api): emit moderation events and apply account actions (#3031)
This commit is contained in:
1 parent
c488906131
commit
364084c819
385 files changed
+8994
-22221
No files matched your search
@@ -555,6 +555,14 @@ export class KVClient implements IKVProvider {
|
||||
return await this.execute('llen', async () => this.client.llen(key));
|
||||
}
|
||||
|
||||
async lrange(key: string, start: number, stop: number): Promise<Array<string>> {
|
||||
return await this.execute('lrange', async () => this.client.lrange(key, start, stop));
|
||||
}
|
||||
|
||||
async ltrim(key: string, start: number, stop: number): Promise<void> {
|
||||
await this.execute('ltrim', async () => this.client.ltrim(key, start, stop));
|
||||
}
|
||||
|
||||
async hset(key: string, field: string, value: string): Promise<number> {
|
||||
return await this.execute('hset', async () => this.client.hset(key, field, value));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user