You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
515 B
15 lines
515 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.transformReply = exports.transformArguments = void 0;
|
|
function transformArguments(option) {
|
|
return ['FT.CONFIG', 'GET', option];
|
|
}
|
|
exports.transformArguments = transformArguments;
|
|
function transformReply(rawReply) {
|
|
const transformedReply = Object.create(null);
|
|
for (const [key, value] of rawReply) {
|
|
transformedReply[key] = value;
|
|
}
|
|
return transformedReply;
|
|
}
|
|
exports.transformReply = transformReply;
|
|
|