@@ -153,10 +153,12 @@ import { UpdateDocumentByQueryParams } from 'elasticsearch';
153
153
import { UpdateDocumentParams } from ' elasticsearch' ;
154
154
import { Url } from ' url' ;
155
155
156
- // Warning: (ae-forgotten-export) The symbol "appendersSchema" needs to be exported by the entry point index.d.ts
156
+ // Warning: (ae-forgotten-export) The symbol "ConsoleAppenderConfig" needs to be exported by the entry point index.d.ts
157
+ // Warning: (ae-forgotten-export) The symbol "FileAppenderConfig" needs to be exported by the entry point index.d.ts
158
+ // Warning: (ae-forgotten-export) The symbol "LegacyAppenderConfig" needs to be exported by the entry point index.d.ts
157
159
//
158
160
// @public (undocumented)
159
- export type AppenderConfigType = TypeOf < typeof appendersSchema > ;
161
+ export type AppenderConfigType = ConsoleAppenderConfig | FileAppenderConfig | LegacyAppenderConfig ;
160
162
161
163
// @public
162
164
export function assertNever(x : never ): never ;
@@ -325,108 +327,45 @@ export type CapabilitiesSwitcher = (request: KibanaRequest, uiCapabilities: Capa
325
327
export const config: {
326
328
elasticsearch: {
327
329
schema: import (" @kbn/config-schema" ).ObjectType <{
328
- sniffOnStart: import ( " @kbn/config-schema " ). Type <boolean >;
329
- sniffInterval: import ( " @kbn/config-schema " ). Type <false | import (" moment" ).Duration >;
330
- sniffOnConnectionFault: import ( " @kbn/config-schema " ). Type <boolean >;
331
- hosts: import ( " @kbn/config-schema " ). Type <string | string []>;
332
- preserveHost: import ( " @kbn/config-schema " ). Type <boolean >;
333
- username: import ( " @kbn/config-schema " ). Type <string | undefined >;
334
- password: import ( " @kbn/config-schema " ). Type <string | undefined >;
335
- requestHeadersWhitelist: import ( " @kbn/config-schema " ). Type <string | string []>;
336
- customHeaders: import ( " @kbn/config-schema " ). Type <Record <string , string >>;
337
- shardTimeout: import ( " @kbn/config-schema " ). Type <import (" moment" ).Duration >;
338
- requestTimeout: import ( " @kbn/config-schema " ). Type <import (" moment" ).Duration >;
339
- pingTimeout: import ( " @kbn/config-schema " ). Type <import (" moment" ).Duration >;
340
- startupTimeout: import ( " @kbn/config-schema " ). Type <import (" moment" ).Duration >;
341
- logQueries: import ( " @kbn/config-schema " ). Type <boolean >;
330
+ sniffOnStart: Type <boolean >;
331
+ sniffInterval: Type <false | import (" moment" ).Duration >;
332
+ sniffOnConnectionFault: Type <boolean >;
333
+ hosts: Type <string | string []>;
334
+ preserveHost: Type <boolean >;
335
+ username: Type <string | undefined >;
336
+ password: Type <string | undefined >;
337
+ requestHeadersWhitelist: Type <string | string []>;
338
+ customHeaders: Type <Record <string , string >>;
339
+ shardTimeout: Type <import (" moment" ).Duration >;
340
+ requestTimeout: Type <import (" moment" ).Duration >;
341
+ pingTimeout: Type <import (" moment" ).Duration >;
342
+ startupTimeout: Type <import (" moment" ).Duration >;
343
+ logQueries: Type <boolean >;
342
344
ssl: import (" @kbn/config-schema" ).ObjectType <{
343
- verificationMode: import ( " @kbn/config-schema " ). Type <" none" | " certificate" | " full" >;
344
- certificateAuthorities: import ( " @kbn/config-schema " ). Type <string | string [] | undefined >;
345
- certificate: import ( " @kbn/config-schema " ). Type <string | undefined >;
346
- key: import ( " @kbn/config-schema " ). Type <string | undefined >;
347
- keyPassphrase: import ( " @kbn/config-schema " ). Type <string | undefined >;
345
+ verificationMode: Type <" none" | " certificate" | " full" >;
346
+ certificateAuthorities: Type <string | string [] | undefined >;
347
+ certificate: Type <string | undefined >;
348
+ key: Type <string | undefined >;
349
+ keyPassphrase: Type <string | undefined >;
348
350
keystore: import (" @kbn/config-schema" ).ObjectType <{
349
- path: import ( " @kbn/config-schema " ). Type <string | undefined >;
350
- password: import ( " @kbn/config-schema " ). Type <string | undefined >;
351
+ path: Type <string | undefined >;
352
+ password: Type <string | undefined >;
351
353
}>;
352
354
truststore: import (" @kbn/config-schema" ).ObjectType <{
353
- path: import ( " @kbn/config-schema " ). Type <string | undefined >;
354
- password: import ( " @kbn/config-schema " ). Type <string | undefined >;
355
+ path: Type <string | undefined >;
356
+ password: Type <string | undefined >;
355
357
}>;
356
- alwaysPresentCertificate: import ( " @kbn/config-schema " ). Type <boolean >;
358
+ alwaysPresentCertificate: Type <boolean >;
357
359
}>;
358
- apiVersion: import ( " @kbn/config-schema " ). Type <string >;
360
+ apiVersion: Type <string >;
359
361
healthCheck: import (" @kbn/config-schema" ).ObjectType <{
360
- delay: import ( " @kbn/config-schema " ). Type <import (" moment" ).Duration >;
362
+ delay: Type <import (" moment" ).Duration >;
361
363
}>;
362
364
ignoreVersionMismatch: import (" @kbn/config-schema/target/types/types" ).ConditionalType <false , boolean , boolean >;
363
365
}>;
364
366
};
365
367
logging: {
366
- appenders: import (" @kbn/config-schema" ).Type <Readonly <{} & {
367
- layout: Readonly <{} & {
368
- kind: " json" ;
369
- }> | Readonly <{
370
- pattern? : string | undefined ;
371
- highlight? : boolean | undefined ;
372
- } & {
373
- kind: " pattern" ;
374
- }>;
375
- kind: " console" ;
376
- }> | Readonly <{} & {
377
- path: string ;
378
- layout: Readonly <{} & {
379
- kind: " json" ;
380
- }> | Readonly <{
381
- pattern? : string | undefined ;
382
- highlight? : boolean | undefined ;
383
- } & {
384
- kind: " pattern" ;
385
- }>;
386
- kind: " file" ;
387
- }> | Readonly <{
388
- legacyLoggingConfig? : any ;
389
- } & {
390
- kind: " legacy-appender" ;
391
- }>>;
392
- loggers: import (" @kbn/config-schema" ).ObjectType <{
393
- appenders: import (" @kbn/config-schema" ).Type <string []>;
394
- context: import (" @kbn/config-schema" ).Type <string >;
395
- level: import (" @kbn/config-schema" ).Type <import (" ./logging/log_level" ).LogLevelId >;
396
- }>;
397
- loggerContext: import (" @kbn/config-schema" ).ObjectType <{
398
- appenders: import (" @kbn/config-schema" ).Type <Map <string , Readonly <{} & {
399
- layout: Readonly <{} & {
400
- kind: " json" ;
401
- }> | Readonly <{
402
- pattern? : string | undefined ;
403
- highlight? : boolean | undefined ;
404
- } & {
405
- kind: " pattern" ;
406
- }>;
407
- kind: " console" ;
408
- }> | Readonly <{} & {
409
- path: string ;
410
- layout: Readonly <{} & {
411
- kind: " json" ;
412
- }> | Readonly <{
413
- pattern? : string | undefined ;
414
- highlight? : boolean | undefined ;
415
- } & {
416
- kind: " pattern" ;
417
- }>;
418
- kind: " file" ;
419
- }> | Readonly <{
420
- legacyLoggingConfig? : any ;
421
- } & {
422
- kind: " legacy-appender" ;
423
- }>>>;
424
- loggers: import (" @kbn/config-schema" ).Type <Readonly <{} & {
425
- context: string ;
426
- appenders: string [];
427
- level: import (" ./logging/log_level" ).LogLevelId ;
428
- }>[]>;
429
- }>;
368
+ appenders: Type <AppenderConfigType >;
430
369
};
431
370
};
432
371
0 commit comments