@elastic.io/component-commons-library
Version:
Library for most common component development cases
59 lines (58 loc) • 4.3 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = exports.JsonataTransform = exports.JsonSchema = exports.PlatformApiRestClient = exports.PlatformApiLogicClient = exports.FacelessRestClient = exports.CookieRestClient = exports.OAuth2RestClient = exports.NtlmRestClient = exports.NoAuthRestClient = exports.BasicAuthRestClient = exports.ApiKeyRestClient = exports.AttachmentProcessor = void 0;
/* eslint-disable max-classes-per-file */
const jsonSchemaConversionUtil_1 = require("./jsonSchema/jsonSchemaConversionUtil");
const jsonataTransform_1 = require("./jsonataTransform/jsonataTransform");
const logger_1 = require("./logger/logger");
var AttachmentProcessor_1 = require("./attachment/AttachmentProcessor");
Object.defineProperty(exports, "AttachmentProcessor", { enumerable: true, get: function () { return AttachmentProcessor_1.AttachmentProcessor; } });
var ApiKeyRestClient_1 = require("./authentication/ApiKeyRestClient");
Object.defineProperty(exports, "ApiKeyRestClient", { enumerable: true, get: function () { return ApiKeyRestClient_1.ApiKeyRestClient; } });
var BasicAuthRestClient_1 = require("./authentication/BasicAuthRestClient");
Object.defineProperty(exports, "BasicAuthRestClient", { enumerable: true, get: function () { return BasicAuthRestClient_1.BasicAuthRestClient; } });
var NoAuthRestClient_1 = require("./authentication/NoAuthRestClient");
Object.defineProperty(exports, "NoAuthRestClient", { enumerable: true, get: function () { return NoAuthRestClient_1.NoAuthRestClient; } });
var NtlmRestClient_1 = require("./authentication/NtlmRestClient");
Object.defineProperty(exports, "NtlmRestClient", { enumerable: true, get: function () { return NtlmRestClient_1.NtlmRestClient; } });
var OAuth2AuthorizationCodeRestClient_1 = require("./authentication/OAuth2AuthorizationCodeRestClient");
Object.defineProperty(exports, "OAuth2RestClient", { enumerable: true, get: function () { return OAuth2AuthorizationCodeRestClient_1.OAuth2RestClient; } });
var CookieRestClient_1 = require("./authentication/CookieRestClient");
Object.defineProperty(exports, "CookieRestClient", { enumerable: true, get: function () { return CookieRestClient_1.CookieRestClient; } });
var FacelessRestClient_1 = require("./authentication/FacelessRestClient");
Object.defineProperty(exports, "FacelessRestClient", { enumerable: true, get: function () { return FacelessRestClient_1.FacelessRestClient; } });
var PlatformApiLogicClient_1 = require("./platformApi/PlatformApiLogicClient");
Object.defineProperty(exports, "PlatformApiLogicClient", { enumerable: true, get: function () { return PlatformApiLogicClient_1.PlatformApiLogicClient; } });
var PlatformApiRestClient_1 = require("./platformApi/PlatformApiRestClient");
Object.defineProperty(exports, "PlatformApiRestClient", { enumerable: true, get: function () { return PlatformApiRestClient_1.PlatformApiRestClient; } });
__exportStar(require("./externalApi"), exports);
__exportStar(require("./utils/utils"), exports);
class JsonSchema {
}
exports.JsonSchema = JsonSchema;
JsonSchema.convertJsonSchemaToEioSchema = jsonSchemaConversionUtil_1.convertJsonSchemaToEioSchema;
JsonSchema.makeSchemaInline = jsonSchemaConversionUtil_1.makeSchemaInline;
JsonSchema.convertDotNetTypeToJsonSchemaType = jsonSchemaConversionUtil_1.convertDotNetTypeToJsonSchemaType;
class JsonataTransform {
}
exports.JsonataTransform = JsonataTransform;
JsonataTransform.jsonataTransform = jsonataTransform_1.jsonataTransform;
class Logger {
}
exports.Logger = Logger;
Logger.getLogger = logger_1.getLogger;
exports.getLogger = logger_1.getLogger;