UNPKG

@configurator/ravendb

Version:
32 lines 990 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetLogsConfigurationOperation = void 0; const RavenCommand_1 = require("../../../Http/RavenCommand"); class GetLogsConfigurationOperation { get resultType() { return "CommandResult"; } getCommand(conventions) { return new GetLogsConfigurationCommand(); } } exports.GetLogsConfigurationOperation = GetLogsConfigurationOperation; class GetLogsConfigurationCommand extends RavenCommand_1.RavenCommand { get isReadRequest() { return false; } createRequest(node) { const uri = node.url + "/admin/logs/configuration"; return { uri, method: "GET" }; } async setResponseAsync(bodyStream, fromCache) { if (!bodyStream) { this._throwInvalidResponse(); } return this._parseResponseDefaultAsync(bodyStream); } } //# sourceMappingURL=GetLogsConfigurationOperation.js.map