mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.9`: - [[ELSER] Remove missing type hints related to the inference config (#162602)](https://github.com/elastic/kibana/pull/162602) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Saikat Sarkar","email":"132922331+saikatsarkar056@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-07-31T14:26:34Z","message":"[ELSER] Remove missing type hints related to the inference config (#162602)\n\nThis pr is related to issue:\r\nhttps://github.com/elastic/enterprise-search-team/issues/4432\r\n\r\nThis change involves removing hints related to the inference_config\r\nattribute\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"bf5c2703f9794767b8b004304f250f02d346a01c","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v8.10.0"],"number":162602,"url":"https://github.com/elastic/kibana/pull/162602","mergeCommit":{"message":"[ELSER] Remove missing type hints related to the inference config (#162602)\n\nThis pr is related to issue:\r\nhttps://github.com/elastic/enterprise-search-team/issues/4432\r\n\r\nThis change involves removing hints related to the inference_config\r\nattribute\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"bf5c2703f9794767b8b004304f250f02d346a01c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162602","number":162602,"mergeCommit":{"message":"[ELSER] Remove missing type hints related to the inference config (#162602)\n\nThis pr is related to issue:\r\nhttps://github.com/elastic/enterprise-search-team/issues/4432\r\n\r\nThis change involves removing hints related to the inference_config\r\nattribute\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"bf5c2703f9794767b8b004304f250f02d346a01c"}}]}] BACKPORT--> --------- Co-authored-by: Saikat Sarkar <132922331+saikatsarkar056@users.noreply.github.com>
This commit is contained in:
parent
a686ec992d
commit
876d341bf3
6 changed files with 29 additions and 11 deletions
|
@ -96,7 +96,7 @@
|
|||
"@elastic/apm-rum-react": "^1.4.2",
|
||||
"@elastic/charts": "59.0.0",
|
||||
"@elastic/datemath": "5.0.3",
|
||||
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.8.0-canary.2",
|
||||
"@elastic/elasticsearch": "npm:@elastic/elasticsearch@8.9.0",
|
||||
"@elastic/ems-client": "8.4.0",
|
||||
"@elastic/eui": "82.1.0",
|
||||
"@elastic/filesaver": "1.1.2",
|
||||
|
|
|
@ -98,7 +98,7 @@ export type FieldSpecRestResponse = DataViewFieldBaseRestResponse & {
|
|||
fixedInterval?: string[];
|
||||
timeZone?: string[];
|
||||
timeSeriesDimension?: boolean;
|
||||
timeSeriesMetric?: 'histogram' | 'summary' | 'gauge' | 'counter';
|
||||
timeSeriesMetric?: 'histogram' | 'summary' | 'gauge' | 'counter' | 'position';
|
||||
shortDotsEnable?: boolean;
|
||||
isMapped?: boolean;
|
||||
parentName?: string;
|
||||
|
@ -162,6 +162,6 @@ export interface FieldDescriptorRestResponse {
|
|||
metadata_field?: boolean;
|
||||
fixedInterval?: string[];
|
||||
timeZone?: string[];
|
||||
timeSeriesMetric?: 'histogram' | 'summary' | 'counter' | 'gauge';
|
||||
timeSeriesMetric?: 'histogram' | 'summary' | 'counter' | 'gauge' | 'position';
|
||||
timeSeriesDimension?: boolean;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ export const fetchAnalyticsCollections = async (
|
|||
): Promise<AnalyticsCollection[]> => {
|
||||
try {
|
||||
const collections = await client.asCurrentUser.searchApplication.getBehavioralAnalytics({
|
||||
name: query,
|
||||
name: [query],
|
||||
});
|
||||
|
||||
return Object.keys(collections).map((value) => {
|
||||
|
|
|
@ -50,7 +50,6 @@ export const startMlModelDownload = async (
|
|||
|
||||
// we're not downloaded yet - let's initiate that...
|
||||
const putRequest: MlPutTrainedModelRequest = {
|
||||
// @ts-expect-error @elastic-elasticsearch inference_config can be optional
|
||||
body: {
|
||||
input: {
|
||||
field_names: ['text_field'],
|
||||
|
|
|
@ -98,7 +98,7 @@ export type IndexPatternField = FieldSpec & {
|
|||
* Map of fields which can be used, but may fail partially (ranked lower than others)
|
||||
*/
|
||||
partiallyApplicableFunctions?: Partial<Record<string, boolean>>;
|
||||
timeSeriesMetric?: 'histogram' | 'summary' | 'gauge' | 'counter';
|
||||
timeSeriesMetric?: 'histogram' | 'summary' | 'gauge' | 'counter' | 'position';
|
||||
timeSeriesRollup?: boolean;
|
||||
meta?: boolean;
|
||||
runtime?: boolean;
|
||||
|
|
29
yarn.lock
29
yarn.lock
|
@ -1524,12 +1524,12 @@
|
|||
"@elastic/transport" "^8.3.1"
|
||||
tslib "^2.4.0"
|
||||
|
||||
"@elastic/elasticsearch@npm:@elastic/elasticsearch-canary@8.8.0-canary.2":
|
||||
version "8.8.0-canary.2"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/elasticsearch-canary/-/elasticsearch-canary-8.8.0-canary.2.tgz#10b5699541d644797b33c7e24058d2e55367d88d"
|
||||
integrity sha512-UxH8YUxcsqHXGh4t2PjuL0q03XunF9vCLHPAs9r+fQcaPXpNbEuv9jbNGXv/9TLyeAKYEgcq9Xm0p0Nk/Mh0lQ==
|
||||
"@elastic/elasticsearch@npm:@elastic/elasticsearch@8.9.0":
|
||||
version "8.9.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/elasticsearch/-/elasticsearch-8.9.0.tgz#d132021c6c12e4171fe14371609a5c69b535edd4"
|
||||
integrity sha512-UyolnzjOYTRL2966TYS3IoJP4tQbvak/pmYmbP3JdphD53RjkyVDdxMpTBv+2LcNBRrvYPTzxQbpRW/nGSXA9g==
|
||||
dependencies:
|
||||
"@elastic/transport" "^8.3.1"
|
||||
"@elastic/transport" "^8.3.2"
|
||||
tslib "^2.4.0"
|
||||
|
||||
"@elastic/ems-client@8.4.0":
|
||||
|
@ -1722,6 +1722,18 @@
|
|||
tslib "^2.4.0"
|
||||
undici "^5.5.1"
|
||||
|
||||
"@elastic/transport@^8.3.2":
|
||||
version "8.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/transport/-/transport-8.3.2.tgz#295e91f43e3a60a839f998ac3090a83ddb441592"
|
||||
integrity sha512-ZiBYRVPj6pwYW99fueyNU4notDf7ZPs7Ix+4T1btIJsKJmeaORIItIfs+0O7KV4vV+DcvyMhkY1FXQx7kQOODw==
|
||||
dependencies:
|
||||
debug "^4.3.4"
|
||||
hpagent "^1.0.0"
|
||||
ms "^2.1.3"
|
||||
secure-json-parse "^2.4.0"
|
||||
tslib "^2.4.0"
|
||||
undici "^5.22.1"
|
||||
|
||||
"@emotion/babel-plugin-jsx-pragmatic@^0.2.1":
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@emotion/babel-plugin-jsx-pragmatic/-/babel-plugin-jsx-pragmatic-0.2.1.tgz#01d3306fde73b60d683f78f3bd9f6b2c919b63b6"
|
||||
|
@ -27989,6 +28001,13 @@ undici@^5.11.0, undici@^5.5.1:
|
|||
dependencies:
|
||||
busboy "^1.6.0"
|
||||
|
||||
undici@^5.22.1:
|
||||
version "5.22.1"
|
||||
resolved "https://registry.yarnpkg.com/undici/-/undici-5.22.1.tgz#877d512effef2ac8be65e695f3586922e1a57d7b"
|
||||
integrity sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==
|
||||
dependencies:
|
||||
busboy "^1.6.0"
|
||||
|
||||
unfetch@^4.2.0:
|
||||
version "4.2.0"
|
||||
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue