@elastic.io/component-commons-library
Version:
Library for most common component development cases
37 lines (28 loc) • 1.5 kB
text/typescript
/* eslint-disable max-classes-per-file */
import { convertJsonSchemaToEioSchema, makeSchemaInline, convertDotNetTypeToJsonSchemaType } from './jsonSchema/jsonSchemaConversionUtil';
import { jsonataTransform } from './jsonataTransform/jsonataTransform';
import { getLogger } from './logger/logger';
export { AttachmentProcessor } from './attachment/AttachmentProcessor';
export { ApiKeyRestClient } from './authentication/ApiKeyRestClient';
export { BasicAuthRestClient } from './authentication/BasicAuthRestClient';
export { NoAuthRestClient } from './authentication/NoAuthRestClient';
export { NtlmRestClient } from './authentication/NtlmRestClient';
export { OAuth2RestClient } from './authentication/OAuth2AuthorizationCodeRestClient';
export { CookieRestClient } from './authentication/CookieRestClient';
export { FacelessRestClient } from './authentication/FacelessRestClient';
export { PlatformApiLogicClient } from './platformApi/PlatformApiLogicClient';
export { PlatformApiRestClient } from './platformApi/PlatformApiRestClient';
export * from './externalApi';
export * from './utils/utils';
export class JsonSchema {
static convertJsonSchemaToEioSchema = convertJsonSchemaToEioSchema;
static makeSchemaInline = makeSchemaInline;
static convertDotNetTypeToJsonSchemaType = convertDotNetTypeToJsonSchemaType;
}
export class JsonataTransform {
static jsonataTransform = jsonataTransform;
}
export class Logger {
static getLogger = getLogger;
}
exports.getLogger = getLogger;