feat(redis): download large Redis values
This commit is contained in:
19 files changed
+166
-4
No files matched your search
@@ -583,6 +583,7 @@ export const redisScanKeys = forward("redisScanKeys");
|
||||
export const redisScanKeysBatch = forward("redisScanKeysBatch");
|
||||
export const redisScanValues = forward("redisScanValues");
|
||||
export const redisGetValue = forward("redisGetValue");
|
||||
export const redisGetRawValue = forward("redisGetRawValue");
|
||||
export const redisGetTtl = forward("redisGetTtl");
|
||||
export const redisGetStreamEntries = forward("redisGetStreamEntries");
|
||||
export const redisGetStreamGroups = forward("redisGetStreamGroups");
|
||||
|
||||
@@ -110,6 +110,7 @@ import type {
|
||||
DownloadedUpdate,
|
||||
UpdateDownloadSource,
|
||||
RedisCollectionPage,
|
||||
RedisBlob,
|
||||
RedisDatabaseInfo,
|
||||
RedisStreamConsumer,
|
||||
RedisStreamGroup,
|
||||
@@ -3556,6 +3557,10 @@ export async function redisGetValue(connectionId: string, db: number, keyRaw: st
|
||||
return post("/api/redis/get-value", { connectionId, db, keyRaw });
|
||||
}
|
||||
|
||||
export async function redisGetRawValue(connectionId: string, db: number, keyRaw: string): Promise<RedisBlob> {
|
||||
return post("/api/redis/get-raw-value", { connectionId, db, keyRaw });
|
||||
}
|
||||
|
||||
export async function redisGetTtl(connectionId: string, db: number, keyRaw: string): Promise<number> {
|
||||
return post("/api/redis/get-ttl", { connectionId, db, keyRaw });
|
||||
}
|
||||
|
||||
@@ -3412,6 +3412,10 @@ export async function redisGetValue(connectionId: string, db: number, keyRaw: st
|
||||
return invoke("redis_get_value", { connectionId, db, keyRaw });
|
||||
}
|
||||
|
||||
export async function redisGetRawValue(connectionId: string, db: number, keyRaw: string): Promise<RedisBlob> {
|
||||
return invoke("redis_get_raw_value", { connectionId, db, keyRaw });
|
||||
}
|
||||
|
||||
export async function redisGetTtl(connectionId: string, db: number, keyRaw: string): Promise<number> {
|
||||
return invoke("redis_get_ttl", { connectionId, db, keyRaw });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user