You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-03 04:01:40 +03:00
12 lines
409 B
TypeScript
12 lines
409 B
TypeScript
import { ArrayReply, BlobStringReply, Command } from '@redis/client/dist/lib/RESP/types';
|
|
import { CommandParser } from '@redis/client/dist/lib/client/parser';
|
|
|
|
export default {
|
|
NOT_KEYED_COMMAND: true,
|
|
IS_READ_ONLY: true,
|
|
parseCommand(parser: CommandParser) {
|
|
parser.push('GRAPH.LIST');
|
|
},
|
|
transformReply: undefined as unknown as () => ArrayReply<BlobStringReply>
|
|
} as const satisfies Command;
|