You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
wip
This commit is contained in:
@@ -36,11 +36,33 @@ import CLIENT_LIST from './CLIENT_LIST';
|
||||
import CLIENT_NO_EVICT from './CLIENT_NO-EVICT';
|
||||
import CLIENT_PAUSE from './CLIENT_PAUSE';
|
||||
import CLIENT_SETNAME from './CLIENT_SETNAME';
|
||||
import CLIENT_TRACKING from './CLIENT_TRACKING';
|
||||
import CLIENT_TRACKINGINFO from './CLIENT_TRACKINGINFO';
|
||||
import CLIENT_UNPAUSE from './CLIENT_UNPAUSE';
|
||||
import CLUSTER_ADDSLOTS from './CLUSTER_ADDSLOTS';
|
||||
import CLUSTER_SLOTS from './CLUSTER_SLOTS';
|
||||
import CLUSTER_ADDSLOTSRANGE from './CLUSTER_ADDSLOTSRANGE';
|
||||
import CLUSTER_BUMPEPOCH from './CLUSTER_BUMPEPOCH';
|
||||
import CLUSTER_COUNT_FAILURE_REPORTS from './CLUSTER_COUNT-FAILURE-REPORTS';
|
||||
import CLUSTER_COUNTKEYSINSLOT from './CLUSTER_COUNTKEYSINSLOT';
|
||||
import CLUSTER_DELSLOTS from './CLUSTER_DELSLOTS';
|
||||
import CLUSTER_DELSLOTSRANGE from './CLUSTER_DELSLOTSRANGE';
|
||||
import CLUSTER_FAILOVER from './CLUSTER_FAILOVER';
|
||||
import CLUSTER_FLUSHSLOTS from './CLUSTER_FLUSHSLOTS';
|
||||
import CLUSTER_FORGET from './CLUSTER_FORGET';
|
||||
import CLUSTER_GETKEYSINSLOT from './CLUSTER_GETKEYSINSLOT';
|
||||
// import CLUSTER_INFO from './CLUSTER_INFO';
|
||||
import CLUSTER_KEYSLOT from './CLUSTER_KEYSLOT';
|
||||
// import CLUSTER_LINKS from './CLUSTER_LINKS';
|
||||
import CLUSTER_MEET from './CLUSTER_MEET';
|
||||
import CLUSTER_MYID from './CLUSTER_MYID';
|
||||
// import CLUSTER_NODES from './CLUSTER_NODES';
|
||||
// import CLUSTER_REPLICAS from './CLUSTER_REPLICAS';
|
||||
import CLUSTER_REPLICATE from './CLUSTER_REPLICATE';
|
||||
import CLUSTER_RESET from './CLUSTER_RESET';
|
||||
import CLUSTER_SAVECONFIG from './CLUSTER_SAVECONFIG';
|
||||
import CLUSTER_SET_CONFIG_EPOCH from './CLUSTER_SET-CONFIG-EPOCH';
|
||||
import CLUSTER_SETSLOT from './CLUSTER_SETSLOT';
|
||||
import CLUSTER_SLOTS from './CLUSTER_SLOTS';
|
||||
import COPY from './COPY';
|
||||
import DBSIZE from './DBSIZE';
|
||||
import DECR from './DECR';
|
||||
@@ -90,7 +112,7 @@ import FUNCTION_KILL from './FUNCTION_KILL';
|
||||
import FUNCTION_LIST_WITHCODE from './FUNCTION_LIST_WITHCODE';
|
||||
import FUNCTION_LIST from './FUNCTION_LIST';
|
||||
import FUNCTION_LOAD from './FUNCTION_LOAD';
|
||||
// import FUNCTION_RESTORE from './FUNCTION_RESTORE';
|
||||
import FUNCTION_RESTORE from './FUNCTION_RESTORE';
|
||||
// import FUNCTION_STATS from './FUNCTION_STATS';
|
||||
import HDEL from './HDEL';
|
||||
import HELLO from './HELLO';
|
||||
@@ -297,11 +319,33 @@ type CLIENT_LIST = typeof import('./CLIENT_LIST').default;
|
||||
type CLIENT_NO_EVICT = typeof import('./CLIENT_NO-EVICT').default;
|
||||
type CLIENT_PAUSE = typeof import('./CLIENT_PAUSE').default;
|
||||
type CLIENT_SETNAME = typeof import('./CLIENT_SETNAME').default;
|
||||
type CLIENT_TRACKING = typeof import('./CLIENT_TRACKING').default;
|
||||
type CLIENT_TRACKINGINFO = typeof import('./CLIENT_TRACKINGINFO').default;
|
||||
type CLIENT_UNPAUSE = typeof import('./CLIENT_UNPAUSE').default;
|
||||
type CLUSTER_ADDSLOTS = typeof import('./CLUSTER_ADDSLOTS').default;
|
||||
type CLUSTER_SLOTS = typeof import('./CLUSTER_SLOTS').default;
|
||||
type CLUSTER_ADDSLOTSRANGE = typeof import('./CLUSTER_ADDSLOTSRANGE').default;
|
||||
type CLUSTER_BUMPEPOCH = typeof import('./CLUSTER_BUMPEPOCH').default;
|
||||
type CLUSTER_COUNT_FAILURE_REPORTS = typeof import('./CLUSTER_COUNT-FAILURE-REPORTS').default;
|
||||
type CLUSTER_COUNTKEYSINSLOT = typeof import('./CLUSTER_COUNTKEYSINSLOT').default;
|
||||
type CLUSTER_DELSLOTS = typeof import('./CLUSTER_DELSLOTS').default;
|
||||
type CLUSTER_DELSLOTSRANGE = typeof import('./CLUSTER_DELSLOTSRANGE').default;
|
||||
type CLUSTER_FAILOVER = typeof import('./CLUSTER_FAILOVER').default;
|
||||
type CLUSTER_FLUSHSLOTS = typeof import('./CLUSTER_FLUSHSLOTS').default;
|
||||
type CLUSTER_FORGET = typeof import('./CLUSTER_FORGET').default;
|
||||
type CLUSTER_GETKEYSINSLOT = typeof import('./CLUSTER_GETKEYSINSLOT').default;
|
||||
// type CLUSTER_INFO = typeof import('./CLUSTER_INFO').default;
|
||||
type CLUSTER_KEYSLOT = typeof import('./CLUSTER_KEYSLOT').default;
|
||||
// type CLUSTER_LINKS = typeof import('./CLUSTER_LINKS').default;
|
||||
type CLUSTER_MEET = typeof import('./CLUSTER_MEET').default;
|
||||
type CLUSTER_MYID = typeof import('./CLUSTER_MYID').default;
|
||||
// type CLUSTER_NODES = typeof import('./CLUSTER_NODES').default;
|
||||
// type CLUSTER_REPLICAS = typeof import('./CLUSTER_REPLICAS').default;
|
||||
type CLUSTER_REPLICATE = typeof import('./CLUSTER_REPLICATE').default;
|
||||
type CLUSTER_RESET = typeof import('./CLUSTER_RESET').default;
|
||||
type CLUSTER_SAVECONFIG = typeof import('./CLUSTER_SAVECONFIG').default;
|
||||
type CLUSTER_SET_CONFIG_EPOCH = typeof import('./CLUSTER_SET-CONFIG-EPOCH').default;
|
||||
type CLUSTER_SETSLOT = typeof import('./CLUSTER_SETSLOT').default;
|
||||
type CLUSTER_SLOTS = typeof import('./CLUSTER_SLOTS').default;
|
||||
type COPY = typeof import('./COPY').default;
|
||||
type DBSIZE = typeof DBSIZE;
|
||||
type DECR = typeof import('./DECR').default;
|
||||
@@ -351,7 +395,7 @@ type FUNCTION_KILL = typeof import('./FUNCTION_KILL').default;
|
||||
type FUNCTION_LIST_WITHCODE = typeof import('./FUNCTION_LIST_WITHCODE').default;
|
||||
type FUNCTION_LIST = typeof import('./FUNCTION_LIST').default;
|
||||
type FUNCTION_LOAD = typeof import('./FUNCTION_LOAD').default;
|
||||
// type FUNCTION_RESTORE = typeof import('./FUNCTION_RESTORE').default;
|
||||
type FUNCTION_RESTORE = typeof import('./FUNCTION_RESTORE').default;
|
||||
// type FUNCTION_STATS = typeof import('./FUNCTION_STATS').default;
|
||||
type HDEL = typeof import('./HDEL').default;
|
||||
type HELLO = typeof import('./HELLO').default;
|
||||
@@ -596,16 +640,60 @@ type Commands = {
|
||||
clientPause: CLIENT_PAUSE;
|
||||
CLIENT_SETNAME: CLIENT_SETNAME;
|
||||
clientSetName: CLIENT_SETNAME;
|
||||
CLIENT_TRACKING: CLIENT_TRACKING;
|
||||
clientTracking: CLIENT_TRACKING;
|
||||
CLIENT_TRACKINGINFO: CLIENT_TRACKINGINFO;
|
||||
clientTrackingInfo: CLIENT_TRACKINGINFO;
|
||||
CLIENT_UNPAUSE: CLIENT_UNPAUSE;
|
||||
clientUnpause: CLIENT_UNPAUSE;
|
||||
CLUSTER_ADDSLOTS: CLUSTER_ADDSLOTS;
|
||||
clusterAddSlots: CLUSTER_ADDSLOTS;
|
||||
CLUSTER_SLOTS: CLUSTER_SLOTS;
|
||||
clusterSlots: CLUSTER_SLOTS;
|
||||
CLUSTER_ADDSLOTSRANGE: CLUSTER_ADDSLOTSRANGE;
|
||||
clusterAddSlotsRange: CLUSTER_ADDSLOTSRANGE;
|
||||
CLUSTER_BUMPEPOCH: CLUSTER_BUMPEPOCH;
|
||||
clusterBumpEpoch: CLUSTER_BUMPEPOCH;
|
||||
'CLUSTER_COUNT-FAILURE-REPORTS': CLUSTER_COUNT_FAILURE_REPORTS;
|
||||
clusterCountFailureReports: CLUSTER_COUNT_FAILURE_REPORTS;
|
||||
CLUSTER_COUNTKEYSINSLOT: CLUSTER_COUNTKEYSINSLOT;
|
||||
clusterCountKeysInSlot: CLUSTER_COUNTKEYSINSLOT;
|
||||
CLUSTER_DELSLOTS: CLUSTER_DELSLOTS;
|
||||
clusterDelSlots: CLUSTER_DELSLOTS;
|
||||
CLUSTER_DELSLOTSRANGE: CLUSTER_DELSLOTSRANGE;
|
||||
clusterDelSlotsRange: CLUSTER_DELSLOTSRANGE;
|
||||
CLUSTER_FAILOVER: CLUSTER_FAILOVER;
|
||||
clusterFailover: CLUSTER_FAILOVER;
|
||||
CLUSTER_FLUSHSLOTS: CLUSTER_FLUSHSLOTS;
|
||||
clusterFlushSlots: CLUSTER_FLUSHSLOTS;
|
||||
CLUSTER_FORGET: CLUSTER_FORGET;
|
||||
clusterForget: CLUSTER_FORGET;
|
||||
CLUSTER_GETKEYSINSLOT: CLUSTER_GETKEYSINSLOT;
|
||||
clusterGetKeysInSlot: CLUSTER_GETKEYSINSLOT;
|
||||
// CLUSTER_INFO: CLUSTER_INFO;
|
||||
// clusterInfo: CLUSTER_INFO;
|
||||
CLUSTER_KEYSLOT: CLUSTER_KEYSLOT;
|
||||
clusterKeySlot: CLUSTER_KEYSLOT;
|
||||
// CLUSTER_LINKS: CLUSTER_LINKS;
|
||||
// clusterLinks: CLUSTER_LINKS;
|
||||
CLUSTER_MEET: CLUSTER_MEET;
|
||||
clusterMeet: CLUSTER_MEET;
|
||||
CLUSTER_MYID: CLUSTER_MYID;
|
||||
clusterMyId: CLUSTER_MYID;
|
||||
// CLUSTER_NODES: CLUSTER_NODES;
|
||||
// clusterNodes: CLUSTER_NODES;
|
||||
// CLUSTER_REPLICAS: CLUSTER_REPLICAS;
|
||||
// clusterReplicas: CLUSTER_REPLICAS;
|
||||
CLUSTER_REPLICATE: CLUSTER_REPLICATE;
|
||||
clusterReplicate: CLUSTER_REPLICATE;
|
||||
CLUSTER_RESET: CLUSTER_RESET;
|
||||
clusterReset: CLUSTER_RESET;
|
||||
CLUSTER_SAVECONFIG: CLUSTER_SAVECONFIG;
|
||||
clusterSaveConfig: CLUSTER_SAVECONFIG;
|
||||
'CLUSTER_SET-CONFIG-EPOCH': CLUSTER_SET_CONFIG_EPOCH;
|
||||
clusterSetConfigEpoch: CLUSTER_SET_CONFIG_EPOCH;
|
||||
CLUSTER_SETSLOT: CLUSTER_SETSLOT;
|
||||
clusterSetSlot: CLUSTER_SETSLOT;
|
||||
CLUSTER_SLOTS: CLUSTER_SLOTS;
|
||||
clusterSlots: CLUSTER_SLOTS;
|
||||
COPY: COPY;
|
||||
copy: COPY;
|
||||
DBSIZE: DBSIZE;
|
||||
@@ -658,8 +746,8 @@ type Commands = {
|
||||
functionList: FUNCTION_LIST;
|
||||
FUNCTION_LOAD: FUNCTION_LOAD;
|
||||
functionLoad: FUNCTION_LOAD;
|
||||
// FUNCTION_RESTORE: FUNCTION_RESTORE;
|
||||
// functionRestore: FUNCTION_RESTORE;
|
||||
FUNCTION_RESTORE: FUNCTION_RESTORE;
|
||||
functionRestore: FUNCTION_RESTORE;
|
||||
// FUNCTION_STATS: FUNCTION_STATS;
|
||||
// functionStats: FUNCTION_STATS;
|
||||
GEOADD: GEOADD;
|
||||
@@ -1119,16 +1207,60 @@ export default {
|
||||
clientPause: CLIENT_PAUSE,
|
||||
CLIENT_SETNAME,
|
||||
clientSetName: CLIENT_SETNAME,
|
||||
CLIENT_TRACKING,
|
||||
clientTracking: CLIENT_TRACKING,
|
||||
CLIENT_TRACKINGINFO,
|
||||
clientTrackingInfo: CLIENT_TRACKINGINFO,
|
||||
CLIENT_UNPAUSE,
|
||||
clientUnpause: CLIENT_UNPAUSE,
|
||||
CLUSTER_ADDSLOTS,
|
||||
clusterAddSlots: CLUSTER_ADDSLOTS,
|
||||
CLUSTER_SLOTS,
|
||||
clusterSlots: CLUSTER_SLOTS,
|
||||
CLUSTER_ADDSLOTSRANGE,
|
||||
clusterAddSlotsRange: CLUSTER_ADDSLOTSRANGE,
|
||||
CLUSTER_BUMPEPOCH,
|
||||
clusterBumpEpoch: CLUSTER_BUMPEPOCH,
|
||||
'CLUSTER_COUNT-FAILURE-REPORTS': CLUSTER_COUNT_FAILURE_REPORTS,
|
||||
clusterCountFailureReports: CLUSTER_COUNT_FAILURE_REPORTS,
|
||||
CLUSTER_COUNTKEYSINSLOT,
|
||||
clusterCountKeysInSlot: CLUSTER_COUNTKEYSINSLOT,
|
||||
CLUSTER_DELSLOTS,
|
||||
clusterDelSlots: CLUSTER_DELSLOTS,
|
||||
CLUSTER_DELSLOTSRANGE,
|
||||
clusterDelSlotsRange: CLUSTER_DELSLOTSRANGE,
|
||||
CLUSTER_FAILOVER,
|
||||
clusterFailover: CLUSTER_FAILOVER,
|
||||
CLUSTER_FLUSHSLOTS,
|
||||
clusterFlushSlots: CLUSTER_FLUSHSLOTS,
|
||||
CLUSTER_FORGET,
|
||||
clusterForget: CLUSTER_FORGET,
|
||||
CLUSTER_GETKEYSINSLOT,
|
||||
clusterGetKeysInSlot: CLUSTER_GETKEYSINSLOT,
|
||||
// CLUSTER_INFO,
|
||||
// clusterInfo: CLUSTER_INFO,
|
||||
CLUSTER_KEYSLOT,
|
||||
clusterKeySlot: CLUSTER_KEYSLOT,
|
||||
// CLUSTER_LINKS,
|
||||
// clusterLinks: CLUSTER_LINKS,
|
||||
CLUSTER_MEET,
|
||||
clusterMeet: CLUSTER_MEET,
|
||||
CLUSTER_MYID,
|
||||
clusterMyId: CLUSTER_MYID,
|
||||
// CLUSTER_NODES,
|
||||
// clusterNodes: CLUSTER_NODES,
|
||||
// CLUSTER_REPLICAS,
|
||||
// clusterReplicas: CLUSTER_REPLICAS,
|
||||
CLUSTER_REPLICATE,
|
||||
clusterReplicate: CLUSTER_REPLICATE,
|
||||
CLUSTER_RESET,
|
||||
clusterReset: CLUSTER_RESET,
|
||||
CLUSTER_SAVECONFIG,
|
||||
clusterSaveConfig: CLUSTER_SAVECONFIG,
|
||||
'CLUSTER_SET-CONFIG-EPOCH': CLUSTER_SET_CONFIG_EPOCH,
|
||||
clusterSetConfigEpoch: CLUSTER_SET_CONFIG_EPOCH,
|
||||
CLUSTER_SETSLOT,
|
||||
clusterSetSlot: CLUSTER_SETSLOT,
|
||||
CLUSTER_SLOTS,
|
||||
clusterSlots: CLUSTER_SLOTS,
|
||||
COPY,
|
||||
copy: COPY,
|
||||
DBSIZE,
|
||||
@@ -1563,4 +1695,4 @@ export default {
|
||||
zUnion: ZUNION,
|
||||
ZUNIONSTORE,
|
||||
zUnionStore: ZUNIONSTORE
|
||||
} as const satisfies Record<string, Command> as Commands;
|
||||
} satisfies Record<string, Command> as Commands;
|
||||
|
Reference in New Issue
Block a user