mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Attempt to reduce Core bundle size with type exports. (#92221)
* compile core files as isolated modules * fix export problems for isolated modules * apply changes to kbn-test as core imports from it * fix some exports * fix lint errors * update new exports * fix eslint error * expand export * where it is possible * update docs * update docs * fix eslint error
This commit is contained in:
parent
ccc70b4960
commit
f5e8b108da
88 changed files with 2543 additions and 2599 deletions
1759
api_docs/core.json
1759
api_docs/core.json
File diff suppressed because it is too large
Load diff
|
@ -1652,19 +1652,19 @@
|
|||
],
|
||||
"enums": [
|
||||
{
|
||||
"id": "def-public.AppLeaveActionType",
|
||||
"id": "def-public.AppNavLinkStatus",
|
||||
"type": "Enum",
|
||||
"label": "AppLeaveActionType",
|
||||
"label": "AppNavLinkStatus",
|
||||
"tags": [
|
||||
"public"
|
||||
],
|
||||
"description": [
|
||||
"\nPossible type of actions on application leave.\n"
|
||||
"\nStatus of the application's navLink.\n"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/public/application/types.ts",
|
||||
"lineNumber": 540,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/public/application/types.ts#L540"
|
||||
"lineNumber": 40,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/public/application/types.ts#L40"
|
||||
},
|
||||
"initialIsOpen": false
|
||||
},
|
||||
|
@ -1686,19 +1686,19 @@
|
|||
"initialIsOpen": false
|
||||
},
|
||||
{
|
||||
"id": "def-public.AppNavLinkStatus",
|
||||
"id": "def-public.AppLeaveActionType",
|
||||
"type": "Enum",
|
||||
"label": "AppNavLinkStatus",
|
||||
"label": "AppLeaveActionType",
|
||||
"tags": [
|
||||
"public"
|
||||
],
|
||||
"description": [
|
||||
"\nStatus of the application's navLink.\n"
|
||||
"\nPossible type of actions on application leave.\n"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/public/application/types.ts",
|
||||
"lineNumber": 40,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/public/application/types.ts#L40"
|
||||
"lineNumber": 540,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/public/application/types.ts#L540"
|
||||
},
|
||||
"initialIsOpen": false
|
||||
}
|
||||
|
|
|
@ -2360,319 +2360,6 @@
|
|||
},
|
||||
"initialIsOpen": false
|
||||
},
|
||||
{
|
||||
"id": "def-server.KibanaRequest",
|
||||
"type": "Class",
|
||||
"tags": [
|
||||
"public"
|
||||
],
|
||||
"label": "KibanaRequest",
|
||||
"description": [
|
||||
"\nKibana specific abstraction for an incoming request."
|
||||
],
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.KibanaRequest",
|
||||
"text": "KibanaRequest"
|
||||
},
|
||||
"<Params, Query, Body, Method>"
|
||||
],
|
||||
"children": [
|
||||
{
|
||||
"tags": [
|
||||
"remarks"
|
||||
],
|
||||
"id": "def-server.KibanaRequest.id",
|
||||
"type": "string",
|
||||
"label": "id",
|
||||
"description": [
|
||||
"\nA identifier to identify this request.\n"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 145,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L145"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"remarks"
|
||||
],
|
||||
"id": "def-server.KibanaRequest.uuid",
|
||||
"type": "string",
|
||||
"label": "uuid",
|
||||
"description": [
|
||||
"\nA UUID to identify this request.\n"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 153,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L153"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.url",
|
||||
"type": "Object",
|
||||
"label": "url",
|
||||
"description": [
|
||||
"a WHATWG URL standard object."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 155,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L155"
|
||||
},
|
||||
"signature": [
|
||||
"URL"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.route",
|
||||
"type": "Object",
|
||||
"label": "route",
|
||||
"description": [
|
||||
"matched route details"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 157,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L157"
|
||||
},
|
||||
"signature": [
|
||||
"Readonly<{ path: string; method: ",
|
||||
"RecursiveReadonly",
|
||||
"<Method>; options: ",
|
||||
"RecursiveReadonly",
|
||||
"<",
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.KibanaRequestRouteOptions",
|
||||
"text": "KibanaRequestRouteOptions"
|
||||
},
|
||||
"<Method>>; }>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"remarks"
|
||||
],
|
||||
"id": "def-server.KibanaRequest.headers",
|
||||
"type": "CompoundType",
|
||||
"label": "headers",
|
||||
"description": [
|
||||
"\nReadonly copy of incoming request headers."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 163,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L163"
|
||||
},
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.Headers",
|
||||
"text": "Headers"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.isSystemRequest",
|
||||
"type": "boolean",
|
||||
"label": "isSystemRequest",
|
||||
"description": [
|
||||
"\nWhether or not the request is a \"system request\" rather than an application-level request.\nCan be set on the client using the `HttpFetchOptions#asSystemRequest` option."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 168,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L168"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.socket",
|
||||
"type": "Object",
|
||||
"label": "socket",
|
||||
"description": [
|
||||
"{@link IKibanaSocket}"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 171,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L171"
|
||||
},
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.IKibanaSocket",
|
||||
"text": "IKibanaSocket"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.events",
|
||||
"type": "Object",
|
||||
"label": "events",
|
||||
"description": [
|
||||
"Request events {@link KibanaRequestEvents}"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 173,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L173"
|
||||
},
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.KibanaRequestEvents",
|
||||
"text": "KibanaRequestEvents"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.auth",
|
||||
"type": "Object",
|
||||
"label": "auth",
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 174,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L174"
|
||||
},
|
||||
"signature": [
|
||||
"{ isAuthenticated: boolean; }"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.rewrittenUrl",
|
||||
"type": "Object",
|
||||
"label": "rewrittenUrl",
|
||||
"description": [
|
||||
"\nURL rewritten in onPreRouting request interceptor."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 182,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L182"
|
||||
},
|
||||
"signature": [
|
||||
"URL",
|
||||
" | undefined"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "def-server.KibanaRequest.Unnamed",
|
||||
"type": "Function",
|
||||
"label": "Constructor",
|
||||
"signature": [
|
||||
"any"
|
||||
],
|
||||
"description": [],
|
||||
"children": [
|
||||
{
|
||||
"type": "Object",
|
||||
"label": "request",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Request"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 188,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L188"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Uncategorized",
|
||||
"label": "params",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Params"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 189,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L189"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Uncategorized",
|
||||
"label": "query",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Query"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 190,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L190"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Uncategorized",
|
||||
"label": "body",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Body"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 191,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L191"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"label": "withoutSecretHeaders",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"boolean"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 194,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L194"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [],
|
||||
"returnComment": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 187,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L187"
|
||||
}
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 90,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L90"
|
||||
},
|
||||
"initialIsOpen": false
|
||||
},
|
||||
{
|
||||
"id": "def-server.RouteValidationError",
|
||||
"type": "Class",
|
||||
|
@ -2748,6 +2435,319 @@
|
|||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/validator/validator_error.ts#L15"
|
||||
},
|
||||
"initialIsOpen": false
|
||||
},
|
||||
{
|
||||
"id": "def-server.KibanaRequest",
|
||||
"type": "Class",
|
||||
"tags": [
|
||||
"public"
|
||||
],
|
||||
"label": "KibanaRequest",
|
||||
"description": [
|
||||
"\nKibana specific abstraction for an incoming request."
|
||||
],
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.KibanaRequest",
|
||||
"text": "KibanaRequest"
|
||||
},
|
||||
"<Params, Query, Body, Method>"
|
||||
],
|
||||
"children": [
|
||||
{
|
||||
"tags": [
|
||||
"remarks"
|
||||
],
|
||||
"id": "def-server.KibanaRequest.id",
|
||||
"type": "string",
|
||||
"label": "id",
|
||||
"description": [
|
||||
"\nA identifier to identify this request.\n"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 144,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L144"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"remarks"
|
||||
],
|
||||
"id": "def-server.KibanaRequest.uuid",
|
||||
"type": "string",
|
||||
"label": "uuid",
|
||||
"description": [
|
||||
"\nA UUID to identify this request.\n"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 152,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L152"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.url",
|
||||
"type": "Object",
|
||||
"label": "url",
|
||||
"description": [
|
||||
"a WHATWG URL standard object."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 154,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L154"
|
||||
},
|
||||
"signature": [
|
||||
"URL"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.route",
|
||||
"type": "Object",
|
||||
"label": "route",
|
||||
"description": [
|
||||
"matched route details"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 156,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L156"
|
||||
},
|
||||
"signature": [
|
||||
"Readonly<{ path: string; method: ",
|
||||
"RecursiveReadonly",
|
||||
"<Method>; options: ",
|
||||
"RecursiveReadonly",
|
||||
"<",
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.KibanaRequestRouteOptions",
|
||||
"text": "KibanaRequestRouteOptions"
|
||||
},
|
||||
"<Method>>; }>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"remarks"
|
||||
],
|
||||
"id": "def-server.KibanaRequest.headers",
|
||||
"type": "CompoundType",
|
||||
"label": "headers",
|
||||
"description": [
|
||||
"\nReadonly copy of incoming request headers."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 162,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L162"
|
||||
},
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.Headers",
|
||||
"text": "Headers"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.isSystemRequest",
|
||||
"type": "boolean",
|
||||
"label": "isSystemRequest",
|
||||
"description": [
|
||||
"\nWhether or not the request is a \"system request\" rather than an application-level request.\nCan be set on the client using the `HttpFetchOptions#asSystemRequest` option."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 167,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L167"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.socket",
|
||||
"type": "Object",
|
||||
"label": "socket",
|
||||
"description": [
|
||||
"{@link IKibanaSocket}"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 170,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L170"
|
||||
},
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.IKibanaSocket",
|
||||
"text": "IKibanaSocket"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.events",
|
||||
"type": "Object",
|
||||
"label": "events",
|
||||
"description": [
|
||||
"Request events {@link KibanaRequestEvents}"
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 172,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L172"
|
||||
},
|
||||
"signature": [
|
||||
{
|
||||
"pluginId": "core",
|
||||
"scope": "server",
|
||||
"docId": "kibCoreHttpPluginApi",
|
||||
"section": "def-server.KibanaRequestEvents",
|
||||
"text": "KibanaRequestEvents"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.auth",
|
||||
"type": "Object",
|
||||
"label": "auth",
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 173,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L173"
|
||||
},
|
||||
"signature": [
|
||||
"{ isAuthenticated: boolean; }"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tags": [],
|
||||
"id": "def-server.KibanaRequest.rewrittenUrl",
|
||||
"type": "Object",
|
||||
"label": "rewrittenUrl",
|
||||
"description": [
|
||||
"\nURL rewritten in onPreRouting request interceptor."
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 181,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L181"
|
||||
},
|
||||
"signature": [
|
||||
"URL",
|
||||
" | undefined"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "def-server.KibanaRequest.Unnamed",
|
||||
"type": "Function",
|
||||
"label": "Constructor",
|
||||
"signature": [
|
||||
"any"
|
||||
],
|
||||
"description": [],
|
||||
"children": [
|
||||
{
|
||||
"type": "Object",
|
||||
"label": "request",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Request"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 187,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L187"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Uncategorized",
|
||||
"label": "params",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Params"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 188,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L188"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Uncategorized",
|
||||
"label": "query",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Query"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 189,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L189"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "Uncategorized",
|
||||
"label": "body",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"Body"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 190,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L190"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"label": "withoutSecretHeaders",
|
||||
"isRequired": true,
|
||||
"signature": [
|
||||
"boolean"
|
||||
],
|
||||
"description": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 193,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L193"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [],
|
||||
"returnComment": [],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 186,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L186"
|
||||
}
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"path": "src/core/server/http/router/request.ts",
|
||||
"lineNumber": 90,
|
||||
"link": "https://github.com/elastic/kibana/tree/mastersrc/core/server/http/router/request.ts#L90"
|
||||
},
|
||||
"initialIsOpen": false
|
||||
}
|
||||
],
|
||||
"functions": [],
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,11 +0,0 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [Explanation](./kibana-plugin-core-server.explanation.md) > [description](./kibana-plugin-core-server.explanation.description.md)
|
||||
|
||||
## Explanation.description property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
description: string;
|
||||
```
|
|
@ -1,11 +0,0 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [Explanation](./kibana-plugin-core-server.explanation.md) > [details](./kibana-plugin-core-server.explanation.details.md)
|
||||
|
||||
## Explanation.details property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
details: Explanation[];
|
||||
```
|
|
@ -1,21 +0,0 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [Explanation](./kibana-plugin-core-server.explanation.md)
|
||||
|
||||
## Explanation interface
|
||||
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
export interface Explanation
|
||||
```
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| [description](./kibana-plugin-core-server.explanation.description.md) | <code>string</code> | |
|
||||
| [details](./kibana-plugin-core-server.explanation.details.md) | <code>Explanation[]</code> | |
|
||||
| [value](./kibana-plugin-core-server.explanation.value.md) | <code>number</code> | |
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [Explanation](./kibana-plugin-core-server.explanation.md) > [value](./kibana-plugin-core-server.explanation.value.md)
|
||||
|
||||
## Explanation.value property
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
value: number;
|
||||
```
|
|
@ -75,7 +75,6 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
|
|||
| [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md) | |
|
||||
| [ElasticsearchStatusMeta](./kibana-plugin-core-server.elasticsearchstatusmeta.md) | |
|
||||
| [ErrorHttpResponseOptions](./kibana-plugin-core-server.errorhttpresponseoptions.md) | HTTP response parameters |
|
||||
| [Explanation](./kibana-plugin-core-server.explanation.md) | |
|
||||
| [FakeRequest](./kibana-plugin-core-server.fakerequest.md) | Fake request object created manually by Kibana plugins. |
|
||||
| [GetResponse](./kibana-plugin-core-server.getresponse.md) | |
|
||||
| [HttpAuth](./kibana-plugin-core-server.httpauth.md) | |
|
||||
|
|
|
@ -31,7 +31,7 @@ The saved object after the specified fields were incremented
|
|||
|
||||
When supplying a field name like `stats.api.counter` the field name will be used as-is to create a document like: `{attributes: {'stats.api.counter': 1}}` It will not create a nested structure like: `{attributes: {stats: {api: {counter: 1}}}}`
|
||||
|
||||
When using incrementCounter for collecting usage data, you need to ensure that usage collection happens on a best-effort basis and doesn't negatively affect your plugin or users. See https://github.com/elastic/kibana/blob/master/src/plugins/usage\_collection/README.md\#tracking-interactions-with-incrementcounter)
|
||||
When using incrementCounter for collecting usage data, you need to ensure that usage collection happens on a best-effort basis and doesn't negatively affect your plugin or users. See https://github.com/elastic/kibana/blob/master/src/plugins/usage\_collection/README.mdx\#tracking-interactions-with-incrementcounter)
|
||||
|
||||
## Example
|
||||
|
||||
|
|
|
@ -9,8 +9,10 @@
|
|||
export { Lifecycle } from './lifecycle';
|
||||
export { LifecyclePhase } from './lifecycle_phase';
|
||||
export { readConfigFile, Config } from './config';
|
||||
export { readProviderSpec, ProviderCollection, Provider } from './providers';
|
||||
export { readProviderSpec, ProviderCollection } from './providers';
|
||||
export { runTests, setupMocha } from './mocha';
|
||||
export { FailureMetadata } from './failure_metadata';
|
||||
export * from './docker_servers';
|
||||
export { SuiteTracker } from './suite_tracker';
|
||||
|
||||
export type { Provider } from './providers';
|
||||
|
|
|
@ -7,4 +7,5 @@
|
|||
*/
|
||||
|
||||
export { ProviderCollection } from './provider_collection';
|
||||
export { Provider, readProviderSpec } from './read_provider_spec';
|
||||
export { readProviderSpec } from './read_provider_spec';
|
||||
export type { Provider } from './read_provider_spec';
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { Capabilities } from '../../../types/capabilities';
|
||||
export type { Capabilities } from '../../../types/capabilities';
|
||||
export { CapabilitiesService } from './capabilities_service';
|
||||
|
|
|
@ -7,15 +7,15 @@
|
|||
*/
|
||||
|
||||
export { ApplicationService } from './application_service';
|
||||
export { Capabilities } from './capabilities';
|
||||
export { ScopedHistory } from './scoped_history';
|
||||
export {
|
||||
export { AppNavLinkStatus, AppStatus } from './types';
|
||||
|
||||
export type { Capabilities } from './capabilities';
|
||||
export type {
|
||||
App,
|
||||
AppMount,
|
||||
AppUnmount,
|
||||
AppMountParameters,
|
||||
AppStatus,
|
||||
AppNavLinkStatus,
|
||||
AppUpdatableFields,
|
||||
AppUpdater,
|
||||
AppMeta,
|
||||
|
|
|
@ -24,7 +24,6 @@ import { ChromeNavControls, NavControlsService } from './nav_controls';
|
|||
import { NavLinksService, ChromeNavLink } from './nav_links';
|
||||
import { ChromeRecentlyAccessed, RecentlyAccessedService } from './recently_accessed';
|
||||
import { Header } from './ui';
|
||||
export { ChromeNavControls, ChromeRecentlyAccessed, ChromeDocTitle };
|
||||
import {
|
||||
ChromeBadge,
|
||||
ChromeBrand,
|
||||
|
@ -35,6 +34,8 @@ import {
|
|||
ChromeUserBanner,
|
||||
} from './types';
|
||||
|
||||
export type { ChromeNavControls, ChromeRecentlyAccessed, ChromeDocTitle };
|
||||
|
||||
const IS_LOCKED_KEY = 'core.chrome.isLocked';
|
||||
|
||||
interface ConstructorParams {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
export { ChromeService } from './chrome_service';
|
||||
export {
|
||||
export type {
|
||||
ChromeHelpExtensionLinkBase,
|
||||
ChromeHelpExtensionMenuLink,
|
||||
ChromeHelpExtensionMenuCustomLink,
|
||||
|
@ -15,12 +15,15 @@ export {
|
|||
ChromeHelpExtensionMenuDocumentationLink,
|
||||
ChromeHelpExtensionMenuGitHubLink,
|
||||
} from './ui/header/header_help_menu';
|
||||
export { NavType } from './ui';
|
||||
export { ChromeNavLink, ChromeNavLinks, ChromeNavLinkUpdateableFields } from './nav_links';
|
||||
export { ChromeRecentlyAccessed, ChromeRecentlyAccessedHistoryItem } from './recently_accessed';
|
||||
export { ChromeNavControl, ChromeNavControls } from './nav_controls';
|
||||
export { ChromeDocTitle } from './doc_title';
|
||||
export {
|
||||
export type { NavType } from './ui';
|
||||
export type { ChromeNavLink, ChromeNavLinks, ChromeNavLinkUpdateableFields } from './nav_links';
|
||||
export type {
|
||||
ChromeRecentlyAccessed,
|
||||
ChromeRecentlyAccessedHistoryItem,
|
||||
} from './recently_accessed';
|
||||
export type { ChromeNavControl, ChromeNavControls } from './nav_controls';
|
||||
export type { ChromeDocTitle } from './doc_title';
|
||||
export type {
|
||||
InternalChromeStart,
|
||||
ChromeStart,
|
||||
ChromeHelpExtension,
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
export { NavLinksService } from './nav_links_service';
|
||||
|
||||
export { ChromeNavLink, ChromeNavLinkUpdateableFields } from './nav_link';
|
||||
export { ChromeNavLinks, NavLinksService } from './nav_links_service';
|
||||
export type { ChromeNavLink, ChromeNavLinkUpdateableFields } from './nav_link';
|
||||
export type { ChromeNavLinks } from './nav_links_service';
|
||||
|
|
|
@ -5,9 +5,8 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export { RecentlyAccessedService } from './recently_accessed_service';
|
||||
export type {
|
||||
ChromeRecentlyAccessed,
|
||||
ChromeRecentlyAccessedHistoryItem,
|
||||
RecentlyAccessedService,
|
||||
} from './recently_accessed_service';
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { Header, HeaderProps } from './header';
|
||||
export { OnIsLockedUpdate, NavType } from './types';
|
||||
export {
|
||||
export { Header } from './header';
|
||||
export type { HeaderProps } from './header';
|
||||
export type { OnIsLockedUpdate, NavType } from './types';
|
||||
export type {
|
||||
ChromeHelpExtensionLinkBase,
|
||||
ChromeHelpExtensionMenuLink,
|
||||
ChromeHelpExtensionMenuCustomLink,
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { Header } from './header';
|
||||
export { LoadingIndicator } from './loading_indicator';
|
||||
export {
|
||||
Header,
|
||||
export type {
|
||||
ChromeHelpExtensionLinkBase,
|
||||
ChromeHelpExtensionMenuLink,
|
||||
ChromeHelpExtensionMenuCustomLink,
|
||||
|
|
|
@ -6,5 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { formatNumber, DataType } from './format_number';
|
||||
export { loadStatus, Metric, FormattedStatus, ProcessedServerResponse } from './load_status';
|
||||
export { formatNumber } from './format_number';
|
||||
export { loadStatus } from './load_status';
|
||||
export type { DataType } from './format_number';
|
||||
export type { Metric, FormattedStatus, ProcessedServerResponse } from './load_status';
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { DocLinksService, DocLinksStart } from './doc_links_service';
|
||||
export { DocLinksService } from './doc_links_service';
|
||||
export type { DocLinksStart } from './doc_links_service';
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { FatalErrorsSetup, FatalErrorsStart, FatalErrorsService } from './fatal_errors_service';
|
||||
export { FatalErrorInfo } from './get_error_info';
|
||||
export { FatalErrorsService } from './fatal_errors_service';
|
||||
export type { FatalErrorsSetup, FatalErrorsStart } from './fatal_errors_service';
|
||||
export type { FatalErrorInfo } from './get_error_info';
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { I18nService, I18nStart } from './i18n_service';
|
||||
export { I18nService } from './i18n_service';
|
||||
export type { I18nStart } from './i18n_service';
|
||||
|
|
|
@ -66,10 +66,10 @@ import { ApplicationSetup, Capabilities, ApplicationStart } from './application'
|
|||
import { DocLinksStart } from './doc_links';
|
||||
import { SavedObjectsStart } from './saved_objects';
|
||||
|
||||
export { PackageInfo, EnvironmentMode, IExternalUrlPolicy } from '../server/types';
|
||||
export { CoreContext, CoreSystem } from './core_system';
|
||||
export type { PackageInfo, EnvironmentMode, IExternalUrlPolicy } from '../server/types';
|
||||
export type { CoreContext, CoreSystem } from './core_system';
|
||||
export { DEFAULT_APP_CATEGORIES } from '../utils';
|
||||
export {
|
||||
export type {
|
||||
AppCategory,
|
||||
UiSettingsParams,
|
||||
UserProvidedValues,
|
||||
|
@ -80,7 +80,8 @@ export {
|
|||
StringValidationRegexString,
|
||||
} from '../types';
|
||||
|
||||
export {
|
||||
export { AppNavLinkStatus, AppStatus, ScopedHistory } from './application';
|
||||
export type {
|
||||
ApplicationSetup,
|
||||
ApplicationStart,
|
||||
App,
|
||||
|
@ -92,8 +93,6 @@ export {
|
|||
AppLeaveAction,
|
||||
AppLeaveDefaultAction,
|
||||
AppLeaveConfirmAction,
|
||||
AppStatus,
|
||||
AppNavLinkStatus,
|
||||
AppMeta,
|
||||
AppUpdatableFields,
|
||||
AppUpdater,
|
||||
|
@ -101,11 +100,11 @@ export {
|
|||
PublicAppInfo,
|
||||
PublicAppMetaInfo,
|
||||
PublicAppSearchDeepLinkInfo,
|
||||
ScopedHistory,
|
||||
NavigateToAppOptions,
|
||||
} from './application';
|
||||
|
||||
export {
|
||||
export { SimpleSavedObject } from './saved_objects';
|
||||
export type {
|
||||
SavedObjectsBatchResponse,
|
||||
SavedObjectsBulkCreateObject,
|
||||
SavedObjectsBulkCreateOptions,
|
||||
|
@ -126,7 +125,6 @@ export {
|
|||
SavedObjectsMigrationVersion,
|
||||
SavedObjectsClientContract,
|
||||
SavedObjectsClient,
|
||||
SimpleSavedObject,
|
||||
SavedObjectsImportResponse,
|
||||
SavedObjectsImportSuccess,
|
||||
SavedObjectsImportConflictError,
|
||||
|
@ -142,10 +140,11 @@ export {
|
|||
SavedObjectsImportWarning,
|
||||
} from './saved_objects';
|
||||
|
||||
export {
|
||||
export { HttpFetchError } from './http';
|
||||
|
||||
export type {
|
||||
HttpHeadersInit,
|
||||
HttpRequestInit,
|
||||
HttpFetchError,
|
||||
HttpFetchOptions,
|
||||
HttpFetchOptionsWithPath,
|
||||
HttpFetchQuery,
|
||||
|
@ -162,7 +161,7 @@ export {
|
|||
IHttpResponseInterceptorOverrides,
|
||||
} from './http';
|
||||
|
||||
export {
|
||||
export type {
|
||||
OverlayStart,
|
||||
OverlayBannersStart,
|
||||
OverlayRef,
|
||||
|
@ -173,7 +172,7 @@ export {
|
|||
OverlayModalStart,
|
||||
} from './overlays';
|
||||
|
||||
export {
|
||||
export type {
|
||||
Toast,
|
||||
ToastInput,
|
||||
IToasts,
|
||||
|
@ -185,7 +184,7 @@ export {
|
|||
ErrorToastOptions,
|
||||
} from './notifications';
|
||||
|
||||
export { MountPoint, UnmountCallback, PublicUiSettingsParams } from './types';
|
||||
export type { MountPoint, UnmountCallback, PublicUiSettingsParams } from './types';
|
||||
|
||||
export { URL_MAX_LENGTH } from './core_app';
|
||||
|
||||
|
@ -280,7 +279,7 @@ export interface CoreStart {
|
|||
};
|
||||
}
|
||||
|
||||
export {
|
||||
export type {
|
||||
Capabilities,
|
||||
ChromeBadge,
|
||||
ChromeBrand,
|
||||
|
|
|
@ -5,9 +5,8 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
InjectedMetadataService,
|
||||
export { InjectedMetadataService } from './injected_metadata_service';
|
||||
export type {
|
||||
InjectedMetadataParams,
|
||||
InjectedMetadataSetup,
|
||||
InjectedMetadataStart,
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export { NotificationsService } from './notifications_service';
|
||||
export type {
|
||||
ErrorToastOptions,
|
||||
ToastOptions,
|
||||
Toast,
|
||||
|
@ -17,8 +17,4 @@ export {
|
|||
ToastsSetup,
|
||||
ToastsStart,
|
||||
} from './toasts';
|
||||
export {
|
||||
NotificationsService,
|
||||
NotificationsSetup,
|
||||
NotificationsStart,
|
||||
} from './notifications_service';
|
||||
export type { NotificationsSetup, NotificationsStart } from './notifications_service';
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { ToastsService, ToastsSetup, ToastsStart } from './toasts_service';
|
||||
export {
|
||||
export { ToastsService } from './toasts_service';
|
||||
export type { ToastsSetup, ToastsStart } from './toasts_service';
|
||||
export type {
|
||||
ErrorToastOptions,
|
||||
ToastOptions,
|
||||
ToastsApi,
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { OverlayBannersStart, OverlayBannersService } from './banners_service';
|
||||
export { OverlayBannersService } from './banners_service';
|
||||
export type { OverlayBannersStart } from './banners_service';
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { FlyoutService, OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout_service';
|
||||
export { FlyoutService } from './flyout_service';
|
||||
export type { OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout_service';
|
||||
|
|
|
@ -5,9 +5,14 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
export { OverlayService } from './overlay_service';
|
||||
|
||||
export { OverlayRef } from './types';
|
||||
export { OverlayBannersStart } from './banners';
|
||||
export { OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout';
|
||||
export { OverlayModalStart, OverlayModalOpenOptions, OverlayModalConfirmOptions } from './modal';
|
||||
export { OverlayService, OverlayStart } from './overlay_service';
|
||||
export type { OverlayRef } from './types';
|
||||
export type { OverlayBannersStart } from './banners';
|
||||
export type { OverlayFlyoutStart, OverlayFlyoutOpenOptions } from './flyout';
|
||||
export type {
|
||||
OverlayModalStart,
|
||||
OverlayModalOpenOptions,
|
||||
OverlayModalConfirmOptions,
|
||||
} from './modal';
|
||||
export type { OverlayStart } from './overlay_service';
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
ModalService,
|
||||
export { ModalService } from './modal_service';
|
||||
|
||||
export type {
|
||||
OverlayModalStart,
|
||||
OverlayModalOpenOptions,
|
||||
OverlayModalConfirmOptions,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export * from './plugins_service';
|
||||
export { Plugin, AsyncPlugin, PluginInitializer } from './plugin';
|
||||
export { PluginInitializerContext } from './plugin_context';
|
||||
export { PluginOpaqueId } from '../../server/types';
|
||||
export { PluginsService } from './plugins_service';
|
||||
export type { Plugin, AsyncPlugin, PluginInitializer } from './plugin';
|
||||
export type { PluginInitializerContext } from './plugin_context';
|
||||
export type { PluginOpaqueId } from '../../server/types';
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
export { SavedObjectsService } from './saved_objects_service';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsBatchResponse,
|
||||
SavedObjectsBulkCreateObject,
|
||||
SavedObjectsBulkCreateOptions,
|
||||
|
@ -19,8 +20,8 @@ export {
|
|||
SavedObjectsBulkUpdateOptions,
|
||||
} from './saved_objects_client';
|
||||
export { SimpleSavedObject } from './simple_saved_object';
|
||||
export { SavedObjectsStart, SavedObjectsService } from './saved_objects_service';
|
||||
export {
|
||||
export type { SavedObjectsStart } from './saved_objects_service';
|
||||
export type {
|
||||
SavedObjectsBaseOptions,
|
||||
SavedObjectsFindOptions,
|
||||
SavedObjectsFindOptionsReference,
|
||||
|
@ -40,7 +41,7 @@ export {
|
|||
SavedObjectsImportWarning,
|
||||
} from '../../server/types';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObject,
|
||||
SavedObjectAttribute,
|
||||
SavedObjectAttributes,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export type {
|
||||
UiSettingsParams,
|
||||
PublicUiSettingsParams,
|
||||
UserProvidedValues,
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
*/
|
||||
|
||||
export { UiSettingsService } from './ui_settings_service';
|
||||
export { UiSettingsClient } from './ui_settings_client';
|
||||
export { UiSettingsState, IUiSettingsClient } from './types';
|
||||
export type { UiSettingsClient } from './ui_settings_client';
|
||||
export type { UiSettingsState, IUiSettingsClient } from './types';
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
CapabilitiesService,
|
||||
export { CapabilitiesService } from './capabilities_service';
|
||||
export type {
|
||||
CapabilitiesSetup,
|
||||
CapabilitiesStart,
|
||||
ResolveCapabilitiesOptions,
|
||||
} from './capabilities_service';
|
||||
export { Capabilities, CapabilitiesSwitcher, CapabilitiesProvider } from './types';
|
||||
export type { Capabilities, CapabilitiesSwitcher, CapabilitiesProvider } from './types';
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import { Capabilities } from '../../types/capabilities';
|
||||
import { KibanaRequest } from '../http';
|
||||
|
||||
export { Capabilities };
|
||||
export type { Capabilities };
|
||||
|
||||
/**
|
||||
* See {@link CapabilitiesSetup}
|
||||
|
|
|
@ -10,16 +10,19 @@ export { coreDeprecationProvider } from './deprecation';
|
|||
|
||||
export {
|
||||
ConfigService,
|
||||
IConfigService,
|
||||
isConfigPath,
|
||||
hasConfigPathIntersection,
|
||||
Env,
|
||||
ObjectToConfigAdapter,
|
||||
RawConfigService,
|
||||
} from '@kbn/config';
|
||||
|
||||
export type {
|
||||
IConfigService,
|
||||
RawConfigurationProvider,
|
||||
Config,
|
||||
ConfigPath,
|
||||
isConfigPath,
|
||||
hasConfigPathIntersection,
|
||||
ObjectToConfigAdapter,
|
||||
CliArgs,
|
||||
Env,
|
||||
ConfigDeprecation,
|
||||
ConfigDeprecationLogger,
|
||||
ConfigDeprecationProvider,
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { ContextService, ContextSetup } from './context_service';
|
||||
export {
|
||||
export { ContextService } from './context_service';
|
||||
export type { ContextSetup } from './context_service';
|
||||
export type {
|
||||
IContextContainer,
|
||||
IContextProvider,
|
||||
HandlerFunction,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { CoreUsageDataSetup, CoreUsageDataStart } from './types';
|
||||
export type { CoreUsageDataSetup, CoreUsageDataStart } from './types';
|
||||
export { CoreUsageDataService } from './core_usage_data_service';
|
||||
export { CoreUsageStatsClient } from './core_usage_stats_client';
|
||||
|
||||
|
@ -20,7 +20,7 @@ import {
|
|||
CoreServicesUsageData,
|
||||
} from './types';
|
||||
|
||||
export {
|
||||
export type {
|
||||
CoreUsageStats,
|
||||
CoreUsageData,
|
||||
CoreConfigUsageData,
|
||||
|
|
|
@ -9,4 +9,5 @@
|
|||
import { CspConfig, ICspConfig } from './csp_config';
|
||||
import { CspConfigType, config } from './config';
|
||||
|
||||
export { CspConfig, CspConfigType, config, ICspConfig };
|
||||
export { CspConfig, config };
|
||||
export type { CspConfigType, ICspConfig };
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { config, DevConfig, DevConfigType } from './dev_config';
|
||||
export { config, DevConfig } from './dev_config';
|
||||
export type { DevConfigType } from './dev_config';
|
||||
|
|
|
@ -6,9 +6,19 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export * from './types';
|
||||
export { IScopedClusterClient, ScopedClusterClient } from './scoped_cluster_client';
|
||||
export { ElasticsearchClientConfig } from './client_config';
|
||||
export { IClusterClient, ICustomClusterClient, ClusterClient } from './cluster_client';
|
||||
export type {
|
||||
ElasticsearchClient,
|
||||
ShardsResponse,
|
||||
ShardsInfo,
|
||||
CountResponse,
|
||||
SearchResponse,
|
||||
GetResponse,
|
||||
DeleteDocumentResponse,
|
||||
} from './types';
|
||||
export { ScopedClusterClient } from './scoped_cluster_client';
|
||||
export type { IScopedClusterClient } from './scoped_cluster_client';
|
||||
export type { ElasticsearchClientConfig } from './client_config';
|
||||
export { ClusterClient } from './cluster_client';
|
||||
export type { IClusterClient, ICustomClusterClient } from './cluster_client';
|
||||
export { configureClient } from './configure_client';
|
||||
export { retryCallCluster, migrationRetryCallCluster } from './retry_call_cluster';
|
||||
|
|
|
@ -7,9 +7,10 @@
|
|||
*/
|
||||
|
||||
export { ElasticsearchService } from './elasticsearch_service';
|
||||
export { config, configSchema, ElasticsearchConfig } from './elasticsearch_config';
|
||||
export { NodesVersionCompatibility } from './version_check/ensure_es_version';
|
||||
export {
|
||||
export { config, configSchema } from './elasticsearch_config';
|
||||
export { ElasticsearchConfig } from './elasticsearch_config';
|
||||
export type { NodesVersionCompatibility } from './version_check/ensure_es_version';
|
||||
export type {
|
||||
ElasticsearchServiceSetup,
|
||||
ElasticsearchServiceStart,
|
||||
ElasticsearchStatusMeta,
|
||||
|
@ -19,7 +20,7 @@ export {
|
|||
ScopeableRequest,
|
||||
} from './types';
|
||||
export * from './legacy';
|
||||
export {
|
||||
export type {
|
||||
IClusterClient,
|
||||
ICustomClusterClient,
|
||||
ElasticsearchClientConfig,
|
||||
|
@ -30,7 +31,6 @@ export {
|
|||
CountResponse,
|
||||
ShardsInfo,
|
||||
ShardsResponse,
|
||||
Explanation,
|
||||
GetResponse,
|
||||
DeleteDocumentResponse,
|
||||
} from './client';
|
||||
|
|
|
@ -6,12 +6,13 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
LegacyClusterClient,
|
||||
ILegacyClusterClient,
|
||||
ILegacyCustomClusterClient,
|
||||
} from './cluster_client';
|
||||
export { ILegacyScopedClusterClient, LegacyScopedClusterClient } from './scoped_cluster_client';
|
||||
export { LegacyElasticsearchClientConfig } from './elasticsearch_client_config';
|
||||
export { LegacyElasticsearchError, LegacyElasticsearchErrorHelpers } from './errors';
|
||||
export { LegacyClusterClient } from './cluster_client';
|
||||
export type { ILegacyClusterClient, ILegacyCustomClusterClient } from './cluster_client';
|
||||
export type {
|
||||
ILegacyScopedClusterClient,
|
||||
LegacyScopedClusterClient,
|
||||
} from './scoped_cluster_client';
|
||||
export type { LegacyElasticsearchClientConfig } from './elasticsearch_client_config';
|
||||
export { LegacyElasticsearchErrorHelpers } from './errors';
|
||||
export type { LegacyElasticsearchError } from './errors';
|
||||
export * from './api_types';
|
||||
|
|
|
@ -6,5 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { EnvironmentService, InternalEnvironmentServiceSetup } from './environment_service';
|
||||
export { config, PidConfigType } from './pid_config';
|
||||
export { EnvironmentService } from './environment_service';
|
||||
export type { InternalEnvironmentServiceSetup } from './environment_service';
|
||||
export { config } from './pid_config';
|
||||
export type { PidConfigType } from './pid_config';
|
||||
|
|
|
@ -6,5 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { ExternalUrlConfig, IExternalUrlConfig, IExternalUrlPolicy } from './external_url_config';
|
||||
export { ExternalUrlConfigType, config } from './config';
|
||||
export { ExternalUrlConfig } from './external_url_config';
|
||||
export type { IExternalUrlConfig, IExternalUrlPolicy } from './external_url_config';
|
||||
export { config } from './config';
|
||||
export type { ExternalUrlConfigType } from './config';
|
||||
|
|
|
@ -6,20 +6,25 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { config, HttpConfig, HttpConfigType } from './http_config';
|
||||
export { config, HttpConfig } from './http_config';
|
||||
export type { HttpConfigType } from './http_config';
|
||||
export { HttpService } from './http_service';
|
||||
export { GetAuthHeaders } from './auth_headers_storage';
|
||||
export { AuthStatus, GetAuthState, IsAuthenticated } from './auth_state_storage';
|
||||
export type { GetAuthHeaders } from './auth_headers_storage';
|
||||
export type { AuthStatus, GetAuthState, IsAuthenticated } from './auth_state_storage';
|
||||
export {
|
||||
CustomHttpResponseOptions,
|
||||
IKibanaSocket,
|
||||
isKibanaRequest,
|
||||
isRealRequest,
|
||||
KibanaRequest,
|
||||
kibanaResponseFactory,
|
||||
validBodyOutput,
|
||||
} from './router';
|
||||
export type {
|
||||
CustomHttpResponseOptions,
|
||||
IKibanaSocket,
|
||||
Headers,
|
||||
HttpResponseOptions,
|
||||
HttpResponsePayload,
|
||||
ErrorHttpResponseOptions,
|
||||
KibanaRequest,
|
||||
KibanaRequestEvents,
|
||||
KibanaRequestRoute,
|
||||
KibanaRequestRouteOptions,
|
||||
|
@ -33,7 +38,6 @@ export {
|
|||
ResponseError,
|
||||
ResponseErrorAttributes,
|
||||
ResponseHeaders,
|
||||
kibanaResponseFactory,
|
||||
KibanaResponseFactory,
|
||||
RouteConfig,
|
||||
IRouter,
|
||||
|
@ -42,7 +46,6 @@ export {
|
|||
RouteConfigOptions,
|
||||
RouteConfigOptionsBody,
|
||||
RouteContentType,
|
||||
validBodyOutput,
|
||||
RouteValidatorConfig,
|
||||
RouteValidationSpec,
|
||||
RouteValidationFunction,
|
||||
|
@ -54,8 +57,8 @@ export {
|
|||
SafeRouteMethod,
|
||||
} from './router';
|
||||
export { BasePathProxyServer } from './base_path_proxy_server';
|
||||
export { OnPreRoutingHandler, OnPreRoutingToolkit } from './lifecycle/on_pre_routing';
|
||||
export {
|
||||
export type { OnPreRoutingHandler, OnPreRoutingToolkit } from './lifecycle/on_pre_routing';
|
||||
export type {
|
||||
AuthenticationHandler,
|
||||
AuthHeaders,
|
||||
AuthResultParams,
|
||||
|
@ -67,19 +70,29 @@ export {
|
|||
AuthNotHandled,
|
||||
AuthResultType,
|
||||
} from './lifecycle/auth';
|
||||
export { OnPostAuthHandler, OnPostAuthToolkit } from './lifecycle/on_post_auth';
|
||||
export { OnPreAuthHandler, OnPreAuthToolkit } from './lifecycle/on_pre_auth';
|
||||
export {
|
||||
export type { OnPostAuthHandler, OnPostAuthToolkit } from './lifecycle/on_post_auth';
|
||||
export type { OnPreAuthHandler, OnPreAuthToolkit } from './lifecycle/on_pre_auth';
|
||||
export type {
|
||||
OnPreResponseHandler,
|
||||
OnPreResponseToolkit,
|
||||
OnPreResponseRender,
|
||||
OnPreResponseExtensions,
|
||||
OnPreResponseInfo,
|
||||
} from './lifecycle/on_pre_response';
|
||||
export { SessionStorageFactory, SessionStorage } from './session_storage';
|
||||
export {
|
||||
export type { SessionStorageFactory, SessionStorage } from './session_storage';
|
||||
export type {
|
||||
SessionStorageCookieOptions,
|
||||
SessionCookieValidationResult,
|
||||
} from './cookie_session_storage';
|
||||
export * from './types';
|
||||
export { BasePath, IBasePath } from './base_path_service';
|
||||
export type {
|
||||
RequestHandlerContextContainer,
|
||||
RequestHandlerContextProvider,
|
||||
HttpAuth,
|
||||
HttpServiceSetup,
|
||||
InternalHttpServiceSetup,
|
||||
HttpServiceStart,
|
||||
InternalHttpServiceStart,
|
||||
HttpServerInfo,
|
||||
} from './types';
|
||||
export { BasePath } from './base_path_service';
|
||||
export type { IBasePath } from './base_path_service';
|
||||
|
|
|
@ -6,33 +6,37 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { Headers, filterHeaders, ResponseHeaders, KnownHeaders } from './headers';
|
||||
export { Router, RequestHandler, RequestHandlerWrapper, IRouter, RouteRegistrar } from './router';
|
||||
export {
|
||||
KibanaRequest,
|
||||
export { filterHeaders } from './headers';
|
||||
export type { Headers, ResponseHeaders, KnownHeaders } from './headers';
|
||||
export { Router } from './router';
|
||||
export type { RequestHandler, RequestHandlerWrapper, IRouter, RouteRegistrar } from './router';
|
||||
export { isKibanaRequest, isRealRequest, ensureRawRequest, KibanaRequest } from './request';
|
||||
export type {
|
||||
KibanaRequestEvents,
|
||||
KibanaRequestRoute,
|
||||
KibanaRequestRouteOptions,
|
||||
KibanaRouteOptions,
|
||||
KibanaRequestState,
|
||||
isKibanaRequest,
|
||||
isRealRequest,
|
||||
LegacyRequest,
|
||||
ensureRawRequest,
|
||||
} from './request';
|
||||
export {
|
||||
export { isSafeMethod, validBodyOutput } from './route';
|
||||
export type {
|
||||
DestructiveRouteMethod,
|
||||
isSafeMethod,
|
||||
RouteMethod,
|
||||
RouteConfig,
|
||||
RouteConfigOptions,
|
||||
RouteContentType,
|
||||
RouteConfigOptionsBody,
|
||||
SafeRouteMethod,
|
||||
validBodyOutput,
|
||||
} from './route';
|
||||
export { HapiResponseAdapter } from './response_adapter';
|
||||
export {
|
||||
kibanaResponseFactory,
|
||||
lifecycleResponseFactory,
|
||||
isKibanaResponse,
|
||||
KibanaResponse,
|
||||
} from './response';
|
||||
export type {
|
||||
CustomHttpResponseOptions,
|
||||
HttpResponseOptions,
|
||||
HttpResponsePayload,
|
||||
|
@ -40,18 +44,14 @@ export {
|
|||
RedirectResponseOptions,
|
||||
ResponseError,
|
||||
ResponseErrorAttributes,
|
||||
KibanaResponse,
|
||||
IKibanaResponse,
|
||||
kibanaResponseFactory,
|
||||
KibanaResponseFactory,
|
||||
lifecycleResponseFactory,
|
||||
LifecycleResponseFactory,
|
||||
isKibanaResponse,
|
||||
} from './response';
|
||||
|
||||
export { IKibanaSocket } from './socket';
|
||||
export type { IKibanaSocket } from './socket';
|
||||
|
||||
export {
|
||||
export type {
|
||||
RouteValidatorConfig,
|
||||
RouteValidationSpec,
|
||||
RouteValidationFunction,
|
||||
|
|
|
@ -131,7 +131,6 @@ export class KibanaRequest<
|
|||
const params = routeValidator.getParams(req.params, 'request params');
|
||||
const query = routeValidator.getQuery(req.query, 'request query');
|
||||
const body = routeValidator.getBody(req.payload, 'request body');
|
||||
|
||||
return { query, params, body };
|
||||
}
|
||||
/**
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
RouteValidator,
|
||||
export { RouteValidator } from './validator';
|
||||
export type {
|
||||
RouteValidatorConfig,
|
||||
RouteValidationSpec,
|
||||
RouteValidationFunction,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
export { HttpResourcesService } from './http_resources_service';
|
||||
|
||||
export {
|
||||
export type {
|
||||
HttpResourcesRenderOptions,
|
||||
HttpResourcesResponseOptions,
|
||||
HttpResourcesServiceToolkit,
|
||||
|
|
|
@ -6,5 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { config, I18nConfigType } from './i18n_config';
|
||||
export { I18nService, I18nServiceSetup } from './i18n_service';
|
||||
export { config } from './i18n_config';
|
||||
export type { I18nConfigType } from './i18n_config';
|
||||
export { I18nService } from './i18n_service';
|
||||
export type { I18nServiceSetup } from './i18n_service';
|
||||
|
|
|
@ -68,7 +68,7 @@ import {
|
|||
CoreServicesUsageData,
|
||||
} from './core_usage_data';
|
||||
|
||||
export {
|
||||
export type {
|
||||
CoreUsageStats,
|
||||
CoreUsageData,
|
||||
CoreConfigUsageData,
|
||||
|
@ -77,13 +77,13 @@ export {
|
|||
};
|
||||
|
||||
export { bootstrap } from './bootstrap';
|
||||
export {
|
||||
export type {
|
||||
Capabilities,
|
||||
CapabilitiesProvider,
|
||||
CapabilitiesSwitcher,
|
||||
ResolveCapabilitiesOptions,
|
||||
} from './capabilities';
|
||||
export {
|
||||
export type {
|
||||
ConfigPath,
|
||||
ConfigService,
|
||||
ConfigDeprecation,
|
||||
|
@ -93,22 +93,25 @@ export {
|
|||
EnvironmentMode,
|
||||
PackageInfo,
|
||||
} from './config';
|
||||
export {
|
||||
export type {
|
||||
IContextContainer,
|
||||
IContextProvider,
|
||||
HandlerFunction,
|
||||
HandlerContextType,
|
||||
HandlerParameters,
|
||||
} from './context';
|
||||
export { CoreId } from './core_context';
|
||||
export { CspConfig, ICspConfig } from './csp';
|
||||
export {
|
||||
export type { CoreId } from './core_context';
|
||||
|
||||
export { CspConfig } from './csp';
|
||||
export type { ICspConfig } from './csp';
|
||||
|
||||
export { ElasticsearchConfig } from './elasticsearch';
|
||||
export type {
|
||||
LegacyClusterClient,
|
||||
ILegacyClusterClient,
|
||||
ILegacyCustomClusterClient,
|
||||
LegacyScopedClusterClient,
|
||||
ILegacyScopedClusterClient,
|
||||
ElasticsearchConfig,
|
||||
LegacyElasticsearchClientConfig,
|
||||
LegacyElasticsearchError,
|
||||
LegacyElasticsearchErrorHelpers,
|
||||
|
@ -128,13 +131,23 @@ export {
|
|||
CountResponse,
|
||||
ShardsInfo,
|
||||
ShardsResponse,
|
||||
Explanation,
|
||||
GetResponse,
|
||||
DeleteDocumentResponse,
|
||||
} from './elasticsearch';
|
||||
export * from './elasticsearch/legacy/api_types';
|
||||
export { IExternalUrlConfig, IExternalUrlPolicy } from './external_url';
|
||||
export {
|
||||
|
||||
export type {
|
||||
LegacyCallAPIOptions,
|
||||
AssistantAPIClientParams,
|
||||
MIGRATION_ASSISTANCE_INDEX_ACTION,
|
||||
MIGRATION_DEPRECATION_LEVEL,
|
||||
AssistanceAPIResponse,
|
||||
DeprecationAPIClientParams,
|
||||
DeprecationInfo,
|
||||
IndexSettingsDeprecationInfo,
|
||||
DeprecationAPIResponse,
|
||||
} from './elasticsearch/legacy/api_types';
|
||||
export type { IExternalUrlConfig, IExternalUrlPolicy } from './external_url';
|
||||
export type {
|
||||
AuthenticationHandler,
|
||||
AuthHeaders,
|
||||
AuthResultParams,
|
||||
|
@ -161,7 +174,6 @@ export {
|
|||
ErrorHttpResponseOptions,
|
||||
IKibanaSocket,
|
||||
IsAuthenticated,
|
||||
KibanaRequest,
|
||||
KibanaRequestEvents,
|
||||
KibanaRequestRoute,
|
||||
KibanaRequestRouteOptions,
|
||||
|
@ -188,7 +200,6 @@ export {
|
|||
ResponseError,
|
||||
ResponseErrorAttributes,
|
||||
ResponseHeaders,
|
||||
kibanaResponseFactory,
|
||||
KibanaResponseFactory,
|
||||
RouteConfig,
|
||||
IRouter,
|
||||
|
@ -197,7 +208,6 @@ export {
|
|||
RouteConfigOptions,
|
||||
RouteConfigOptionsBody,
|
||||
RouteContentType,
|
||||
validBodyOutput,
|
||||
RouteValidatorConfig,
|
||||
RouteValidationSpec,
|
||||
RouteValidationFunction,
|
||||
|
@ -213,15 +223,17 @@ export {
|
|||
SafeRouteMethod,
|
||||
} from './http';
|
||||
|
||||
export {
|
||||
export { KibanaRequest, kibanaResponseFactory, validBodyOutput } from './http';
|
||||
|
||||
export type {
|
||||
HttpResourcesRenderOptions,
|
||||
HttpResourcesResponseOptions,
|
||||
HttpResourcesServiceToolkit,
|
||||
HttpResourcesRequestHandler,
|
||||
} from './http_resources';
|
||||
|
||||
export { IRenderOptions } from './rendering';
|
||||
export {
|
||||
export type { IRenderOptions } from './rendering';
|
||||
export type {
|
||||
Logger,
|
||||
LoggerFactory,
|
||||
LogMeta,
|
||||
|
@ -233,7 +245,7 @@ export {
|
|||
AppenderConfigType,
|
||||
} from './logging';
|
||||
|
||||
export {
|
||||
export type {
|
||||
DiscoveredPlugin,
|
||||
Plugin,
|
||||
AsyncPlugin,
|
||||
|
@ -247,6 +259,14 @@ export {
|
|||
} from './plugins';
|
||||
|
||||
export {
|
||||
SavedObjectsClient,
|
||||
SavedObjectsErrorHelpers,
|
||||
SavedObjectsSerializer,
|
||||
SavedObjectTypeRegistry,
|
||||
SavedObjectsUtils,
|
||||
} from './saved_objects';
|
||||
|
||||
export type {
|
||||
SavedObjectsBulkCreateObject,
|
||||
SavedObjectsBulkGetObject,
|
||||
SavedObjectsBulkUpdateObject,
|
||||
|
@ -255,7 +275,6 @@ export {
|
|||
SavedObjectsBulkUpdateResponse,
|
||||
SavedObjectsCheckConflictsObject,
|
||||
SavedObjectsCheckConflictsResponse,
|
||||
SavedObjectsClient,
|
||||
SavedObjectsClientProviderOptions,
|
||||
SavedObjectsClientWrapperFactory,
|
||||
SavedObjectsClientWrapperOptions,
|
||||
|
@ -264,7 +283,6 @@ export {
|
|||
SavedObjectsClosePointInTimeOptions,
|
||||
SavedObjectsClosePointInTimeResponse,
|
||||
SavedObjectsCreateOptions,
|
||||
SavedObjectsErrorHelpers,
|
||||
SavedObjectsExportResultDetails,
|
||||
SavedObjectsFindResult,
|
||||
SavedObjectsFindResponse,
|
||||
|
@ -289,7 +307,6 @@ export {
|
|||
SavedObjectsRepositoryFactory,
|
||||
SavedObjectsResolveImportErrorsOptions,
|
||||
SavedObjectsResolveResponse,
|
||||
SavedObjectsSerializer,
|
||||
SavedObjectsUpdateOptions,
|
||||
SavedObjectsUpdateResponse,
|
||||
SavedObjectsAddToNamespacesOptions,
|
||||
|
@ -312,14 +329,12 @@ export {
|
|||
SavedObjectsFieldMapping,
|
||||
SavedObjectsTypeMappingDefinition,
|
||||
SavedObjectsMappingProperties,
|
||||
SavedObjectTypeRegistry,
|
||||
ISavedObjectTypeRegistry,
|
||||
SavedObjectsNamespaceType,
|
||||
SavedObjectsType,
|
||||
SavedObjectsTypeManagementDefinition,
|
||||
SavedObjectMigrationMap,
|
||||
SavedObjectMigrationFn,
|
||||
SavedObjectsUtils,
|
||||
SavedObjectsExporter,
|
||||
ISavedObjectsExporter,
|
||||
SavedObjectExportBaseOptions,
|
||||
|
@ -338,7 +353,7 @@ export {
|
|||
SavedObjectsImportWarning,
|
||||
} from './saved_objects';
|
||||
|
||||
export {
|
||||
export type {
|
||||
IUiSettingsClient,
|
||||
UiSettingsParams,
|
||||
PublicUiSettingsParams,
|
||||
|
@ -353,7 +368,7 @@ export {
|
|||
StringValidationRegexString,
|
||||
} from './ui_settings';
|
||||
|
||||
export {
|
||||
export type {
|
||||
OpsMetrics,
|
||||
OpsOsMetrics,
|
||||
OpsServerMetrics,
|
||||
|
@ -362,12 +377,12 @@ export {
|
|||
MetricsServiceStart,
|
||||
} from './metrics';
|
||||
|
||||
export { I18nServiceSetup } from './i18n';
|
||||
export type { I18nServiceSetup } from './i18n';
|
||||
|
||||
export { AppCategory } from '../types';
|
||||
export type { AppCategory } from '../types';
|
||||
export { DEFAULT_APP_CATEGORIES } from '../utils';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObject,
|
||||
SavedObjectAttribute,
|
||||
SavedObjectAttributes,
|
||||
|
@ -382,17 +397,12 @@ export {
|
|||
SavedObjectsMigrationVersion,
|
||||
} from './types';
|
||||
|
||||
export { LegacyServiceSetupDeps, LegacyServiceStartDeps, LegacyConfig } from './legacy';
|
||||
export type { LegacyServiceSetupDeps, LegacyServiceStartDeps, LegacyConfig } from './legacy';
|
||||
|
||||
export {
|
||||
CoreStatus,
|
||||
ServiceStatus,
|
||||
ServiceStatusLevel,
|
||||
ServiceStatusLevels,
|
||||
StatusServiceSetup,
|
||||
} from './status';
|
||||
export { ServiceStatusLevels } from './status';
|
||||
export type { CoreStatus, ServiceStatus, ServiceStatusLevel, StatusServiceSetup } from './status';
|
||||
|
||||
export { CoreUsageDataStart } from './core_usage_data';
|
||||
export type { CoreUsageDataStart } from './core_usage_data';
|
||||
|
||||
/**
|
||||
* Plugin specific context passed to a route handler.
|
||||
|
@ -507,7 +517,7 @@ export interface CoreStart {
|
|||
coreUsageData: CoreUsageDataStart;
|
||||
}
|
||||
|
||||
export {
|
||||
export type {
|
||||
CapabilitiesSetup,
|
||||
CapabilitiesStart,
|
||||
ContextSetup,
|
||||
|
|
|
@ -9,6 +9,13 @@
|
|||
/** @internal */
|
||||
export { ensureValidConfiguration } from './config';
|
||||
/** @internal */
|
||||
export { LegacyService, ILegacyService } from './legacy_service';
|
||||
export type { ILegacyService } from './legacy_service';
|
||||
export { LegacyService } from './legacy_service';
|
||||
/** @internal */
|
||||
export * from './types';
|
||||
export type {
|
||||
LegacyVars,
|
||||
LegacyConfig,
|
||||
LegacyServiceSetupDeps,
|
||||
LegacyServiceStartDeps,
|
||||
LegacyServiceSetupConfig,
|
||||
} from './types';
|
||||
|
|
|
@ -10,7 +10,7 @@ import { assertNever } from '@kbn/std';
|
|||
import { RewritePolicy } from './policy';
|
||||
import { MetaRewritePolicy, MetaRewritePolicyConfig, metaRewritePolicyConfigSchema } from './meta';
|
||||
|
||||
export { RewritePolicy };
|
||||
export type { RewritePolicy };
|
||||
|
||||
/**
|
||||
* Available rewrite policies which specify what part of a {@link LogRecord}
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
MetaRewritePolicy,
|
||||
MetaRewritePolicyConfig,
|
||||
metaRewritePolicyConfigSchema,
|
||||
} from './meta_policy';
|
||||
export { MetaRewritePolicy, metaRewritePolicyConfigSchema } from './meta_policy';
|
||||
|
||||
export type { MetaRewritePolicyConfig } from './meta_policy';
|
||||
|
|
|
@ -22,7 +22,7 @@ import {
|
|||
timeIntervalTriggeringPolicyConfigSchema,
|
||||
} from './time_interval';
|
||||
|
||||
export { TriggeringPolicy } from './policy';
|
||||
export type { TriggeringPolicy } from './policy';
|
||||
|
||||
/**
|
||||
* Any of the existing policy's configuration
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
export {
|
||||
SizeLimitTriggeringPolicy,
|
||||
SizeLimitTriggeringPolicyConfig,
|
||||
sizeLimitTriggeringPolicyConfigSchema,
|
||||
} from './size_limit_policy';
|
||||
|
||||
export type { SizeLimitTriggeringPolicyConfig } from './size_limit_policy';
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
export {
|
||||
TimeIntervalTriggeringPolicy,
|
||||
TimeIntervalTriggeringPolicyConfig,
|
||||
timeIntervalTriggeringPolicyConfigSchema,
|
||||
} from './time_interval_policy';
|
||||
|
||||
export type { TimeIntervalTriggeringPolicyConfig } from './time_interval_policy';
|
||||
|
|
|
@ -15,7 +15,7 @@ import {
|
|||
} from './numeric';
|
||||
import { RollingFileContext } from '../rolling_file_context';
|
||||
|
||||
export { RollingStrategy } from './strategy';
|
||||
export type { RollingStrategy } from './strategy';
|
||||
export type RollingStrategyConfig = NumericRollingStrategyConfig;
|
||||
|
||||
const defaultStrategy: NumericRollingStrategyConfig = {
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
NumericRollingStrategy,
|
||||
NumericRollingStrategyConfig,
|
||||
numericRollingStrategyConfigSchema,
|
||||
} from './numeric_strategy';
|
||||
export { NumericRollingStrategy, numericRollingStrategyConfigSchema } from './numeric_strategy';
|
||||
|
||||
export type { NumericRollingStrategyConfig } from './numeric_strategy';
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export { LogLevel } from '@kbn/logging';
|
||||
export type {
|
||||
DisposableAppender,
|
||||
Appender,
|
||||
LogRecord,
|
||||
|
@ -15,21 +15,20 @@ export {
|
|||
LogMeta,
|
||||
Logger,
|
||||
LogLevelId,
|
||||
LogLevel,
|
||||
} from '@kbn/logging';
|
||||
export { EcsEvent, EcsEventKind, EcsEventCategory, EcsEventType } from './ecs';
|
||||
export {
|
||||
config,
|
||||
export { EcsEventType, EcsEventCategory, EcsEventKind } from './ecs';
|
||||
export type { EcsEvent } from './ecs';
|
||||
export { config } from './logging_config';
|
||||
export type {
|
||||
LoggingConfigType,
|
||||
LoggerContextConfigInput,
|
||||
LoggerConfigType,
|
||||
loggerContextConfigSchema,
|
||||
loggerSchema,
|
||||
} from './logging_config';
|
||||
export { LoggingSystem, ILoggingSystem } from './logging_system';
|
||||
export {
|
||||
InternalLoggingServiceSetup,
|
||||
LoggingServiceSetup,
|
||||
LoggingService,
|
||||
} from './logging_service';
|
||||
export { appendersSchema, AppenderConfigType } from './appenders/appenders';
|
||||
export { LoggingSystem } from './logging_system';
|
||||
export type { ILoggingSystem } from './logging_system';
|
||||
export { LoggingService } from './logging_service';
|
||||
export type { InternalLoggingServiceSetup, LoggingServiceSetup } from './logging_service';
|
||||
export { appendersSchema } from './appenders/appenders';
|
||||
export type { AppenderConfigType } from './appenders/appenders';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { Conversion } from './type';
|
||||
export type { Conversion } from './type';
|
||||
|
||||
export { LoggerConversion } from './logger';
|
||||
export { LevelConversion } from './level';
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { loggerMock, MockedLogger } from '@kbn/logging/target/mocks';
|
||||
export { loggerMock } from '@kbn/logging/target/mocks';
|
||||
export type { MockedLogger } from '@kbn/logging/target/mocks';
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { OpsProcessMetrics, OpsOsMetrics, OpsServerMetrics, MetricsCollector } from './types';
|
||||
export { OsMetricsCollector, OpsMetricsCollectorOptions } from './os';
|
||||
export type { OpsProcessMetrics, OpsOsMetrics, OpsServerMetrics, MetricsCollector } from './types';
|
||||
export { OsMetricsCollector } from './os';
|
||||
export type { OpsMetricsCollectorOptions } from './os';
|
||||
export { ProcessMetricsCollector } from './process';
|
||||
export { ServerMetricsCollector } from './server';
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export type {
|
||||
InternalMetricsServiceStart,
|
||||
InternalMetricsServiceSetup,
|
||||
MetricsServiceSetup,
|
||||
MetricsServiceStart,
|
||||
OpsMetrics,
|
||||
} from './types';
|
||||
export { OpsProcessMetrics, OpsServerMetrics, OpsOsMetrics } from './collectors';
|
||||
export type { OpsProcessMetrics, OpsServerMetrics, OpsOsMetrics } from './collectors';
|
||||
export { MetricsService } from './metrics_service';
|
||||
export { opsConfig } from './ops_config';
|
||||
|
|
|
@ -6,12 +6,8 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
PluginsService,
|
||||
PluginsServiceSetup,
|
||||
PluginsServiceStart,
|
||||
UiPlugins,
|
||||
} from './plugins_service';
|
||||
export { PluginsService } from './plugins_service';
|
||||
export type { PluginsServiceSetup, PluginsServiceStart, UiPlugins } from './plugins_service';
|
||||
export { config } from './plugins_config';
|
||||
/** @internal */
|
||||
export { isNewPlatformPlugin } from './discovery';
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsExportByObjectOptions,
|
||||
SavedObjectExportBaseOptions,
|
||||
SavedObjectsExportByTypeOptions,
|
||||
|
@ -14,5 +14,6 @@ export {
|
|||
SavedObjectsExportTransformContext,
|
||||
SavedObjectsExportTransform,
|
||||
} from './types';
|
||||
export { ISavedObjectsExporter, SavedObjectsExporter } from './saved_objects_exporter';
|
||||
export { SavedObjectsExporter } from './saved_objects_exporter';
|
||||
export type { ISavedObjectsExporter } from './saved_objects_exporter';
|
||||
export { SavedObjectsExportError } from './errors';
|
||||
|
|
|
@ -6,8 +6,9 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { ISavedObjectsImporter, SavedObjectsImporter } from './saved_objects_importer';
|
||||
export {
|
||||
export { SavedObjectsImporter } from './saved_objects_importer';
|
||||
export type { ISavedObjectsImporter } from './saved_objects_importer';
|
||||
export type {
|
||||
SavedObjectsImportResponse,
|
||||
SavedObjectsImportSuccess,
|
||||
SavedObjectsImportFailure,
|
||||
|
|
|
@ -8,9 +8,10 @@
|
|||
|
||||
export * from './service';
|
||||
|
||||
export {
|
||||
export { SavedObjectsImporter } from './import';
|
||||
|
||||
export type {
|
||||
ISavedObjectsImporter,
|
||||
SavedObjectsImporter,
|
||||
SavedObjectsImportAmbiguousConflictError,
|
||||
SavedObjectsImportConflictError,
|
||||
SavedObjectsImportFailure,
|
||||
|
@ -30,7 +31,7 @@ export {
|
|||
SavedObjectsImportWarning,
|
||||
} from './import';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsExporter,
|
||||
ISavedObjectsExporter,
|
||||
SavedObjectExportBaseOptions,
|
||||
|
@ -42,18 +43,20 @@ export {
|
|||
SavedObjectsExportTransform,
|
||||
} from './export';
|
||||
|
||||
export {
|
||||
SavedObjectsSerializer,
|
||||
export { SavedObjectsSerializer } from './serialization';
|
||||
|
||||
export type {
|
||||
SavedObjectsRawDoc,
|
||||
SavedObjectsRawDocParseOptions,
|
||||
SavedObjectSanitizedDoc,
|
||||
SavedObjectUnsanitizedDoc,
|
||||
} from './serialization';
|
||||
|
||||
export { SavedObjectsMigrationLogger } from './migrations/core/migration_logger';
|
||||
export type { SavedObjectsMigrationLogger } from './migrations/core/migration_logger';
|
||||
|
||||
export {
|
||||
SavedObjectsService,
|
||||
export { SavedObjectsService } from './saved_objects_service';
|
||||
|
||||
export type {
|
||||
InternalSavedObjectsServiceStart,
|
||||
SavedObjectsServiceStart,
|
||||
SavedObjectsServiceSetup,
|
||||
|
@ -61,14 +64,14 @@ export {
|
|||
SavedObjectsRepositoryFactory,
|
||||
} from './saved_objects_service';
|
||||
|
||||
export {
|
||||
export type {
|
||||
ISavedObjectsRepository,
|
||||
SavedObjectsIncrementCounterOptions,
|
||||
SavedObjectsIncrementCounterField,
|
||||
SavedObjectsDeleteByNamespaceOptions,
|
||||
} from './service/lib/repository';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsCoreFieldMapping,
|
||||
SavedObjectsComplexFieldMapping,
|
||||
SavedObjectsFieldMapping,
|
||||
|
@ -77,13 +80,13 @@ export {
|
|||
SavedObjectsTypeMappingDefinitions,
|
||||
} from './mappings';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectMigrationMap,
|
||||
SavedObjectMigrationFn,
|
||||
SavedObjectMigrationContext,
|
||||
} from './migrations';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsNamespaceType,
|
||||
SavedObjectStatusMeta,
|
||||
SavedObjectsType,
|
||||
|
@ -91,4 +94,5 @@ export {
|
|||
} from './types';
|
||||
|
||||
export { savedObjectsConfig, savedObjectsMigrationConfig } from './saved_objects_config';
|
||||
export { SavedObjectTypeRegistry, ISavedObjectTypeRegistry } from './saved_objects_type_registry';
|
||||
export { SavedObjectTypeRegistry } from './saved_objects_type_registry';
|
||||
export type { ISavedObjectTypeRegistry } from './saved_objects_type_registry';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
export { getTypes, getProperty, getRootProperties, getRootPropertiesObjects } from './lib';
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsComplexFieldMapping,
|
||||
SavedObjectsCoreFieldMapping,
|
||||
SavedObjectsTypeMappingDefinition,
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
export { DocumentMigrator } from './document_migrator';
|
||||
export { IndexMigrator } from './index_migrator';
|
||||
export { buildActiveMappings } from './build_active_mappings';
|
||||
export { CallCluster } from './call_cluster';
|
||||
export { LogFn, SavedObjectsMigrationLogger } from './migration_logger';
|
||||
export { MigrationResult, MigrationStatus } from './migration_coordinator';
|
||||
export { createMigrationEsClient, MigrationEsClient } from './migration_es_client';
|
||||
export type { CallCluster } from './call_cluster';
|
||||
export type { LogFn, SavedObjectsMigrationLogger } from './migration_logger';
|
||||
export type { MigrationResult, MigrationStatus } from './migration_coordinator';
|
||||
export { createMigrationEsClient } from './migration_es_client';
|
||||
export type { MigrationEsClient } from './migration_es_client';
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { MigrationResult } from './core';
|
||||
export { KibanaMigrator, IKibanaMigrator } from './kibana';
|
||||
export {
|
||||
export type { MigrationResult } from './core';
|
||||
export { KibanaMigrator } from './kibana';
|
||||
export type { IKibanaMigrator } from './kibana';
|
||||
export type {
|
||||
SavedObjectMigrationFn,
|
||||
SavedObjectMigrationMap,
|
||||
SavedObjectMigrationContext,
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { KibanaMigrator, IKibanaMigrator, KibanaMigratorStatus } from './kibana_migrator';
|
||||
export { KibanaMigrator } from './kibana_migrator';
|
||||
export type { IKibanaMigrator, KibanaMigratorStatus } from './kibana_migrator';
|
||||
|
|
|
@ -20,7 +20,7 @@ import {
|
|||
catchRetryableEsClientErrors,
|
||||
RetryableEsClientError,
|
||||
} from './catch_retryable_es_client_errors';
|
||||
export { RetryableEsClientError };
|
||||
export type { RetryableEsClientError };
|
||||
|
||||
export const isRetryableEsClientResponse = (
|
||||
res: Either.Either<any, unknown>
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
*/
|
||||
|
||||
export { LEGACY_URL_ALIAS_TYPE } from './constants';
|
||||
export { LegacyUrlAlias } from './types';
|
||||
export type { LegacyUrlAlias } from './types';
|
||||
export { registerCoreObjectTypes } from './registration';
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* the raw document format as stored in ElasticSearch.
|
||||
*/
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectUnsanitizedDoc,
|
||||
SavedObjectSanitizedDoc,
|
||||
SavedObjectsRawDoc,
|
||||
|
|
|
@ -5,18 +5,15 @@
|
|||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export {
|
||||
export { SavedObjectsErrorHelpers, SavedObjectsClientProvider, SavedObjectsUtils } from './lib';
|
||||
export type {
|
||||
SavedObjectsRepository,
|
||||
SavedObjectsClientProvider,
|
||||
ISavedObjectsClientProvider,
|
||||
SavedObjectsClientProviderOptions,
|
||||
SavedObjectsClientWrapperFactory,
|
||||
SavedObjectsClientWrapperOptions,
|
||||
SavedObjectsErrorHelpers,
|
||||
SavedObjectsClientFactory,
|
||||
SavedObjectsClientFactoryProvider,
|
||||
SavedObjectsUtils,
|
||||
} from './lib';
|
||||
|
||||
export * from './saved_objects_client';
|
||||
|
|
|
@ -6,13 +6,12 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { ISavedObjectsRepository, SavedObjectsRepository } from './repository';
|
||||
|
||||
export {
|
||||
export type { ISavedObjectsRepository, SavedObjectsRepository } from './repository';
|
||||
export { SavedObjectsClientProvider } from './scoped_client_provider';
|
||||
export type {
|
||||
SavedObjectsClientWrapperFactory,
|
||||
SavedObjectsClientWrapperOptions,
|
||||
ISavedObjectsClientProvider,
|
||||
SavedObjectsClientProvider,
|
||||
SavedObjectsClientProviderOptions,
|
||||
SavedObjectsClientFactory,
|
||||
SavedObjectsClientFactoryProvider,
|
||||
|
|
|
@ -12,7 +12,7 @@ import { SavedObjectMigrationMap } from './migrations';
|
|||
import { SavedObjectsExportTransform } from './export';
|
||||
import { SavedObjectsImportHook } from './import/types';
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectsImportResponse,
|
||||
SavedObjectsImportSuccess,
|
||||
SavedObjectsImportConflictError,
|
||||
|
@ -31,7 +31,7 @@ import { SavedObject } from '../../types';
|
|||
|
||||
type KueryNode = any;
|
||||
|
||||
export {
|
||||
export type {
|
||||
SavedObjectAttributes,
|
||||
SavedObjectAttribute,
|
||||
SavedObjectAttributeSingle,
|
||||
|
|
|
@ -924,16 +924,6 @@ export interface ErrorHttpResponseOptions {
|
|||
headers?: ResponseHeaders;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface Explanation {
|
||||
// (undocumented)
|
||||
description: string;
|
||||
// (undocumented)
|
||||
details: Explanation[];
|
||||
// (undocumented)
|
||||
value: number;
|
||||
}
|
||||
|
||||
// @public
|
||||
export interface FakeRequest {
|
||||
headers: Headers;
|
||||
|
@ -3198,6 +3188,7 @@ export const validBodyOutput: readonly ["data", "stream"];
|
|||
|
||||
// Warnings were encountered during analysis:
|
||||
//
|
||||
// src/core/server/elasticsearch/client/types.ts:94:7 - (ae-forgotten-export) The symbol "Explanation" needs to be exported by the entry point index.d.ts
|
||||
// src/core/server/http/router/response.ts:297:3 - (ae-forgotten-export) The symbol "KibanaResponse" needs to be exported by the entry point index.d.ts
|
||||
// src/core/server/plugins/types.ts:286:3 - (ae-forgotten-export) The symbol "KibanaConfigType" needs to be exported by the entry point index.d.ts
|
||||
// src/core/server/plugins/types.ts:286:3 - (ae-forgotten-export) The symbol "SharedGlobalConfigKeys" needs to be exported by the entry point index.d.ts
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
/** This module is intended for consumption by public to avoid import issues with server-side code */
|
||||
export { PluginOpaqueId } from './plugins/types';
|
||||
export type { PluginOpaqueId } from './plugins/types';
|
||||
export type {
|
||||
SavedObjectsImportResponse,
|
||||
SavedObjectsImportSuccess,
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { UiSettingsClient, UiSettingsServiceOptions } from './ui_settings_client';
|
||||
export type { UiSettingsClient, UiSettingsServiceOptions } from './ui_settings_client';
|
||||
|
||||
export { config } from './ui_settings_config';
|
||||
export { UiSettingsService } from './ui_settings_service';
|
||||
|
||||
export {
|
||||
export type {
|
||||
UiSettingsServiceSetup,
|
||||
UiSettingsServiceStart,
|
||||
IUiSettingsClient,
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import { SavedObjectsClientContract } from '../saved_objects/types';
|
||||
import { UiSettingsParams, UserProvidedValues, PublicUiSettingsParams } from '../../types';
|
||||
export {
|
||||
export type {
|
||||
UiSettingsParams,
|
||||
PublicUiSettingsParams,
|
||||
StringValidationRegexString,
|
||||
|
|
|
@ -6,5 +6,6 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
export { Pkcs12ReadResult, readPkcs12Keystore, readPkcs12Truststore } from './pkcs12';
|
||||
export { readPkcs12Keystore, readPkcs12Truststore } from './pkcs12';
|
||||
export type { Pkcs12ReadResult } from './pkcs12';
|
||||
export { createSHA256Hash } from './sha256';
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
"outDir": "./target/types",
|
||||
"emitDeclarationOnly": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true
|
||||
"declarationMap": true,
|
||||
"isolatedModules": true,
|
||||
},
|
||||
"include": [
|
||||
"public/**/*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue