Skip to content

Commit

Permalink
Merge branch 'master' into fix/remove-string-var-type
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Mar 16, 2021
2 parents 8a784aa + 0e1a2cd commit fbff0d6
Show file tree
Hide file tree
Showing 1,012 changed files with 13,933 additions and 7,776 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ module.exports = {
{
files: ['x-pack/plugins/fleet/**/*.{js,mjs,ts,tsx}'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
'import/order': [
'warn',
{
Expand Down
8 changes: 4 additions & 4 deletions api_docs/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@
"description": [],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 282
"lineNumber": 283
}
},
{
Expand All @@ -1442,7 +1442,7 @@
"description": [],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 283
"lineNumber": 284
}
},
{
Expand All @@ -1453,7 +1453,7 @@
"description": [],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 284
"lineNumber": 285
},
"signature": [
"{ readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record<string, string>; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; }; readonly auditbeat: { readonly base: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly enterpriseSearch: { readonly base: string; readonly appSearchBase: string; readonly workplaceSearchBase: string; }; readonly heartbeat: { readonly base: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: string; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly indexPatterns: { readonly loadingData: string; readonly introduction: string; }; readonly addData: string; readonly kibana: string; readonly elasticsearch: Record<string, string>; readonly siem: { readonly guide: string; readonly gettingStarted: string; }; readonly query: { readonly eql: string; readonly luceneQuerySyntax: string; readonly queryDsl: string; readonly kueryQuerySyntax: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record<string, string>; readonly ml: Record<string, string>; readonly transforms: Record<string, string>; readonly visualize: Record<string, string>; readonly apis: Readonly<{ createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putWatch: string; updateTransform: string; }>; readonly observability: Record<string, string>; readonly alerting: Record<string, string>; readonly maps: Record<string, string>; readonly monitoring: Record<string, string>; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly watcher: Record<string, string>; readonly ccs: Record<string, string>; readonly plugins: Record<string, string>; readonly snapshotRestore: Record<string, string>; }"
Expand All @@ -1462,7 +1462,7 @@
],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 281
"lineNumber": 282
},
"initialIsOpen": false
},
Expand Down
56 changes: 7 additions & 49 deletions api_docs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -23950,37 +23950,6 @@
"returnComment": [],
"initialIsOpen": false
},
{
"id": "def-common.doesKueryExpressionHaveLuceneSyntaxError",
"type": "Function",
"children": [
{
"type": "Any",
"label": "expression",
"isRequired": true,
"signature": [
"any"
],
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 60
}
}
],
"signature": [
"(expression: any) => boolean"
],
"description": [],
"label": "doesKueryExpressionHaveLuceneSyntaxError",
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 59
},
"tags": [],
"returnComment": [],
"initialIsOpen": false
},
{
"id": "def-common.enableFilter",
"type": "Function",
Expand Down Expand Up @@ -25761,7 +25730,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 78
"lineNumber": 67
}
},
{
Expand All @@ -25781,7 +25750,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 79
"lineNumber": 68
}
},
{
Expand All @@ -25794,7 +25763,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 80
"lineNumber": 69
}
},
{
Expand All @@ -25807,7 +25776,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 81
"lineNumber": 70
}
}
],
Expand Down Expand Up @@ -25841,7 +25810,7 @@
"label": "toElasticsearchQuery",
"source": {
"path": "src/plugins/data/common/es_query/kuery/ast/ast.ts",
"lineNumber": 77
"lineNumber": 66
},
"tags": [
"params"
Expand Down Expand Up @@ -26395,17 +26364,6 @@
"lineNumber": 23
}
},
{
"tags": [],
"id": "def-common.KueryParseOptions.errorOnLuceneSyntax",
"type": "boolean",
"label": "errorOnLuceneSyntax",
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/types.ts",
"lineNumber": 24
}
},
{
"tags": [],
"id": "def-common.KueryParseOptions.cursorSymbol",
Expand All @@ -26414,7 +26372,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/types.ts",
"lineNumber": 25
"lineNumber": 24
},
"signature": [
"string | undefined"
Expand All @@ -26428,7 +26386,7 @@
"description": [],
"source": {
"path": "src/plugins/data/common/es_query/kuery/types.ts",
"lineNumber": 26
"lineNumber": 25
},
"signature": [
"boolean | undefined"
Expand Down
24 changes: 8 additions & 16 deletions api_docs/ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/modules.ts",
"lineNumber": 80
"lineNumber": 94
},
"signature": [
{
Expand All @@ -567,7 +567,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/modules.ts",
"lineNumber": 81
"lineNumber": 95
},
"signature": [
{
Expand All @@ -588,7 +588,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/modules.ts",
"lineNumber": 82
"lineNumber": 96
},
"signature": [
"{ search: ",
Expand Down Expand Up @@ -621,7 +621,7 @@
],
"source": {
"path": "x-pack/plugins/ml/common/types/modules.ts",
"lineNumber": 79
"lineNumber": 93
},
"initialIsOpen": false
},
Expand Down Expand Up @@ -5498,17 +5498,11 @@
"type": "Function",
"children": [
{
"type": "CompoundType",
"type": "Any",
"label": "error",
"isRequired": false,
"isRequired": true,
"signature": [
{
"pluginId": "ml",
"scope": "common",
"docId": "kibMlPluginApi",
"section": "def-common.ErrorType",
"text": "ErrorType"
}
"any"
],
"description": [],
"source": {
Expand All @@ -5518,9 +5512,7 @@
}
],
"signature": [
"(error: ",
"ErrorType",
") => string"
"(error: any) => string"
],
"description": [],
"label": "extractErrorMessage",
Expand Down
32 changes: 30 additions & 2 deletions api_docs/monitoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,34 @@
"signature": [
"() => void"
]
},
{
"tags": [],
"id": "def-server.IBulkUploader.start",
"type": "Function",
"label": "start",
"description": [],
"source": {
"path": "x-pack/plugins/monitoring/server/types.ts",
"lineNumber": 95
},
"signature": [
"() => void"
]
},
{
"tags": [],
"id": "def-server.IBulkUploader.handleNotEnabled",
"type": "Function",
"label": "handleNotEnabled",
"description": [],
"source": {
"path": "x-pack/plugins/monitoring/server/types.ts",
"lineNumber": 96
},
"signature": [
"() => void"
]
}
],
"source": {
Expand Down Expand Up @@ -106,7 +134,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/monitoring/server/types.ts",
"lineNumber": 98
"lineNumber": 100
},
"signature": [
"() => any"
Expand All @@ -115,7 +143,7 @@
],
"source": {
"path": "x-pack/plugins/monitoring/server/types.ts",
"lineNumber": 97
"lineNumber": 99
},
"lifecycle": "setup",
"initialIsOpen": true
Expand Down
Loading

0 comments on commit fbff0d6

Please sign in to comment.