You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Add Redis 8.2 New Stream Commands (#3029)
* chore: update Redis version from 8.2-RC1-pre to 8.2-rc1 * feat: implement XDELEX command for Redis 8.2 * feat: implement XACKDEL command for Redis 8.2 * refactor: create shared stream deletion types for Redis 8.2 commands * feat: add Redis 8.2 deletion policies to XTRIM command * feat: add Redis 8.2 deletion policies to XADD commands * fix: correct XDELEX command method name and test parameter
This commit is contained in:
@@ -280,6 +280,7 @@ import TYPE from './TYPE';
|
||||
import UNLINK from './UNLINK';
|
||||
import WAIT from './WAIT';
|
||||
import XACK from './XACK';
|
||||
import XACKDEL from './XACKDEL';
|
||||
import XADD_NOMKSTREAM from './XADD_NOMKSTREAM';
|
||||
import XADD from './XADD';
|
||||
import XAUTOCLAIM_JUSTID from './XAUTOCLAIM_JUSTID';
|
||||
@@ -287,6 +288,7 @@ import XAUTOCLAIM from './XAUTOCLAIM';
|
||||
import XCLAIM_JUSTID from './XCLAIM_JUSTID';
|
||||
import XCLAIM from './XCLAIM';
|
||||
import XDEL from './XDEL';
|
||||
import XDELEX from './XDELEX';
|
||||
import XGROUP_CREATE from './XGROUP_CREATE';
|
||||
import XGROUP_CREATECONSUMER from './XGROUP_CREATECONSUMER';
|
||||
import XGROUP_DELCONSUMER from './XGROUP_DELCONSUMER';
|
||||
@@ -924,6 +926,8 @@ export default {
|
||||
wait: WAIT,
|
||||
XACK,
|
||||
xAck: XACK,
|
||||
XACKDEL,
|
||||
xAckDel: XACKDEL,
|
||||
XADD_NOMKSTREAM,
|
||||
xAddNoMkStream: XADD_NOMKSTREAM,
|
||||
XADD,
|
||||
@@ -938,6 +942,8 @@ export default {
|
||||
xClaim: XCLAIM,
|
||||
XDEL,
|
||||
xDel: XDEL,
|
||||
XDELEX,
|
||||
xDelEx: XDELEX,
|
||||
XGROUP_CREATE,
|
||||
xGroupCreate: XGROUP_CREATE,
|
||||
XGROUP_CREATECONSUMER,
|
||||
|
Reference in New Issue
Block a user