* Add packages * Update docs * Fix test and types * debug heap size * remove debug heap line * updated docs
453 lines
14 KiB
JSON
453 lines
14 KiB
JSON
{
|
|
"id": "@kbn/monaco",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.registerLanguage",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "registerLanguage",
|
|
"description": [],
|
|
"signature": [
|
|
"(language: ",
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.LangModule",
|
|
"text": "LangModule"
|
|
},
|
|
") => void"
|
|
],
|
|
"path": "packages/kbn-monaco/src/helpers.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.registerLanguage.$1",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "language",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.LangModule",
|
|
"text": "LangModule"
|
|
}
|
|
],
|
|
"path": "packages/kbn-monaco/src/helpers.ts",
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.CompleteLangModule",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "CompleteLangModule",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.CompleteLangModule",
|
|
"text": "CompleteLangModule"
|
|
},
|
|
" extends ",
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.LangModule",
|
|
"text": "LangModule"
|
|
}
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.CompleteLangModule.languageConfiguration",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "languageConfiguration",
|
|
"description": [],
|
|
"signature": [
|
|
"languages",
|
|
".LanguageConfiguration"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.CompleteLangModule.getSuggestionProvider",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "getSuggestionProvider",
|
|
"description": [],
|
|
"signature": [
|
|
"Function"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.CompleteLangModule.getSyntaxErrors",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "getSyntaxErrors",
|
|
"description": [],
|
|
"signature": [
|
|
"Function"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.LangModule",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "LangModule",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.LangModule.ID",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "ID",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.LangModule.lexerRules",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "lexerRules",
|
|
"description": [],
|
|
"signature": [
|
|
"languages",
|
|
".IMonarchLanguage"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.LangModule.languageConfiguration",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "languageConfiguration",
|
|
"description": [],
|
|
"signature": [
|
|
"languages",
|
|
".LanguageConfiguration | undefined"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.LangModule.getSuggestionProvider",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "getSuggestionProvider",
|
|
"description": [],
|
|
"signature": [
|
|
"Function | undefined"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.LangModule.getSyntaxErrors",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "getSyntaxErrors",
|
|
"description": [],
|
|
"signature": [
|
|
"Function | undefined"
|
|
],
|
|
"path": "packages/kbn-monaco/src/types.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessAutocompleteField",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "PainlessAutocompleteField",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/painless/types.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessAutocompleteField.name",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "name",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/painless/types.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessAutocompleteField.type",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "type",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/painless/types.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessContext",
|
|
"type": "Type",
|
|
"tags": [],
|
|
"label": "PainlessContext",
|
|
"description": [],
|
|
"signature": [
|
|
"\"filter\" | \"score\" | \"painless_test\" | \"boolean_script_field_script_field\" | \"date_script_field\" | \"double_script_field_script_field\" | \"ip_script_field_script_field\" | \"long_script_field_script_field\" | \"processor_conditional\" | \"string_script_field_script_field\""
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/types.ts",
|
|
"deprecated": false,
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "PainlessLang",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/painless/index.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.ID",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "ID",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/painless/index.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.getSuggestionProvider",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getSuggestionProvider",
|
|
"description": [],
|
|
"signature": [
|
|
"(context: ",
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.PainlessContext",
|
|
"text": "PainlessContext"
|
|
},
|
|
", fields?: ",
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.PainlessAutocompleteField",
|
|
"text": "PainlessAutocompleteField"
|
|
},
|
|
"[] | undefined) => ",
|
|
"PainlessCompletionAdapter"
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.getSuggestionProvider.$1",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "context",
|
|
"description": [],
|
|
"signature": [
|
|
"\"filter\" | \"score\" | \"painless_test\" | \"boolean_script_field_script_field\" | \"date_script_field\" | \"double_script_field_script_field\" | \"ip_script_field_script_field\" | \"long_script_field_script_field\" | \"processor_conditional\" | \"string_script_field_script_field\""
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/language.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.getSuggestionProvider.$2",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "fields",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "@kbn/monaco",
|
|
"scope": "common",
|
|
"docId": "kibKbnMonacoPluginApi",
|
|
"section": "def-common.PainlessAutocompleteField",
|
|
"text": "PainlessAutocompleteField"
|
|
},
|
|
"[] | undefined"
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/language.ts",
|
|
"deprecated": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.lexerRules",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "lexerRules",
|
|
"description": [],
|
|
"signature": [
|
|
"Language"
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/index.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.languageConfiguration",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "languageConfiguration",
|
|
"description": [],
|
|
"signature": [
|
|
"languages",
|
|
".LanguageConfiguration"
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/index.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.PainlessLang.getSyntaxErrors",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getSyntaxErrors",
|
|
"description": [],
|
|
"signature": [
|
|
"() => ",
|
|
"SyntaxErrors"
|
|
],
|
|
"path": "packages/kbn-monaco/src/painless/index.ts",
|
|
"deprecated": false,
|
|
"returnComment": [],
|
|
"children": []
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.XJsonLang",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "XJsonLang",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/xjson/index.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.XJsonLang.ID",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "ID",
|
|
"description": [],
|
|
"path": "packages/kbn-monaco/src/xjson/index.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.XJsonLang.lexerRules",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "lexerRules",
|
|
"description": [],
|
|
"signature": [
|
|
"languages",
|
|
".IMonarchLanguage"
|
|
],
|
|
"path": "packages/kbn-monaco/src/xjson/index.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/monaco",
|
|
"id": "def-common.XJsonLang.languageConfiguration",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "languageConfiguration",
|
|
"description": [],
|
|
"signature": [
|
|
"languages",
|
|
".LanguageConfiguration"
|
|
],
|
|
"path": "packages/kbn-monaco/src/xjson/index.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
]
|
|
}
|
|
} |