Files
Star-wars-card-game/node_modules/@redis/client/dist/lib/commands/ACL_GETUSER.js
2026-01-28 00:55:06 +03:00

19 lines
530 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformReply = exports.transformArguments = void 0;
function transformArguments(username) {
return ['ACL', 'GETUSER', username];
}
exports.transformArguments = transformArguments;
function transformReply(reply) {
return {
flags: reply[1],
passwords: reply[3],
commands: reply[5],
keys: reply[7],
channels: reply[9],
selectors: reply[11]
};
}
exports.transformReply = transformReply;