We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab34898 commit 77308edCopy full SHA for 77308ed
packages/search/lib/commands/CONFIG_GET.ts
@@ -16,21 +16,3 @@ export default {
16
return transformedReply;
17
}
18
} as const satisfies Command;
19
-
20
21
-export function transformArguments(option: string) {
22
- return ['FT.CONFIG', 'GET', option];
23
-}
24
25
-interface ConfigGetReply {
26
- [option: string]: string | null;
27
28
29
-export function transformReply(rawReply: Array<[string, string | null]>): ConfigGetReply {
30
- const transformedReply: ConfigGetReply = Object.create(null);
31
- for (const [key, value] of rawReply) {
32
- transformedReply[key] = value;
33
- }
34
35
- return transformedReply;
36
0 commit comments