Change response shape from redis_info endpoint

This commit is contained in:
Ken Hibino
2021-01-04 09:31:10 -08:00
parent 4951d2f571
commit 0c3cd80728
6 changed files with 42 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
import { Dispatch } from "redux";
import { getRedisInfo, RedisInfo } from "../api";
import { getRedisInfo, RedisInfoResponse } from "../api";
// List of redis-info related action types.
export const GET_REDIS_INFO_BEGIN = "GET_REDIS_INFO_BEGIN";
@@ -12,7 +12,7 @@ interface GetRedisInfoBeginAction {
interface GetRedisInfoSuccessAction {
type: typeof GET_REDIS_INFO_SUCCESS;
payload: RedisInfo;
payload: RedisInfoResponse;
}
interface GetRedisInfoErrorAction {