Skip to content

Commit 77d6b73

Browse files
Merge branch 'master' of https://github.com/elastic/kibana into ua/page_layout
2 parents 5b6ad4e + cd8cf46 commit 77d6b73

547 files changed

Lines changed: 7763 additions & 2858 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ module.exports = {
13701370
{
13711371
// Source files only - allow `any` in test/mock files
13721372
files: ['x-pack/plugins/enterprise_search/**/*.{ts,tsx}'],
1373-
excludedFiles: ['x-pack/plugins/enterprise_search/**/*.{test,mock}.{ts,tsx}'],
1373+
excludedFiles: ['x-pack/plugins/enterprise_search/**/*.{test,mock,test_helper}.{ts,tsx}'],
13741374
rules: {
13751375
'@typescript-eslint/no-explicit-any': 'error',
13761376
},

api_docs/cases.json

Lines changed: 77 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@
10351035
],
10361036
"source": {
10371037
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1038-
"lineNumber": 53
1038+
"lineNumber": 49
10391039
},
10401040
"deprecated": false,
10411041
"children": [
@@ -1051,7 +1051,7 @@
10511051
],
10521052
"source": {
10531053
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1054-
"lineNumber": 53
1054+
"lineNumber": 49
10551055
},
10561056
"deprecated": false,
10571057
"isRequired": true
@@ -1074,7 +1074,7 @@
10741074
],
10751075
"source": {
10761076
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1077-
"lineNumber": 59
1077+
"lineNumber": 55
10781078
},
10791079
"deprecated": false,
10801080
"children": [
@@ -1091,7 +1091,7 @@
10911091
],
10921092
"source": {
10931093
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1094-
"lineNumber": 60
1094+
"lineNumber": 56
10951095
},
10961096
"deprecated": false,
10971097
"isRequired": true
@@ -1108,7 +1108,7 @@
11081108
],
11091109
"source": {
11101110
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1111-
"lineNumber": 61
1111+
"lineNumber": 57
11121112
},
11131113
"deprecated": false,
11141114
"isRequired": true
@@ -1129,7 +1129,7 @@
11291129
],
11301130
"source": {
11311131
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1132-
"lineNumber": 75
1132+
"lineNumber": 71
11331133
},
11341134
"deprecated": false,
11351135
"children": [
@@ -1145,7 +1145,7 @@
11451145
],
11461146
"source": {
11471147
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1148-
"lineNumber": 76
1148+
"lineNumber": 72
11491149
},
11501150
"deprecated": false,
11511151
"isRequired": true
@@ -1170,7 +1170,7 @@
11701170
],
11711171
"source": {
11721172
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1173-
"lineNumber": 24
1173+
"lineNumber": 20
11741174
},
11751175
"deprecated": true,
11761176
"references": [],
@@ -1187,7 +1187,7 @@
11871187
],
11881188
"source": {
11891189
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1190-
"lineNumber": 24
1190+
"lineNumber": 20
11911191
},
11921192
"deprecated": false,
11931193
"isRequired": true
@@ -1634,62 +1634,6 @@
16341634
"returnComment": [],
16351635
"initialIsOpen": false
16361636
},
1637-
{
1638-
"parentPluginId": "cases",
1639-
"id": "def-common.OmitProp",
1640-
"type": "Function",
1641-
"tags": [],
1642-
"label": "OmitProp",
1643-
"description": [],
1644-
"signature": [
1645-
"<O extends ",
1646-
"Props",
1647-
", K extends keyof O>(o: O, k: K) => Pick<O, Exclude<keyof O, K>>"
1648-
],
1649-
"source": {
1650-
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1651-
"lineNumber": 17
1652-
},
1653-
"deprecated": false,
1654-
"children": [
1655-
{
1656-
"parentPluginId": "cases",
1657-
"id": "def-common.OmitProp.$1",
1658-
"type": "Uncategorized",
1659-
"tags": [],
1660-
"label": "o",
1661-
"description": [],
1662-
"signature": [
1663-
"O"
1664-
],
1665-
"source": {
1666-
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1667-
"lineNumber": 17
1668-
},
1669-
"deprecated": false,
1670-
"isRequired": true
1671-
},
1672-
{
1673-
"parentPluginId": "cases",
1674-
"id": "def-common.OmitProp.$2",
1675-
"type": "Uncategorized",
1676-
"tags": [],
1677-
"label": "k",
1678-
"description": [],
1679-
"signature": [
1680-
"K"
1681-
],
1682-
"source": {
1683-
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1684-
"lineNumber": 17
1685-
},
1686-
"deprecated": false,
1687-
"isRequired": true
1688-
}
1689-
],
1690-
"returnComment": [],
1691-
"initialIsOpen": false
1692-
},
16931637
{
16941638
"parentPluginId": "cases",
16951639
"id": "def-common.throwErrors",
@@ -1704,7 +1648,7 @@
17041648
],
17051649
"source": {
17061650
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1707-
"lineNumber": 55
1651+
"lineNumber": 51
17081652
},
17091653
"deprecated": false,
17101654
"children": [
@@ -1720,7 +1664,7 @@
17201664
],
17211665
"source": {
17221666
"path": "x-pack/plugins/cases/common/api/runtime_types.ts",
1723-
"lineNumber": 55
1667+
"lineNumber": 51
17241668
},
17251669
"deprecated": false,
17261670
"isRequired": true
@@ -5278,7 +5222,7 @@
52785222
"section": "def-common.ConnectorTypes",
52795223
"text": "ConnectorTypes"
52805224
},
5281-
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; })[]"
5225+
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; })[]"
52825226
],
52835227
"source": {
52845228
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
@@ -5335,7 +5279,7 @@
53355279
"section": "def-common.ConnectorTypes",
53365280
"text": "ConnectorTypes"
53375281
},
5338-
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; owner: string; }"
5282+
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; }"
53395283
],
53405284
"source": {
53415285
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
@@ -5392,7 +5336,7 @@
53925336
"section": "def-common.ConnectorTypes",
53935337
"text": "ConnectorTypes"
53945338
},
5395-
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; }"
5339+
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; }"
53965340
],
53975341
"source": {
53985342
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
@@ -5506,7 +5450,7 @@
55065450
"section": "def-common.ConnectorTypes",
55075451
"text": "ConnectorTypes"
55085452
},
5509-
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; owner: string; }"
5453+
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; }"
55105454
],
55115455
"source": {
55125456
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
@@ -5563,7 +5507,7 @@
55635507
"section": "def-common.ConnectorTypes",
55645508
"text": "ConnectorTypes"
55655509
},
5566-
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; }"
5510+
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; } & { mappings: { action_type: \"append\" | \"overwrite\" | \"nothing\"; source: \"description\" | \"title\" | \"comments\"; target: string; }[]; owner: string; } & { id: string; version: string; error: string | null; owner: string; }"
55675511
],
55685512
"source": {
55695513
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",
@@ -7187,7 +7131,7 @@
71877131
"section": "def-common.ConnectorTypes",
71887132
"text": "ConnectorTypes"
71897133
},
7190-
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; }, \"updated_at\" | \"owner\" | \"created_at\" | \"created_by\" | \"updated_by\" | \"closure_type\"> & { connector: ",
7134+
".none; fields: null; }); closure_type: \"close-by-user\" | \"close-by-pushing\"; } & { owner: string; } & { created_at: string; created_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; updated_at: string | null; updated_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; } | null; }, \"updated_at\" | \"owner\" | \"created_at\" | \"created_by\" | \"updated_by\" | \"closure_type\"> & { connector: ",
71917135
{
71927136
"pluginId": "cases",
71937137
"scope": "common",
@@ -7359,6 +7303,40 @@
73597303
"deprecated": false,
73607304
"initialIsOpen": false
73617305
},
7306+
{
7307+
"parentPluginId": "cases",
7308+
"id": "def-common.MAX_CONCURRENT_SEARCHES",
7309+
"type": "number",
7310+
"tags": [],
7311+
"label": "MAX_CONCURRENT_SEARCHES",
7312+
"description": [],
7313+
"signature": [
7314+
"10"
7315+
],
7316+
"source": {
7317+
"path": "x-pack/plugins/cases/common/constants.ts",
7318+
"lineNumber": 97
7319+
},
7320+
"deprecated": false,
7321+
"initialIsOpen": false
7322+
},
7323+
{
7324+
"parentPluginId": "cases",
7325+
"id": "def-common.MAX_DOCS_PER_PAGE",
7326+
"type": "number",
7327+
"tags": [],
7328+
"label": "MAX_DOCS_PER_PAGE",
7329+
"description": [],
7330+
"signature": [
7331+
"10000"
7332+
],
7333+
"source": {
7334+
"path": "x-pack/plugins/cases/common/constants.ts",
7335+
"lineNumber": 96
7336+
},
7337+
"deprecated": false,
7338+
"initialIsOpen": false
7339+
},
73627340
{
73637341
"parentPluginId": "cases",
73647342
"id": "def-common.MAX_GENERATED_ALERTS_PER_SUB_CASE",
@@ -9365,6 +9343,8 @@
93659343
"<[",
93669344
"IntersectionC",
93679345
"<[",
9346+
"IntersectionC",
9347+
"<[",
93689348
"TypeC",
93699349
"<{ connector: ",
93709350
"IntersectionC",
@@ -9572,9 +9552,11 @@
95729552
"LiteralC",
95739553
"<\"close-by-user\">, ",
95749554
"LiteralC",
9575-
"<\"close-by-pushing\">]>; owner: ",
9555+
"<\"close-by-pushing\">]>; }>, ",
9556+
"TypeC",
9557+
"<{ owner: ",
95769558
"StringC",
9577-
"; }>, ",
9559+
"; }>]>, ",
95789560
"TypeC",
95799561
"<{ created_at: ",
95809562
"StringC",
@@ -9701,6 +9683,8 @@
97019683
"label": "CaseConfigureAttributesRt",
97029684
"description": [],
97039685
"signature": [
9686+
"IntersectionC",
9687+
"<[",
97049688
"IntersectionC",
97059689
"<[",
97069690
"TypeC",
@@ -9910,9 +9894,11 @@
99109894
"LiteralC",
99119895
"<\"close-by-user\">, ",
99129896
"LiteralC",
9913-
"<\"close-by-pushing\">]>; owner: ",
9897+
"<\"close-by-pushing\">]>; }>, ",
9898+
"TypeC",
9899+
"<{ owner: ",
99149900
"StringC",
9915-
"; }>, ",
9901+
"; }>]>, ",
99169902
"TypeC",
99179903
"<{ created_at: ",
99189904
"StringC",
@@ -10019,6 +10005,8 @@
1001910005
"<[",
1002010006
"IntersectionC",
1002110007
"<[",
10008+
"IntersectionC",
10009+
"<[",
1002210010
"TypeC",
1002310011
"<{ connector: ",
1002410012
"IntersectionC",
@@ -10226,9 +10214,11 @@
1022610214
"LiteralC",
1022710215
"<\"close-by-user\">, ",
1022810216
"LiteralC",
10229-
"<\"close-by-pushing\">]>; owner: ",
10217+
"<\"close-by-pushing\">]>; }>, ",
10218+
"TypeC",
10219+
"<{ owner: ",
1023010220
"StringC",
10231-
"; }>, ",
10221+
"; }>]>, ",
1023210222
"TypeC",
1023310223
"<{ created_at: ",
1023410224
"StringC",
@@ -12728,7 +12718,7 @@
1272812718
"IntersectionC",
1272912719
"<[",
1273012720
"PartialC",
12731-
"<Pick<{ connector: ",
12721+
"<{ connector: ",
1273212722
"IntersectionC",
1273312723
"<[",
1273412724
"TypeC",
@@ -12934,9 +12924,7 @@
1293412924
"LiteralC",
1293512925
"<\"close-by-user\">, ",
1293612926
"LiteralC",
12937-
"<\"close-by-pushing\">]>; owner: ",
12938-
"StringC",
12939-
"; }, \"connector\" | \"closure_type\">>, ",
12927+
"<\"close-by-pushing\">]>; }>, ",
1294012928
"TypeC",
1294112929
"<{ version: ",
1294212930
"StringC",
@@ -12957,6 +12945,8 @@
1295712945
"label": "CasesConfigureRequestRt",
1295812946
"description": [],
1295912947
"signature": [
12948+
"IntersectionC",
12949+
"<[",
1296012950
"TypeC",
1296112951
"<{ connector: ",
1296212952
"IntersectionC",
@@ -13164,9 +13154,11 @@
1316413154
"LiteralC",
1316513155
"<\"close-by-user\">, ",
1316613156
"LiteralC",
13167-
"<\"close-by-pushing\">]>; owner: ",
13157+
"<\"close-by-pushing\">]>; }>, ",
13158+
"TypeC",
13159+
"<{ owner: ",
1316813160
"StringC",
13169-
"; }>"
13161+
"; }>]>"
1317013162
],
1317113163
"source": {
1317213164
"path": "x-pack/plugins/cases/common/api/cases/configure.ts",

api_docs/licensing.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3074,7 +3074,7 @@
30743074
"plugin": "security",
30753075
"link": {
30763076
"path": "x-pack/plugins/security/server/plugin.ts",
3077-
"lineNumber": 225
3077+
"lineNumber": 229
30783078
}
30793079
},
30803080
{

0 commit comments

Comments
 (0)