kibana/api_docs/expressions.json
Stacey Gammon 283223101d
Improve deprecated API list, and update api docs (#106942)
* Code to adjust deprecated api list

* updated docs

* fix and update tests
2021-07-28 12:44:17 -04:00

45998 lines
1.5 MiB

{
"id": "expressions",
"client": {
"classes": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution",
"type": "Class",
"tags": [],
"label": "Execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 99
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"\nDynamic state of the execution."
],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>, {}>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 109
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"\nInitial input of the execution.\n\nN.B. It is initialized to `null` rather than `undefined` for legacy reasons,\nbecause in legacy interpreter it was set to `null` by default."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 117
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [
"\nExecution context - object that allows to do side-effects. Context is passed\nto every function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<InspectorAdapters, ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 128
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.result",
"type": "Object",
"tags": [],
"label": "result",
"description": [
"\nFuture that tracks result or error of this execution."
],
"signature": [
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.contract",
"type": "Object",
"tags": [],
"label": "contract",
"description": [
"\nContract is a public representation of `Execution` instances. Contract we\ncan return to other plugins for their consumption."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 168
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 174
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.inspectorAdapters",
"type": "Uncategorized",
"tags": [],
"label": "inspectorAdapters",
"description": [],
"signature": [
"InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 176
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 180
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionParams",
"text": "ExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 180
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.cancel",
"type": "Function",
"tags": [],
"label": "cancel",
"description": [
"\nStop execution of expression."
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 273
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [
"\nCall this method to start execution.\n\nN.B. `input` is initialized to `null` rather than `undefined` for legacy reasons,\nbecause in legacy interpreter it was set to `null` by default."
],
"signature": [
"(input?: Input, isSubExpression?: boolean | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.start.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 284
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.start.$2",
"type": "CompoundType",
"tags": [],
"label": "isSubExpression",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 285
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeChain",
"type": "Function",
"tags": [],
"label": "invokeChain",
"description": [],
"signature": [
"(chainArr: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[], input: unknown) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeChain.$1",
"type": "Array",
"tags": [],
"label": "chainArr",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeChain.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeFunction",
"type": "Function",
"tags": [],
"label": "invokeFunction",
"description": [],
"signature": [
"(fn: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
", input: unknown, args: Record<string, unknown>) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 380
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeFunction.$1",
"type": "Object",
"tags": [],
"label": "fn",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 381
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeFunction.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 382
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.invokeFunction.$3",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 383
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.cast",
"type": "Function",
"tags": [],
"label": "cast",
"description": [],
"signature": [
"(value: any, toTypeNames?: string[] | undefined) => any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.cast.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.cast.$2",
"type": "Array",
"tags": [],
"label": "toTypeNames",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.resolveArgs",
"type": "Function",
"tags": [],
"label": "resolveArgs",
"description": [],
"signature": [
"(fnDef: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
", input: unknown, argAsts: any) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.resolveArgs.$1",
"type": "Object",
"tags": [],
"label": "fnDef",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.resolveArgs.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.resolveArgs.$3",
"type": "Any",
"tags": [],
"label": "argAsts",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.interpret",
"type": "Function",
"tags": [],
"label": "interpret",
"description": [],
"signature": [
"<T>(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstNode",
"text": "ExpressionAstNode"
},
", input: T) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Execution.interpret.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstNode",
"text": "ExpressionAstNode"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Execution.interpret.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract",
"type": "Class",
"tags": [],
"label": "ExecutionContract",
"description": [
"\n`ExecutionContract` is a wrapper around `Execution` class. It provides the\nsame functionality but does not expose Expressions plugin internals."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.isPending",
"type": "boolean",
"tags": [],
"label": "isPending",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 26
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 26
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.cancel",
"type": "Function",
"tags": [],
"label": "cancel",
"description": [
"\nCancel the execution of the expression. This will set abort signal\n(available in execution context) to aborted state, letting expression\nfunctions to stop their execution."
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.getData",
"type": "Function",
"tags": [],
"label": "getData",
"description": [
"\nReturns the final output of expression, if any error happens still\nwraps that error into `ExpressionValueError` type and returns that.\nThis function never throws."
],
"signature": [
"() => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.getExpression",
"type": "Function",
"tags": [],
"label": "getExpression",
"description": [
"\nGet string representation of the expression. Returns the original string\nif execution was started from a string. If execution was started from an\nAST this method returns a string generated from AST."
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.getAst",
"type": "Function",
"tags": [],
"label": "getAst",
"description": [
"\nGet AST used to execute the expression."
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 72
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContract.inspect",
"type": "Function",
"tags": [],
"label": "inspect",
"description": [
"\nGet Inspector adapters provided to all functions of expression through\nexecution context."
],
"signature": [
"() => InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 78
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor",
"type": "Class",
"tags": [],
"label": "Executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Context> implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableStateService",
"text": "PersistableStateService"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.createWithDefaults",
"type": "Function",
"tags": [],
"label": "createWithDefaults",
"description": [],
"signature": [
"<Ctx extends Record<string, unknown> = Record<string, unknown>>(state?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Ctx> | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Ctx>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 88
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.createWithDefaults.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Ctx> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 89
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureTransitions",
"text": "ExecutorPureTransitions"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureSelectors",
"text": "ExecutorPureSelectors"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 97
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.functions",
"type": "Object",
"tags": [
"deprecated"
],
"label": "functions",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FunctionsRegistry",
"text": "FunctionsRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 102
},
"deprecated": true,
"references": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.types",
"type": "Object",
"tags": [
"deprecated"
],
"label": "types",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypesRegistry",
"text": "TypesRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 107
},
"deprecated": true,
"references": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 109
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 109
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.registerFunction",
"type": "Function",
"tags": [],
"label": "registerFunction",
"description": [],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 115
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.registerFunction.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 116
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 124
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getFunction.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 124
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getFunctions",
"type": "Function",
"tags": [],
"label": "getFunctions",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 128
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.registerType",
"type": "Function",
"tags": [],
"label": "registerType",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 132
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.registerType.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 133
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 141
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getType.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 141
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getTypes",
"type": "Function",
"tags": [],
"label": "getTypes",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 145
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.extendContext",
"type": "Function",
"tags": [],
"label": "extendContext",
"description": [],
"signature": [
"(extraContext: Record<string, unknown>) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 149
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.extendContext.$1",
"type": "Object",
"tags": [],
"label": "extraContext",
"description": [],
"signature": [
"Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 149
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"signature": [
"{ [x: string]: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 153
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [
"\nExecute expression and return result.\n"
],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
") => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 165
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.run.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [
"Expression AST or a string representing expression."
],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 166
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.run.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"Initial input to the first expression function."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 167
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.run.$3",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 168
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.createExecution",
"type": "Function",
"tags": [],
"label": "createExecution",
"description": [],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DefaultInspectorAdapters",
"text": "DefaultInspectorAdapters"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 173
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.createExecution.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 174
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.createExecution.$2",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 175
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", references: ",
"SavedObjectReference",
"[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.inject.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.inject.$2",
"type": "Array",
"tags": [],
"label": "references",
"description": [],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => { state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 234
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.extract.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 234
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", telemetryData: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.telemetry.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.telemetry.$2",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.getAllMigrations",
"type": "Function",
"tags": [],
"label": "getAllMigrations",
"description": [],
"signature": [
"() => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.MigrateFunctionsObject",
"text": "MigrateFunctionsObject"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 253
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.migrateToLatest",
"type": "Function",
"tags": [],
"label": "migrateToLatest",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 270
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Executor.migrateToLatest.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 270
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.Executor.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction",
"type": "Class",
"tags": [],
"label": "ExpressionFunction",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableState",
"text": "PersistableState"
},
"<Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.name",
"type": "string",
"tags": [],
"label": "name",
"description": [
"\nName of function"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 21
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [
"\nAliases that can be used instead of `name`."
],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nReturn type of function. This SHOULD be supplied. We use it for UI\nand autocomplete hinting. We may also use it for optimizations in\nthe future."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [
"\nFunction to run function (context, args)"
],
"signature": [
"(input: any, params: Record<string, any>, handlers: object) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.input",
"type": "Any",
"tags": [],
"label": "input",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.handlers",
"type": "Uncategorized",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
"object"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nA short help text."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [
"\nSpecification of expression function parameters."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 48
},
"deprecated": false,
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [
"\nType of inputs that this function supports."
],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 53
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.disabled",
"type": "boolean",
"tags": [],
"label": "disabled",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 55
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>, telemetryData: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 56
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.telemetryData",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 58
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>) => { state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 60
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 61
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>, references: ",
"SavedObjectReference",
"[]) => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 63
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.references",
"type": "Array",
"tags": [],
"label": "references",
"description": [],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 65
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.migrations",
"type": "Object",
"tags": [],
"label": "migrations",
"description": [],
"signature": [
"{ [key: string]: (state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
") => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 71
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 71
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.accepts",
"type": "Function",
"tags": [],
"label": "accepts",
"description": [],
"signature": [
"(type: string) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 105
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunction.accepts.$1",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 105
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter",
"type": "Class",
"tags": [],
"label": "ExpressionFunctionParameter",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 12
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.default",
"type": "Any",
"tags": [],
"label": "default",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.resolve",
"type": "boolean",
"tags": [],
"label": "resolve",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"any[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.Unnamed.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.Unnamed.$2",
"type": "CompoundType",
"tags": [],
"label": "arg",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ArgumentType",
"text": "ArgumentType"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.accepts",
"type": "Function",
"tags": [],
"label": "accepts",
"description": [],
"signature": [
"(type: string) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 40
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionParameter.accepts.$1",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 40
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer",
"type": "Class",
"tags": [],
"label": "ExpressionRenderer",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 12
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.displayName",
"type": "string",
"tags": [],
"label": "displayName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"() => void | Error"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 15
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.reuseDomNode",
"type": "boolean",
"tags": [],
"label": "reuseDomNode",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(domNode: HTMLElement, config: Config, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
},
") => void | Promise<void>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 17
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.domNode",
"type": "Object",
"tags": [],
"label": "domNode",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.config",
"type": "Uncategorized",
"tags": [],
"label": "config",
"description": [],
"signature": [
"Config"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.handlers",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 45
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderer.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry",
"type": "Class",
"tags": [],
"label": "ExpressionRendererRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRendererRegistry",
"text": "ExpressionRendererRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 25
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler",
"type": "Class",
"tags": [],
"label": "ExpressionRenderHandler",
"description": [],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 37
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.render$",
"type": "Object",
"tags": [],
"label": "render$",
"description": [],
"signature": [
"Observable",
"<number>"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.update$",
"type": "Object",
"tags": [],
"label": "update$",
"description": [],
"signature": [
"Observable",
"<UpdateValue | null>"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 39
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.events$",
"type": "Object",
"tags": [],
"label": "events$",
"description": [],
"signature": [
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRendererEvent",
"text": "ExpressionRendererEvent"
},
">"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "element",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 52
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.Unnamed.$2",
"type": "Object",
"tags": [],
"label": "{\n onRenderError,\n renderMode,\n syncColors,\n hasCompatibleActions = async () => false,\n }",
"description": [],
"signature": [
"ExpressionRenderHandlerParams"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 53
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(value: any, uiState?: any) => Promise<void>"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 102
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.render.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 102
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.render.$2",
"type": "Any",
"tags": [],
"label": "uiState",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 102
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.destroy",
"type": "Function",
"tags": [],
"label": "destroy",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 134
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.getElement",
"type": "Function",
"tags": [],
"label": "getElement",
"description": [],
"signature": [
"() => HTMLElement"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 143
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.handleRenderError",
"type": "Function",
"tags": [],
"label": "handleRenderError",
"description": [],
"signature": [
"(error: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRenderError",
"text": "ExpressionRenderError"
},
") => void"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 147
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderHandler.handleRenderError.$1",
"type": "Object",
"tags": [],
"label": "error",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRenderError",
"text": "ExpressionRenderError"
}
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 147
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsInspectorAdapter",
"type": "Class",
"tags": [],
"label": "ExpressionsInspectorAdapter",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsInspectorAdapter",
"text": "ExpressionsInspectorAdapter"
},
" extends EventEmitter"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsInspectorAdapter.logAST",
"type": "Function",
"tags": [],
"label": "logAST",
"description": [],
"signature": [
"(ast: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsInspectorAdapter.logAST.$1",
"type": "Any",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 14
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsInspectorAdapter.ast",
"type": "Any",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin",
"type": "Class",
"tags": [],
"label": "ExpressionsPublicPlugin",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsPublicPlugin",
"text": "ExpressionsPublicPlugin"
},
" implements ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.Plugin",
"text": "Plugin"
},
"<Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsStart",
"text": "ExpressionsStart"
},
", object, object>"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 38
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 41
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "initializerContext",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.PluginInitializerContext",
"text": "PluginInitializerContext"
},
"<object>"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 41
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>) => Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.setup.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 51
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
},
") => ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsStart",
"text": "ExpressionsStart"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.start.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 65
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 81
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin",
"type": "Class",
"tags": [],
"label": "ExpressionsPublicPlugin",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsPublicPlugin",
"text": "ExpressionsPublicPlugin"
},
" implements ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.Plugin",
"text": "Plugin"
},
"<Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsStart",
"text": "ExpressionsStart"
},
", object, object>"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 38
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 41
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "initializerContext",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.PluginInitializerContext",
"text": "PluginInitializerContext"
},
"<object>"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 41
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>) => Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.setup.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 51
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
},
") => ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsStart",
"text": "ExpressionsStart"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.start.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.CoreStart",
"text": "CoreStart"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 65
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsPublicPlugin.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 81
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService",
"type": "Class",
"tags": [],
"label": "ExpressionsService",
"description": [
"\n`ExpressionsService` class is used for multiple purposes:\n\n1. It implements the same Expressions service that can be used on both:\n (1) server-side and (2) browser-side.\n2. It implements the same Expressions service that users can fork/clone,\n thus have their own instance of the Expressions plugin.\n3. `ExpressionsService` defines the public contracts of *setup* and *start*\n Kibana Platform life-cycles for ease-of-use on server-side and browser-side.\n4. `ExpressionsService` creates a bound version of all exported contract functions.\n5. Functions are bound the way there are:\n\n ```ts\n registerFunction = (...args: Parameters<Executor['registerFunction']>\n ): ReturnType<Executor['registerFunction']> => this.executor.registerFunction(...args);\n ```\n\n so that JSDoc appears in developers IDE when they use those `plugins.expressions.registerFunction(`."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
" implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableStateService",
"text": "PersistableStateService"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 197
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.executor",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 198
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.renderers",
"type": "Object",
"tags": [],
"label": "renderers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRendererRegistry",
"text": "ExpressionRendererRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 199
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 201
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "{\n executor = Executor.createWithDefaults(),\n renderers = new ExpressionRendererRegistry(),\n }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionServiceParams",
"text": "ExpressionServiceParams"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 201
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.registerFunction",
"type": "Function",
"tags": [],
"label": "registerFunction",
"description": [
"\nRegister an expression function, which will be possible to execute as\npart of the expression pipeline.\n\nBelow we register a function which simply sleeps for given number of\nmilliseconds to delay the execution and outputs its input as-is.\n\n```ts\nexpressions.registerFunction({\n name: 'sleep',\n args: {\n time: {\n aliases: ['_'],\n help: 'Time in milliseconds for how long to sleep',\n types: ['number'],\n },\n },\n help: '',\n fn: async (input, args, context) => {\n await new Promise(r => setTimeout(r, args.time));\n return input;\n },\n}\n```\n\nThe actual function is defined in the `fn` key. The function can be *async*.\nIt receives three arguments: (1) `input` is the output of the previous function\nor the initial input of the expression if the function is first in chain;\n(2) `args` are function arguments as defined in expression string, that can\nbe edited by user (e.g in case of Canvas); (3) `context` is a shared object\npassed to all functions that can be used for side-effects."
],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 241
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.registerFunction.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 242
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.registerType",
"type": "Function",
"tags": [],
"label": "registerType",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 245
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.registerType.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 246
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.registerRenderer",
"type": "Function",
"tags": [],
"label": "registerRenderer",
"description": [],
"signature": [
"(definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 249
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.registerRenderer.$1",
"type": "CompoundType",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 250
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.run.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.run.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.run.$3",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 256
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getFunction.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 256
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getFunctions",
"type": "Function",
"tags": [],
"label": "getFunctions",
"description": [
"\nReturns POJO map of all registered expression functions, where keys are\nnames of the functions and values are `ExpressionFunction` instances."
],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 263
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getRenderer",
"type": "Function",
"tags": [],
"label": "getRenderer",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 266
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getRenderer.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 266
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getRenderers",
"type": "Function",
"tags": [],
"label": "getRenderers",
"description": [
"\nReturns POJO map of all registered expression renderers, where keys are\nnames of the renderers and values are `ExpressionRenderer` instances."
],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 273
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 276
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getType.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 276
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getTypes",
"type": "Function",
"tags": [],
"label": "getTypes",
"description": [
"\nReturns POJO map of all registered expression types, where keys are\nnames of the types and values are `ExpressionType` instances."
],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.execute",
"type": "Function",
"tags": [],
"label": "execute",
"description": [],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 285
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ast",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 157
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 158
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 291
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [
"\nExtracts telemetry from expression AST"
],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", telemetryData?: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 303
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.telemetry.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"expression AST to extract references from"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 304
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.telemetry.$2",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 305
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [
"\nExtracts saved object references from expression AST"
],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => { state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 315
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.extract.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"expression AST to extract references from"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 315
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"new expression AST with references removed and array of references"
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [
"\nInjects saved object references into expression AST"
],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", references: ",
"SavedObjectReference",
"[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 325
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.inject.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"expression AST to update"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 325
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.inject.$2",
"type": "Array",
"tags": [],
"label": "references",
"description": [
"array of saved object references"
],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 325
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"new expression AST with references injected"
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.getAllMigrations",
"type": "Function",
"tags": [],
"label": "getAllMigrations",
"description": [
"\ngets an object with semver mapped to a migration function"
],
"signature": [
"() => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.MigrateFunctionsObject",
"text": "MigrateFunctionsObject"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 332
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.migrateToLatest",
"type": "Function",
"tags": [],
"label": "migrateToLatest",
"description": [
"\nmigrates an old expression to latest version"
],
"signature": [
"(state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 340
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.migrateToLatest.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 340
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [
"\nReturns Kibana Platform *setup* life-cycle contract. Useful to return the\nsame contract on server-side and browser-side."
],
"signature": [
"(...args: unknown[]) => Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 348
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.setup.$1",
"type": "Array",
"tags": [],
"label": "args",
"description": [],
"signature": [
"unknown[]"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 348
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [
"\nReturns Kibana Platform *start* life-cycle contract. Useful to return the\nsame contract on server-side and browser-side."
],
"signature": [
"(...args: unknown[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 374
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.start.$1",
"type": "Array",
"tags": [],
"label": "args",
"description": [],
"signature": [
"unknown[]"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 374
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsService.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 378
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType",
"type": "Class",
"tags": [],
"label": "ExpressionType",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nA short help text."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [
"\nType validation, useful for checking function output."
],
"signature": [
"(type: any) => void | Error"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 23
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.type",
"type": "Any",
"tags": [],
"label": "type",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 23
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.create",
"type": "Unknown",
"tags": [],
"label": "create",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [
"\nOptional serialization (used when passing context around client/server)."
],
"signature": [
"((value: any) => any) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"((serialized: any) => any) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 33
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.getToFn",
"type": "Function",
"tags": [],
"label": "getToFn",
"description": [],
"signature": [
"(typeName: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 47
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.getToFn.$1",
"type": "string",
"tags": [],
"label": "typeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 48
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.getFromFn",
"type": "Function",
"tags": [],
"label": "getFromFn",
"description": [],
"signature": [
"(typeName: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 52
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.getFromFn.$1",
"type": "string",
"tags": [],
"label": "typeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 53
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.castsTo",
"type": "Function",
"tags": [],
"label": "castsTo",
"description": [],
"signature": [
"(value: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.castsTo.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 57
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.castsFrom",
"type": "Function",
"tags": [],
"label": "castsFrom",
"description": [],
"signature": [
"(value: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.castsFrom.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 59
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.to",
"type": "Function",
"tags": [],
"label": "to",
"description": [],
"signature": [
"(value: any, toTypeName: string, types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.to.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.to.$2",
"type": "string",
"tags": [],
"label": "toTypeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.to.$3",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.from",
"type": "Function",
"tags": [],
"label": "from",
"description": [],
"signature": [
"(value: any, types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.from.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionType.from.$2",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry",
"type": "Class",
"tags": [],
"label": "FunctionsRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FunctionsRegistry",
"text": "FunctionsRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 64
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 65
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 67
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 68
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 77
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.FunctionsRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 81
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.TablesAdapter",
"type": "Class",
"tags": [],
"label": "TablesAdapter",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TablesAdapter",
"text": "TablesAdapter"
},
" extends EventEmitter"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.TablesAdapter.logDatatable",
"type": "Function",
"tags": [],
"label": "logDatatable",
"description": [],
"signature": [
"(name: string, datatable: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
") => void"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.TablesAdapter.logDatatable.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.TablesAdapter.logDatatable.$2",
"type": "Object",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.TablesAdapter.tables",
"type": "Object",
"tags": [],
"label": "tables",
"description": [],
"signature": [
"{ [key: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 20
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry",
"type": "Class",
"tags": [],
"label": "TypesRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypesRegistry",
"text": "TypesRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 43
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 45
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 46
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 51
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.TypesRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"functions": [
{
"parentPluginId": "expressions",
"id": "def-public.buildExpression",
"type": "Function",
"tags": [
"return"
],
"label": "buildExpression",
"description": [
"\nMakes it easy to progressively build, update, and traverse an\nexpression AST. You can either start with an empty AST, or\nprovide an expression string, AST, or array of expression\nfunction builders to use as initial state.\n"
],
"signature": [
"(initialState: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[] | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 97
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.buildExpression.$1",
"type": "CompoundType",
"tags": [],
"label": "initialState",
"description": [
"Optional. An expression string, AST, or array of `ExpressionAstFunctionBuilder[]`."
],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 98
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": [
"`this`"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.buildExpressionFunction",
"type": "Function",
"tags": [
"return"
],
"label": "buildExpressionFunction",
"description": [
"\nManages an AST for a single expression function. The return value\ncan be provided to `buildExpression` to add this function to an\nexpression.\n\nNote that to preserve type safety and ensure no args are missing,\nall required arguments for the specified function must be provided\nup front. If desired, they can be changed or removed later.\n"
],
"signature": [
"(fnName: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"], initialArgs: { [K in keyof FunctionArgs<FnDef>]: FunctionArgs<FnDef>[K] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
"[]; }) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 152
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.buildExpressionFunction.$1",
"type": "Uncategorized",
"tags": [],
"label": "fnName",
"description": [
"String representing the name of this expression function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 155
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.buildExpressionFunction.$2",
"type": "Object",
"tags": [],
"label": "initialArgs",
"description": [
"Object containing the arguments to this function."
],
"signature": [
"{ [K in keyof FunctionArgs<FnDef>]: FunctionArgs<FnDef>[K] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 163
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"`this`"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.format",
"type": "Function",
"tags": [],
"label": "format",
"description": [],
"signature": [
"(ast: T, type: T extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" ? \"expression\" : \"argument\") => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.format.$1",
"type": "Uncategorized",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.format.$2",
"type": "Uncategorized",
"tags": [],
"label": "type",
"description": [],
"signature": [
"T extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" ? \"expression\" : \"argument\""
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.formatExpression",
"type": "Function",
"tags": [],
"label": "formatExpression",
"description": [
"\nGiven expression pipeline AST, returns formatted string.\n"
],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/format_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.formatExpression.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [
"Expression pipeline AST."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/format_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.isExpressionAstBuilder",
"type": "Function",
"tags": [
"return"
],
"label": "isExpressionAstBuilder",
"description": [
"\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n"
],
"signature": [
"(val: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.isExpressionAstBuilder.$1",
"type": "Any",
"tags": [],
"label": "val",
"description": [
"Value you want to check."
],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"boolean"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.parse",
"type": "Function",
"tags": [],
"label": "parse",
"description": [],
"signature": [
"(expression: E, startRule: S) => S extends \"expression\" ? ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" : ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.parse.$1",
"type": "Uncategorized",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"E"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.parse.$2",
"type": "Uncategorized",
"tags": [],
"label": "startRule",
"description": [],
"signature": [
"S"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.parseExpression",
"type": "Function",
"tags": [],
"label": "parseExpression",
"description": [
"\nGiven expression pipeline string, returns parsed AST.\n"
],
"signature": [
"(expression: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/parse_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.parseExpression.$1",
"type": "string",
"tags": [],
"label": "expression",
"description": [
"Expression pipeline string."
],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRenderer",
"type": "Function",
"tags": [],
"label": "ReactExpressionRenderer",
"description": [],
"signature": [
"({ className, dataAttrs, padding, renderError, expression, onEvent, onData$, reload$, debounce, ...expressionLoaderOptions }: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
},
") => JSX.Element"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 61
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRenderer.$1",
"type": "Object",
"tags": [],
"label": "{\n className,\n dataAttrs,\n padding,\n renderError,\n expression,\n onEvent,\n onData$,\n reload$,\n debounce,\n ...expressionLoaderOptions\n}",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
}
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "expressions",
"id": "def-public.Datatable",
"type": "Interface",
"tags": [],
"label": "Datatable",
"description": [
"\nA `Datatable` in Canvas is a unique structure that represents tabulated data."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 98
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Datatable.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 99
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Datatable.columns",
"type": "Array",
"tags": [],
"label": "columns",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 100
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Datatable.rows",
"type": "Array",
"tags": [],
"label": "rows",
"description": [],
"signature": [
"Record<string, any>[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 101
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.DatatableColumn",
"type": "Interface",
"tags": [],
"label": "DatatableColumn",
"description": [
"\nThis type represents the shape of a column in a `Datatable`."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 89
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.DatatableColumn.id",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 90
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.DatatableColumn.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 91
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.DatatableColumn.meta",
"type": "Object",
"tags": [],
"label": "meta",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumnMeta",
"text": "DatatableColumnMeta"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 92
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext",
"type": "Interface",
"tags": [],
"label": "ExecutionContext",
"description": [
"\n`ExecutionContext` is an object available to all functions during a single execution;\nit provides various methods to perform side-effects."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<InspectorAdapters, ExecutionContextSearch>"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.getSearchContext",
"type": "Function",
"tags": [],
"label": "getSearchContext",
"description": [
"\nGet search context of the expression."
],
"signature": [
"() => ExecutionContextSearch"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 28
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.variables",
"type": "Object",
"tags": [],
"label": "variables",
"description": [
"\nContext variables that can be consumed using `var` and `var_set` functions."
],
"signature": [
"{ [x: string]: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [
"\nA map of available expression types."
],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.abortSignal",
"type": "Object",
"tags": [],
"label": "abortSignal",
"description": [
"\nAdds ability to abort current execution."
],
"signature": [
"AbortSignal"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.inspectorAdapters",
"type": "Uncategorized",
"tags": [],
"label": "inspectorAdapters",
"description": [
"\nAdapters for `inspector` plugin."
],
"signature": [
"InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.getSearchSessionId",
"type": "Function",
"tags": [],
"label": "getSearchSessionId",
"description": [
"\nSearch context in which expression should operate."
],
"signature": [
"() => string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 53
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.getKibanaRequest",
"type": "Function",
"tags": [],
"label": "getKibanaRequest",
"description": [
"\nGetter to retrieve the `KibanaRequest` object inside an expression function.\nUseful for functions which are running on the server and need to perform\noperations that are scoped to a specific user."
],
"signature": [
"(() => ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 60
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.isSyncColorsEnabled",
"type": "Function",
"tags": [],
"label": "isSyncColorsEnabled",
"description": [
"\nReturns the state (true|false) of the sync colors across panels switch."
],
"signature": [
"(() => boolean) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 65
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContext.getExecutionContext",
"type": "Function",
"tags": [],
"label": "getExecutionContext",
"description": [
"\nContains the meta-data about the source of the expression."
],
"signature": [
"() => ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.IExecutionContextContainer",
"text": "IExecutionContextContainer"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 70
},
"deprecated": false,
"returnComment": [],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionParams",
"type": "Interface",
"tags": [],
"label": "ExecutionParams",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionParams.executor",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionParams.ast",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 88
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionParams.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 89
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionParams.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 90
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionState",
"type": "Interface",
"tags": [],
"label": "ExecutionState",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output> extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionState.ast",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"{ type: \"expression\"; chain: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionState.state",
"type": "CompoundType",
"tags": [],
"label": "state",
"description": [
"\nTracks state of execution.\n\n- `not-started` - before .start() method was called.\n- `pending` - immediately after .start() method is called.\n- `result` - when expression execution completed.\n- `error` - when execution failed with error."
],
"signature": [
"\"result\" | \"error\" | \"not-started\" | \"pending\""
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionState.result",
"type": "Uncategorized",
"tags": [],
"label": "result",
"description": [
"\nResult of the expression execution."
],
"signature": [
"Output | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionState.error",
"type": "Object",
"tags": [],
"label": "error",
"description": [
"\nError happened during the execution."
],
"signature": [
"Error | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 38
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutorState",
"type": "Interface",
"tags": [],
"label": "ExecutorState",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExecutorState.functions",
"type": "Object",
"tags": [],
"label": "functions",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutorState.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutorState.context",
"type": "Uncategorized",
"tags": [],
"label": "context",
"description": [],
"signature": [
"Context"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpressionBuilder",
"type": "Interface",
"tags": [],
"label": "ExpressionAstExpressionBuilder",
"description": [],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 44
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpressionBuilder.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nUsed to identify expression builder objects."
],
"signature": [
"\"expression_builder\""
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpressionBuilder.functions",
"type": "Array",
"tags": [],
"label": "functions",
"description": [
"\nArray of each of the `buildExpressionFunction()` instances\nin this expression. Use this to remove or reorder functions\nin the expression."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 54
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpressionBuilder.findFunction",
"type": "Function",
"tags": [
"return"
],
"label": "findFunction",
"description": [
"\nRecursively searches expression for all ocurrences of the\nfunction, including in subexpressions.\n\nUseful when performing migrations on a specific function,\nas you can iterate over the array of references and update\nall functions at once.\n"
],
"signature": [
"<FnDef extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" = ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">(fnName: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]) => [] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 66
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunctionBuilder[]`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.fnName",
"type": "Uncategorized",
"tags": [],
"label": "fnName",
"description": [
"Name of the function to search for."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 67
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpressionBuilder.toAst",
"type": "Function",
"tags": [
"return"
],
"label": "toAst",
"description": [
"\nConverts expression to an AST.\n"
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 74
},
"deprecated": false,
"returnComment": [
"`ExpressionAstExpression`"
],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpressionBuilder.toString",
"type": "Function",
"tags": [
"return"
],
"label": "toString",
"description": [
"\nConverts expression to an expression string.\n"
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 80
},
"deprecated": false,
"returnComment": [
"`string`"
],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder",
"type": "Interface",
"tags": [],
"label": "ExpressionAstFunctionBuilder",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nUsed to identify expression function builder objects."
],
"signature": [
"\"expression_function_builder\""
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 63
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"\nName of this expression function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.arguments",
"type": "Object",
"tags": [],
"label": "arguments",
"description": [
"\nObject of all args currently added to the function. This is\nstructured similarly to `ExpressionAstFunction['arguments']`,\nhowever any subexpressions are returned as expression builder\ninstances instead of expression ASTs."
],
"signature": [
"FunctionBuilderArguments<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 74
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.addArgument",
"type": "Function",
"tags": [
"return"
],
"label": "addArgument",
"description": [
"\nAdds an additional argument to the function. For multi-args,\nthis should be called once for each new arg. Note that TS\nwill not enforce whether multi-args are available, so only\nuse this to update an existing arg if you are certain it\nis a multi-arg.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A, value: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A]) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 86
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to add."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [
"The value of the argument to add."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 88
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.getArgument",
"type": "Function",
"tags": [
"return"
],
"label": "getArgument",
"description": [
"\nRetrieves an existing argument by name.\nUseful when you want to retrieve the current array of args and add\nsomething to it before calling `replaceArgument`. Any subexpression\narguments will be returned as expression builder instances.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A) => (",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 99
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunctionBuilderArgument[] | undefined`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to retrieve."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 100
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.replaceArgument",
"type": "Function",
"tags": [
"return"
],
"label": "replaceArgument",
"description": [
"\nOverwrites an existing argument with a new value.\nIn order to support multi-args, the value given must always be\nan array.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A, value: (",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[]) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 111
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to replace."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 112
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.value",
"type": "Array",
"tags": [],
"label": "value",
"description": [
"The value of the argument. Must always be an array."
],
"signature": [
"(",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 113
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.removeArgument",
"type": "Function",
"tags": [
"return"
],
"label": "removeArgument",
"description": [
"\nRemoves an (optional) argument from the function.\n\nTypeScript will enforce that you only remove optional\narguments. For manipulating required args, use `replaceArgument`.\n"
],
"signature": [
"<A extends OptionalKeys<FunctionArgs<FnDef>>>(name: A) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 124
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to remove."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 124
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.toAst",
"type": "Function",
"tags": [
"return"
],
"label": "toAst",
"description": [
"\nConverts function to an AST.\n"
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 130
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunction`"
],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunctionBuilder.toString",
"type": "Function",
"tags": [
"return"
],
"label": "toString",
"description": [
"\nConverts function to an expression string.\n"
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 136
},
"deprecated": false,
"returnComment": [
"`string`"
],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionExecutor",
"type": "Interface",
"tags": [
"deprecated"
],
"label": "ExpressionExecutor",
"description": [],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 24
},
"deprecated": true,
"references": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionExecutor.interpreter",
"type": "Object",
"tags": [],
"label": "interpreter",
"description": [],
"signature": [
"ExpressionInterpreter"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 25
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionFunctionDefinition",
"description": [
"\n`ExpressionFunctionDefinition` is the interface plugins have to implement to\nregister a function in `expressions` plugin."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<Name, Input, Arguments, Output, Context> extends Partial<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableState",
"text": "PersistableState"
},
"<Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"\nThe name of the function, as will be used in expression."
],
"signature": [
"Name"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.disabled",
"type": "CompoundType",
"tags": [],
"label": "disabled",
"description": [
"\nif set to true function will be disabled (but its migrate function will still be available)"
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 45
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [
"\nName of type of value this function outputs."
],
"signature": [
"\"date\" | \"filter\" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.KnownTypeToString",
"text": "KnownTypeToString"
},
"<Output extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<Output> : ",
"UnwrapPromiseOrReturn",
"<Output>> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 50
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [
"\nList of allowed type names for input value of this function. If this\nproperty is set the input of function will be cast to the first possible\ntype in this list. If this property is missing the input will be provided\nto the function as-is."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypeToString",
"text": "TypeToString"
},
"<Input>[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [
"\nSpecification of arguments that function supports. This list will also be\nused for autocomplete functionality when your function is being edited."
],
"signature": [
"{ [key in keyof Arguments]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ArgumentType",
"text": "ArgumentType"
},
"<Arguments[key]>; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.aliases",
"type": "Array",
"tags": [
"todo"
],
"label": "aliases",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 69
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nHelp text displayed in the Expression editor. This text should be\ninternationalized."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [
"\nThe actual implementation of the function.\n"
],
"signature": [
"(input: Input, args: Arguments, context: Context) => Output"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.fn.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"Output of the previous function, or initial input."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.fn.$2",
"type": "Uncategorized",
"tags": [],
"label": "args",
"description": [
"Parameters set for this function in expression."
],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.fn.$3",
"type": "Uncategorized",
"tags": [],
"label": "context",
"description": [
"Object with functions to perform side effects. This object\nis created for the duration of the execution of expression and is the\nsame for all functions in expression chain."
],
"signature": [
"Context"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinition.context",
"type": "Object",
"tags": [
"deprecated"
],
"label": "context",
"description": [],
"signature": [
"{ types: any[] | undefined; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 91
},
"deprecated": true,
"references": [
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/filters.ts",
"lineNumber": 60
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts",
"lineNumber": 36
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts",
"lineNumber": 41
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts",
"lineNumber": 35
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts",
"lineNumber": 24
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts",
"lineNumber": 47
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts",
"lineNumber": 32
}
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions",
"type": "Interface",
"tags": [],
"label": "ExpressionFunctionDefinitions",
"description": [
"\nA mapping of `ExpressionFunctionDefinition`s for functions which the\nExpressions services provides out-of-the-box. Any new functions registered\nby the Expressions plugin should have their types added here.\n"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 116
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.clog",
"type": "Object",
"tags": [],
"label": "clog",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"clog\", unknown, {}, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 117
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.font",
"type": "Object",
"tags": [],
"label": "font",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"font\", null, Arguments, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 118
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.var_set",
"type": "Object",
"tags": [],
"label": "var_set",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var_set\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 119
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.var",
"type": "Object",
"tags": [],
"label": "var",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 120
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.theme",
"type": "Object",
"tags": [],
"label": "theme",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"theme\", null, Arguments, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 121
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.cumulative_sum",
"type": "Object",
"tags": [],
"label": "cumulative_sum",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"cumulative_sum\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CumulativeSumArgs",
"text": "CumulativeSumArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 122
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.overall_metric",
"type": "Object",
"tags": [],
"label": "overall_metric",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"overall_metric\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.OverallMetricArgs",
"text": "OverallMetricArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 123
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.derivative",
"type": "Object",
"tags": [],
"label": "derivative",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"derivative\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DerivativeArgs",
"text": "DerivativeArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 124
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionFunctionDefinitions.moving_average",
"type": "Object",
"tags": [],
"label": "moving_average",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"moving_average\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MovingAverageArgs",
"text": "MovingAverageArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 125
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionImage",
"type": "Interface",
"tags": [],
"label": "ExpressionImage",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionImage.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"image\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionImage.mode",
"type": "string",
"tags": [],
"label": "mode",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionImage.dataurl",
"type": "string",
"tags": [],
"label": "dataurl",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 17
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionRenderDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition.name",
"type": "string",
"tags": [],
"label": "name",
"description": [
"\nTechnical name of the renderer, used as ID to identify renderer in\nexpression renderer registry. This must match the name of the expression\nfunction that is used to create the `type: render` object."
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition.displayName",
"type": "string",
"tags": [],
"label": "displayName",
"description": [
"\nA user friendly name of the renderer as will be displayed to user in UI."
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nHelp text as will be displayed to user. A sentence or few about what this\nelement does."
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [
"\nUsed to validate the data before calling the render function."
],
"signature": [
"(() => Error | undefined) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition.reuseDomNode",
"type": "boolean",
"tags": [],
"label": "reuseDomNode",
"description": [
"\nTell the renderer if the dom node should be reused, it's recreated each\ntime by default."
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderDefinition.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [
"\nThe function called to render the output data of an expression."
],
"signature": [
"(domNode: HTMLElement, config: Config, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
},
") => void | Promise<void>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 42
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.domNode",
"type": "Object",
"tags": [],
"label": "domNode",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.config",
"type": "Uncategorized",
"tags": [],
"label": "config",
"description": [],
"signature": [
"Config"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.handlers",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 45
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererEvent",
"type": "Interface",
"tags": [],
"label": "ExpressionRendererEvent",
"description": [],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 27
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererEvent.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererEvent.data",
"type": "Any",
"tags": [],
"label": "data",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 29
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderError",
"type": "Interface",
"tags": [],
"label": "ExpressionRenderError",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRenderError",
"text": "ExpressionRenderError"
},
" extends Error"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 66
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderError.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRenderError.original",
"type": "Object",
"tags": [],
"label": "original",
"description": [],
"signature": [
"Error | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 68
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart",
"type": "Interface",
"tags": [],
"label": "ExpressionsServiceStart",
"description": [
"\nThe public contract that `ExpressionsService` provides to other plugins\nin Kibana Platform in *start* life-cycle."
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 94
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [
"\nGet a registered `ExpressionFunction` by its name, which was registered\nusing the `registerFunction` method. The returned `ExpressionFunction`\ninstance is an internal representation of the function in Expressions\nservice - do not mutate that object."
],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 101
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 101
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart.getRenderer",
"type": "Function",
"tags": [],
"label": "getRenderer",
"description": [
"\nGet a registered `ExpressionRenderer` by its name, which was registered\nusing the `registerRenderer` method. The returned `ExpressionRenderer`\ninstance is an internal representation of the renderer in Expressions\nservice - do not mutate that object."
],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 109
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 109
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [
"\nGet a registered `ExpressionType` by its name, which was registered\nusing the `registerType` method. The returned `ExpressionType`\ninstance is an internal representation of the type in Expressions\nservice - do not mutate that object."
],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 117
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 117
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [
"\nExecutes expression string or a parsed expression AST and immediately\nreturns the result.\n\nBelow example will execute `sleep 100 | clog` expression with `123` initial\ninput to the first function.\n\n```ts\nexpressions.run('sleep 100 | clog', 123);\n```\n\n- `sleep 100` will delay execution by 100 milliseconds and pass the `123` input as\n its output.\n- `clog` will print to console `123` and pass it as its output.\n- The final result of the execution will be `123`.\n\nOptionally, you can pass an object as the third argument which will be used\nto extend the `ExecutionContext`&mdash;an object passed to each function\nas the third argument, that allows functions to perform side-effects.\n\n```ts\nexpressions.run('...', null, { elasticsearchClient });\n```"
],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 143
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ast",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 144
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 145
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 146
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart.execute",
"type": "Function",
"tags": [],
"label": "execute",
"description": [
"\nStarts expression execution and immediately returns `ExecutionContract`\ninstance that tracks the progress of the execution and can be used to\ninteract with the execution."
],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 154
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ast",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 157
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 158
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsServiceStart.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [
"\nCreate a new instance of `ExpressionsService`. The new instance inherits\nall state of the original `ExpressionsService`, including all expression\ntypes, expression functions and context. Also, all new types and functions\nregistered in the original services AFTER the forking event will be\navailable in the forked instance. However, all new types and functions\nregistered in the forked instances will NOT be available to the original\nservice."
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 170
},
"deprecated": false,
"returnComment": [],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionTypeDefinition",
"description": [
"\nA generic type which represents a custom Expression Type Definition that's\nregistered to the Interpreter."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeDefinition",
"text": "ExpressionTypeDefinition"
},
"<Name, Value, SerializedType>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 26
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [],
"signature": [
"Name"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"((type: any) => void | Error) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [],
"signature": [
"((type: Value) => SerializedType) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"((type: SerializedType) => Value) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 34
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"signature": [
"{ [type: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, Value>; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"signature": [
"{ [type: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<Value, any>; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 43
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeStyle",
"type": "Interface",
"tags": [],
"label": "ExpressionTypeStyle",
"description": [
"\nAn object that represents style information, typically CSS."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 120
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeStyle.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"style\""
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 121
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeStyle.spec",
"type": "Object",
"tags": [],
"label": "spec",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CSSStyle",
"text": "CSSStyle"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 122
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionTypeStyle.css",
"type": "string",
"tags": [],
"label": "css",
"description": [],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 123
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Font",
"type": "Interface",
"tags": [],
"label": "Font",
"description": [
"\nAn interface representing a font in Canvas, with a textual label and the CSS\n`font-value`."
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Font.label",
"type": "CompoundType",
"tags": [],
"label": "label",
"description": [],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Font.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [],
"signature": [
"\"'American Typewriter', 'Courier New', Courier, Monaco, mono\" | \"Arial, sans-serif\" | \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Brush Script MT', 'Comic Sans', sans-serif\" | \"Chalkboard, 'Comic Sans', sans-serif\" | \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"Futura, Impact, Helvetica, Arial, sans-serif\" | \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"'Helvetica Neue', Helvetica, Arial, sans-serif\" | \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\" | \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\" | \"Myriad, Helvetica, Arial, sans-serif\" | \"'Open Sans', Helvetica, Arial, sans-serif\" | \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 27
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams",
"type": "Interface",
"tags": [],
"label": "IExpressionLoaderParams",
"description": [],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.searchContext",
"type": "Object",
"tags": [],
"label": "searchContext",
"description": [],
"signature": [
"SerializableState",
" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 36
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.context",
"type": "Any",
"tags": [],
"label": "context",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.variables",
"type": "Object",
"tags": [],
"label": "variables",
"description": [],
"signature": [
"Record<string, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.debug",
"type": "CompoundType",
"tags": [],
"label": "debug",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.disableCaching",
"type": "CompoundType",
"tags": [],
"label": "disableCaching",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 41
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.customFunctions",
"type": "Object",
"tags": [],
"label": "customFunctions",
"description": [],
"signature": [
"[] | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 42
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.customRenderers",
"type": "Object",
"tags": [],
"label": "customRenderers",
"description": [],
"signature": [
"[] | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.uiState",
"type": "Unknown",
"tags": [],
"label": "uiState",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.inspectorAdapters",
"type": "Object",
"tags": [],
"label": "inspectorAdapters",
"description": [],
"signature": [
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 45
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.onRenderError",
"type": "Function",
"tags": [],
"label": "onRenderError",
"description": [],
"signature": [
"RenderErrorHandlerFnType",
" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 46
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.searchSessionId",
"type": "string",
"tags": [],
"label": "searchSessionId",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 47
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.renderMode",
"type": "CompoundType",
"tags": [],
"label": "renderMode",
"description": [],
"signature": [
"\"display\" | \"noInteractivity\" | \"edit\" | \"preview\" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.syncColors",
"type": "CompoundType",
"tags": [],
"label": "syncColors",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 49
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.hasCompatibleActions",
"type": "Function",
"tags": [],
"label": "hasCompatibleActions",
"description": [],
"signature": [
"((event: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRendererEvent",
"text": "ExpressionRendererEvent"
},
") => Promise<boolean>) | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 50
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.executionContext",
"type": "Object",
"tags": [],
"label": "executionContext",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.IExecutionContextContainer",
"text": "IExecutionContextContainer"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 51
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.partial",
"type": "CompoundType",
"tags": [],
"label": "partial",
"description": [
"\nThe flag to toggle on emitting partial results.\nBy default, the partial results are disabled."
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IExpressionLoaderParams.throttle",
"type": "number",
"tags": [],
"label": "throttle",
"description": [
"\nThrottling of partial results in milliseconds. 0 is disabling the throttling.\nBy default, it equals 1000."
],
"signature": [
"number | undefined"
],
"source": {
"path": "src/plugins/expressions/public/types/index.ts",
"lineNumber": 63
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers",
"type": "Interface",
"tags": [],
"label": "IInterpreterRenderHandlers",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 63
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.done",
"type": "Function",
"tags": [],
"label": "done",
"description": [
"\nDone increments the number of rendering successes"
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 67
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.onDestroy",
"type": "Function",
"tags": [],
"label": "onDestroy",
"description": [],
"signature": [
"(fn: () => void) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 68
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 68
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.reload",
"type": "Function",
"tags": [],
"label": "reload",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 69
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.update",
"type": "Function",
"tags": [],
"label": "update",
"description": [],
"signature": [
"(params: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 70
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.params",
"type": "Any",
"tags": [],
"label": "params",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 70
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.event",
"type": "Function",
"tags": [],
"label": "event",
"description": [],
"signature": [
"(event: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 71
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.event",
"type": "Any",
"tags": [],
"label": "event",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 71
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.hasCompatibleActions",
"type": "Function",
"tags": [],
"label": "hasCompatibleActions",
"description": [],
"signature": [
"((event: any) => Promise<boolean>) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 72
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.getRenderMode",
"type": "Function",
"tags": [],
"label": "getRenderMode",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.RenderMode",
"text": "RenderMode"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 73
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.isSyncColorsEnabled",
"type": "Function",
"tags": [],
"label": "isSyncColorsEnabled",
"description": [],
"signature": [
"() => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 74
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-public.IInterpreterRenderHandlers.uiState",
"type": "Unknown",
"tags": [],
"label": "uiState",
"description": [
"\nThis uiState interface is actually `PersistedState` from the visualizations plugin,\nbut expressions cannot know about vis or it creates a mess of circular dependencies.\nDownstream consumers of the uiState handler will need to cast for now."
],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 80
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.IRegistry",
"type": "Interface",
"tags": [],
"label": "IRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<T>"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.IRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => T | null"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 10
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.IRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 10
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.IRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, T>"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-public.IRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => T[]"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesColumn",
"type": "Interface",
"tags": [],
"label": "PointSeriesColumn",
"description": [
"\nColumn in a PointSeries"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesColumn.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"string\" | \"number\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 24
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesColumn.role",
"type": "CompoundType",
"tags": [],
"label": "role",
"description": [],
"signature": [
"\"measure\" | \"dimension\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesColumn.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 26
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Range",
"type": "Interface",
"tags": [],
"label": "Range",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.Range.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"range\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Range.from",
"type": "number",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Range.to",
"type": "number",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Range.label",
"type": "string",
"tags": [],
"label": "label",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 18
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps",
"type": "Interface",
"tags": [],
"label": "ReactExpressionRendererProps",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
},
" extends ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.IExpressionLoaderParams",
"text": "IExpressionLoaderParams"
}
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.className",
"type": "string",
"tags": [],
"label": "className",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 24
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.dataAttrs",
"type": "Array",
"tags": [],
"label": "dataAttrs",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.expression",
"type": "CompoundType",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.renderError",
"type": "Function",
"tags": [],
"label": "renderError",
"description": [],
"signature": [
"((message?: string | null | undefined, error?: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRenderError",
"text": "ExpressionRenderError"
},
" | null | undefined) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>[]) | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 27
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.padding",
"type": "CompoundType",
"tags": [],
"label": "padding",
"description": [],
"signature": [
"\"m\" | \"s\" | \"l\" | \"xs\" | \"xl\" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.onEvent",
"type": "Function",
"tags": [],
"label": "onEvent",
"description": [],
"signature": [
"((event: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRendererEvent",
"text": "ExpressionRendererEvent"
},
") => void) | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.onData$",
"type": "Function",
"tags": [],
"label": "onData$",
"description": [],
"signature": [
"(<TData, TInspectorAdapters>(data: TData, adapters?: TInspectorAdapters | undefined, partial?: boolean | undefined) => void) | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.reload$",
"type": "Object",
"tags": [],
"label": "reload$",
"description": [
"\nAn observable which can be used to re-run the expression without destroying the component"
],
"signature": [
"Observable",
"<unknown> | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 41
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererProps.debounce",
"type": "number",
"tags": [],
"label": "debounce",
"description": [],
"signature": [
"number | undefined"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 42
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.SerializedDatatable",
"type": "Interface",
"tags": [],
"label": "SerializedDatatable",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedDatatable",
"text": "SerializedDatatable"
},
" extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 104
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.SerializedDatatable.rows",
"type": "Array",
"tags": [],
"label": "rows",
"description": [],
"signature": [
"string[][]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 105
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.SerializedFieldFormat",
"type": "Interface",
"tags": [],
"label": "SerializedFieldFormat",
"description": [
"\nJSON representation of a field formatter configuration.\nIs used to carry information about how to format data in\na data table as part of the column definition."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedFieldFormat",
"text": "SerializedFieldFormat"
},
"<TParams>"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.SerializedFieldFormat.id",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 56
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.SerializedFieldFormat.params",
"type": "Uncategorized",
"tags": [],
"label": "params",
"description": [],
"signature": [
"TParams | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 57
},
"deprecated": false
}
],
"initialIsOpen": false
}
],
"enums": [
{
"parentPluginId": "expressions",
"id": "def-public.FontStyle",
"type": "Enum",
"tags": [],
"label": "FontStyle",
"description": [
"\nEnum of supported CSS `font-style` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 35
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.FontWeight",
"type": "Enum",
"tags": [],
"label": "FontWeight",
"description": [
"\nEnum of supported CSS `font-weight` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 43
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Overflow",
"type": "Enum",
"tags": [],
"label": "Overflow",
"description": [
"\nEnum of supported CSS `overflow` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 62
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.TextAlignment",
"type": "Enum",
"tags": [],
"label": "TextAlignment",
"description": [
"\nEnum of supported CSS `text-align` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 72
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.TextDecoration",
"type": "Enum",
"tags": [],
"label": "TextDecoration",
"description": [
"\nEnum of supported CSS `text-decoration` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 82
},
"deprecated": false,
"initialIsOpen": false
}
],
"misc": [
{
"parentPluginId": "expressions",
"id": "def-public.AnyExpressionFunctionDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionFunctionDefinition",
"description": [
"\nType to capture every possible expression function definition."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<string, any, Record<string, any>, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 102
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.AnyExpressionTypeDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionTypeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeDefinition",
"text": "ExpressionTypeDefinition"
},
"<any, any, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 46
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ArgumentType",
"type": "Type",
"tags": [],
"label": "ArgumentType",
"description": [
"\nThis type represents all of the possible combinations of properties of an\nArgument in an Expression Function. The presence or absence of certain fields\ninfluence the shape and presence of others within each `arg` in the specification."
],
"signature": [
"SingleArgumentType<T> | MultipleArgumentType<T> | UnresolvedSingleArgumentType<T> | UnresolvedMultipleArgumentType<T>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/arguments.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.DatatableColumnType",
"type": "Type",
"tags": [],
"label": "DatatableColumnType",
"description": [
"\nThis type represents the `type` of any `DatatableColumn` in a `Datatable`.\nits duplicated from KBN_FIELD_TYPES"
],
"signature": [
"\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"ip\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 36
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.DatatableRow",
"type": "Type",
"tags": [],
"label": "DatatableRow",
"description": [
"\nThis type represents a row in a `Datatable`."
],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 57
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutionContainer",
"type": "Type",
"tags": [],
"label": "ExecutionContainer",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<Output>, {}>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 73
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExecutorContainer",
"type": "Type",
"tags": [],
"label": "ExecutorContainer",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureTransitions",
"text": "ExecutorPureTransitions"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureSelectors",
"text": "ExecutorPureSelectors"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 55
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstArgument",
"type": "Type",
"tags": [],
"label": "ExpressionAstArgument",
"description": [],
"signature": [
"string | number | boolean | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 77
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstExpression",
"type": "Type",
"tags": [],
"label": "ExpressionAstExpression",
"description": [],
"signature": [
"{ type: \"expression\"; chain: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstFunction",
"type": "Type",
"tags": [],
"label": "ExpressionAstFunction",
"description": [],
"signature": [
"{ type: \"function\"; function: string; arguments: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>; debug?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionDebug",
"text": "ExpressionAstFunctionDebug"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 21
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionAstNode",
"type": "Type",
"tags": [],
"label": "ExpressionAstNode",
"description": [],
"signature": [
"string | number | boolean | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionRendererComponent",
"type": "Type",
"tags": [],
"label": "ExpressionRendererComponent",
"description": [],
"signature": [
"React.FunctionComponent<",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
},
">"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 53
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValue",
"type": "Type",
"tags": [],
"label": "ExpressionValue",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 15
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueBoxed",
"type": "Type",
"tags": [],
"label": "ExpressionValueBoxed",
"description": [],
"signature": [
"{ type: Type; } & Value"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueConverter",
"type": "Type",
"tags": [],
"label": "ExpressionValueConverter",
"description": [],
"signature": [
"(input: I, availableTypes: Record<string, any>) => O"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueError",
"type": "Type",
"tags": [],
"label": "ExpressionValueError",
"description": [],
"signature": [
"{ type: \"error\"; } & { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueFilter",
"type": "Type",
"tags": [],
"label": "ExpressionValueFilter",
"description": [
"\nRepresents an object that is a Filter."
],
"signature": [
"{ type: \"filter\"; } & { filterType?: string | undefined; value?: string | undefined; column?: string | undefined; and: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"filter\", any>[]; to?: string | undefined; from?: string | undefined; query?: string | null | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueNum",
"type": "Type",
"tags": [],
"label": "ExpressionValueNum",
"description": [],
"signature": [
"{ type: \"num\"; } & { value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueRender",
"type": "Type",
"tags": [],
"label": "ExpressionValueRender",
"description": [
"\nRepresents an object that is intended to be rendered."
],
"signature": [
"{ type: \"render\"; } & { as: string; value: T; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueRender",
"type": "Type",
"tags": [],
"label": "ExpressionValueRender",
"description": [
"\nRepresents an object that is intended to be rendered."
],
"signature": [
"{ type: \"render\"; } & { as: string; value: T; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionValueUnboxed",
"type": "Type",
"tags": [],
"label": "ExpressionValueUnboxed",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 9
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.FontLabel",
"type": "Type",
"tags": [],
"label": "FontLabel",
"description": [
"\nThis type contains a unions of all supported font labels, or the the name of\nthe font the user would see in a UI."
],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 13
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.FontValue",
"type": "Type",
"tags": [],
"label": "FontValue",
"description": [
"\nThis type contains a union of all supported font values, equivalent to the CSS\n`font-value` property."
],
"signature": [
"\"'American Typewriter', 'Courier New', Courier, Monaco, mono\" | \"Arial, sans-serif\" | \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Brush Script MT', 'Comic Sans', sans-serif\" | \"Chalkboard, 'Comic Sans', sans-serif\" | \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"Futura, Impact, Helvetica, Arial, sans-serif\" | \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"'Helvetica Neue', Helvetica, Arial, sans-serif\" | \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\" | \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\" | \"Myriad, Helvetica, Arial, sans-serif\" | \"'Open Sans', Helvetica, Arial, sans-serif\" | \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 19
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.InterpreterErrorType",
"type": "Type",
"tags": [
"deprecated"
],
"label": "InterpreterErrorType",
"description": [],
"signature": [
"{ type: \"error\"; } & { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 33
},
"deprecated": true,
"references": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.KnownTypeToString",
"type": "Type",
"tags": [],
"label": "KnownTypeToString",
"description": [
"\nMap the type of the generic to a string-based representation of the type.\n\nIf the provided generic is its own type interface, we use the value of\nthe `type` key as a string literal type for it."
],
"signature": [
"T extends string ? \"string\" : T extends boolean ? \"boolean\" : T extends number ? \"number\" : T extends null ? \"null\" : T extends { type: string; } ? T[\"type\"] : never"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 26
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeries",
"type": "Type",
"tags": [],
"label": "PointSeries",
"description": [
"\nA `PointSeries` is a unique structure that represents dots on a chart."
],
"signature": [
"{ type: \"pointseries\"; } & { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 39
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesColumnName",
"type": "Type",
"tags": [],
"label": "PointSeriesColumnName",
"description": [
"\nAllowed column names in a PointSeries"
],
"signature": [
"\"color\" | \"y\" | \"x\" | \"size\" | \"text\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 18
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesColumns",
"type": "Type",
"tags": [],
"label": "PointSeriesColumns",
"description": [
"\nRepresents a collection of valid Columns in a PointSeries"
],
"signature": [
"{} | Record<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumnName",
"text": "PointSeriesColumnName"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumn",
"text": "PointSeriesColumn"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 32
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.PointSeriesRow",
"type": "Type",
"tags": [],
"label": "PointSeriesRow",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 34
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ReactExpressionRendererType",
"type": "Type",
"tags": [],
"label": "ReactExpressionRendererType",
"description": [],
"signature": [
"React.ComponentClass<",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
},
", any> | React.FunctionComponent<",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
},
">"
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 45
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.Style",
"type": "Type",
"tags": [],
"label": "Style",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 126
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.TypeString",
"type": "Type",
"tags": [],
"label": "TypeString",
"description": [
"\nIf the type extends a Promise, we still need to return the string representation:\n\n`someArgument: Promise<boolean | string>` results in `types: ['boolean', 'string']`"
],
"signature": [
"(T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends string ? \"string\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends boolean ? \"boolean\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends number ? \"number\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends null ? \"null\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends { type: string; } ? ({ type: string; } & (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>))[\"type\"] : never"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 39
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.TypeToString",
"type": "Type",
"tags": [],
"label": "TypeToString",
"description": [
"\nThis can convert a type into a known Expression string representation of\nthat type. For example, `TypeToString<Datatable>` will resolve to `'datatable'`.\nThis allows Expression Functions to continue to specify their type in a\nsimple string format."
],
"signature": [
"\"date\" | \"filter\" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.KnownTypeToString",
"text": "KnownTypeToString"
},
"<T>"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-public.UnmappedTypeStrings",
"type": "Type",
"tags": [],
"label": "UnmappedTypeStrings",
"description": [
"\nTypes used in Expressions that don't map to a primitive cleanly:\n\n`date` is typed as a number or string, and represents a date"
],
"signature": [
"\"date\" | \"filter\""
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 48
},
"deprecated": false,
"initialIsOpen": false
}
],
"objects": [],
"setup": {
"parentPluginId": "expressions",
"id": "def-public.ExpressionsSetup",
"type": "Type",
"tags": [],
"label": "ExpressionsSetup",
"description": [
"\nExpressions public setup contract, extends {@link ExpressionsServiceSetup}"
],
"signature": [
"{ readonly getType: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined; readonly registerType: (typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void; readonly getFunction: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined; readonly getFunctions: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; readonly getRenderer: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null; readonly getRenderers: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>; readonly getTypes: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; readonly registerFunction: (functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void; readonly registerRenderer: (definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void; readonly run: <Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>; readonly fork: () => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 25
},
"deprecated": false,
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"parentPluginId": "expressions",
"id": "def-public.ExpressionsStart",
"type": "Interface",
"tags": [],
"label": "ExpressionsStart",
"description": [
"\nExpressions public start contrect, extends {@link ExpressionServiceStart}"
],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionsStart",
"text": "ExpressionsStart"
},
" extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsStart.ExpressionLoader",
"type": "Object",
"tags": [],
"label": "ExpressionLoader",
"description": [],
"signature": [
"typeof ",
"ExpressionLoader"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsStart.ExpressionRenderHandler",
"type": "Object",
"tags": [],
"label": "ExpressionRenderHandler",
"description": [],
"signature": [
"typeof ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRenderHandler",
"text": "ExpressionRenderHandler"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsStart.loader",
"type": "Function",
"tags": [],
"label": "loader",
"description": [],
"signature": [
"(element: HTMLElement, expression: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", params: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.IExpressionLoaderParams",
"text": "IExpressionLoaderParams"
},
") => ",
"ExpressionLoader"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 33
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.element",
"type": "Object",
"tags": [],
"label": "element",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/public/loader.ts",
"lineNumber": 195
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.expression",
"type": "CompoundType",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/public/loader.ts",
"lineNumber": 196
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.IExpressionLoaderParams",
"text": "IExpressionLoaderParams"
}
],
"source": {
"path": "src/plugins/expressions/public/loader.ts",
"lineNumber": 197
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsStart.ReactExpressionRenderer",
"type": "Function",
"tags": [],
"label": "ReactExpressionRenderer",
"description": [],
"signature": [
"({ className, dataAttrs, padding, renderError, expression, onEvent, onData$, reload$, debounce, ...expressionLoaderOptions }: ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
},
") => JSX.Element"
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 34
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.__0",
"type": "Object",
"tags": [],
"label": "__0",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ReactExpressionRendererProps",
"text": "ReactExpressionRendererProps"
}
],
"source": {
"path": "src/plugins/expressions/public/react_expression_renderer.tsx",
"lineNumber": 61
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-public.ExpressionsStart.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(element: HTMLElement, data: any, options?: ",
"ExpressionRenderHandlerParams",
" | undefined) => ",
{
"pluginId": "expressions",
"scope": "public",
"docId": "kibExpressionsPluginApi",
"section": "def-public.ExpressionRenderHandler",
"text": "ExpressionRenderHandler"
}
],
"source": {
"path": "src/plugins/expressions/public/plugin.ts",
"lineNumber": 35
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-public.element",
"type": "Object",
"tags": [],
"label": "element",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 153
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.data",
"type": "Any",
"tags": [],
"label": "data",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 154
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-public.options",
"type": "Object",
"tags": [],
"label": "options",
"description": [],
"signature": [
"ExpressionRenderHandlerParams",
" | undefined"
],
"source": {
"path": "src/plugins/expressions/public/render.ts",
"lineNumber": 155
},
"deprecated": false
}
]
}
],
"lifecycle": "start",
"initialIsOpen": true
}
},
"server": {
"classes": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution",
"type": "Class",
"tags": [],
"label": "Execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 99
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"\nDynamic state of the execution."
],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>, {}>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 109
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"\nInitial input of the execution.\n\nN.B. It is initialized to `null` rather than `undefined` for legacy reasons,\nbecause in legacy interpreter it was set to `null` by default."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 117
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [
"\nExecution context - object that allows to do side-effects. Context is passed\nto every function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<InspectorAdapters, ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 128
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.result",
"type": "Object",
"tags": [],
"label": "result",
"description": [
"\nFuture that tracks result or error of this execution."
],
"signature": [
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.contract",
"type": "Object",
"tags": [],
"label": "contract",
"description": [
"\nContract is a public representation of `Execution` instances. Contract we\ncan return to other plugins for their consumption."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 168
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 174
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.inspectorAdapters",
"type": "Uncategorized",
"tags": [],
"label": "inspectorAdapters",
"description": [],
"signature": [
"InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 176
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 180
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionParams",
"text": "ExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 180
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.cancel",
"type": "Function",
"tags": [],
"label": "cancel",
"description": [
"\nStop execution of expression."
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 273
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [
"\nCall this method to start execution.\n\nN.B. `input` is initialized to `null` rather than `undefined` for legacy reasons,\nbecause in legacy interpreter it was set to `null` by default."
],
"signature": [
"(input?: Input, isSubExpression?: boolean | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.start.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 284
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.start.$2",
"type": "CompoundType",
"tags": [],
"label": "isSubExpression",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 285
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeChain",
"type": "Function",
"tags": [],
"label": "invokeChain",
"description": [],
"signature": [
"(chainArr: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[], input: unknown) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeChain.$1",
"type": "Array",
"tags": [],
"label": "chainArr",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeChain.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeFunction",
"type": "Function",
"tags": [],
"label": "invokeFunction",
"description": [],
"signature": [
"(fn: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
", input: unknown, args: Record<string, unknown>) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 380
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeFunction.$1",
"type": "Object",
"tags": [],
"label": "fn",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 381
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeFunction.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 382
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.invokeFunction.$3",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 383
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.cast",
"type": "Function",
"tags": [],
"label": "cast",
"description": [],
"signature": [
"(value: any, toTypeNames?: string[] | undefined) => any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.cast.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.cast.$2",
"type": "Array",
"tags": [],
"label": "toTypeNames",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.resolveArgs",
"type": "Function",
"tags": [],
"label": "resolveArgs",
"description": [],
"signature": [
"(fnDef: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
", input: unknown, argAsts: any) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.resolveArgs.$1",
"type": "Object",
"tags": [],
"label": "fnDef",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.resolveArgs.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.resolveArgs.$3",
"type": "Any",
"tags": [],
"label": "argAsts",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.interpret",
"type": "Function",
"tags": [],
"label": "interpret",
"description": [],
"signature": [
"<T>(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstNode",
"text": "ExpressionAstNode"
},
", input: T) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Execution.interpret.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstNode",
"text": "ExpressionAstNode"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Execution.interpret.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor",
"type": "Class",
"tags": [],
"label": "Executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Context> implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableStateService",
"text": "PersistableStateService"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.createWithDefaults",
"type": "Function",
"tags": [],
"label": "createWithDefaults",
"description": [],
"signature": [
"<Ctx extends Record<string, unknown> = Record<string, unknown>>(state?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Ctx> | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Ctx>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 88
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.createWithDefaults.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Ctx> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 89
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureTransitions",
"text": "ExecutorPureTransitions"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureSelectors",
"text": "ExecutorPureSelectors"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 97
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.functions",
"type": "Object",
"tags": [
"deprecated"
],
"label": "functions",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FunctionsRegistry",
"text": "FunctionsRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 102
},
"deprecated": true,
"references": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.types",
"type": "Object",
"tags": [
"deprecated"
],
"label": "types",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypesRegistry",
"text": "TypesRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 107
},
"deprecated": true,
"references": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 109
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 109
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.registerFunction",
"type": "Function",
"tags": [],
"label": "registerFunction",
"description": [],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 115
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.registerFunction.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 116
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 124
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getFunction.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 124
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getFunctions",
"type": "Function",
"tags": [],
"label": "getFunctions",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 128
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.registerType",
"type": "Function",
"tags": [],
"label": "registerType",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 132
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.registerType.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 133
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 141
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getType.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 141
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getTypes",
"type": "Function",
"tags": [],
"label": "getTypes",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 145
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.extendContext",
"type": "Function",
"tags": [],
"label": "extendContext",
"description": [],
"signature": [
"(extraContext: Record<string, unknown>) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 149
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.extendContext.$1",
"type": "Object",
"tags": [],
"label": "extraContext",
"description": [],
"signature": [
"Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 149
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"signature": [
"{ [x: string]: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 153
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [
"\nExecute expression and return result.\n"
],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
") => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 165
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.run.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [
"Expression AST or a string representing expression."
],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 166
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.run.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"Initial input to the first expression function."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 167
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.run.$3",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 168
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.createExecution",
"type": "Function",
"tags": [],
"label": "createExecution",
"description": [],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DefaultInspectorAdapters",
"text": "DefaultInspectorAdapters"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 173
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.createExecution.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 174
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.createExecution.$2",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 175
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", references: ",
"SavedObjectReference",
"[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.inject.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.inject.$2",
"type": "Array",
"tags": [],
"label": "references",
"description": [],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => { state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 234
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.extract.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 234
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", telemetryData: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.telemetry.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.telemetry.$2",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.getAllMigrations",
"type": "Function",
"tags": [],
"label": "getAllMigrations",
"description": [],
"signature": [
"() => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.MigrateFunctionsObject",
"text": "MigrateFunctionsObject"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 253
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.migrateToLatest",
"type": "Function",
"tags": [],
"label": "migrateToLatest",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 270
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Executor.migrateToLatest.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 270
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.Executor.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction",
"type": "Class",
"tags": [],
"label": "ExpressionFunction",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableState",
"text": "PersistableState"
},
"<Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.name",
"type": "string",
"tags": [],
"label": "name",
"description": [
"\nName of function"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 21
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [
"\nAliases that can be used instead of `name`."
],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nReturn type of function. This SHOULD be supplied. We use it for UI\nand autocomplete hinting. We may also use it for optimizations in\nthe future."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [
"\nFunction to run function (context, args)"
],
"signature": [
"(input: any, params: Record<string, any>, handlers: object) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.input",
"type": "Any",
"tags": [],
"label": "input",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.handlers",
"type": "Uncategorized",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
"object"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nA short help text."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [
"\nSpecification of expression function parameters."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 48
},
"deprecated": false,
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [
"\nType of inputs that this function supports."
],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 53
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.disabled",
"type": "boolean",
"tags": [],
"label": "disabled",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 55
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>, telemetryData: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 56
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.telemetryData",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 58
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>) => { state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 60
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 61
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>, references: ",
"SavedObjectReference",
"[]) => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 63
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.references",
"type": "Array",
"tags": [],
"label": "references",
"description": [],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 65
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.migrations",
"type": "Object",
"tags": [],
"label": "migrations",
"description": [],
"signature": [
"{ [key: string]: (state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
") => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 71
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 71
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.accepts",
"type": "Function",
"tags": [],
"label": "accepts",
"description": [],
"signature": [
"(type: string) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 105
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunction.accepts.$1",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 105
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter",
"type": "Class",
"tags": [],
"label": "ExpressionFunctionParameter",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 12
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.default",
"type": "Any",
"tags": [],
"label": "default",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.resolve",
"type": "boolean",
"tags": [],
"label": "resolve",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"any[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.Unnamed.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.Unnamed.$2",
"type": "CompoundType",
"tags": [],
"label": "arg",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ArgumentType",
"text": "ArgumentType"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.accepts",
"type": "Function",
"tags": [],
"label": "accepts",
"description": [],
"signature": [
"(type: string) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 40
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionParameter.accepts.$1",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 40
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer",
"type": "Class",
"tags": [],
"label": "ExpressionRenderer",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 12
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.displayName",
"type": "string",
"tags": [],
"label": "displayName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"() => void | Error"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 15
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.reuseDomNode",
"type": "boolean",
"tags": [],
"label": "reuseDomNode",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(domNode: HTMLElement, config: Config, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
},
") => void | Promise<void>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 17
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.domNode",
"type": "Object",
"tags": [],
"label": "domNode",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.config",
"type": "Uncategorized",
"tags": [],
"label": "config",
"description": [],
"signature": [
"Config"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.handlers",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 45
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderer.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry",
"type": "Class",
"tags": [],
"label": "ExpressionRendererRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRendererRegistry",
"text": "ExpressionRendererRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 25
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRendererRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin",
"type": "Class",
"tags": [],
"label": "ExpressionsServerPlugin",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "server",
"docId": "kibExpressionsPluginApi",
"section": "def-server.ExpressionsServerPlugin",
"text": "ExpressionsServerPlugin"
},
" implements ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.Plugin",
"text": "Plugin"
},
"<Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
},
", object, object>"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.expressions",
"type": "Object",
"tags": [],
"label": "expressions",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "initializerContext",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.PluginInitializerContext",
"text": "PluginInitializerContext"
},
"<unknown>"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 21
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>) => Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.setup.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 23
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreStart",
"text": "CoreStart"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.start.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreStart",
"text": "CoreStart"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 33
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin",
"type": "Class",
"tags": [],
"label": "ExpressionsServerPlugin",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "server",
"docId": "kibExpressionsPluginApi",
"section": "def-server.ExpressionsServerPlugin",
"text": "ExpressionsServerPlugin"
},
" implements ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.Plugin",
"text": "Plugin"
},
"<Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
},
", object, object>"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.expressions",
"type": "Object",
"tags": [],
"label": "expressions",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "initializerContext",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.PluginInitializerContext",
"text": "PluginInitializerContext"
},
"<unknown>"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 21
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>) => Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.setup.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreSetup",
"text": "CoreSetup"
},
"<object, unknown>"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 23
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"(core: ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreStart",
"text": "CoreStart"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.start.$1",
"type": "Object",
"tags": [],
"label": "core",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCorePluginApi",
"section": "def-server.CoreStart",
"text": "CoreStart"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 33
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerPlugin.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType",
"type": "Class",
"tags": [],
"label": "ExpressionType",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nA short help text."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [
"\nType validation, useful for checking function output."
],
"signature": [
"(type: any) => void | Error"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 23
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.type",
"type": "Any",
"tags": [],
"label": "type",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 23
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.create",
"type": "Unknown",
"tags": [],
"label": "create",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [
"\nOptional serialization (used when passing context around client/server)."
],
"signature": [
"((value: any) => any) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"((serialized: any) => any) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 33
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.getToFn",
"type": "Function",
"tags": [],
"label": "getToFn",
"description": [],
"signature": [
"(typeName: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 47
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.getToFn.$1",
"type": "string",
"tags": [],
"label": "typeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 48
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.getFromFn",
"type": "Function",
"tags": [],
"label": "getFromFn",
"description": [],
"signature": [
"(typeName: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 52
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.getFromFn.$1",
"type": "string",
"tags": [],
"label": "typeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 53
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.castsTo",
"type": "Function",
"tags": [],
"label": "castsTo",
"description": [],
"signature": [
"(value: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.castsTo.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 57
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.castsFrom",
"type": "Function",
"tags": [],
"label": "castsFrom",
"description": [],
"signature": [
"(value: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.castsFrom.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 59
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.to",
"type": "Function",
"tags": [],
"label": "to",
"description": [],
"signature": [
"(value: any, toTypeName: string, types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.to.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.to.$2",
"type": "string",
"tags": [],
"label": "toTypeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.to.$3",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.from",
"type": "Function",
"tags": [],
"label": "from",
"description": [],
"signature": [
"(value: any, types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.from.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionType.from.$2",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry",
"type": "Class",
"tags": [],
"label": "FunctionsRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FunctionsRegistry",
"text": "FunctionsRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 64
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 65
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 67
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 68
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 77
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.FunctionsRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 81
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry",
"type": "Class",
"tags": [],
"label": "TypesRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypesRegistry",
"text": "TypesRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 43
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 45
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 46
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 51
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.TypesRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"functions": [
{
"parentPluginId": "expressions",
"id": "def-server.buildExpression",
"type": "Function",
"tags": [
"return"
],
"label": "buildExpression",
"description": [
"\nMakes it easy to progressively build, update, and traverse an\nexpression AST. You can either start with an empty AST, or\nprovide an expression string, AST, or array of expression\nfunction builders to use as initial state.\n"
],
"signature": [
"(initialState: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[] | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 97
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.buildExpression.$1",
"type": "CompoundType",
"tags": [],
"label": "initialState",
"description": [
"Optional. An expression string, AST, or array of `ExpressionAstFunctionBuilder[]`."
],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 98
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": [
"`this`"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.buildExpressionFunction",
"type": "Function",
"tags": [
"return"
],
"label": "buildExpressionFunction",
"description": [
"\nManages an AST for a single expression function. The return value\ncan be provided to `buildExpression` to add this function to an\nexpression.\n\nNote that to preserve type safety and ensure no args are missing,\nall required arguments for the specified function must be provided\nup front. If desired, they can be changed or removed later.\n"
],
"signature": [
"(fnName: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"], initialArgs: { [K in keyof FunctionArgs<FnDef>]: FunctionArgs<FnDef>[K] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
"[]; }) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 152
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.buildExpressionFunction.$1",
"type": "Uncategorized",
"tags": [],
"label": "fnName",
"description": [
"String representing the name of this expression function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 155
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.buildExpressionFunction.$2",
"type": "Object",
"tags": [],
"label": "initialArgs",
"description": [
"Object containing the arguments to this function."
],
"signature": [
"{ [K in keyof FunctionArgs<FnDef>]: FunctionArgs<FnDef>[K] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 163
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"`this`"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.format",
"type": "Function",
"tags": [],
"label": "format",
"description": [],
"signature": [
"(ast: T, type: T extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" ? \"expression\" : \"argument\") => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.format.$1",
"type": "Uncategorized",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.format.$2",
"type": "Uncategorized",
"tags": [],
"label": "type",
"description": [],
"signature": [
"T extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" ? \"expression\" : \"argument\""
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.formatExpression",
"type": "Function",
"tags": [],
"label": "formatExpression",
"description": [
"\nGiven expression pipeline AST, returns formatted string.\n"
],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/format_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.formatExpression.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [
"Expression pipeline AST."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/format_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.isExpressionAstBuilder",
"type": "Function",
"tags": [
"return"
],
"label": "isExpressionAstBuilder",
"description": [
"\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n"
],
"signature": [
"(val: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.isExpressionAstBuilder.$1",
"type": "Any",
"tags": [],
"label": "val",
"description": [
"Value you want to check."
],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"boolean"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.parse",
"type": "Function",
"tags": [],
"label": "parse",
"description": [],
"signature": [
"(expression: E, startRule: S) => S extends \"expression\" ? ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" : ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.parse.$1",
"type": "Uncategorized",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"E"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.parse.$2",
"type": "Uncategorized",
"tags": [],
"label": "startRule",
"description": [],
"signature": [
"S"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.parseExpression",
"type": "Function",
"tags": [],
"label": "parseExpression",
"description": [
"\nGiven expression pipeline string, returns parsed AST.\n"
],
"signature": [
"(expression: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/parse_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.parseExpression.$1",
"type": "string",
"tags": [],
"label": "expression",
"description": [
"Expression pipeline string."
],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "expressions",
"id": "def-server.Datatable",
"type": "Interface",
"tags": [],
"label": "Datatable",
"description": [
"\nA `Datatable` in Canvas is a unique structure that represents tabulated data."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 98
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Datatable.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 99
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Datatable.columns",
"type": "Array",
"tags": [],
"label": "columns",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 100
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Datatable.rows",
"type": "Array",
"tags": [],
"label": "rows",
"description": [],
"signature": [
"Record<string, any>[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 101
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.DatatableColumn",
"type": "Interface",
"tags": [],
"label": "DatatableColumn",
"description": [
"\nThis type represents the shape of a column in a `Datatable`."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 89
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.DatatableColumn.id",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 90
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.DatatableColumn.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 91
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.DatatableColumn.meta",
"type": "Object",
"tags": [],
"label": "meta",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumnMeta",
"text": "DatatableColumnMeta"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 92
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext",
"type": "Interface",
"tags": [],
"label": "ExecutionContext",
"description": [
"\n`ExecutionContext` is an object available to all functions during a single execution;\nit provides various methods to perform side-effects."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<InspectorAdapters, ExecutionContextSearch>"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.getSearchContext",
"type": "Function",
"tags": [],
"label": "getSearchContext",
"description": [
"\nGet search context of the expression."
],
"signature": [
"() => ExecutionContextSearch"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 28
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.variables",
"type": "Object",
"tags": [],
"label": "variables",
"description": [
"\nContext variables that can be consumed using `var` and `var_set` functions."
],
"signature": [
"{ [x: string]: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [
"\nA map of available expression types."
],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.abortSignal",
"type": "Object",
"tags": [],
"label": "abortSignal",
"description": [
"\nAdds ability to abort current execution."
],
"signature": [
"AbortSignal"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.inspectorAdapters",
"type": "Uncategorized",
"tags": [],
"label": "inspectorAdapters",
"description": [
"\nAdapters for `inspector` plugin."
],
"signature": [
"InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.getSearchSessionId",
"type": "Function",
"tags": [],
"label": "getSearchSessionId",
"description": [
"\nSearch context in which expression should operate."
],
"signature": [
"() => string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 53
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.getKibanaRequest",
"type": "Function",
"tags": [],
"label": "getKibanaRequest",
"description": [
"\nGetter to retrieve the `KibanaRequest` object inside an expression function.\nUseful for functions which are running on the server and need to perform\noperations that are scoped to a specific user."
],
"signature": [
"(() => ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 60
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.isSyncColorsEnabled",
"type": "Function",
"tags": [],
"label": "isSyncColorsEnabled",
"description": [
"\nReturns the state (true|false) of the sync colors across panels switch."
],
"signature": [
"(() => boolean) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 65
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContext.getExecutionContext",
"type": "Function",
"tags": [],
"label": "getExecutionContext",
"description": [
"\nContains the meta-data about the source of the expression."
],
"signature": [
"() => ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.IExecutionContextContainer",
"text": "IExecutionContextContainer"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 70
},
"deprecated": false,
"returnComment": [],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionParams",
"type": "Interface",
"tags": [],
"label": "ExecutionParams",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionParams.executor",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionParams.ast",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 88
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionParams.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 89
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionParams.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 90
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionState",
"type": "Interface",
"tags": [],
"label": "ExecutionState",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output> extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionState.ast",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"{ type: \"expression\"; chain: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionState.state",
"type": "CompoundType",
"tags": [],
"label": "state",
"description": [
"\nTracks state of execution.\n\n- `not-started` - before .start() method was called.\n- `pending` - immediately after .start() method is called.\n- `result` - when expression execution completed.\n- `error` - when execution failed with error."
],
"signature": [
"\"result\" | \"error\" | \"not-started\" | \"pending\""
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionState.result",
"type": "Uncategorized",
"tags": [],
"label": "result",
"description": [
"\nResult of the expression execution."
],
"signature": [
"Output | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionState.error",
"type": "Object",
"tags": [],
"label": "error",
"description": [
"\nError happened during the execution."
],
"signature": [
"Error | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 38
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutorState",
"type": "Interface",
"tags": [],
"label": "ExecutorState",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExecutorState.functions",
"type": "Object",
"tags": [],
"label": "functions",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutorState.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutorState.context",
"type": "Uncategorized",
"tags": [],
"label": "context",
"description": [],
"signature": [
"Context"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpressionBuilder",
"type": "Interface",
"tags": [],
"label": "ExpressionAstExpressionBuilder",
"description": [],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 44
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpressionBuilder.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nUsed to identify expression builder objects."
],
"signature": [
"\"expression_builder\""
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpressionBuilder.functions",
"type": "Array",
"tags": [],
"label": "functions",
"description": [
"\nArray of each of the `buildExpressionFunction()` instances\nin this expression. Use this to remove or reorder functions\nin the expression."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 54
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpressionBuilder.findFunction",
"type": "Function",
"tags": [
"return"
],
"label": "findFunction",
"description": [
"\nRecursively searches expression for all ocurrences of the\nfunction, including in subexpressions.\n\nUseful when performing migrations on a specific function,\nas you can iterate over the array of references and update\nall functions at once.\n"
],
"signature": [
"<FnDef extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" = ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">(fnName: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]) => [] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 66
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunctionBuilder[]`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.fnName",
"type": "Uncategorized",
"tags": [],
"label": "fnName",
"description": [
"Name of the function to search for."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 67
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpressionBuilder.toAst",
"type": "Function",
"tags": [
"return"
],
"label": "toAst",
"description": [
"\nConverts expression to an AST.\n"
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 74
},
"deprecated": false,
"returnComment": [
"`ExpressionAstExpression`"
],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpressionBuilder.toString",
"type": "Function",
"tags": [
"return"
],
"label": "toString",
"description": [
"\nConverts expression to an expression string.\n"
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 80
},
"deprecated": false,
"returnComment": [
"`string`"
],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder",
"type": "Interface",
"tags": [],
"label": "ExpressionAstFunctionBuilder",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nUsed to identify expression function builder objects."
],
"signature": [
"\"expression_function_builder\""
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 63
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"\nName of this expression function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.arguments",
"type": "Object",
"tags": [],
"label": "arguments",
"description": [
"\nObject of all args currently added to the function. This is\nstructured similarly to `ExpressionAstFunction['arguments']`,\nhowever any subexpressions are returned as expression builder\ninstances instead of expression ASTs."
],
"signature": [
"FunctionBuilderArguments<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 74
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.addArgument",
"type": "Function",
"tags": [
"return"
],
"label": "addArgument",
"description": [
"\nAdds an additional argument to the function. For multi-args,\nthis should be called once for each new arg. Note that TS\nwill not enforce whether multi-args are available, so only\nuse this to update an existing arg if you are certain it\nis a multi-arg.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A, value: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A]) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 86
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to add."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [
"The value of the argument to add."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 88
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.getArgument",
"type": "Function",
"tags": [
"return"
],
"label": "getArgument",
"description": [
"\nRetrieves an existing argument by name.\nUseful when you want to retrieve the current array of args and add\nsomething to it before calling `replaceArgument`. Any subexpression\narguments will be returned as expression builder instances.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A) => (",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 99
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunctionBuilderArgument[] | undefined`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to retrieve."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 100
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.replaceArgument",
"type": "Function",
"tags": [
"return"
],
"label": "replaceArgument",
"description": [
"\nOverwrites an existing argument with a new value.\nIn order to support multi-args, the value given must always be\nan array.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A, value: (",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[]) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 111
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to replace."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 112
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.value",
"type": "Array",
"tags": [],
"label": "value",
"description": [
"The value of the argument. Must always be an array."
],
"signature": [
"(",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 113
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.removeArgument",
"type": "Function",
"tags": [
"return"
],
"label": "removeArgument",
"description": [
"\nRemoves an (optional) argument from the function.\n\nTypeScript will enforce that you only remove optional\narguments. For manipulating required args, use `replaceArgument`.\n"
],
"signature": [
"<A extends OptionalKeys<FunctionArgs<FnDef>>>(name: A) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 124
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to remove."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 124
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.toAst",
"type": "Function",
"tags": [
"return"
],
"label": "toAst",
"description": [
"\nConverts function to an AST.\n"
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 130
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunction`"
],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunctionBuilder.toString",
"type": "Function",
"tags": [
"return"
],
"label": "toString",
"description": [
"\nConverts function to an expression string.\n"
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 136
},
"deprecated": false,
"returnComment": [
"`string`"
],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionFunctionDefinition",
"description": [
"\n`ExpressionFunctionDefinition` is the interface plugins have to implement to\nregister a function in `expressions` plugin."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<Name, Input, Arguments, Output, Context> extends Partial<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableState",
"text": "PersistableState"
},
"<Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"\nThe name of the function, as will be used in expression."
],
"signature": [
"Name"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.disabled",
"type": "CompoundType",
"tags": [],
"label": "disabled",
"description": [
"\nif set to true function will be disabled (but its migrate function will still be available)"
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 45
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [
"\nName of type of value this function outputs."
],
"signature": [
"\"date\" | \"filter\" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.KnownTypeToString",
"text": "KnownTypeToString"
},
"<Output extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<Output> : ",
"UnwrapPromiseOrReturn",
"<Output>> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 50
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [
"\nList of allowed type names for input value of this function. If this\nproperty is set the input of function will be cast to the first possible\ntype in this list. If this property is missing the input will be provided\nto the function as-is."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypeToString",
"text": "TypeToString"
},
"<Input>[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [
"\nSpecification of arguments that function supports. This list will also be\nused for autocomplete functionality when your function is being edited."
],
"signature": [
"{ [key in keyof Arguments]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ArgumentType",
"text": "ArgumentType"
},
"<Arguments[key]>; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.aliases",
"type": "Array",
"tags": [
"todo"
],
"label": "aliases",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 69
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nHelp text displayed in the Expression editor. This text should be\ninternationalized."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [
"\nThe actual implementation of the function.\n"
],
"signature": [
"(input: Input, args: Arguments, context: Context) => Output"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.fn.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"Output of the previous function, or initial input."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.fn.$2",
"type": "Uncategorized",
"tags": [],
"label": "args",
"description": [
"Parameters set for this function in expression."
],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.fn.$3",
"type": "Uncategorized",
"tags": [],
"label": "context",
"description": [
"Object with functions to perform side effects. This object\nis created for the duration of the execution of expression and is the\nsame for all functions in expression chain."
],
"signature": [
"Context"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinition.context",
"type": "Object",
"tags": [
"deprecated"
],
"label": "context",
"description": [],
"signature": [
"{ types: any[] | undefined; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 91
},
"deprecated": true,
"references": [
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/filters.ts",
"lineNumber": 60
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts",
"lineNumber": 36
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts",
"lineNumber": 41
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts",
"lineNumber": 35
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts",
"lineNumber": 24
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts",
"lineNumber": 47
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts",
"lineNumber": 32
}
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions",
"type": "Interface",
"tags": [],
"label": "ExpressionFunctionDefinitions",
"description": [
"\nA mapping of `ExpressionFunctionDefinition`s for functions which the\nExpressions services provides out-of-the-box. Any new functions registered\nby the Expressions plugin should have their types added here.\n"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 116
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.clog",
"type": "Object",
"tags": [],
"label": "clog",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"clog\", unknown, {}, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 117
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.font",
"type": "Object",
"tags": [],
"label": "font",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"font\", null, Arguments, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 118
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.var_set",
"type": "Object",
"tags": [],
"label": "var_set",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var_set\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 119
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.var",
"type": "Object",
"tags": [],
"label": "var",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 120
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.theme",
"type": "Object",
"tags": [],
"label": "theme",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"theme\", null, Arguments, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 121
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.cumulative_sum",
"type": "Object",
"tags": [],
"label": "cumulative_sum",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"cumulative_sum\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CumulativeSumArgs",
"text": "CumulativeSumArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 122
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.overall_metric",
"type": "Object",
"tags": [],
"label": "overall_metric",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"overall_metric\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.OverallMetricArgs",
"text": "OverallMetricArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 123
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.derivative",
"type": "Object",
"tags": [],
"label": "derivative",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"derivative\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DerivativeArgs",
"text": "DerivativeArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 124
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionFunctionDefinitions.moving_average",
"type": "Object",
"tags": [],
"label": "moving_average",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"moving_average\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MovingAverageArgs",
"text": "MovingAverageArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 125
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionImage",
"type": "Interface",
"tags": [],
"label": "ExpressionImage",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionImage.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"image\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionImage.mode",
"type": "string",
"tags": [],
"label": "mode",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionImage.dataurl",
"type": "string",
"tags": [],
"label": "dataurl",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 17
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionRenderDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition.name",
"type": "string",
"tags": [],
"label": "name",
"description": [
"\nTechnical name of the renderer, used as ID to identify renderer in\nexpression renderer registry. This must match the name of the expression\nfunction that is used to create the `type: render` object."
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition.displayName",
"type": "string",
"tags": [],
"label": "displayName",
"description": [
"\nA user friendly name of the renderer as will be displayed to user in UI."
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nHelp text as will be displayed to user. A sentence or few about what this\nelement does."
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [
"\nUsed to validate the data before calling the render function."
],
"signature": [
"(() => Error | undefined) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition.reuseDomNode",
"type": "boolean",
"tags": [],
"label": "reuseDomNode",
"description": [
"\nTell the renderer if the dom node should be reused, it's recreated each\ntime by default."
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionRenderDefinition.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [
"\nThe function called to render the output data of an expression."
],
"signature": [
"(domNode: HTMLElement, config: Config, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
},
") => void | Promise<void>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 42
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.domNode",
"type": "Object",
"tags": [],
"label": "domNode",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.config",
"type": "Uncategorized",
"tags": [],
"label": "config",
"description": [],
"signature": [
"Config"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.handlers",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 45
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionTypeDefinition",
"description": [
"\nA generic type which represents a custom Expression Type Definition that's\nregistered to the Interpreter."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeDefinition",
"text": "ExpressionTypeDefinition"
},
"<Name, Value, SerializedType>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 26
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [],
"signature": [
"Name"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"((type: any) => void | Error) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [],
"signature": [
"((type: Value) => SerializedType) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"((type: SerializedType) => Value) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 34
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"signature": [
"{ [type: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, Value>; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"signature": [
"{ [type: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<Value, any>; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 43
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeStyle",
"type": "Interface",
"tags": [],
"label": "ExpressionTypeStyle",
"description": [
"\nAn object that represents style information, typically CSS."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 120
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeStyle.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"style\""
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 121
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeStyle.spec",
"type": "Object",
"tags": [],
"label": "spec",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CSSStyle",
"text": "CSSStyle"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 122
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionTypeStyle.css",
"type": "string",
"tags": [],
"label": "css",
"description": [],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 123
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Font",
"type": "Interface",
"tags": [],
"label": "Font",
"description": [
"\nAn interface representing a font in Canvas, with a textual label and the CSS\n`font-value`."
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Font.label",
"type": "CompoundType",
"tags": [],
"label": "label",
"description": [],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Font.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [],
"signature": [
"\"'American Typewriter', 'Courier New', Courier, Monaco, mono\" | \"Arial, sans-serif\" | \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Brush Script MT', 'Comic Sans', sans-serif\" | \"Chalkboard, 'Comic Sans', sans-serif\" | \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"Futura, Impact, Helvetica, Arial, sans-serif\" | \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"'Helvetica Neue', Helvetica, Arial, sans-serif\" | \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\" | \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\" | \"Myriad, Helvetica, Arial, sans-serif\" | \"'Open Sans', Helvetica, Arial, sans-serif\" | \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 27
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers",
"type": "Interface",
"tags": [],
"label": "IInterpreterRenderHandlers",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 63
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.done",
"type": "Function",
"tags": [],
"label": "done",
"description": [
"\nDone increments the number of rendering successes"
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 67
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.onDestroy",
"type": "Function",
"tags": [],
"label": "onDestroy",
"description": [],
"signature": [
"(fn: () => void) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 68
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 68
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.reload",
"type": "Function",
"tags": [],
"label": "reload",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 69
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.update",
"type": "Function",
"tags": [],
"label": "update",
"description": [],
"signature": [
"(params: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 70
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.params",
"type": "Any",
"tags": [],
"label": "params",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 70
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.event",
"type": "Function",
"tags": [],
"label": "event",
"description": [],
"signature": [
"(event: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 71
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.event",
"type": "Any",
"tags": [],
"label": "event",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 71
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.hasCompatibleActions",
"type": "Function",
"tags": [],
"label": "hasCompatibleActions",
"description": [],
"signature": [
"((event: any) => Promise<boolean>) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 72
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.getRenderMode",
"type": "Function",
"tags": [],
"label": "getRenderMode",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.RenderMode",
"text": "RenderMode"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 73
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.isSyncColorsEnabled",
"type": "Function",
"tags": [],
"label": "isSyncColorsEnabled",
"description": [],
"signature": [
"() => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 74
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-server.IInterpreterRenderHandlers.uiState",
"type": "Unknown",
"tags": [],
"label": "uiState",
"description": [
"\nThis uiState interface is actually `PersistedState` from the visualizations plugin,\nbut expressions cannot know about vis or it creates a mess of circular dependencies.\nDownstream consumers of the uiState handler will need to cast for now."
],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 80
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.IRegistry",
"type": "Interface",
"tags": [],
"label": "IRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<T>"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.IRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => T | null"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 10
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.IRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 10
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.IRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, T>"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-server.IRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => T[]"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesColumn",
"type": "Interface",
"tags": [],
"label": "PointSeriesColumn",
"description": [
"\nColumn in a PointSeries"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesColumn.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"string\" | \"number\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 24
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesColumn.role",
"type": "CompoundType",
"tags": [],
"label": "role",
"description": [],
"signature": [
"\"measure\" | \"dimension\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesColumn.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 26
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Range",
"type": "Interface",
"tags": [],
"label": "Range",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.Range.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"range\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Range.from",
"type": "number",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Range.to",
"type": "number",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Range.label",
"type": "string",
"tags": [],
"label": "label",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 18
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.SerializedDatatable",
"type": "Interface",
"tags": [],
"label": "SerializedDatatable",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedDatatable",
"text": "SerializedDatatable"
},
" extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 104
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.SerializedDatatable.rows",
"type": "Array",
"tags": [],
"label": "rows",
"description": [],
"signature": [
"string[][]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 105
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.SerializedFieldFormat",
"type": "Interface",
"tags": [],
"label": "SerializedFieldFormat",
"description": [
"\nJSON representation of a field formatter configuration.\nIs used to carry information about how to format data in\na data table as part of the column definition."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedFieldFormat",
"text": "SerializedFieldFormat"
},
"<TParams>"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-server.SerializedFieldFormat.id",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 56
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-server.SerializedFieldFormat.params",
"type": "Uncategorized",
"tags": [],
"label": "params",
"description": [],
"signature": [
"TParams | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 57
},
"deprecated": false
}
],
"initialIsOpen": false
}
],
"enums": [
{
"parentPluginId": "expressions",
"id": "def-server.FontStyle",
"type": "Enum",
"tags": [],
"label": "FontStyle",
"description": [
"\nEnum of supported CSS `font-style` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 35
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.FontWeight",
"type": "Enum",
"tags": [],
"label": "FontWeight",
"description": [
"\nEnum of supported CSS `font-weight` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 43
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Overflow",
"type": "Enum",
"tags": [],
"label": "Overflow",
"description": [
"\nEnum of supported CSS `overflow` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 62
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.TextAlignment",
"type": "Enum",
"tags": [],
"label": "TextAlignment",
"description": [
"\nEnum of supported CSS `text-align` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 72
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.TextDecoration",
"type": "Enum",
"tags": [],
"label": "TextDecoration",
"description": [
"\nEnum of supported CSS `text-decoration` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 82
},
"deprecated": false,
"initialIsOpen": false
}
],
"misc": [
{
"parentPluginId": "expressions",
"id": "def-server.AnyExpressionFunctionDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionFunctionDefinition",
"description": [
"\nType to capture every possible expression function definition."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<string, any, Record<string, any>, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 102
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.AnyExpressionTypeDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionTypeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeDefinition",
"text": "ExpressionTypeDefinition"
},
"<any, any, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 46
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ArgumentType",
"type": "Type",
"tags": [],
"label": "ArgumentType",
"description": [
"\nThis type represents all of the possible combinations of properties of an\nArgument in an Expression Function. The presence or absence of certain fields\ninfluence the shape and presence of others within each `arg` in the specification."
],
"signature": [
"SingleArgumentType<T> | MultipleArgumentType<T> | UnresolvedSingleArgumentType<T> | UnresolvedMultipleArgumentType<T>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/arguments.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.DatatableColumnType",
"type": "Type",
"tags": [],
"label": "DatatableColumnType",
"description": [
"\nThis type represents the `type` of any `DatatableColumn` in a `Datatable`.\nits duplicated from KBN_FIELD_TYPES"
],
"signature": [
"\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"ip\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 36
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.DatatableRow",
"type": "Type",
"tags": [],
"label": "DatatableRow",
"description": [
"\nThis type represents a row in a `Datatable`."
],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 57
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutionContainer",
"type": "Type",
"tags": [],
"label": "ExecutionContainer",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<Output>, {}>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 73
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExecutorContainer",
"type": "Type",
"tags": [],
"label": "ExecutorContainer",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureTransitions",
"text": "ExecutorPureTransitions"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureSelectors",
"text": "ExecutorPureSelectors"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 55
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstArgument",
"type": "Type",
"tags": [],
"label": "ExpressionAstArgument",
"description": [],
"signature": [
"string | number | boolean | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 77
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstExpression",
"type": "Type",
"tags": [],
"label": "ExpressionAstExpression",
"description": [],
"signature": [
"{ type: \"expression\"; chain: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstFunction",
"type": "Type",
"tags": [],
"label": "ExpressionAstFunction",
"description": [],
"signature": [
"{ type: \"function\"; function: string; arguments: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>; debug?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionDebug",
"text": "ExpressionAstFunctionDebug"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 21
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionAstNode",
"type": "Type",
"tags": [],
"label": "ExpressionAstNode",
"description": [],
"signature": [
"string | number | boolean | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValue",
"type": "Type",
"tags": [],
"label": "ExpressionValue",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 15
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueBoxed",
"type": "Type",
"tags": [],
"label": "ExpressionValueBoxed",
"description": [],
"signature": [
"{ type: Type; } & Value"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueConverter",
"type": "Type",
"tags": [],
"label": "ExpressionValueConverter",
"description": [],
"signature": [
"(input: I, availableTypes: Record<string, any>) => O"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueError",
"type": "Type",
"tags": [],
"label": "ExpressionValueError",
"description": [],
"signature": [
"{ type: \"error\"; } & { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueFilter",
"type": "Type",
"tags": [],
"label": "ExpressionValueFilter",
"description": [
"\nRepresents an object that is a Filter."
],
"signature": [
"{ type: \"filter\"; } & { filterType?: string | undefined; value?: string | undefined; column?: string | undefined; and: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"filter\", any>[]; to?: string | undefined; from?: string | undefined; query?: string | null | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueNum",
"type": "Type",
"tags": [],
"label": "ExpressionValueNum",
"description": [],
"signature": [
"{ type: \"num\"; } & { value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueRender",
"type": "Type",
"tags": [],
"label": "ExpressionValueRender",
"description": [
"\nRepresents an object that is intended to be rendered."
],
"signature": [
"{ type: \"render\"; } & { as: string; value: T; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueRender",
"type": "Type",
"tags": [],
"label": "ExpressionValueRender",
"description": [
"\nRepresents an object that is intended to be rendered."
],
"signature": [
"{ type: \"render\"; } & { as: string; value: T; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.ExpressionValueUnboxed",
"type": "Type",
"tags": [],
"label": "ExpressionValueUnboxed",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 9
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.FontLabel",
"type": "Type",
"tags": [],
"label": "FontLabel",
"description": [
"\nThis type contains a unions of all supported font labels, or the the name of\nthe font the user would see in a UI."
],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 13
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.FontValue",
"type": "Type",
"tags": [],
"label": "FontValue",
"description": [
"\nThis type contains a union of all supported font values, equivalent to the CSS\n`font-value` property."
],
"signature": [
"\"'American Typewriter', 'Courier New', Courier, Monaco, mono\" | \"Arial, sans-serif\" | \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Brush Script MT', 'Comic Sans', sans-serif\" | \"Chalkboard, 'Comic Sans', sans-serif\" | \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"Futura, Impact, Helvetica, Arial, sans-serif\" | \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"'Helvetica Neue', Helvetica, Arial, sans-serif\" | \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\" | \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\" | \"Myriad, Helvetica, Arial, sans-serif\" | \"'Open Sans', Helvetica, Arial, sans-serif\" | \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 19
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.InterpreterErrorType",
"type": "Type",
"tags": [
"deprecated"
],
"label": "InterpreterErrorType",
"description": [],
"signature": [
"{ type: \"error\"; } & { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 33
},
"deprecated": true,
"references": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.KnownTypeToString",
"type": "Type",
"tags": [],
"label": "KnownTypeToString",
"description": [
"\nMap the type of the generic to a string-based representation of the type.\n\nIf the provided generic is its own type interface, we use the value of\nthe `type` key as a string literal type for it."
],
"signature": [
"T extends string ? \"string\" : T extends boolean ? \"boolean\" : T extends number ? \"number\" : T extends null ? \"null\" : T extends { type: string; } ? T[\"type\"] : never"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 26
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeries",
"type": "Type",
"tags": [],
"label": "PointSeries",
"description": [
"\nA `PointSeries` is a unique structure that represents dots on a chart."
],
"signature": [
"{ type: \"pointseries\"; } & { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 39
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesColumnName",
"type": "Type",
"tags": [],
"label": "PointSeriesColumnName",
"description": [
"\nAllowed column names in a PointSeries"
],
"signature": [
"\"color\" | \"y\" | \"x\" | \"size\" | \"text\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 18
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesColumns",
"type": "Type",
"tags": [],
"label": "PointSeriesColumns",
"description": [
"\nRepresents a collection of valid Columns in a PointSeries"
],
"signature": [
"{} | Record<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumnName",
"text": "PointSeriesColumnName"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumn",
"text": "PointSeriesColumn"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 32
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.PointSeriesRow",
"type": "Type",
"tags": [],
"label": "PointSeriesRow",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 34
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.Style",
"type": "Type",
"tags": [],
"label": "Style",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 126
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.TypeString",
"type": "Type",
"tags": [],
"label": "TypeString",
"description": [
"\nIf the type extends a Promise, we still need to return the string representation:\n\n`someArgument: Promise<boolean | string>` results in `types: ['boolean', 'string']`"
],
"signature": [
"(T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends string ? \"string\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends boolean ? \"boolean\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends number ? \"number\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends null ? \"null\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends { type: string; } ? ({ type: string; } & (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>))[\"type\"] : never"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 39
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.TypeToString",
"type": "Type",
"tags": [],
"label": "TypeToString",
"description": [
"\nThis can convert a type into a known Expression string representation of\nthat type. For example, `TypeToString<Datatable>` will resolve to `'datatable'`.\nThis allows Expression Functions to continue to specify their type in a\nsimple string format."
],
"signature": [
"\"date\" | \"filter\" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.KnownTypeToString",
"text": "KnownTypeToString"
},
"<T>"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-server.UnmappedTypeStrings",
"type": "Type",
"tags": [],
"label": "UnmappedTypeStrings",
"description": [
"\nTypes used in Expressions that don't map to a primitive cleanly:\n\n`date` is typed as a number or string, and represents a date"
],
"signature": [
"\"date\" | \"filter\""
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 48
},
"deprecated": false,
"initialIsOpen": false
}
],
"objects": [],
"setup": {
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerSetup",
"type": "Type",
"tags": [],
"label": "ExpressionsServerSetup",
"description": [],
"signature": [
"{ readonly getType: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined; readonly registerType: (typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void; readonly getFunction: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined; readonly getFunctions: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; readonly getRenderer: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null; readonly getRenderers: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>; readonly getTypes: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; readonly registerFunction: (functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void; readonly registerRenderer: (definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void; readonly run: <Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>; readonly fork: () => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 13
},
"deprecated": false,
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"parentPluginId": "expressions",
"id": "def-server.ExpressionsServerStart",
"type": "Type",
"tags": [],
"label": "ExpressionsServerStart",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
}
],
"source": {
"path": "src/plugins/expressions/server/plugin.ts",
"lineNumber": 15
},
"deprecated": false,
"lifecycle": "start",
"initialIsOpen": true
}
},
"common": {
"classes": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution",
"type": "Class",
"tags": [],
"label": "Execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 99
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"\nDynamic state of the execution."
],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>, {}>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 109
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"\nInitial input of the execution.\n\nN.B. It is initialized to `null` rather than `undefined` for legacy reasons,\nbecause in legacy interpreter it was set to `null` by default."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 117
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [
"\nExecution context - object that allows to do side-effects. Context is passed\nto every function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<InspectorAdapters, ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 128
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.result",
"type": "Object",
"tags": [],
"label": "result",
"description": [
"\nFuture that tracks result or error of this execution."
],
"signature": [
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.contract",
"type": "Object",
"tags": [],
"label": "contract",
"description": [
"\nContract is a public representation of `Execution` instances. Contract we\ncan return to other plugins for their consumption."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 168
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 174
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.inspectorAdapters",
"type": "Uncategorized",
"tags": [],
"label": "inspectorAdapters",
"description": [],
"signature": [
"InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 176
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 180
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionParams",
"text": "ExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 180
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.cancel",
"type": "Function",
"tags": [],
"label": "cancel",
"description": [
"\nStop execution of expression."
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 273
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [
"\nCall this method to start execution.\n\nN.B. `input` is initialized to `null` rather than `undefined` for legacy reasons,\nbecause in legacy interpreter it was set to `null` by default."
],
"signature": [
"(input?: Input, isSubExpression?: boolean | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.start.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 284
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.start.$2",
"type": "CompoundType",
"tags": [],
"label": "isSubExpression",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 285
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeChain",
"type": "Function",
"tags": [],
"label": "invokeChain",
"description": [],
"signature": [
"(chainArr: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[], input: unknown) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeChain.$1",
"type": "Array",
"tags": [],
"label": "chainArr",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeChain.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 307
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeFunction",
"type": "Function",
"tags": [],
"label": "invokeFunction",
"description": [],
"signature": [
"(fn: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
", input: unknown, args: Record<string, unknown>) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 380
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeFunction.$1",
"type": "Object",
"tags": [],
"label": "fn",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 381
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeFunction.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 382
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.invokeFunction.$3",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 383
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.cast",
"type": "Function",
"tags": [],
"label": "cast",
"description": [],
"signature": [
"(value: any, toTypeNames?: string[] | undefined) => any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.cast.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.cast.$2",
"type": "Array",
"tags": [],
"label": "toTypeNames",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 418
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.resolveArgs",
"type": "Function",
"tags": [],
"label": "resolveArgs",
"description": [],
"signature": [
"(fnDef: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
", input: unknown, argAsts: any) => ",
"Observable",
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.resolveArgs.$1",
"type": "Object",
"tags": [],
"label": "fnDef",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.resolveArgs.$2",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.resolveArgs.$3",
"type": "Any",
"tags": [],
"label": "argAsts",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 444
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.interpret",
"type": "Function",
"tags": [],
"label": "interpret",
"description": [],
"signature": [
"<T>(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstNode",
"text": "ExpressionAstNode"
},
", input: T) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Execution.interpret.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstNode",
"text": "ExpressionAstNode"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Execution.interpret.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 534
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract",
"type": "Class",
"tags": [],
"label": "ExecutionContract",
"description": [
"\n`ExecutionContract` is a wrapper around `Execution` class. It provides the\nsame functionality but does not expose Expressions plugin internals."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.isPending",
"type": "boolean",
"tags": [],
"label": "isPending",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 26
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "execution",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, InspectorAdapters>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 26
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.cancel",
"type": "Function",
"tags": [],
"label": "cancel",
"description": [
"\nCancel the execution of the expression. This will set abort signal\n(available in execution context) to aborted state, letting expression\nfunctions to stop their execution."
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.getData",
"type": "Function",
"tags": [],
"label": "getData",
"description": [
"\nReturns the final output of expression, if any error happens still\nwraps that error into `ExpressionValueError` type and returns that.\nThis function never throws."
],
"signature": [
"() => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.getExpression",
"type": "Function",
"tags": [],
"label": "getExpression",
"description": [
"\nGet string representation of the expression. Returns the original string\nif execution was started from a string. If execution was started from an\nAST this method returns a string generated from AST."
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.getAst",
"type": "Function",
"tags": [],
"label": "getAst",
"description": [
"\nGet AST used to execute the expression."
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 72
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContract.inspect",
"type": "Function",
"tags": [],
"label": "inspect",
"description": [
"\nGet Inspector adapters provided to all functions of expression through\nexecution context."
],
"signature": [
"() => InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution_contract.ts",
"lineNumber": 78
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor",
"type": "Class",
"tags": [],
"label": "Executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Context> implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableStateService",
"text": "PersistableStateService"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.createWithDefaults",
"type": "Function",
"tags": [],
"label": "createWithDefaults",
"description": [],
"signature": [
"<Ctx extends Record<string, unknown> = Record<string, unknown>>(state?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Ctx> | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Ctx>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 88
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.createWithDefaults.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Ctx> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 89
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureTransitions",
"text": "ExecutorPureTransitions"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureSelectors",
"text": "ExecutorPureSelectors"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 97
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.functions",
"type": "Object",
"tags": [
"deprecated"
],
"label": "functions",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FunctionsRegistry",
"text": "FunctionsRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 102
},
"deprecated": true,
"references": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.types",
"type": "Object",
"tags": [
"deprecated"
],
"label": "types",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypesRegistry",
"text": "TypesRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 107
},
"deprecated": true,
"references": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 109
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 109
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.registerFunction",
"type": "Function",
"tags": [],
"label": "registerFunction",
"description": [],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 115
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.registerFunction.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 116
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 124
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getFunction.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 124
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getFunctions",
"type": "Function",
"tags": [],
"label": "getFunctions",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 128
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.registerType",
"type": "Function",
"tags": [],
"label": "registerType",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 132
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.registerType.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 133
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 141
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getType.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 141
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getTypes",
"type": "Function",
"tags": [],
"label": "getTypes",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 145
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.extendContext",
"type": "Function",
"tags": [],
"label": "extendContext",
"description": [],
"signature": [
"(extraContext: Record<string, unknown>) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 149
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.extendContext.$1",
"type": "Object",
"tags": [],
"label": "extraContext",
"description": [],
"signature": [
"Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 149
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"signature": [
"{ [x: string]: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 153
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [
"\nExecute expression and return result.\n"
],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
") => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 165
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.run.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [
"Expression AST or a string representing expression."
],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 166
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.run.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"Initial input to the first expression function."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 167
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.run.$3",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 168
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.createExecution",
"type": "Function",
"tags": [],
"label": "createExecution",
"description": [],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Execution",
"text": "Execution"
},
"<Input, Output, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DefaultInspectorAdapters",
"text": "DefaultInspectorAdapters"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 173
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.createExecution.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 174
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.createExecution.$2",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 175
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", references: ",
"SavedObjectReference",
"[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.inject.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.inject.$2",
"type": "Array",
"tags": [],
"label": "references",
"description": [],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 221
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => { state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 234
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.extract.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 234
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", telemetryData: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.telemetry.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.telemetry.$2",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 245
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.getAllMigrations",
"type": "Function",
"tags": [],
"label": "getAllMigrations",
"description": [],
"signature": [
"() => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.MigrateFunctionsObject",
"text": "MigrateFunctionsObject"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 253
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.migrateToLatest",
"type": "Function",
"tags": [],
"label": "migrateToLatest",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 270
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Executor.migrateToLatest.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 270
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.Executor.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction",
"type": "Class",
"tags": [],
"label": "ExpressionFunction",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableState",
"text": "PersistableState"
},
"<Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.name",
"type": "string",
"tags": [],
"label": "name",
"description": [
"\nName of function"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 21
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [
"\nAliases that can be used instead of `name`."
],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nReturn type of function. This SHOULD be supplied. We use it for UI\nand autocomplete hinting. We may also use it for optimizations in\nthe future."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [
"\nFunction to run function (context, args)"
],
"signature": [
"(input: any, params: Record<string, any>, handlers: object) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.input",
"type": "Any",
"tags": [],
"label": "input",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.handlers",
"type": "Uncategorized",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
"object"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 38
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nA short help text."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [
"\nSpecification of expression function parameters."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 48
},
"deprecated": false,
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [
"\nType of inputs that this function supports."
],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 53
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.disabled",
"type": "boolean",
"tags": [],
"label": "disabled",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 55
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>, telemetryData: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 56
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.telemetryData",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 58
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>) => { state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 60
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 61
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [],
"signature": [
"(state: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>, references: ",
"SavedObjectReference",
"[]) => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 63
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.references",
"type": "Array",
"tags": [],
"label": "references",
"description": [],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 65
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.migrations",
"type": "Object",
"tags": [],
"label": "migrations",
"description": [],
"signature": [
"{ [key: string]: (state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
") => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 71
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 71
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.accepts",
"type": "Function",
"tags": [],
"label": "accepts",
"description": [],
"signature": [
"(type: string) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 105
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunction.accepts.$1",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function.ts",
"lineNumber": 105
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter",
"type": "Class",
"tags": [],
"label": "ExpressionFunctionParameter",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 12
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.default",
"type": "Any",
"tags": [],
"label": "default",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.resolve",
"type": "boolean",
"tags": [],
"label": "resolve",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"any[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.Unnamed.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.Unnamed.$2",
"type": "CompoundType",
"tags": [],
"label": "arg",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ArgumentType",
"text": "ArgumentType"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 22
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.accepts",
"type": "Function",
"tags": [],
"label": "accepts",
"description": [],
"signature": [
"(type: string) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 40
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionParameter.accepts.$1",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts",
"lineNumber": 40
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer",
"type": "Class",
"tags": [],
"label": "ExpressionRenderer",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 12
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.displayName",
"type": "string",
"tags": [],
"label": "displayName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"() => void | Error"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 15
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.reuseDomNode",
"type": "boolean",
"tags": [],
"label": "reuseDomNode",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(domNode: HTMLElement, config: Config, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
},
") => void | Promise<void>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 17
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.domNode",
"type": "Object",
"tags": [],
"label": "domNode",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.config",
"type": "Uncategorized",
"tags": [],
"label": "config",
"description": [],
"signature": [
"Config"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.handlers",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 45
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderer.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "config",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry",
"type": "Class",
"tags": [],
"label": "ExpressionRendererRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRendererRegistry",
"text": "ExpressionRendererRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 25
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRendererRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/expression_renderer_registry.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsInspectorAdapter",
"type": "Class",
"tags": [],
"label": "ExpressionsInspectorAdapter",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsInspectorAdapter",
"text": "ExpressionsInspectorAdapter"
},
" extends EventEmitter"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsInspectorAdapter.logAST",
"type": "Function",
"tags": [],
"label": "logAST",
"description": [],
"signature": [
"(ast: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsInspectorAdapter.logAST.$1",
"type": "Any",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 14
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsInspectorAdapter.ast",
"type": "Any",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService",
"type": "Class",
"tags": [],
"label": "ExpressionsService",
"description": [
"\n`ExpressionsService` class is used for multiple purposes:\n\n1. It implements the same Expressions service that can be used on both:\n (1) server-side and (2) browser-side.\n2. It implements the same Expressions service that users can fork/clone,\n thus have their own instance of the Expressions plugin.\n3. `ExpressionsService` defines the public contracts of *setup* and *start*\n Kibana Platform life-cycles for ease-of-use on server-side and browser-side.\n4. `ExpressionsService` creates a bound version of all exported contract functions.\n5. Functions are bound the way there are:\n\n ```ts\n registerFunction = (...args: Parameters<Executor['registerFunction']>\n ): ReturnType<Executor['registerFunction']> => this.executor.registerFunction(...args);\n ```\n\n so that JSDoc appears in developers IDE when they use those `plugins.expressions.registerFunction(`."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
" implements ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableStateService",
"text": "PersistableStateService"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 197
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.executor",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 198
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.renderers",
"type": "Object",
"tags": [],
"label": "renderers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRendererRegistry",
"text": "ExpressionRendererRegistry"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 199
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 201
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "{\n executor = Executor.createWithDefaults(),\n renderers = new ExpressionRendererRegistry(),\n }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionServiceParams",
"text": "ExpressionServiceParams"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 201
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.registerFunction",
"type": "Function",
"tags": [],
"label": "registerFunction",
"description": [
"\nRegister an expression function, which will be possible to execute as\npart of the expression pipeline.\n\nBelow we register a function which simply sleeps for given number of\nmilliseconds to delay the execution and outputs its input as-is.\n\n```ts\nexpressions.registerFunction({\n name: 'sleep',\n args: {\n time: {\n aliases: ['_'],\n help: 'Time in milliseconds for how long to sleep',\n types: ['number'],\n },\n },\n help: '',\n fn: async (input, args, context) => {\n await new Promise(r => setTimeout(r, args.time));\n return input;\n },\n}\n```\n\nThe actual function is defined in the `fn` key. The function can be *async*.\nIt receives three arguments: (1) `input` is the output of the previous function\nor the initial input of the expression if the function is first in chain;\n(2) `args` are function arguments as defined in expression string, that can\nbe edited by user (e.g in case of Canvas); (3) `context` is a shared object\npassed to all functions that can be used for side-effects."
],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 241
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.registerFunction.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 242
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.registerType",
"type": "Function",
"tags": [],
"label": "registerType",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 245
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.registerType.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 246
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.registerRenderer",
"type": "Function",
"tags": [],
"label": "registerRenderer",
"description": [],
"signature": [
"(definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 249
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.registerRenderer.$1",
"type": "CompoundType",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 250
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.run.$1",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.run.$2",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.run.$3",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 253
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 256
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getFunction.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 256
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getFunctions",
"type": "Function",
"tags": [],
"label": "getFunctions",
"description": [
"\nReturns POJO map of all registered expression functions, where keys are\nnames of the functions and values are `ExpressionFunction` instances."
],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 263
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getRenderer",
"type": "Function",
"tags": [],
"label": "getRenderer",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 266
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getRenderer.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 266
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getRenderers",
"type": "Function",
"tags": [],
"label": "getRenderers",
"description": [
"\nReturns POJO map of all registered expression renderers, where keys are\nnames of the renderers and values are `ExpressionRenderer` instances."
],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 273
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 276
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getType.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 276
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getTypes",
"type": "Function",
"tags": [],
"label": "getTypes",
"description": [
"\nReturns POJO map of all registered expression types, where keys are\nnames of the types and values are `ExpressionType` instances."
],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 283
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.execute",
"type": "Function",
"tags": [],
"label": "execute",
"description": [],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 285
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ast",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 157
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 158
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 291
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.telemetry",
"type": "Function",
"tags": [],
"label": "telemetry",
"description": [
"\nExtracts telemetry from expression AST"
],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", telemetryData?: Record<string, any>) => Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 303
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.telemetry.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"expression AST to extract references from"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 304
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.telemetry.$2",
"type": "Object",
"tags": [],
"label": "telemetryData",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 305
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.extract",
"type": "Function",
"tags": [],
"label": "extract",
"description": [
"\nExtracts saved object references from expression AST"
],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => { state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; references: ",
"SavedObjectReference",
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 315
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.extract.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"expression AST to extract references from"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 315
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"new expression AST with references removed and array of references"
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.inject",
"type": "Function",
"tags": [],
"label": "inject",
"description": [
"\nInjects saved object references into expression AST"
],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", references: ",
"SavedObjectReference",
"[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 325
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.inject.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [
"expression AST to update"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 325
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.inject.$2",
"type": "Array",
"tags": [],
"label": "references",
"description": [
"array of saved object references"
],
"signature": [
"SavedObjectReference",
"[]"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 325
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"new expression AST with references injected"
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.getAllMigrations",
"type": "Function",
"tags": [],
"label": "getAllMigrations",
"description": [
"\ngets an object with semver mapped to a migration function"
],
"signature": [
"() => ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.MigrateFunctionsObject",
"text": "MigrateFunctionsObject"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 332
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.migrateToLatest",
"type": "Function",
"tags": [],
"label": "migrateToLatest",
"description": [
"\nmigrates an old expression to latest version"
],
"signature": [
"(state: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 340
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.migrateToLatest.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.VersionedState",
"text": "VersionedState"
},
"<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 340
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.setup",
"type": "Function",
"tags": [],
"label": "setup",
"description": [
"\nReturns Kibana Platform *setup* life-cycle contract. Useful to return the\nsame contract on server-side and browser-side."
],
"signature": [
"(...args: unknown[]) => Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 348
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.setup.$1",
"type": "Array",
"tags": [],
"label": "args",
"description": [],
"signature": [
"unknown[]"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 348
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [
"\nReturns Kibana Platform *start* life-cycle contract. Useful to return the\nsame contract on server-side and browser-side."
],
"signature": [
"(...args: unknown[]) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsServiceStart",
"text": "ExpressionsServiceStart"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 374
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.start.$1",
"type": "Array",
"tags": [],
"label": "args",
"description": [],
"signature": [
"unknown[]"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 374
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsService.stop",
"type": "Function",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 378
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType",
"type": "Class",
"tags": [],
"label": "ExpressionType",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 13
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nA short help text."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [
"\nType validation, useful for checking function output."
],
"signature": [
"(type: any) => void | Error"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 23
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.type",
"type": "Any",
"tags": [],
"label": "type",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 23
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.create",
"type": "Unknown",
"tags": [],
"label": "create",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [
"\nOptional serialization (used when passing context around client/server)."
],
"signature": [
"((value: any) => any) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"((serialized: any) => any) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "definition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 33
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.getToFn",
"type": "Function",
"tags": [],
"label": "getToFn",
"description": [],
"signature": [
"(typeName: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 47
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.getToFn.$1",
"type": "string",
"tags": [],
"label": "typeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 48
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.getFromFn",
"type": "Function",
"tags": [],
"label": "getFromFn",
"description": [],
"signature": [
"(typeName: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 52
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.getFromFn.$1",
"type": "string",
"tags": [],
"label": "typeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 53
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.castsTo",
"type": "Function",
"tags": [],
"label": "castsTo",
"description": [],
"signature": [
"(value: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.castsTo.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 57
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.castsFrom",
"type": "Function",
"tags": [],
"label": "castsFrom",
"description": [],
"signature": [
"(value: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.castsFrom.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 59
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.to",
"type": "Function",
"tags": [],
"label": "to",
"description": [],
"signature": [
"(value: any, toTypeName: string, types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.to.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.to.$2",
"type": "string",
"tags": [],
"label": "toTypeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.to.$3",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.from",
"type": "Function",
"tags": [],
"label": "from",
"description": [],
"signature": [
"(value: any, types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.from.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionType.from.$2",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/expression_type.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry",
"type": "Class",
"tags": [],
"label": "FunctionsRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FunctionsRegistry",
"text": "FunctionsRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 64
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 65
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 67
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "functionDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 68
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 73
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 77
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.FunctionsRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 81
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.TablesAdapter",
"type": "Class",
"tags": [],
"label": "TablesAdapter",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TablesAdapter",
"text": "TablesAdapter"
},
" extends EventEmitter"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.TablesAdapter.logDatatable",
"type": "Function",
"tags": [],
"label": "logDatatable",
"description": [],
"signature": [
"(name: string, datatable: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
") => void"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.TablesAdapter.logDatatable.$1",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.TablesAdapter.logDatatable.$2",
"type": "Object",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.TablesAdapter.tables",
"type": "Object",
"tags": [],
"label": "tables",
"description": [],
"signature": [
"{ [key: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/util/tables_adapter.ts",
"lineNumber": 20
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry",
"type": "Class",
"tags": [],
"label": "TypesRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypesRegistry",
"text": "TypesRegistry"
},
" implements ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.Unnamed",
"type": "Function",
"tags": [],
"label": "Constructor",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.Unnamed.$1",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 43
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.register",
"type": "Function",
"tags": [],
"label": "register",
"description": [],
"signature": [
"(typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 45
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.register.$1",
"type": "CompoundType",
"tags": [],
"label": "typeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 46
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 51
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.TypesRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
}
],
"functions": [
{
"parentPluginId": "expressions",
"id": "def-common.buildExpression",
"type": "Function",
"tags": [
"return"
],
"label": "buildExpression",
"description": [
"\nMakes it easy to progressively build, update, and traverse an\nexpression AST. You can either start with an empty AST, or\nprovide an expression string, AST, or array of expression\nfunction builders to use as initial state.\n"
],
"signature": [
"(initialState: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[] | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 97
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.buildExpression.$1",
"type": "CompoundType",
"tags": [],
"label": "initialState",
"description": [
"Optional. An expression string, AST, or array of `ExpressionAstFunctionBuilder[]`."
],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 98
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": [
"`this`"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.buildExpressionFunction",
"type": "Function",
"tags": [
"return"
],
"label": "buildExpressionFunction",
"description": [
"\nManages an AST for a single expression function. The return value\ncan be provided to `buildExpression` to add this function to an\nexpression.\n\nNote that to preserve type safety and ensure no args are missing,\nall required arguments for the specified function must be provided\nup front. If desired, they can be changed or removed later.\n"
],
"signature": [
"(fnName: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"], initialArgs: { [K in keyof FunctionArgs<FnDef>]: FunctionArgs<FnDef>[K] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
"[]; }) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 152
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.buildExpressionFunction.$1",
"type": "Uncategorized",
"tags": [],
"label": "fnName",
"description": [
"String representing the name of this expression function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 155
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.buildExpressionFunction.$2",
"type": "Object",
"tags": [],
"label": "initialArgs",
"description": [
"Object containing the arguments to this function."
],
"signature": [
"{ [K in keyof FunctionArgs<FnDef>]: FunctionArgs<FnDef>[K] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 163
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"`this`"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns",
"type": "Function",
"tags": [],
"label": "buildResultColumns",
"description": [
"\nChecks whether input and output columns are defined properly\nand builds column array of the output table if that's the case.\n\n* Throws an error if the output column exists already.\n* Returns undefined if the input column doesn't exist."
],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", outputColumnId: string, inputColumnId: string, outputColumnName: string | undefined, options: { allowColumnOverwrite: boolean; }) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [
"Input datatable"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 34
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns.$2",
"type": "string",
"tags": [],
"label": "outputColumnId",
"description": [
"Id of the output column"
],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns.$3",
"type": "string",
"tags": [],
"label": "inputColumnId",
"description": [
"Id of the input column"
],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 36
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns.$4",
"type": "string",
"tags": [],
"label": "outputColumnName",
"description": [
"Optional name of the output column"
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 37
},
"deprecated": false,
"isRequired": false
},
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns.$5.options",
"type": "Object",
"tags": [],
"label": "options",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 38
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.buildResultColumns.$5.options.allowColumnOverwrite",
"type": "boolean",
"tags": [],
"label": "allowColumnOverwrite",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 38
},
"deprecated": false
}
]
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createError",
"type": "Function",
"tags": [],
"label": "createError",
"description": [],
"signature": [
"(err: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>"
],
"source": {
"path": "src/plugins/expressions/common/util/create_error.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createError.$1",
"type": "CompoundType",
"tags": [],
"label": "err",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
}
],
"source": {
"path": "src/plugins/expressions/common/util/create_error.ts",
"lineNumber": 21
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createExecutionContainer",
"type": "Function",
"tags": [],
"label": "createExecutionContainer",
"description": [],
"signature": [
"<Output = any>(state?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContainer",
"text": "ExecutionContainer"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 80
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createExecutionContainer.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 81
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createExecutorContainer",
"type": "Function",
"tags": [],
"label": "createExecutorContainer",
"description": [],
"signature": [
"<Context extends Record<string, unknown> = Record<string, unknown>>(state?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorContainer",
"text": "ExecutorContainer"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createExecutorContainer.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 62
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createMockContext",
"type": "Function",
"tags": [],
"label": "createMockContext",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/util/test_utils.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.format",
"type": "Function",
"tags": [],
"label": "format",
"description": [],
"signature": [
"(ast: T, type: T extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" ? \"expression\" : \"argument\") => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.format.$1",
"type": "Uncategorized",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.format.$2",
"type": "Uncategorized",
"tags": [],
"label": "type",
"description": [],
"signature": [
"T extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" ? \"expression\" : \"argument\""
],
"source": {
"path": "src/plugins/expressions/common/ast/format.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.formatExpression",
"type": "Function",
"tags": [],
"label": "formatExpression",
"description": [
"\nGiven expression pipeline AST, returns formatted string.\n"
],
"signature": [
"(ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
") => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/format_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.formatExpression.$1",
"type": "Object",
"tags": [],
"label": "ast",
"description": [
"Expression pipeline AST."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/format_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.getBucketIdentifier",
"type": "Function",
"tags": [],
"label": "getBucketIdentifier",
"description": [
"\nReturns a string identifying the group of a row by a list of columns to group by"
],
"signature": [
"(row: Record<string, any>, groupColumns: string[] | undefined) => string"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.getBucketIdentifier.$1",
"type": "Object",
"tags": [],
"label": "row",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.getBucketIdentifier.$2",
"type": "Array",
"tags": [],
"label": "groupColumns",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/series_calculation_helpers.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": false
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.getByAlias",
"type": "Function",
"tags": [],
"label": "getByAlias",
"description": [
"\nThis is used for looking up function/argument definitions. It looks through\nthe given object/array for a case-insensitive match, which could be either the\n`name` itself, or something under the `aliases` property."
],
"signature": [
"(node: T[] | Record<string, T>, nodeName: string) => T | undefined"
],
"source": {
"path": "src/plugins/expressions/common/util/get_by_alias.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.getByAlias.$1",
"type": "CompoundType",
"tags": [],
"label": "node",
"description": [],
"signature": [
"T[] | Record<string, T>"
],
"source": {
"path": "src/plugins/expressions/common/util/get_by_alias.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.getByAlias.$2",
"type": "string",
"tags": [],
"label": "nodeName",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/util/get_by_alias.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(node: any) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/get_type.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.getType.$1",
"type": "Any",
"tags": [],
"label": "node",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/get_type.ts",
"lineNumber": 9
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.getUiSettingFn",
"type": "Function",
"tags": [],
"label": "getUiSettingFn",
"description": [],
"signature": [
"({\n getStartDependencies,\n}: UiSettingFnArguments) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionUiSetting",
"text": "ExpressionFunctionUiSetting"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.getUiSettingFn.$1",
"type": "Object",
"tags": [],
"label": "{\n getStartDependencies,\n}",
"description": [],
"signature": [
"UiSettingFnArguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
"lineNumber": 39
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.isDatatable",
"type": "Function",
"tags": [],
"label": "isDatatable",
"description": [
"\nA Utility function that Typescript can use to determine if an object is a Datatable."
],
"signature": [
"(datatable: unknown) => datatable is ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.isDatatable.$1",
"type": "Unknown",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 29
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.isExpressionAstBuilder",
"type": "Function",
"tags": [
"return"
],
"label": "isExpressionAstBuilder",
"description": [
"\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n"
],
"signature": [
"(val: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.isExpressionAstBuilder.$1",
"type": "Any",
"tags": [],
"label": "val",
"description": [
"Value you want to check."
],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [
"boolean"
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.isExpressionValueError",
"type": "Function",
"tags": [],
"label": "isExpressionValueError",
"description": [],
"signature": [
"(value: any) => value is ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.isExpressionValueError.$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 25
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.parse",
"type": "Function",
"tags": [],
"label": "parse",
"description": [],
"signature": [
"(expression: E, startRule: S) => S extends \"expression\" ? ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" : ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.parse.$1",
"type": "Uncategorized",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"E"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.parse.$2",
"type": "Uncategorized",
"tags": [],
"label": "startRule",
"description": [],
"signature": [
"S"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse.ts",
"lineNumber": 16
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.parseExpression",
"type": "Function",
"tags": [],
"label": "parseExpression",
"description": [
"\nGiven expression pipeline string, returns parsed AST.\n"
],
"signature": [
"(expression: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/parse_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.parseExpression.$1",
"type": "string",
"tags": [],
"label": "expression",
"description": [
"Expression pipeline string."
],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/ast/parse_expression.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.serializeProvider",
"type": "Function",
"tags": [],
"label": "serializeProvider",
"description": [],
"signature": [
"(types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">) => { serialize: (value: any) => any; deserialize: (value: any) => any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/serialize_provider.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.serializeProvider.$1",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/serialize_provider.ts",
"lineNumber": 15
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.unboxExpressionValue",
"type": "Function",
"tags": [],
"label": "unboxExpressionValue",
"description": [],
"signature": [
"({\n type,\n ...value\n}: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<string, T>) => T"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/unbox_expression_value.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.unboxExpressionValue.$1",
"type": "CompoundType",
"tags": [],
"label": "{\n type,\n ...value\n}",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<string, T>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/unbox_expression_value.ts",
"lineNumber": 11
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle",
"type": "Interface",
"tags": [],
"label": "ContainerStyle",
"description": [
"\nRepresents an object containing style information for a Container."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 105
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.border",
"type": "CompoundType",
"tags": [],
"label": "border",
"description": [],
"signature": [
"string | null"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 106
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.borderRadius",
"type": "CompoundType",
"tags": [],
"label": "borderRadius",
"description": [],
"signature": [
"string | null"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 107
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.padding",
"type": "CompoundType",
"tags": [],
"label": "padding",
"description": [],
"signature": [
"string | null"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 108
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.backgroundColor",
"type": "CompoundType",
"tags": [],
"label": "backgroundColor",
"description": [],
"signature": [
"string | null"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 109
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.backgroundImage",
"type": "CompoundType",
"tags": [],
"label": "backgroundImage",
"description": [],
"signature": [
"string | null"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 110
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.backgroundSize",
"type": "Enum",
"tags": [],
"label": "backgroundSize",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.BackgroundSize",
"text": "BackgroundSize"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 111
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.backgroundRepeat",
"type": "Enum",
"tags": [],
"label": "backgroundRepeat",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.BackgroundRepeat",
"text": "BackgroundRepeat"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 112
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.opacity",
"type": "CompoundType",
"tags": [],
"label": "opacity",
"description": [],
"signature": [
"number | null"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 113
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ContainerStyle.overflow",
"type": "Enum",
"tags": [],
"label": "overflow",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Overflow",
"text": "Overflow"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 114
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CreateTableArguments",
"type": "Interface",
"tags": [],
"label": "CreateTableArguments",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.CreateTableArguments.ids",
"type": "Array",
"tags": [],
"label": "ids",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CreateTableArguments.names",
"type": "CompoundType",
"tags": [],
"label": "names",
"description": [],
"signature": [
"string[] | null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CreateTableArguments.rowCount",
"type": "number",
"tags": [],
"label": "rowCount",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 16
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle",
"type": "Interface",
"tags": [],
"label": "CSSStyle",
"description": [
"\nRepresents the various style properties that can be applied to an element."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 90
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.color",
"type": "string",
"tags": [],
"label": "color",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 91
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.fill",
"type": "string",
"tags": [],
"label": "fill",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 92
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.fontFamily",
"type": "CompoundType",
"tags": [],
"label": "fontFamily",
"description": [],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 93
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.fontSize",
"type": "string",
"tags": [],
"label": "fontSize",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 94
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.fontStyle",
"type": "CompoundType",
"tags": [],
"label": "fontStyle",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FontStyle",
"text": "FontStyle"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 95
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.fontWeight",
"type": "CompoundType",
"tags": [],
"label": "fontWeight",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FontWeight",
"text": "FontWeight"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 96
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.lineHeight",
"type": "CompoundType",
"tags": [],
"label": "lineHeight",
"description": [],
"signature": [
"string | number | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 97
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.textAlign",
"type": "CompoundType",
"tags": [],
"label": "textAlign",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TextAlignment",
"text": "TextAlignment"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 98
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CSSStyle.textDecoration",
"type": "CompoundType",
"tags": [],
"label": "textDecoration",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TextDecoration",
"text": "TextDecoration"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 99
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CumulativeSumArgs",
"type": "Interface",
"tags": [],
"label": "CumulativeSumArgs",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.CumulativeSumArgs.by",
"type": "Array",
"tags": [],
"label": "by",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CumulativeSumArgs.inputColumnId",
"type": "string",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CumulativeSumArgs.outputColumnId",
"type": "string",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.CumulativeSumArgs.outputColumnName",
"type": "string",
"tags": [],
"label": "outputColumnName",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 18
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Datatable",
"type": "Interface",
"tags": [],
"label": "Datatable",
"description": [
"\nA `Datatable` in Canvas is a unique structure that represents tabulated data."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 98
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Datatable.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 99
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Datatable.columns",
"type": "Array",
"tags": [],
"label": "columns",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 100
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Datatable.rows",
"type": "Array",
"tags": [],
"label": "rows",
"description": [],
"signature": [
"Record<string, any>[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 101
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumn",
"type": "Interface",
"tags": [],
"label": "DatatableColumn",
"description": [
"\nThis type represents the shape of a column in a `Datatable`."
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 89
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumn.id",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 90
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumn.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 91
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumn.meta",
"type": "Object",
"tags": [],
"label": "meta",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumnMeta",
"text": "DatatableColumnMeta"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 92
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta",
"type": "Interface",
"tags": [],
"label": "DatatableColumnMeta",
"description": [
"\nDatatable column meta information"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 62
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"ip\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 63
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta.field",
"type": "string",
"tags": [],
"label": "field",
"description": [
"\nfield this column is based on"
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta.index",
"type": "string",
"tags": [],
"label": "index",
"description": [
"\nindex/table this column is based on"
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 71
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [
"\nserialized field format"
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedFieldFormat",
"text": "SerializedFieldFormat"
},
"<Record<string, any>> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta.source",
"type": "string",
"tags": [],
"label": "source",
"description": [
"\nsource function that produced this column"
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 79
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnMeta.sourceParams",
"type": "Object",
"tags": [],
"label": "sourceParams",
"description": [
"\nany extra parameters for the source that produced this column"
],
"signature": [
"SerializableState",
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 83
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DefaultInspectorAdapters",
"type": "Interface",
"tags": [],
"label": "DefaultInspectorAdapters",
"description": [
"\nDefault inspector adapters created if inspector adapters are not set explicitly."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DefaultInspectorAdapters",
"text": "DefaultInspectorAdapters"
},
" extends ",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 76
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.DefaultInspectorAdapters.requests",
"type": "Object",
"tags": [],
"label": "requests",
"description": [],
"signature": [
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.RequestAdapter",
"text": "RequestAdapter"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 77
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DefaultInspectorAdapters.tables",
"type": "Object",
"tags": [],
"label": "tables",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TablesAdapter",
"text": "TablesAdapter"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 78
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DerivativeArgs",
"type": "Interface",
"tags": [],
"label": "DerivativeArgs",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.DerivativeArgs.by",
"type": "Array",
"tags": [],
"label": "by",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DerivativeArgs.inputColumnId",
"type": "string",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DerivativeArgs.outputColumnId",
"type": "string",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DerivativeArgs.outputColumnName",
"type": "string",
"tags": [],
"label": "outputColumnName",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 18
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext",
"type": "Interface",
"tags": [],
"label": "ExecutionContext",
"description": [
"\n`ExecutionContext` is an object available to all functions during a single execution;\nit provides various methods to perform side-effects."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<InspectorAdapters, ExecutionContextSearch>"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.getSearchContext",
"type": "Function",
"tags": [],
"label": "getSearchContext",
"description": [
"\nGet search context of the expression."
],
"signature": [
"() => ExecutionContextSearch"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 28
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.variables",
"type": "Object",
"tags": [],
"label": "variables",
"description": [
"\nContext variables that can be consumed using `var` and `var_set` functions."
],
"signature": [
"{ [x: string]: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [
"\nA map of available expression types."
],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 38
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.abortSignal",
"type": "Object",
"tags": [],
"label": "abortSignal",
"description": [
"\nAdds ability to abort current execution."
],
"signature": [
"AbortSignal"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.inspectorAdapters",
"type": "Uncategorized",
"tags": [],
"label": "inspectorAdapters",
"description": [
"\nAdapters for `inspector` plugin."
],
"signature": [
"InspectorAdapters"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.getSearchSessionId",
"type": "Function",
"tags": [],
"label": "getSearchSessionId",
"description": [
"\nSearch context in which expression should operate."
],
"signature": [
"() => string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 53
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.getKibanaRequest",
"type": "Function",
"tags": [],
"label": "getKibanaRequest",
"description": [
"\nGetter to retrieve the `KibanaRequest` object inside an expression function.\nUseful for functions which are running on the server and need to perform\noperations that are scoped to a specific user."
],
"signature": [
"(() => ",
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 60
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.isSyncColorsEnabled",
"type": "Function",
"tags": [],
"label": "isSyncColorsEnabled",
"description": [
"\nReturns the state (true|false) of the sync colors across panels switch."
],
"signature": [
"(() => boolean) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 65
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContext.getExecutionContext",
"type": "Function",
"tags": [],
"label": "getExecutionContext",
"description": [
"\nContains the meta-data about the source of the expression."
],
"signature": [
"() => ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.IExecutionContextContainer",
"text": "IExecutionContextContainer"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/types.ts",
"lineNumber": 70
},
"deprecated": false,
"returnComment": [],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionParams",
"type": "Interface",
"tags": [],
"label": "ExecutionParams",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionParams.executor",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionParams.ast",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 88
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionParams.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 89
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionParams.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
}
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 90
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionPureTransitions",
"type": "Interface",
"tags": [],
"label": "ExecutionPureTransitions",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 50
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionPureTransitions.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>) => () => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 51
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 51
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionPureTransitions.setResult",
"type": "Function",
"tags": [],
"label": "setResult",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>) => (result: Output) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 52
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 52
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionPureTransitions.setError",
"type": "Function",
"tags": [],
"label": "setError",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>) => (error: Error) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 53
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 53
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionResult",
"type": "Interface",
"tags": [],
"label": "ExecutionResult",
"description": [
"\nThe result returned after an expression function execution."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<Output>"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionResult.partial",
"type": "boolean",
"tags": [],
"label": "partial",
"description": [
"\nPartial result flag."
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 55
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionResult.result",
"type": "Uncategorized",
"tags": [],
"label": "result",
"description": [
"\nThe expression function result."
],
"signature": [
"Output"
],
"source": {
"path": "src/plugins/expressions/common/execution/execution.ts",
"lineNumber": 60
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionState",
"type": "Interface",
"tags": [],
"label": "ExecutionState",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output> extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionState.ast",
"type": "Object",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"{ type: \"expression\"; chain: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionState.state",
"type": "CompoundType",
"tags": [],
"label": "state",
"description": [
"\nTracks state of execution.\n\n- `not-started` - before .start() method was called.\n- `pending` - immediately after .start() method is called.\n- `result` - when expression execution completed.\n- `error` - when execution failed with error."
],
"signature": [
"\"result\" | \"error\" | \"not-started\" | \"pending\""
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionState.result",
"type": "Uncategorized",
"tags": [],
"label": "result",
"description": [
"\nResult of the expression execution."
],
"signature": [
"Output | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionState.error",
"type": "Object",
"tags": [],
"label": "error",
"description": [
"\nError happened during the execution."
],
"signature": [
"Error | undefined"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 38
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureSelectors",
"type": "Interface",
"tags": [],
"label": "ExecutorPureSelectors",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureSelectors.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 44
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 44
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureSelectors.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | null"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 45
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 45
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureSelectors.getContext",
"type": "Function",
"tags": [],
"label": "getContext",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => () => Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 46
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 46
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureTransitions",
"type": "Interface",
"tags": [],
"label": "ExecutorPureTransitions",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 28
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureTransitions.addFunction",
"type": "Function",
"tags": [],
"label": "addFunction",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (fn: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 29
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 29
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureTransitions.addType",
"type": "Function",
"tags": [],
"label": "addType",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (type: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 30
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 30
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorPureTransitions.extendContext",
"type": "Function",
"tags": [],
"label": "extendContext",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (extraContext: Record<string, unknown>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 31
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.state",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 31
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorState",
"type": "Interface",
"tags": [],
"label": "ExecutorState",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorState.functions",
"type": "Object",
"tags": [],
"label": "functions",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorState.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"{ [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorState.context",
"type": "Uncategorized",
"tags": [],
"label": "context",
"description": [],
"signature": [
"Context"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpressionBuilder",
"type": "Interface",
"tags": [],
"label": "ExpressionAstExpressionBuilder",
"description": [],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 44
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpressionBuilder.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nUsed to identify expression builder objects."
],
"signature": [
"\"expression_builder\""
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpressionBuilder.functions",
"type": "Array",
"tags": [],
"label": "functions",
"description": [
"\nArray of each of the `buildExpressionFunction()` instances\nin this expression. Use this to remove or reorder functions\nin the expression."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 54
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpressionBuilder.findFunction",
"type": "Function",
"tags": [
"return"
],
"label": "findFunction",
"description": [
"\nRecursively searches expression for all ocurrences of the\nfunction, including in subexpressions.\n\nUseful when performing migrations on a specific function,\nas you can iterate over the array of references and update\nall functions at once.\n"
],
"signature": [
"<FnDef extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" = ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
">(fnName: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]) => [] | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 66
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunctionBuilder[]`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.fnName",
"type": "Uncategorized",
"tags": [],
"label": "fnName",
"description": [
"Name of the function to search for."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 67
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpressionBuilder.toAst",
"type": "Function",
"tags": [
"return"
],
"label": "toAst",
"description": [
"\nConverts expression to an AST.\n"
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 74
},
"deprecated": false,
"returnComment": [
"`ExpressionAstExpression`"
],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpressionBuilder.toString",
"type": "Function",
"tags": [
"return"
],
"label": "toString",
"description": [
"\nConverts expression to an expression string.\n"
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_expression.ts",
"lineNumber": 80
},
"deprecated": false,
"returnComment": [
"`string`"
],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder",
"type": "Interface",
"tags": [],
"label": "ExpressionAstFunctionBuilder",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionBuilder",
"text": "ExpressionAstFunctionBuilder"
},
"<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.type",
"type": "string",
"tags": [],
"label": "type",
"description": [
"\nUsed to identify expression function builder objects."
],
"signature": [
"\"expression_function_builder\""
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 63
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"\nName of this expression function."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.InferFunctionDefinition",
"text": "InferFunctionDefinition"
},
"<FnDef>[\"name\"]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.arguments",
"type": "Object",
"tags": [],
"label": "arguments",
"description": [
"\nObject of all args currently added to the function. This is\nstructured similarly to `ExpressionAstFunction['arguments']`,\nhowever any subexpressions are returned as expression builder\ninstances instead of expression ASTs."
],
"signature": [
"FunctionBuilderArguments<FnDef>"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 74
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.addArgument",
"type": "Function",
"tags": [
"return"
],
"label": "addArgument",
"description": [
"\nAdds an additional argument to the function. For multi-args,\nthis should be called once for each new arg. Note that TS\nwill not enforce whether multi-args are available, so only\nuse this to update an existing arg if you are certain it\nis a multi-arg.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A, value: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A]) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 86
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to add."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [
"The value of the argument to add."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 88
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.getArgument",
"type": "Function",
"tags": [
"return"
],
"label": "getArgument",
"description": [
"\nRetrieves an existing argument by name.\nUseful when you want to retrieve the current array of args and add\nsomething to it before calling `replaceArgument`. Any subexpression\narguments will be returned as expression builder instances.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A) => (",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 99
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunctionBuilderArgument[] | undefined`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to retrieve."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 100
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.replaceArgument",
"type": "Function",
"tags": [
"return"
],
"label": "replaceArgument",
"description": [
"\nOverwrites an existing argument with a new value.\nIn order to support multi-args, the value given must always be\nan array.\n"
],
"signature": [
"<A extends FunctionArgName<FnDef>>(name: A, value: (",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[]) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 111
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to replace."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 112
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.value",
"type": "Array",
"tags": [],
"label": "value",
"description": [
"The value of the argument. Must always be an array."
],
"signature": [
"(",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpressionBuilder",
"text": "ExpressionAstExpressionBuilder"
},
" | FunctionArgs<FnDef>[A])[]"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 113
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.removeArgument",
"type": "Function",
"tags": [
"return"
],
"label": "removeArgument",
"description": [
"\nRemoves an (optional) argument from the function.\n\nTypeScript will enforce that you only remove optional\narguments. For manipulating required args, use `replaceArgument`.\n"
],
"signature": [
"<A extends OptionalKeys<FunctionArgs<FnDef>>>(name: A) => this"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 124
},
"deprecated": false,
"returnComment": [
"`this`"
],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"The name of the argument to remove."
],
"signature": [
"A"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 124
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.toAst",
"type": "Function",
"tags": [
"return"
],
"label": "toAst",
"description": [
"\nConverts function to an AST.\n"
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 130
},
"deprecated": false,
"returnComment": [
"`ExpressionAstFunction`"
],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionBuilder.toString",
"type": "Function",
"tags": [
"return"
],
"label": "toString",
"description": [
"\nConverts function to an expression string.\n"
],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 136
},
"deprecated": false,
"returnComment": [
"`string`"
],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecOptions",
"type": "Interface",
"tags": [],
"label": "ExpressionExecOptions",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecOptions.debug",
"type": "CompoundType",
"tags": [],
"label": "debug",
"description": [
"\nWhether to execute expression in *debug mode*. In *debug mode* inputs and\noutputs as well as all resolved arguments and time it took to execute each\nfunction are saved and are available for introspection."
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/executor/executor.ts",
"lineNumber": 39
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams",
"type": "Interface",
"tags": [],
"label": "ExpressionExecutionParams",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 62
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.searchContext",
"type": "Object",
"tags": [],
"label": "searchContext",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 63
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.variables",
"type": "Object",
"tags": [],
"label": "variables",
"description": [],
"signature": [
"Record<string, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 65
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.debug",
"type": "CompoundType",
"tags": [],
"label": "debug",
"description": [
"\nWhether to execute expression in *debug mode*. In *debug mode* inputs and\noutputs as well as all resolved arguments and time it took to execute each\nfunction are saved and are available for introspection."
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 72
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.kibanaRequest",
"type": "Object",
"tags": [],
"label": "kibanaRequest",
"description": [
"\nMakes a `KibanaRequest` object available to expression functions. Useful for\nfunctions which are running on the server and need to perform operations that\nare scoped to a specific user."
],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 79
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.searchSessionId",
"type": "string",
"tags": [],
"label": "searchSessionId",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 81
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.syncColors",
"type": "CompoundType",
"tags": [],
"label": "syncColors",
"description": [],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 83
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.inspectorAdapters",
"type": "Object",
"tags": [],
"label": "inspectorAdapters",
"description": [],
"signature": [
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 85
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionExecutionParams.executionContext",
"type": "Object",
"tags": [],
"label": "executionContext",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCorePluginApi",
"section": "def-public.IExecutionContextContainer",
"text": "IExecutionContextContainer"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 87
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionFunctionDefinition",
"description": [
"\n`ExpressionFunctionDefinition` is the interface plugins have to implement to\nregister a function in `expressions` plugin."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<Name, Input, Arguments, Output, Context> extends Partial<",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.PersistableState",
"text": "PersistableState"
},
"<Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>>>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [
"\nThe name of the function, as will be used in expression."
],
"signature": [
"Name"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.disabled",
"type": "CompoundType",
"tags": [],
"label": "disabled",
"description": [
"\nif set to true function will be disabled (but its migrate function will still be available)"
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 45
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [
"\nName of type of value this function outputs."
],
"signature": [
"\"date\" | \"filter\" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.KnownTypeToString",
"text": "KnownTypeToString"
},
"<Output extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<Output> : ",
"UnwrapPromiseOrReturn",
"<Output>> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 50
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [
"\nList of allowed type names for input value of this function. If this\nproperty is set the input of function will be cast to the first possible\ntype in this list. If this property is missing the input will be provided\nto the function as-is."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TypeToString",
"text": "TypeToString"
},
"<Input>[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [
"\nSpecification of arguments that function supports. This list will also be\nused for autocomplete functionality when your function is being edited."
],
"signature": [
"{ [key in keyof Arguments]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ArgumentType",
"text": "ArgumentType"
},
"<Arguments[key]>; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.aliases",
"type": "Array",
"tags": [
"todo"
],
"label": "aliases",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 69
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nHelp text displayed in the Expression editor. This text should be\ninternationalized."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [
"\nThe actual implementation of the function.\n"
],
"signature": [
"(input: Input, args: Arguments, context: Context) => Output"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.fn.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [
"Output of the previous function, or initial input."
],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.fn.$2",
"type": "Uncategorized",
"tags": [],
"label": "args",
"description": [
"Parameters set for this function in expression."
],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.fn.$3",
"type": "Uncategorized",
"tags": [],
"label": "context",
"description": [
"Object with functions to perform side effects. This object\nis created for the duration of the execution of expression and is the\nsame for all functions in expression chain."
],
"signature": [
"Context"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 86
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinition.context",
"type": "Object",
"tags": [
"deprecated"
],
"label": "context",
"description": [],
"signature": [
"{ types: any[] | undefined; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 91
},
"deprecated": true,
"references": [
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/filters.ts",
"lineNumber": 60
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts",
"lineNumber": 36
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts",
"lineNumber": 41
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts",
"lineNumber": 35
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts",
"lineNumber": 24
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts",
"lineNumber": 47
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts",
"lineNumber": 32
}
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions",
"type": "Interface",
"tags": [],
"label": "ExpressionFunctionDefinitions",
"description": [
"\nA mapping of `ExpressionFunctionDefinition`s for functions which the\nExpressions services provides out-of-the-box. Any new functions registered\nby the Expressions plugin should have their types added here.\n"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 116
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.clog",
"type": "Object",
"tags": [],
"label": "clog",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"clog\", unknown, {}, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 117
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.font",
"type": "Object",
"tags": [],
"label": "font",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"font\", null, Arguments, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 118
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.var_set",
"type": "Object",
"tags": [],
"label": "var_set",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var_set\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 119
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.var",
"type": "Object",
"tags": [],
"label": "var",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 120
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.theme",
"type": "Object",
"tags": [],
"label": "theme",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"theme\", null, Arguments, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 121
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.cumulative_sum",
"type": "Object",
"tags": [],
"label": "cumulative_sum",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"cumulative_sum\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CumulativeSumArgs",
"text": "CumulativeSumArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 122
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.overall_metric",
"type": "Object",
"tags": [],
"label": "overall_metric",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"overall_metric\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.OverallMetricArgs",
"text": "OverallMetricArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 123
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.derivative",
"type": "Object",
"tags": [],
"label": "derivative",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"derivative\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DerivativeArgs",
"text": "DerivativeArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 124
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDefinitions.moving_average",
"type": "Object",
"tags": [],
"label": "moving_average",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"moving_average\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MovingAverageArgs",
"text": "MovingAverageArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 125
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionImage",
"type": "Interface",
"tags": [],
"label": "ExpressionImage",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionImage.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"image\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionImage.mode",
"type": "string",
"tags": [],
"label": "mode",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionImage.dataurl",
"type": "string",
"tags": [],
"label": "dataurl",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 17
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionRenderDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<Config>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition.name",
"type": "string",
"tags": [],
"label": "name",
"description": [
"\nTechnical name of the renderer, used as ID to identify renderer in\nexpression renderer registry. This must match the name of the expression\nfunction that is used to create the `type: render` object."
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition.displayName",
"type": "string",
"tags": [],
"label": "displayName",
"description": [
"\nA user friendly name of the renderer as will be displayed to user in UI."
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [
"\nHelp text as will be displayed to user. A sentence or few about what this\nelement does."
],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [
"\nUsed to validate the data before calling the render function."
],
"signature": [
"(() => Error | undefined) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition.reuseDomNode",
"type": "boolean",
"tags": [],
"label": "reuseDomNode",
"description": [
"\nTell the renderer if the dom node should be reused, it's recreated each\ntime by default."
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionRenderDefinition.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [
"\nThe function called to render the output data of an expression."
],
"signature": [
"(domNode: HTMLElement, config: Config, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
},
") => void | Promise<void>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 42
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.domNode",
"type": "Object",
"tags": [],
"label": "domNode",
"description": [],
"signature": [
"HTMLElement"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.config",
"type": "Uncategorized",
"tags": [],
"label": "config",
"description": [],
"signature": [
"Config"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.handlers",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IInterpreterRenderHandlers",
"text": "IInterpreterRenderHandlers"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 45
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionServiceParams",
"type": "Interface",
"tags": [],
"label": "ExpressionServiceParams",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 173
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionServiceParams.executor",
"type": "Object",
"tags": [],
"label": "executor",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Executor",
"text": "Executor"
},
"<Record<string, unknown>> | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 174
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionServiceParams.renderers",
"type": "Object",
"tags": [],
"label": "renderers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRendererRegistry",
"text": "ExpressionRendererRegistry"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 175
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart",
"type": "Interface",
"tags": [],
"label": "ExpressionsServiceStart",
"description": [
"\nThe public contract that `ExpressionsService` provides to other plugins\nin Kibana Platform in *start* life-cycle."
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 94
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [
"\nGet a registered `ExpressionFunction` by its name, which was registered\nusing the `registerFunction` method. The returned `ExpressionFunction`\ninstance is an internal representation of the function in Expressions\nservice - do not mutate that object."
],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 101
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 101
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart.getRenderer",
"type": "Function",
"tags": [],
"label": "getRenderer",
"description": [
"\nGet a registered `ExpressionRenderer` by its name, which was registered\nusing the `registerRenderer` method. The returned `ExpressionRenderer`\ninstance is an internal representation of the renderer in Expressions\nservice - do not mutate that object."
],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 109
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 109
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [
"\nGet a registered `ExpressionType` by its name, which was registered\nusing the `registerType` method. The returned `ExpressionType`\ninstance is an internal representation of the type in Expressions\nservice - do not mutate that object."
],
"signature": [
"(name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 117
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 117
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart.run",
"type": "Function",
"tags": [],
"label": "run",
"description": [
"\nExecutes expression string or a parsed expression AST and immediately\nreturns the result.\n\nBelow example will execute `sleep 100 | clog` expression with `123` initial\ninput to the first function.\n\n```ts\nexpressions.run('sleep 100 | clog', 123);\n```\n\n- `sleep 100` will delay execution by 100 milliseconds and pass the `123` input as\n its output.\n- `clog` will print to console `123` and pass it as its output.\n- The final result of the execution will be `123`.\n\nOptionally, you can pass an object as the third argument which will be used\nto extend the `ExecutionContext`&mdash;an object passed to each function\nas the third argument, that allows functions to perform side-effects.\n\n```ts\nexpressions.run('...', null, { elasticsearchClient });\n```"
],
"signature": [
"<Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 143
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ast",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 144
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 145
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 146
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart.execute",
"type": "Function",
"tags": [],
"label": "execute",
"description": [
"\nStarts expression execution and immediately returns `ExecutionContract`\ninstance that tracks the progress of the execution and can be used to\ninteract with the execution."
],
"signature": [
"<Input = unknown, Output = unknown>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContract",
"text": "ExecutionContract"
},
"<Input, Output, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 154
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ast",
"type": "CompoundType",
"tags": [],
"label": "ast",
"description": [],
"signature": [
"string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 155
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.input",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"Input"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 157
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.params",
"type": "Object",
"tags": [],
"label": "params",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 158
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceStart.fork",
"type": "Function",
"tags": [],
"label": "fork",
"description": [
"\nCreate a new instance of `ExpressionsService`. The new instance inherits\nall state of the original `ExpressionsService`, including all expression\ntypes, expression functions and context. Also, all new types and functions\nregistered in the original services AFTER the forking event will be\navailable in the forked instance. However, all new types and functions\nregistered in the forked instances will NOT be available to the original\nservice."
],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
}
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 170
},
"deprecated": false,
"returnComment": [],
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition",
"type": "Interface",
"tags": [],
"label": "ExpressionTypeDefinition",
"description": [
"\nA generic type which represents a custom Expression Type Definition that's\nregistered to the Interpreter."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeDefinition",
"text": "ExpressionTypeDefinition"
},
"<Name, Value, SerializedType>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 26
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.name",
"type": "Uncategorized",
"tags": [],
"label": "name",
"description": [],
"signature": [
"Name"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"((type: any) => void | Error) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [],
"signature": [
"((type: Value) => SerializedType) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"((type: SerializedType) => Value) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 34
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"signature": [
"{ [type: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<any, Value>; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"signature": [
"{ [type: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueConverter",
"text": "ExpressionValueConverter"
},
"<Value, any>; } | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeDefinition.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 43
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeStyle",
"type": "Interface",
"tags": [],
"label": "ExpressionTypeStyle",
"description": [
"\nAn object that represents style information, typically CSS."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 120
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeStyle.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"style\""
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 121
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeStyle.spec",
"type": "Object",
"tags": [],
"label": "spec",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CSSStyle",
"text": "CSSStyle"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 122
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionTypeStyle.css",
"type": "string",
"tags": [],
"label": "css",
"description": [],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 123
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Font",
"type": "Interface",
"tags": [],
"label": "Font",
"description": [
"\nAn interface representing a font in Canvas, with a textual label and the CSS\n`font-value`."
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 25
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Font.label",
"type": "CompoundType",
"tags": [],
"label": "label",
"description": [],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Font.value",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [],
"signature": [
"\"'American Typewriter', 'Courier New', Courier, Monaco, mono\" | \"Arial, sans-serif\" | \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Brush Script MT', 'Comic Sans', sans-serif\" | \"Chalkboard, 'Comic Sans', sans-serif\" | \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"Futura, Impact, Helvetica, Arial, sans-serif\" | \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"'Helvetica Neue', Helvetica, Arial, sans-serif\" | \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\" | \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\" | \"Myriad, Helvetica, Arial, sans-serif\" | \"'Open Sans', Helvetica, Arial, sans-serif\" | \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 27
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers",
"type": "Interface",
"tags": [],
"label": "IInterpreterRenderHandlers",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 63
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.done",
"type": "Function",
"tags": [],
"label": "done",
"description": [
"\nDone increments the number of rendering successes"
],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 67
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.onDestroy",
"type": "Function",
"tags": [],
"label": "onDestroy",
"description": [],
"signature": [
"(fn: () => void) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 68
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 68
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.reload",
"type": "Function",
"tags": [],
"label": "reload",
"description": [],
"signature": [
"() => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 69
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.update",
"type": "Function",
"tags": [],
"label": "update",
"description": [],
"signature": [
"(params: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 70
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.params",
"type": "Any",
"tags": [],
"label": "params",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 70
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.event",
"type": "Function",
"tags": [],
"label": "event",
"description": [],
"signature": [
"(event: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 71
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.event",
"type": "Any",
"tags": [],
"label": "event",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 71
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.hasCompatibleActions",
"type": "Function",
"tags": [],
"label": "hasCompatibleActions",
"description": [],
"signature": [
"((event: any) => Promise<boolean>) | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 72
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.getRenderMode",
"type": "Function",
"tags": [],
"label": "getRenderMode",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.RenderMode",
"text": "RenderMode"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 73
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.isSyncColorsEnabled",
"type": "Function",
"tags": [],
"label": "isSyncColorsEnabled",
"description": [],
"signature": [
"() => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 74
},
"deprecated": false,
"returnComment": [],
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.IInterpreterRenderHandlers.uiState",
"type": "Unknown",
"tags": [],
"label": "uiState",
"description": [
"\nThis uiState interface is actually `PersistedState` from the visualizations plugin,\nbut expressions cannot know about vis or it creates a mess of circular dependencies.\nDownstream consumers of the uiState handler will need to cast for now."
],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 80
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.IRegistry",
"type": "Interface",
"tags": [],
"label": "IRegistry",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.IRegistry",
"text": "IRegistry"
},
"<T>"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 9
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.IRegistry.get",
"type": "Function",
"tags": [],
"label": "get",
"description": [],
"signature": [
"(id: string) => T | null"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 10
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.IRegistry.get.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 10
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.IRegistry.toJS",
"type": "Function",
"tags": [],
"label": "toJS",
"description": [],
"signature": [
"() => Record<string, T>"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 12
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.IRegistry.toArray",
"type": "Function",
"tags": [],
"label": "toArray",
"description": [],
"signature": [
"() => T[]"
],
"source": {
"path": "src/plugins/expressions/common/types/registry.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MapColumnArguments",
"type": "Interface",
"tags": [],
"label": "MapColumnArguments",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.MapColumnArguments.id",
"type": "CompoundType",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string | null | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MapColumnArguments.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MapColumnArguments.expression",
"type": "Function",
"tags": [],
"label": "expression",
"description": [],
"signature": [
"(datatable: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
") => ",
"Observable",
"<string | number | boolean | null>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 18
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.MapColumnArguments.expression.$1",
"type": "Object",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 18
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.MapColumnArguments.copyMetaFrom",
"type": "CompoundType",
"tags": [],
"label": "copyMetaFrom",
"description": [],
"signature": [
"string | null | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MovingAverageArgs",
"type": "Interface",
"tags": [],
"label": "MovingAverageArgs",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.MovingAverageArgs.by",
"type": "Array",
"tags": [],
"label": "by",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MovingAverageArgs.inputColumnId",
"type": "string",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MovingAverageArgs.outputColumnId",
"type": "string",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MovingAverageArgs.outputColumnName",
"type": "string",
"tags": [],
"label": "outputColumnName",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MovingAverageArgs.window",
"type": "number",
"tags": [],
"label": "window",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.OverallMetricArgs",
"type": "Interface",
"tags": [],
"label": "OverallMetricArgs",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.OverallMetricArgs.by",
"type": "Array",
"tags": [],
"label": "by",
"description": [],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.OverallMetricArgs.inputColumnId",
"type": "string",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.OverallMetricArgs.outputColumnId",
"type": "string",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.OverallMetricArgs.outputColumnName",
"type": "string",
"tags": [],
"label": "outputColumnName",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.OverallMetricArgs.metric",
"type": "CompoundType",
"tags": [],
"label": "metric",
"description": [],
"signature": [
"\"max\" | \"min\" | \"sum\" | \"average\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 19
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesColumn",
"type": "Interface",
"tags": [],
"label": "PointSeriesColumn",
"description": [
"\nColumn in a PointSeries"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesColumn.type",
"type": "CompoundType",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"string\" | \"number\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 24
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesColumn.role",
"type": "CompoundType",
"tags": [],
"label": "role",
"description": [],
"signature": [
"\"measure\" | \"dimension\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesColumn.expression",
"type": "string",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 26
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Range",
"type": "Interface",
"tags": [],
"label": "Range",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.Range.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"range\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Range.from",
"type": "number",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Range.to",
"type": "number",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Range.label",
"type": "string",
"tags": [],
"label": "label",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 18
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.SerializedDatatable",
"type": "Interface",
"tags": [],
"label": "SerializedDatatable",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedDatatable",
"text": "SerializedDatatable"
},
" extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 104
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.SerializedDatatable.rows",
"type": "Array",
"tags": [],
"label": "rows",
"description": [],
"signature": [
"string[][]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 105
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.SerializedFieldFormat",
"type": "Interface",
"tags": [],
"label": "SerializedFieldFormat",
"description": [
"\nJSON representation of a field formatter configuration.\nIs used to carry information about how to format data in\na data table as part of the column definition."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedFieldFormat",
"text": "SerializedFieldFormat"
},
"<TParams>"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.SerializedFieldFormat.id",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 56
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.SerializedFieldFormat.params",
"type": "Uncategorized",
"tags": [],
"label": "params",
"description": [],
"signature": [
"TParams | undefined"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 57
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.UiSettingArguments",
"type": "Interface",
"tags": [],
"label": "UiSettingArguments",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
"lineNumber": 27
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.UiSettingArguments.default",
"type": "Unknown",
"tags": [],
"label": "default",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.UiSettingArguments.parameter",
"type": "string",
"tags": [],
"label": "parameter",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
"lineNumber": 29
},
"deprecated": false
}
],
"initialIsOpen": false
}
],
"enums": [
{
"parentPluginId": "expressions",
"id": "def-common.BackgroundRepeat",
"type": "Enum",
"tags": [],
"label": "BackgroundRepeat",
"description": [
"\nEnum of supported CSS `background-repeat` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.BackgroundSize",
"type": "Enum",
"tags": [],
"label": "BackgroundSize",
"description": [
"\nEnum of supported CSS `background-size` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 26
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.FontStyle",
"type": "Enum",
"tags": [],
"label": "FontStyle",
"description": [
"\nEnum of supported CSS `font-style` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 35
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.FontWeight",
"type": "Enum",
"tags": [],
"label": "FontWeight",
"description": [
"\nEnum of supported CSS `font-weight` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 43
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Overflow",
"type": "Enum",
"tags": [],
"label": "Overflow",
"description": [
"\nEnum of supported CSS `overflow` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 62
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.TextAlignment",
"type": "Enum",
"tags": [],
"label": "TextAlignment",
"description": [
"\nEnum of supported CSS `text-align` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 72
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.TextDecoration",
"type": "Enum",
"tags": [],
"label": "TextDecoration",
"description": [
"\nEnum of supported CSS `text-decoration` properties."
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 82
},
"deprecated": false,
"initialIsOpen": false
}
],
"misc": [
{
"parentPluginId": "expressions",
"id": "def-common.AnyExpressionFunctionDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionFunctionDefinition",
"description": [
"\nType to capture every possible expression function definition."
],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<string, any, Record<string, any>, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/types.ts",
"lineNumber": 102
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.AnyExpressionRenderDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionRenderDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderDefinition",
"text": "ExpressionRenderDefinition"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 49
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.AnyExpressionTypeDefinition",
"type": "Type",
"tags": [],
"label": "AnyExpressionTypeDefinition",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeDefinition",
"text": "ExpressionTypeDefinition"
},
"<any, any, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 46
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ArgumentType",
"type": "Type",
"tags": [],
"label": "ArgumentType",
"description": [
"\nThis type represents all of the possible combinations of properties of an\nArgument in an Expression Function. The presence or absence of certain fields\ninfluence the shape and presence of others within each `arg` in the specification."
],
"signature": [
"SingleArgumentType<T> | MultipleArgumentType<T> | UnresolvedSingleArgumentType<T> | UnresolvedMultipleArgumentType<T>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/arguments.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableColumnType",
"type": "Type",
"tags": [],
"label": "DatatableColumnType",
"description": [
"\nThis type represents the `type` of any `DatatableColumn` in a `Datatable`.\nits duplicated from KBN_FIELD_TYPES"
],
"signature": [
"\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"ip\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 36
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.DatatableRow",
"type": "Type",
"tags": [],
"label": "DatatableRow",
"description": [
"\nThis type represents a row in a `Datatable`."
],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 57
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ErrorLike",
"type": "Type",
"tags": [],
"label": "ErrorLike",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedError",
"text": "SerializedError"
},
" & { original?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedError",
"text": "SerializedError"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/util/create_error.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutionContainer",
"type": "Type",
"tags": [],
"label": "ExecutionContainer",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<Output>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionPureTransitions",
"text": "ExecutionPureTransitions"
},
"<Output>, {}>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 73
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExecutorContainer",
"type": "Type",
"tags": [],
"label": "ExecutorContainer",
"description": [],
"signature": [
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.StateContainer",
"text": "StateContainer"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Context>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureTransitions",
"text": "ExecutorPureTransitions"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorPureSelectors",
"text": "ExecutorPureSelectors"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 55
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstArgument",
"type": "Type",
"tags": [],
"label": "ExpressionAstArgument",
"description": [],
"signature": [
"string | number | boolean | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 77
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstExpression",
"type": "Type",
"tags": [],
"label": "ExpressionAstExpression",
"description": [],
"signature": [
"{ type: \"expression\"; chain: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunction",
"type": "Type",
"tags": [],
"label": "ExpressionAstFunction",
"description": [],
"signature": [
"{ type: \"function\"; function: string; arguments: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstArgument",
"text": "ExpressionAstArgument"
},
"[]>; debug?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunctionDebug",
"text": "ExpressionAstFunctionDebug"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 21
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstFunctionDebug",
"type": "Type",
"tags": [],
"label": "ExpressionAstFunctionDebug",
"description": [],
"signature": [
"{ success: boolean; fn: string; input: any; args: Record<string, any>; output?: any; error?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | undefined; rawError?: any; duration: number | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 32
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionAstNode",
"type": "Type",
"tags": [],
"label": "ExpressionAstNode",
"description": [],
"signature": [
"string | number | boolean | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstFunction",
"text": "ExpressionAstFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/ast/types.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionClog",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionClog",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"clog\", unknown, {}, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionCumulativeSum",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionCumulativeSum",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"cumulative_sum\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CumulativeSumArgs",
"text": "CumulativeSumArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 21
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionDerivative",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionDerivative",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"derivative\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DerivativeArgs",
"text": "DerivativeArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 21
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionFont",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionFont",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"font\", null, Arguments, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 44
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionMovingAverage",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionMovingAverage",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"moving_average\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MovingAverageArgs",
"text": "MovingAverageArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 22
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionOverallMetric",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionOverallMetric",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"overall_metric\", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.OverallMetricArgs",
"text": "OverallMetricArgs"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 22
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionTheme",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionTheme",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"theme\", null, Arguments, any, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 20
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionUiSetting",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionUiSetting",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"uiSetting\", unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.UiSettingArguments",
"text": "UiSettingArguments"
},
", Promise<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>>, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts",
"lineNumber": 32
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionVar",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionVar",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionFunctionVarSet",
"type": "Type",
"tags": [],
"label": "ExpressionFunctionVarSet",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<\"var_set\", unknown, Arguments, unknown, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">>"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionsServiceSetup",
"type": "Type",
"tags": [],
"label": "ExpressionsServiceSetup",
"description": [
"\nThe public contract that `ExpressionsService` provides to other plugins\nin Kibana Platform in *setup* life-cycle."
],
"signature": [
"{ readonly getType: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
" | undefined; readonly registerType: (typeDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
")) => void; readonly getFunction: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
" | undefined; readonly getFunctions: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; readonly getRenderer: (name: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown> | null; readonly getRenderers: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionRenderer",
"text": "ExpressionRenderer"
},
"<unknown>>; readonly getTypes: () => Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; readonly registerFunction: (functionDefinition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionFunctionDefinition",
"text": "AnyExpressionFunctionDefinition"
},
")) => void; readonly registerRenderer: (definition: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
" | (() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionRenderDefinition",
"text": "AnyExpressionRenderDefinition"
},
")) => void; readonly run: <Input, Output>(ast: string | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
", input: Input, params?: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionExecutionParams",
"text": "ExpressionExecutionParams"
},
" | undefined) => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionResult",
"text": "ExecutionResult"
},
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }> | Output>>; readonly fork: () => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionsService",
"text": "ExpressionsService"
},
"; }"
],
"source": {
"path": "src/plugins/expressions/common/service/expressions_services.ts",
"lineNumber": 47
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValue",
"type": "Type",
"tags": [],
"label": "ExpressionValue",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 15
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueBoxed",
"type": "Type",
"tags": [],
"label": "ExpressionValueBoxed",
"description": [],
"signature": [
"{ type: Type; } & Value"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueConverter",
"type": "Type",
"tags": [],
"label": "ExpressionValueConverter",
"description": [],
"signature": [
"(input: I, availableTypes: Record<string, any>) => O"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueError",
"type": "Type",
"tags": [],
"label": "ExpressionValueError",
"description": [],
"signature": [
"{ type: \"error\"; } & { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueFilter",
"type": "Type",
"tags": [],
"label": "ExpressionValueFilter",
"description": [
"\nRepresents an object that is a Filter."
],
"signature": [
"{ type: \"filter\"; } & { filterType?: string | undefined; value?: string | undefined; column?: string | undefined; and: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"filter\", any>[]; to?: string | undefined; from?: string | undefined; query?: string | null | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueNum",
"type": "Type",
"tags": [],
"label": "ExpressionValueNum",
"description": [],
"signature": [
"{ type: \"num\"; } & { value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueRender",
"type": "Type",
"tags": [],
"label": "ExpressionValueRender",
"description": [
"\nRepresents an object that is intended to be rendered."
],
"signature": [
"{ type: \"render\"; } & { as: string; value: T; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 16
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.ExpressionValueUnboxed",
"type": "Type",
"tags": [],
"label": "ExpressionValueUnboxed",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/types.ts",
"lineNumber": 9
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.FontLabel",
"type": "Type",
"tags": [],
"label": "FontLabel",
"description": [
"\nThis type contains a unions of all supported font labels, or the the name of\nthe font the user would see in a UI."
],
"signature": [
"\"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Open Sans\" | \"Optima\" | \"Palatino\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 13
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.fonts",
"type": "Array",
"tags": [],
"label": "fonts",
"description": [
"\nA collection of supported fonts."
],
"signature": [
"({ label: \"American Typewriter\"; value: \"'American Typewriter', 'Courier New', Courier, Monaco, mono\"; } | { label: \"Arial\"; value: \"Arial, sans-serif\"; } | { label: \"Baskerville\"; value: \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\"; } | { label: \"Book Antiqua\"; value: \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\"; } | { label: \"Brush Script\"; value: \"'Brush Script MT', 'Comic Sans', sans-serif\"; } | { label: \"Chalkboard\"; value: \"Chalkboard, 'Comic Sans', sans-serif\"; } | { label: \"Didot\"; value: \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\"; } | { label: \"Futura\"; value: \"Futura, Impact, Helvetica, Arial, sans-serif\"; } | { label: \"Gill Sans\"; value: \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\"; } | { label: \"Helvetica Neue\"; value: \"'Helvetica Neue', Helvetica, Arial, sans-serif\"; } | { label: \"Hoefler Text\"; value: \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\"; } | { label: \"Lucida Grande\"; value: \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\"; } | { label: \"Myriad\"; value: \"Myriad, Helvetica, Arial, sans-serif\"; } | { label: \"Open Sans\"; value: \"'Open Sans', Helvetica, Arial, sans-serif\"; } | { label: \"Optima\"; value: \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\"; } | { label: \"Palatino\"; value: \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\"; })[]"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 123
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.FontValue",
"type": "Type",
"tags": [],
"label": "FontValue",
"description": [
"\nThis type contains a union of all supported font values, equivalent to the CSS\n`font-value` property."
],
"signature": [
"\"'American Typewriter', 'Courier New', Courier, Monaco, mono\" | \"Arial, sans-serif\" | \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\" | \"'Brush Script MT', 'Comic Sans', sans-serif\" | \"Chalkboard, 'Comic Sans', sans-serif\" | \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\" | \"Futura, Impact, Helvetica, Arial, sans-serif\" | \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"'Helvetica Neue', Helvetica, Arial, sans-serif\" | \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\" | \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\" | \"Myriad, Helvetica, Arial, sans-serif\" | \"'Open Sans', Helvetica, Arial, sans-serif\" | \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\" | \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\""
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 19
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.InferFunctionDefinition",
"type": "Type",
"tags": [],
"label": "InferFunctionDefinition",
"description": [],
"signature": [
"FnDef extends ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunctionDefinition",
"text": "ExpressionFunctionDefinition"
},
"<infer Name, infer Input, infer Arguments, infer Output, infer Context> ? { name: Name; input: Input; arguments: Arguments; output: Output; context: Context; } : never"
],
"source": {
"path": "src/plugins/expressions/common/ast/build_function.ts",
"lineNumber": 24
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.InterpreterErrorType",
"type": "Type",
"tags": [
"deprecated"
],
"label": "InterpreterErrorType",
"description": [],
"signature": [
"{ type: \"error\"; } & { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 33
},
"deprecated": true,
"references": [],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.KnownTypeToString",
"type": "Type",
"tags": [],
"label": "KnownTypeToString",
"description": [
"\nMap the type of the generic to a string-based representation of the type.\n\nIf the provided generic is its own type interface, we use the value of\nthe `type` key as a string literal type for it."
],
"signature": [
"T extends string ? \"string\" : T extends boolean ? \"boolean\" : T extends number ? \"number\" : T extends null ? \"null\" : T extends { type: string; } ? T[\"type\"] : never"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 26
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MathArguments",
"type": "Type",
"tags": [],
"label": "MathArguments",
"description": [],
"signature": [
"{ expression: string; onError?: \"null\" | \"false\" | \"zero\" | \"throw\" | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 15
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MathColumnArguments",
"type": "Type",
"tags": [],
"label": "MathColumnArguments",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathArguments",
"text": "MathArguments"
},
" & { id: string; name?: string | undefined; copyMetaFrom?: string | null | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 14
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.MathInput",
"type": "Type",
"tags": [],
"label": "MathInput",
"description": [],
"signature": [
"number | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 20
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeries",
"type": "Type",
"tags": [],
"label": "PointSeries",
"description": [
"\nA `PointSeries` is a unique structure that represents dots on a chart."
],
"signature": [
"{ type: \"pointseries\"; } & { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 39
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesColumnName",
"type": "Type",
"tags": [],
"label": "PointSeriesColumnName",
"description": [
"\nAllowed column names in a PointSeries"
],
"signature": [
"\"color\" | \"y\" | \"x\" | \"size\" | \"text\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 18
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesColumns",
"type": "Type",
"tags": [],
"label": "PointSeriesColumns",
"description": [
"\nRepresents a collection of valid Columns in a PointSeries"
],
"signature": [
"{} | Record<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumnName",
"text": "PointSeriesColumnName"
},
", ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumn",
"text": "PointSeriesColumn"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 32
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.PointSeriesRow",
"type": "Type",
"tags": [],
"label": "PointSeriesRow",
"description": [],
"signature": [
"{ [x: string]: any; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 34
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Render",
"type": "Type",
"tags": [
"deprecated"
],
"label": "Render",
"description": [],
"signature": [
"{ type: \"render\"; } & { as: string; value: T; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 29
},
"deprecated": true,
"references": [
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/types/state.ts",
"lineNumber": 15
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/types/state.ts",
"lineNumber": 58
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/target/types/types/state.d.ts",
"lineNumber": 2
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/target/types/types/state.d.ts",
"lineNumber": 29
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts",
"lineNumber": 10
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts",
"lineNumber": 34
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts",
"lineNumber": 9
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts",
"lineNumber": 21
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/pie.ts",
"lineNumber": 15
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/pie.ts",
"lineNumber": 78
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/progress.ts",
"lineNumber": 10
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/progress.ts",
"lineNumber": 43
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/plot/index.ts",
"lineNumber": 18
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/public/functions/plot/index.ts",
"lineNumber": 32
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts",
"lineNumber": 9
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts",
"lineNumber": 24
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/render.ts",
"lineNumber": 26
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts",
"lineNumber": 9
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.ts",
"lineNumber": 25
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/browser/markdown.d.ts",
"lineNumber": 1
}
},
{
"plugin": "canvas",
"link": {
"path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/browser/markdown.d.ts",
"lineNumber": 13
}
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.RenderMode",
"type": "Type",
"tags": [],
"label": "RenderMode",
"description": [
"\nMode of the expression render environment.\nThis value can be set from a consumer embedding an expression renderer and is accessible\nfrom within the active render function as part of the handlers.\nThe following modes are supported:\n* display (default): The chart is rendered in a container with the main purpose of viewing the chart (e.g. in a container like dashboard or canvas)\n* preview: The chart is rendered in very restricted space (below 100px width and height) and should only show a rough outline\n* edit: The chart is rendered within an editor and configuration elements within the chart should be displayed\n* noInteractivity: The chart is rendered in a non-interactive environment and should not provide any affordances for interaction like brushing"
],
"signature": [
"\"display\" | \"noInteractivity\" | \"edit\" | \"preview\""
],
"source": {
"path": "src/plugins/expressions/common/expression_renderers/types.ts",
"lineNumber": 61
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.SerializedError",
"type": "Type",
"tags": [],
"label": "SerializedError",
"description": [],
"signature": [
"{ name: string; message: string; stack?: string | undefined; }"
],
"source": {
"path": "src/plugins/expressions/common/util/create_error.ts",
"lineNumber": 11
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.Style",
"type": "Type",
"tags": [],
"label": "Style",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionTypeStyle",
"text": "ExpressionTypeStyle"
}
],
"source": {
"path": "src/plugins/expressions/common/types/style.ts",
"lineNumber": 126
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.typeSpecs",
"type": "Array",
"tags": [],
"label": "typeSpecs",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.AnyExpressionTypeDefinition",
"text": "AnyExpressionTypeDefinition"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/index.ts",
"lineNumber": 26
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.TypeString",
"type": "Type",
"tags": [],
"label": "TypeString",
"description": [
"\nIf the type extends a Promise, we still need to return the string representation:\n\n`someArgument: Promise<boolean | string>` results in `types: ['boolean', 'string']`"
],
"signature": [
"(T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends string ? \"string\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends boolean ? \"boolean\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends number ? \"number\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends null ? \"null\" : (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>) extends { type: string; } ? ({ type: string; } & (T extends ",
"ObservableLike",
"<any> ? ",
"UnwrapObservable",
"<T> : ",
"UnwrapPromiseOrReturn",
"<T>))[\"type\"] : never"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 39
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.TypeToString",
"type": "Type",
"tags": [],
"label": "TypeToString",
"description": [
"\nThis can convert a type into a known Expression string representation of\nthat type. For example, `TypeToString<Datatable>` will resolve to `'datatable'`.\nThis allows Expression Functions to continue to specify their type in a\nsimple string format."
],
"signature": [
"\"date\" | \"filter\" | ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.KnownTypeToString",
"text": "KnownTypeToString"
},
"<T>"
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 17
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.UiSetting",
"type": "Type",
"tags": [],
"label": "UiSetting",
"description": [],
"signature": [
"{ type: \"ui_setting\"; } & { key: string; value: unknown; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 31
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.UnmappedTypeStrings",
"type": "Type",
"tags": [],
"label": "UnmappedTypeStrings",
"description": [
"\nTypes used in Expressions that don't map to a primitive cleanly:\n\n`date` is typed as a number or string, and represents a date"
],
"signature": [
"\"date\" | \"filter\""
],
"source": {
"path": "src/plugins/expressions/common/types/common.ts",
"lineNumber": 48
},
"deprecated": false,
"initialIsOpen": false
}
],
"objects": [
{
"parentPluginId": "expressions",
"id": "def-common.americanTypewriter",
"type": "Object",
"tags": [],
"label": "americanTypewriter",
"description": [],
"signature": [
"{ label: \"American Typewriter\"; value: \"'American Typewriter', 'Courier New', Courier, Monaco, mono\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 42
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.arial",
"type": "Object",
"tags": [],
"label": "arial",
"description": [],
"signature": [
"{ label: \"Arial\"; value: \"Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 47
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.baskerville",
"type": "Object",
"tags": [],
"label": "baskerville",
"description": [],
"signature": [
"{ label: \"Baskerville\"; value: \"Baskerville, Georgia, Garamond, 'Times New Roman', Times, serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 49
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.bookAntiqua",
"type": "Object",
"tags": [],
"label": "bookAntiqua",
"description": [],
"signature": [
"{ label: \"Book Antiqua\"; value: \"'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 54
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.boolean",
"type": "Object",
"tags": [],
"label": "boolean",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"boolean\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.boolean.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => false"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 18
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.boolean.from.number",
"type": "Function",
"tags": [],
"label": "number",
"description": [],
"signature": [
"(n: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.from.number.$1",
"type": "Any",
"tags": [],
"label": "n",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.boolean.from.string",
"type": "Function",
"tags": [],
"label": "string",
"description": [],
"signature": [
"(s: any) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 20
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.from.string.$1",
"type": "Any",
"tags": [],
"label": "s",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 20
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.boolean.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(value: boolean) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { text: string; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.to.render.$1",
"type": "boolean",
"tags": [],
"label": "value",
"description": [],
"signature": [
"boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 23
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.boolean.to.datatable",
"type": "Function",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
"(value: boolean) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 31
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.boolean.to.datatable.$1",
"type": "boolean",
"tags": [],
"label": "value",
"description": [],
"signature": [
"boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/boolean.ts",
"lineNumber": 31
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.brushScript",
"type": "Object",
"tags": [],
"label": "brushScript",
"description": [],
"signature": [
"{ label: \"Brush Script\"; value: \"'Brush Script MT', 'Comic Sans', sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 59
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.chalkboard",
"type": "Object",
"tags": [],
"label": "chalkboard",
"description": [],
"signature": [
"{ label: \"Chalkboard\"; value: \"Chalkboard, 'Comic Sans', sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 64
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.clog",
"type": "Object",
"tags": [],
"label": "clog",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.clog.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"clog\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.clog.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 15
},
"deprecated": false,
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.clog.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.clog.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: unknown) => unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.clog.fn.$1",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/clog.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable",
"type": "Object",
"tags": [],
"label": "createTable",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createTable.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"createTable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"null\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 27
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 37
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.ids",
"type": "Object",
"tags": [],
"label": "ids",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 38
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.ids.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 39
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.ids.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.ids.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.ids.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 45
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.names",
"type": "Object",
"tags": [],
"label": "names",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 47
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.names.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.names.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 49
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.names.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 53
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.names.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 54
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.rowCount",
"type": "Object",
"tags": [],
"label": "rowCount",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 56
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.rowCount.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"number\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.rowCount.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.rowCount.default",
"type": "number",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 62
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.args.rowCount.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 63
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: null, args: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CreateTableArguments",
"text": "CreateTableArguments"
},
") => { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[]; rows: {}[]; type: \"datatable\"; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 66
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.createTable.fn.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 66
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.createTable.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CreateTableArguments",
"text": "CreateTableArguments"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts",
"lineNumber": 66
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum",
"type": "Object",
"tags": [],
"label": "cumulativeSum",
"description": [
"\nCalculates the cumulative sum of a specified column in the data table.\n\nAlso supports multiple series in a single data table - use the `by` argument\nto specify the columns to split the calculation by.\nFor each unique combination of all `by` columns a separate cumulative sum will be calculated.\nThe order of rows won't be changed - this function is not modifying any existing columns, it's only\nadding the specified `outputColumnId` column to every row of the table without adding or removing rows.\n\nBehavior:\n* Will write the cumulative sum of `inputColumnId` into `outputColumnId`\n* If provided will use `outputColumnName` as name for the newly created column. Otherwise falls back to `outputColumnId`\n* Cumulative sums always start with 0, a cell will contain its own value plus the values of\n all cells of the same series further up in the table.\n\nEdge cases:\n* Will return the input table if `inputColumnId` does not exist\n* Will throw an error if `outputColumnId` exists already in provided data table\n* If the row value contains `null` or `undefined`, it will be ignored and overwritten with the cumulative sum of\n all cells of the same series further up in the table.\n* For all values besides `null` and `undefined`, the value will be cast to a number before it's added to the\n cumulative sum of the current series - if this results in `NaN` (like in case of objects), all cells of the\n current series will be set to `NaN`.\n* To determine separate series defined by the `by` columns, the values of these columns will be cast to strings\n before comparison. If the values are objects, the return value of their `toString` method will be used for comparison.\n Missing values (`null` and `undefined`) will be treated as empty strings."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"cumulative_sum\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 56
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"datatable\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 59
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 61
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.by",
"type": "Object",
"tags": [],
"label": "by",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 66
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.by.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.by.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 70
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.by.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 71
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.by.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 72
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.inputColumnId",
"type": "Object",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 74
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.inputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.inputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 78
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.inputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 79
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnId",
"type": "Object",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 81
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 82
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 85
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 86
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnName",
"type": "Object",
"tags": [],
"label": "outputColumnName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 88
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnName.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 89
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnName.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 92
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.args.outputColumnName.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 93
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", { by, inputColumnId, outputColumnId, outputColumnName }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CumulativeSumArgs",
"text": "CumulativeSumArgs"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 97
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.fn.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 97
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.cumulativeSum.fn.$2",
"type": "Object",
"tags": [],
"label": "{ by, inputColumnId, outputColumnId, outputColumnName }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CumulativeSumArgs",
"text": "CumulativeSumArgs"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts",
"lineNumber": 97
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable",
"type": "Object",
"tags": [],
"label": "datatable",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 115
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 116
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.validate",
"type": "Function",
"tags": [],
"label": "validate",
"description": [],
"signature": [
"(table: any) => void"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 117
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.validate.$1",
"type": "Any",
"tags": [],
"label": "table",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 117
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.serialize",
"type": "Function",
"tags": [],
"label": "serialize",
"description": [],
"signature": [
"(table: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
") => { rows: any[][]; type: \"datatable\"; columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 127
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.serialize.$1",
"type": "Object",
"tags": [],
"label": "table",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 127
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.deserialize",
"type": "Function",
"tags": [],
"label": "deserialize",
"description": [],
"signature": [
"(table: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedDatatable",
"text": "SerializedDatatable"
},
") => { rows: _.Dictionary<string>[]; type: \"datatable\"; columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DatatableColumn",
"text": "DatatableColumn"
},
"[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 136
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.deserialize.$1",
"type": "Object",
"tags": [],
"label": "table",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.SerializedDatatable",
"text": "SerializedDatatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 136
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 145
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => { type: \"datatable\"; meta: {}; rows: never[]; columns: never[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 146
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.from.pointseries",
"type": "Function",
"tags": [],
"label": "pointseries",
"description": [],
"signature": [
"(value: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"pointseries\", { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }>) => { type: \"datatable\"; meta: {}; rows: Record<string, any>[]; columns: { id: string; name: string; meta: { type: \"string\" | \"number\"; }; }[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 152
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.from.pointseries.$1",
"type": "CompoundType",
"tags": [],
"label": "value",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"pointseries\", { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 152
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 161
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(table: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: RenderedDatatable; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 162
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.to.render.$1",
"type": "Object",
"tags": [],
"label": "table",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 162
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.datatable.to.pointseries",
"type": "Function",
"tags": [],
"label": "pointseries",
"description": [],
"signature": [
"(table: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"pointseries\", { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 172
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.datatable.to.pointseries.$1",
"type": "Object",
"tags": [],
"label": "table",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/datatable.ts",
"lineNumber": 172
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.defaultState",
"type": "Object",
"tags": [],
"label": "defaultState",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.defaultState.functions",
"type": "Object",
"tags": [],
"label": "functions",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 23
},
"deprecated": false,
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.defaultState.types",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 24
},
"deprecated": false,
"children": []
},
{
"parentPluginId": "expressions",
"id": "def-common.defaultState.context",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 25
},
"deprecated": false,
"children": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative",
"type": "Object",
"tags": [],
"label": "derivative",
"description": [
"\nCalculates the derivative of a specified column in the data table.\n\nAlso supports multiple series in a single data table - use the `by` argument\nto specify the columns to split the calculation by.\nFor each unique combination of all `by` columns a separate derivative will be calculated.\nThe order of rows won't be changed - this function is not modifying any existing columns, it's only\nadding the specified `outputColumnId` column to every row of the table without adding or removing rows.\n\nBehavior:\n* Will write the derivative of `inputColumnId` into `outputColumnId`\n* If provided will use `outputColumnName` as name for the newly created column. Otherwise falls back to `outputColumnId`\n* Derivative always start with an undefined value for the first row of a series, a cell will contain its own value minus the\n value of the previous cell of the same series.\n\nEdge cases:\n* Will return the input table if `inputColumnId` does not exist\n* Will throw an error if `outputColumnId` exists already in provided data table\n* If there is no previous row of the current series with a non `null` or `undefined` value, the output cell of the current row\n will be set to `undefined`.\n* If the row value contains `null` or `undefined`, it will be ignored and the output cell will be set to `undefined`\n* If the value of the previous row of the same series contains `null` or `undefined`, the output cell of the current row will be set to `undefined` as well\n* For all values besides `null` and `undefined`, the value will be cast to a number before it's used in the\n calculation of the current series even if this results in `NaN` (like in case of objects).\n* To determine separate series defined by the `by` columns, the values of these columns will be cast to strings\n before comparison. If the values are objects, the return value of their `toString` method will be used for comparison.\n Missing values (`null` and `undefined`) will be treated as empty strings."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 56
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"derivative\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"datatable\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 60
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 62
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 66
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.by",
"type": "Object",
"tags": [],
"label": "by",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 67
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.by.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 68
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.by.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 71
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.by.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 72
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.by.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 73
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.inputColumnId",
"type": "Object",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 75
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.inputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 76
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.inputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 79
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.inputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 80
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnId",
"type": "Object",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 82
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 83
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 86
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 87
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnName",
"type": "Object",
"tags": [],
"label": "outputColumnName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 89
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnName.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 90
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnName.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 93
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.args.outputColumnName.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 94
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", { by, inputColumnId, outputColumnId, outputColumnName }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DerivativeArgs",
"text": "DerivativeArgs"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 98
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.derivative.fn.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 98
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.derivative.fn.$2",
"type": "Object",
"tags": [],
"label": "{ by, inputColumnId, outputColumnId, outputColumnName }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.DerivativeArgs",
"text": "DerivativeArgs"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts",
"lineNumber": 98
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.didot",
"type": "Object",
"tags": [],
"label": "didot",
"description": [],
"signature": [
"{ label: \"Didot\"; value: \"Didot, Georgia, Garamond, 'Times New Roman', Times, serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 69
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.error",
"type": "Object",
"tags": [],
"label": "error",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.error.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"error\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 36
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.error.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 37
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.error.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>, \"error\" | \"info\">; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 38
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.error.to.render.$1",
"type": "CompoundType",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"error\", { error: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ErrorLike",
"text": "ErrorLike"
},
"; info?: ",
{
"pluginId": "kibanaUtils",
"scope": "common",
"docId": "kibKibanaUtilsPluginApi",
"section": "def-common.SerializableState",
"text": "SerializableState"
},
" | undefined; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/error.ts",
"lineNumber": 38
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions",
"type": "Object",
"tags": [],
"label": "executionPureTransitions",
"description": [],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 56
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions.start",
"type": "Function",
"tags": [],
"label": "start",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<any>) => () => { state: \"pending\"; ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; result?: any; error?: Error | undefined; functions: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; context: Record<string, unknown>; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions.start.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 57
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions.setResult",
"type": "Function",
"tags": [],
"label": "setResult",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<any>) => (result: any) => { state: \"result\"; result: any; ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; error?: Error | undefined; functions: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; context: Record<string, unknown>; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 61
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions.setResult.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions.setError",
"type": "Function",
"tags": [],
"label": "setError",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<any>) => (error: Error) => { state: \"error\"; error: Error; ast: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionAstExpression",
"text": "ExpressionAstExpression"
},
"; result?: any; functions: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; context: Record<string, unknown>; }"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 66
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.executionPureTransitions.setError.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionState",
"text": "ExecutionState"
},
"<any>"
],
"source": {
"path": "src/plugins/expressions/common/execution/container.ts",
"lineNumber": 66
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.filter",
"type": "Object",
"tags": [],
"label": "filter",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 27
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.filter.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"filter\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.filter.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.filter.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => { type: \"filter\"; filterType: string; meta: {}; and: never[]; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/filter.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font",
"type": "Object",
"tags": [],
"label": "font",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 46
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"font\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 47
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"never[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"style\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 49
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 50
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"null\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 53
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 54
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.align",
"type": "Object",
"tags": [],
"label": "align",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.align.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 56
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.align.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.align.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.TextAlignment",
"text": "TextAlignment"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 60
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.align.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 61
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.color",
"type": "Object",
"tags": [],
"label": "color",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 63
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.color.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.color.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 65
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.color.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 68
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.family",
"type": "Object",
"tags": [],
"label": "family",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 70
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.family.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 71
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.family.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 72
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.family.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 78
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.italic",
"type": "Object",
"tags": [],
"label": "italic",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 80
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.italic.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 81
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.italic.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 82
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.italic.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"boolean[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 85
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.italic.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"boolean\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 86
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.lHeight",
"type": "Object",
"tags": [],
"label": "lHeight",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 88
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.lHeight.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 89
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.lHeight.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 90
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.lHeight.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 91
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.lHeight.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"(\"number\" | \"null\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 94
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.size",
"type": "Object",
"tags": [],
"label": "size",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 96
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.size.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 97
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.size.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 98
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.size.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"number\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 101
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.underline",
"type": "Object",
"tags": [],
"label": "underline",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 103
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.underline.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 104
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.underline.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 105
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.underline.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"boolean[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 108
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.underline.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"boolean\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 109
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.weight",
"type": "Object",
"tags": [],
"label": "weight",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 111
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.args.weight.default",
"type": "string",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 112
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.weight.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 113
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.weight.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.FontWeight",
"text": "FontWeight"
},
"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 123
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.font.args.weight.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 124
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.font.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: null, args: Arguments) => { type: \"style\"; spec: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.CSSStyle",
"text": "CSSStyle"
},
"; css: string; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 127
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.font.fn.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 127
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.font.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/font.ts",
"lineNumber": 127
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.futura",
"type": "Object",
"tags": [],
"label": "futura",
"description": [],
"signature": [
"{ label: \"Futura\"; value: \"Futura, Impact, Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 74
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.gillSans",
"type": "Object",
"tags": [],
"label": "gillSans",
"description": [],
"signature": [
"{ label: \"Gill Sans\"; value: \"'Gill Sans', 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 79
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.helveticaNeue",
"type": "Object",
"tags": [],
"label": "helveticaNeue",
"description": [],
"signature": [
"{ label: \"Helvetica Neue\"; value: \"'Helvetica Neue', Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 85
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.hoeflerText",
"type": "Object",
"tags": [],
"label": "hoeflerText",
"description": [],
"signature": [
"{ label: \"Hoefler Text\"; value: \"'Hoefler Text', Garamond, Georgia, 'Times New Roman', Times, serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 90
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.image",
"type": "Object",
"tags": [],
"label": "image",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 20
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.image.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"image\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 21
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.image.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.image.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionImage",
"text": "ExpressionImage"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: Pick<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionImage",
"text": "ExpressionImage"
},
", \"mode\" | \"dataurl\">; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.image.to.render.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionImage",
"text": "ExpressionImage"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/image.ts",
"lineNumber": 23
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.lucidaGrande",
"type": "Object",
"tags": [],
"label": "lucidaGrande",
"description": [],
"signature": [
"{ label: \"Lucida Grande\"; value: \"'Lucida Grande', 'Lucida Sans Unicode', Lucida, Verdana, Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 95
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn",
"type": "Object",
"tags": [],
"label": "mapColumn",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"mapColumn\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 29
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"datatable\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.id",
"type": "Object",
"tags": [],
"label": "id",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.id.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"null\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.id.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 45
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.id.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 49
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.id.default",
"type": "Uncategorized",
"tags": [],
"label": "default",
"description": [],
"signature": [
"null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 50
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.name",
"type": "Object",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 52
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.name.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 53
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.name.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 54
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.name.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 55
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.name.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 58
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.expression",
"type": "Object",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 60
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.expression.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"(\"number\" | \"boolean\" | \"string\" | \"null\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 61
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.expression.resolve",
"type": "boolean",
"tags": [],
"label": "resolve",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 62
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.expression.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 63
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.expression.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.expression.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 71
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.copyMetaFrom",
"type": "Object",
"tags": [],
"label": "copyMetaFrom",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.copyMetaFrom.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"null\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 74
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.copyMetaFrom.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.copyMetaFrom.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 79
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.args.copyMetaFrom.default",
"type": "Uncategorized",
"tags": [],
"label": "default",
"description": [],
"signature": [
"null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 80
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", args: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MapColumnArguments",
"text": "MapColumnArguments"
},
") => ",
"Observable",
"<",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 83
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.fn.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 83
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.mapColumn.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MapColumnArguments",
"text": "MapColumnArguments"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",
"lineNumber": 83
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math",
"type": "Object",
"tags": [],
"label": "math",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 79
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.math.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"math\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 85
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.type",
"type": "Uncategorized",
"tags": [],
"label": "type",
"description": [],
"signature": [
"undefined"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 86
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"(\"number\" | \"datatable\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 87
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 88
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 101
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.math.args.expression",
"type": "Object",
"tags": [],
"label": "expression",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 102
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.math.args.expression.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 103
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.args.expression.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 104
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.args.expression.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 105
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.math.args.onError",
"type": "Object",
"tags": [],
"label": "onError",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 113
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.math.args.onError.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 114
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.args.onError.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"(\"null\" | \"false\" | \"zero\" | \"throw\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 115
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.math.args.onError.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 116
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.math.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathInput",
"text": "MathInput"
},
", args: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathArguments",
"text": "MathArguments"
},
") => number | false | null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 125
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.math.fn.$1",
"type": "CompoundType",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathInput",
"text": "MathInput"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 125
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.math.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathArguments",
"text": "MathArguments"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math.ts",
"lineNumber": 125
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn",
"type": "Object",
"tags": [],
"label": "mathColumn",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 20
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"mathColumn\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 27
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"datatable\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 29
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.Unnamed",
"type": "Any",
"tags": [],
"label": "Unnamed",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.id",
"type": "Object",
"tags": [],
"label": "id",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 41
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.id.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 42
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.id.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 43
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.id.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 46
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.name",
"type": "Object",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 48
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.name.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 49
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.name.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 50
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.name.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 51
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.name.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 54
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.copyMetaFrom",
"type": "Object",
"tags": [],
"label": "copyMetaFrom",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 56
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.copyMetaFrom.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"null\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 57
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.copyMetaFrom.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.copyMetaFrom.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 62
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.args.copyMetaFrom.default",
"type": "Uncategorized",
"tags": [],
"label": "default",
"description": [],
"signature": [
"null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 63
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", args: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathColumnArguments",
"text": "MathColumnArguments"
},
", context: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 66
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.fn.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 66
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.fn.$2",
"type": "CompoundType",
"tags": [],
"label": "args",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MathColumnArguments",
"text": "MathColumnArguments"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 66
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.mathColumn.fn.$3",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts",
"lineNumber": 66
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage",
"type": "Object",
"tags": [],
"label": "movingAverage",
"description": [
"\nCalculates the moving average of a specified column in the data table.\n\nAlso supports multiple series in a single data table - use the `by` argument\nto specify the columns to split the calculation by.\nFor each unique combination of all `by` columns a separate moving average will be calculated.\nThe order of rows won't be changed - this function is not modifying any existing columns, it's only\nadding the specified `outputColumnId` column to every row of the table without adding or removing rows.\n\nBehavior:\n* Will write the moving average of `inputColumnId` into `outputColumnId`\n* If provided will use `outputColumnName` as name for the newly created column. Otherwise falls back to `outputColumnId`\n* Moving average always starts with an undefined value for the first row of a series. Each next cell will contain sum of the last\n* [window] of values divided by [window] excluding the current bucket.\nIf either of window edges moves outside the borders of data series, the window shrinks to include available values only.\n\nEdge cases:\n* Will return the input table if `inputColumnId` does not exist\n* Will throw an error if `outputColumnId` exists already in provided data table\n* If null or undefined value is encountered, skip the current row and do not change the window\n* For all values besides `null` and `undefined`, the value will be cast to a number before it's used in the\n calculation of the current series even if this results in `NaN` (like in case of objects).\n* To determine separate series defined by the `by` columns, the values of these columns will be cast to strings\n before comparison. If the values are objects, the return value of their `toString` method will be used for comparison."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 54
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"moving_average\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 55
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 56
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"datatable\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 58
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 60
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 64
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.by",
"type": "Object",
"tags": [],
"label": "by",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 65
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.by.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 66
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.by.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 69
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.by.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 70
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.by.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 71
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.inputColumnId",
"type": "Object",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.inputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 74
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.inputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 77
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.inputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 78
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnId",
"type": "Object",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 80
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 81
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 84
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 85
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnName",
"type": "Object",
"tags": [],
"label": "outputColumnName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 87
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnName.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 88
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnName.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 91
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.outputColumnName.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 92
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.window",
"type": "Object",
"tags": [],
"label": "window",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 94
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.window.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 95
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.window.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"number\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 98
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.args.window.default",
"type": "number",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 99
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", { by, inputColumnId, outputColumnId, outputColumnName, window }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MovingAverageArgs",
"text": "MovingAverageArgs"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 103
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.fn.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 103
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.movingAverage.fn.$2",
"type": "Object",
"tags": [],
"label": "{ by, inputColumnId, outputColumnId, outputColumnName, window }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.MovingAverageArgs",
"text": "MovingAverageArgs"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts",
"lineNumber": 103
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.myriad",
"type": "Object",
"tags": [],
"label": "myriad",
"description": [],
"signature": [
"{ label: \"Myriad\"; value: \"Myriad, Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 100
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.nullType",
"type": "Object",
"tags": [],
"label": "nullType",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/null.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.nullType.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"null\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/null.ts",
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.nullType.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/null.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.nullType.from.",
"type": "Function",
"tags": [],
"label": "'*'",
"description": [],
"signature": [
"() => null"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/null.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.num",
"type": "Object",
"tags": [],
"label": "num",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"num\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 22
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.num.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => { type: \"num\"; value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 24
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.num.from.boolean",
"type": "Function",
"tags": [],
"label": "boolean",
"description": [],
"signature": [
"(b: any) => { type: \"num\"; value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 28
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.from.boolean.$1",
"type": "Any",
"tags": [],
"label": "b",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 28
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.num.from.string",
"type": "Function",
"tags": [],
"label": "string",
"description": [],
"signature": [
"(n: any) => { type: \"num\"; value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 32
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.from.string.$1",
"type": "Any",
"tags": [],
"label": "n",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 32
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.num.from.",
"type": "Function",
"tags": [],
"label": "'*'",
"description": [],
"signature": [
"(value: any) => { type: \"num\"; value: number; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 49
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.from..$1",
"type": "Any",
"tags": [],
"label": "value",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 49
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.num.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 54
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"({ value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"num\", { value: number; }>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { text: string; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 55
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.to.render.$1",
"type": "CompoundType",
"tags": [],
"label": "{ value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"num\", { value: number; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 55
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.num.to.datatable",
"type": "Function",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
"({ value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"num\", { value: number; }>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 63
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.num.to.datatable.$1",
"type": "CompoundType",
"tags": [],
"label": "{ value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"num\", { value: number; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/num.ts",
"lineNumber": 63
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.number",
"type": "Object",
"tags": [],
"label": "number",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"number\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.number.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 18
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => number"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.number.from.boolean",
"type": "Function",
"tags": [],
"label": "boolean",
"description": [],
"signature": [
"(b: any) => number"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 20
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.from.boolean.$1",
"type": "Any",
"tags": [],
"label": "b",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 20
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.number.from.string",
"type": "Function",
"tags": [],
"label": "string",
"description": [],
"signature": [
"(n: any) => number"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.from.string.$1",
"type": "Any",
"tags": [],
"label": "n",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 21
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.number.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 36
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(value: number) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { text: string; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 37
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.to.render.$1",
"type": "number",
"tags": [],
"label": "value",
"description": [],
"signature": [
"number"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 37
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.number.to.datatable",
"type": "Function",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
"(value: number) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 45
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.number.to.datatable.$1",
"type": "number",
"tags": [],
"label": "value",
"description": [],
"signature": [
"number"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/number.ts",
"lineNumber": 45
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.openSans",
"type": "Object",
"tags": [],
"label": "openSans",
"description": [],
"signature": [
"{ label: \"Open Sans\"; value: \"'Open Sans', Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 105
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.optima",
"type": "Object",
"tags": [],
"label": "optima",
"description": [],
"signature": [
"{ label: \"Optima\"; value: \"Optima, 'Lucida Grande', 'Lucida Sans Unicode', Verdana, Helvetica, Arial, sans-serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 110
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric",
"type": "Object",
"tags": [],
"label": "overallMetric",
"description": [
"\nCalculates the overall metric of a specified column in the data table.\n\nAlso supports multiple series in a single data table - use the `by` argument\nto specify the columns to split the calculation by.\nFor each unique combination of all `by` columns a separate overall metric will be calculated.\nThe order of rows won't be changed - this function is not modifying any existing columns, it's only\nadding the specified `outputColumnId` column to every row of the table without adding or removing rows.\n\nBehavior:\n* Will write the overall metric of `inputColumnId` into `outputColumnId`\n* If provided will use `outputColumnName` as name for the newly created column. Otherwise falls back to `outputColumnId`\n* Each cell will contain the calculated metric based on the values of all cells belonging to the current series.\n\nEdge cases:\n* Will return the input table if `inputColumnId` does not exist\n* Will throw an error if `outputColumnId` exists already in provided data table\n* If the row value contains `null` or `undefined`, it will be ignored and overwritten with the overall metric of\n all cells of the same series.\n* For all values besides `null` and `undefined`, the value will be cast to a number before it's added to the\n overall metric of the current series - if this results in `NaN` (like in case of objects), all cells of the\n current series will be set to `NaN`.\n* To determine separate series defined by the `by` columns, the values of these columns will be cast to strings\n before comparison. If the values are objects, the return value of their `toString` method will be used for comparison.\n Missing values (`null` and `undefined`) will be treated as empty strings."
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 63
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"overall_metric\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 64
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.type",
"type": "string",
"tags": [],
"label": "type",
"description": [],
"signature": [
"\"datatable\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 65
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"datatable\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 67
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 69
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 73
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.by",
"type": "Object",
"tags": [],
"label": "by",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 74
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.by.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 75
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.by.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 78
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.by.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 79
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.by.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 80
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.metric",
"type": "Object",
"tags": [],
"label": "metric",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 82
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.metric.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 83
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.metric.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 86
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.metric.options",
"type": "Array",
"tags": [],
"label": "options",
"description": [],
"signature": [
"(\"min\" | \"max\" | \"sum\" | \"average\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 87
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.inputColumnId",
"type": "Object",
"tags": [],
"label": "inputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 89
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.inputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 90
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.inputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 93
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.inputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 94
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnId",
"type": "Object",
"tags": [],
"label": "outputColumnId",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 96
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnId.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 97
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnId.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 100
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnId.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 101
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnName",
"type": "Object",
"tags": [],
"label": "outputColumnName",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 103
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnName.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 104
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnName.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 107
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.args.outputColumnName.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"false"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 108
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
", { by, inputColumnId, outputColumnId, outputColumnName, metric }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.OverallMetricArgs",
"text": "OverallMetricArgs"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 112
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.fn.$1",
"type": "Object",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 112
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.overallMetric.fn.$2",
"type": "Object",
"tags": [],
"label": "{ by, inputColumnId, outputColumnId, outputColumnName, metric }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.OverallMetricArgs",
"text": "OverallMetricArgs"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts",
"lineNumber": 112
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.palatino",
"type": "Object",
"tags": [],
"label": "palatino",
"description": [],
"signature": [
"{ label: \"Palatino\"; value: \"Palatino, 'Book Antiqua', Georgia, Garamond, 'Times New Roman', Times, serif\"; }"
],
"source": {
"path": "src/plugins/expressions/common/fonts.ts",
"lineNumber": 115
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.pointseries",
"type": "Object",
"tags": [],
"label": "pointseries",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 47
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"pointseries\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 48
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 49
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => { type: \"pointseries\"; rows: never[]; columns: {}; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 50
},
"deprecated": false,
"children": [],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 58
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(pseries: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"pointseries\", { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }>, types: Record<string, any>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { datatable: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
},
"; showHeader: boolean; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 59
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.to.render.$1",
"type": "CompoundType",
"tags": [],
"label": "pseries",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"pointseries\", { columns: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.PointSeriesColumns",
"text": "PointSeriesColumns"
},
"; rows: Record<string, any>[]; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 60
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.pointseries.to.render.$2",
"type": "Object",
"tags": [],
"label": "types",
"description": [],
"signature": [
"Record<string, any>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts",
"lineNumber": 61
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors",
"type": "Object",
"tags": [],
"label": "pureSelectors",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 49
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors.getFunction",
"type": "Function",
"tags": [],
"label": "getFunction",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 50
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors.getFunction.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 50
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors.getType",
"type": "Function",
"tags": [],
"label": "getType",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (id: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
}
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 51
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors.getType.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 51
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors.getContext",
"type": "Function",
"tags": [],
"label": "getContext",
"description": [],
"signature": [
"({ context }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => () => Record<string, unknown>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 52
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureSelectors.getContext.$1",
"type": "Object",
"tags": [],
"label": "{ context }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 52
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions",
"type": "Object",
"tags": [],
"label": "pureTransitions",
"description": [],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 34
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions.addFunction",
"type": "Function",
"tags": [],
"label": "addFunction",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (fn: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
") => { functions: { [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
"; }; types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; context: Record<string, unknown>; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions.addFunction.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions.addType",
"type": "Function",
"tags": [],
"label": "addType",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (type: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
") => { types: { [x: string]: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
"; }; functions: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; context: Record<string, unknown>; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 36
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions.addType.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 36
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions.extendContext",
"type": "Function",
"tags": [],
"label": "extendContext",
"description": [],
"signature": [
"(state: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>) => (extraContext: Record<string, unknown>) => { context: { [x: string]: unknown; }; functions: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionFunction",
"text": "ExpressionFunction"
},
">; types: Record<string, ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionType",
"text": "ExpressionType"
},
">; }"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 37
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.pureTransitions.extendContext.$1",
"type": "Object",
"tags": [],
"label": "state",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutorState",
"text": "ExecutorState"
},
"<Record<string, unknown>>"
],
"source": {
"path": "src/plugins/expressions/common/executor/container.ts",
"lineNumber": 37
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.range",
"type": "Object",
"tags": [],
"label": "range",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 21
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.range.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"range\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 22
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.range.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.range.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Range",
"text": "Range"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 24
},
"deprecated": false,
"children": [],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.range.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 32
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.range.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(value: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Range",
"text": "Range"
},
") => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { text: string; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.range.to.render.$1",
"type": "Object",
"tags": [],
"label": "value",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Range",
"text": "Range"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/range.ts",
"lineNumber": 33
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.render",
"type": "Object",
"tags": [],
"label": "render",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 31
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.render.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"render\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.render.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.render.from.",
"type": "Function",
"tags": [],
"label": "'*'",
"description": [],
"signature": [
"<T>(v: T) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: T; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 34
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.render.from..$1",
"type": "Uncategorized",
"tags": [],
"label": "v",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/render.ts",
"lineNumber": 34
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.shape",
"type": "Object",
"tags": [],
"label": "shape",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/shape.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.shape.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"shape\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/shape.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.shape.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/shape.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.shape.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"(input: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: any; }>) => { type: string; as: string; value: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: any; }>; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/shape.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.shape.to.render.$1",
"type": "CompoundType",
"tags": [],
"label": "input",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: any; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/shape.ts",
"lineNumber": 17
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.string",
"type": "Object",
"tags": [],
"label": "string",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 15
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"string\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.string.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 18
},
"deprecated": false,
"children": [],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.string.from.boolean",
"type": "Function",
"tags": [],
"label": "boolean",
"description": [],
"signature": [
"(b: any) => string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 19
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.from.boolean.$1",
"type": "Any",
"tags": [],
"label": "b",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 19
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.string.from.number",
"type": "Function",
"tags": [],
"label": "number",
"description": [],
"signature": [
"(n: any) => string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 20
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.from.number.$1",
"type": "Any",
"tags": [],
"label": "n",
"description": [],
"signature": [
"any"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 20
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.string.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"<T>(text: T) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { text: T; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.to.render.$1",
"type": "Uncategorized",
"tags": [],
"label": "text",
"description": [],
"signature": [
"T"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 23
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.string.to.datatable",
"type": "Function",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
"(value: string) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.string.to.datatable.$1",
"type": "string",
"tags": [],
"label": "value",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/string.ts",
"lineNumber": 30
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.style",
"type": "Object",
"tags": [],
"label": "style",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/style.ts",
"lineNumber": 14
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.style.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"style\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/style.ts",
"lineNumber": 15
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.style.from",
"type": "Object",
"tags": [],
"label": "from",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/style.ts",
"lineNumber": 16
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.style.from.null",
"type": "Function",
"tags": [],
"label": "null",
"description": [],
"signature": [
"() => { type: \"style\"; spec: {}; css: string; }"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/style.ts",
"lineNumber": 17
},
"deprecated": false,
"children": [],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme",
"type": "Object",
"tags": [],
"label": "theme",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 27
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.theme.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"theme\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"never[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 29
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.inputTypes",
"type": "Array",
"tags": [],
"label": "inputTypes",
"description": [],
"signature": [
"\"null\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 34
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.variable",
"type": "Object",
"tags": [],
"label": "variable",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.variable.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 36
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.variable.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 37
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.variable.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.variable.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 41
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.default",
"type": "Object",
"tags": [],
"label": "default",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 43
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.theme.args.default.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 44
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: null, args: Arguments, handlers: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 49
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.theme.fn.$1",
"type": "Uncategorized",
"tags": [],
"label": "input",
"description": [],
"signature": [
"null"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 49
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 49
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.theme.fn.$3",
"type": "Object",
"tags": [],
"label": "handlers",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/theme.ts",
"lineNumber": 49
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting",
"type": "Object",
"tags": [],
"label": "uiSetting",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 33
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"ui_setting\""
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 34
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to",
"type": "Object",
"tags": [],
"label": "to",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 35
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.boolean",
"type": "Function",
"tags": [],
"label": "boolean",
"description": [],
"signature": [
"({ value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>) => boolean"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 36
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.boolean.$1",
"type": "CompoundType",
"tags": [],
"label": "{ value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 36
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.number",
"type": "Function",
"tags": [],
"label": "number",
"description": [],
"signature": [
"({ value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>) => number"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.number.$1",
"type": "CompoundType",
"tags": [],
"label": "{ value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 39
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.string",
"type": "Function",
"tags": [],
"label": "string",
"description": [],
"signature": [
"({ value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>) => string"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.string.$1",
"type": "CompoundType",
"tags": [],
"label": "{ value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 42
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.render",
"type": "Function",
"tags": [],
"label": "render",
"description": [],
"signature": [
"({ value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"render\", { as: string; value: { text: string; }; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 45
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.render.$1",
"type": "CompoundType",
"tags": [],
"label": "{ value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 45
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.datatable",
"type": "Function",
"tags": [],
"label": "datatable",
"description": [],
"signature": [
"({ key, value }: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>) => ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.Datatable",
"text": "Datatable"
}
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 57
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.uiSetting.to.datatable.$1",
"type": "CompoundType",
"tags": [],
"label": "{ key, value }",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExpressionValueBoxed",
"text": "ExpressionValueBoxed"
},
"<\"ui_setting\", { key: string; value: unknown; }>"
],
"source": {
"path": "src/plugins/expressions/common/expression_types/specs/ui_setting.ts",
"lineNumber": 57
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
]
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variable",
"type": "Object",
"tags": [],
"label": "variable",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 23
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variable.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"var\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 24
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 28
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variable.args.name",
"type": "Object",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variable.args.name.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.args.name.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.args.name.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.args.name.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 33
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: unknown, args: Arguments, context: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">) => any"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 38
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variable.fn.$1",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 38
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 38
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.variable.fn.$3",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var.ts",
"lineNumber": 38
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet",
"type": "Object",
"tags": [],
"label": "variableSet",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 24
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.name",
"type": "string",
"tags": [],
"label": "name",
"description": [],
"signature": [
"\"var_set\""
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 25
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 29
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.name",
"type": "Object",
"tags": [],
"label": "name",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 30
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.name.types",
"type": "Array",
"tags": [],
"label": "types",
"description": [],
"signature": [
"\"string\"[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 31
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.name.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 32
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.name.required",
"type": "boolean",
"tags": [],
"label": "required",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 33
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.name.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 34
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.name.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 35
},
"deprecated": false
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.value",
"type": "Object",
"tags": [],
"label": "value",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 39
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.value.aliases",
"type": "Array",
"tags": [],
"label": "aliases",
"description": [],
"signature": [
"string[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 40
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.value.multi",
"type": "boolean",
"tags": [],
"label": "multi",
"description": [],
"signature": [
"true"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 41
},
"deprecated": false
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.args.value.help",
"type": "string",
"tags": [],
"label": "help",
"description": [],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 42
},
"deprecated": false
}
]
}
]
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.fn",
"type": "Function",
"tags": [],
"label": "fn",
"description": [],
"signature": [
"(input: unknown, args: Arguments, context: ",
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">) => unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 48
},
"deprecated": false,
"children": [
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.fn.$1",
"type": "Unknown",
"tags": [],
"label": "input",
"description": [],
"signature": [
"unknown"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 48
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.fn.$2",
"type": "Object",
"tags": [],
"label": "args",
"description": [],
"signature": [
"Arguments"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 48
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "expressions",
"id": "def-common.variableSet.fn.$3",
"type": "Object",
"tags": [],
"label": "context",
"description": [],
"signature": [
{
"pluginId": "expressions",
"scope": "common",
"docId": "kibExpressionsPluginApi",
"section": "def-common.ExecutionContext",
"text": "ExecutionContext"
},
"<",
{
"pluginId": "inspector",
"scope": "common",
"docId": "kibInspectorPluginApi",
"section": "def-common.Adapters",
"text": "Adapters"
},
", ",
"SerializableState",
">"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts",
"lineNumber": 48
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
}
],
"initialIsOpen": false
}
]
}
}