From c0d732bf0f011da892f7f514b499ead32f355f91 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 15 May 2025 01:36:17 -0700 Subject: [PATCH] Make CatNodeColumn non-exhaustive (#4373) Names like `heap.*` are allowed (and tested in YAML). (cherry picked from commit 77a1a89f1e2b2b3fbb15cab26ce1efadcb3d4d21) --- output/openapi/elasticsearch-openapi.json | 519 +++++++++++----------- output/schema/schema-serverless.json | 17 +- output/schema/schema.json | 17 +- output/typescript/types.ts | 2 +- specification/cat/_types/CatBase.ts | 1 + 5 files changed, 283 insertions(+), 273 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 8c5ed58dfa..37fa87ef93 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -59017,262 +59017,269 @@ ] }, "cat._types.CatNodeColumn": { - "type": "string", - "enum": [ - "build", - "b", - "completion.size", - "cs", - "completionSize", - "cpu", - "disk.avail", - "d", - "disk", - "diskAvail", - "disk.total", - "dt", - "diskTotal", - "disk.used", - "du", - "diskUsed", - "disk.used_percent", - "dup", - "diskUsedPercent", - "fielddata.evictions", - "fe", - "fielddataEvictions", - "fielddata.memory_size", - "fm", - "fielddataMemory", - "file_desc.current", - "fdc", - "fileDescriptorCurrent", - "file_desc.max", - "fdm", - "fileDescriptorMax", - "file_desc.percent", - "fdp", - "fileDescriptorPercent", - "flush.total", - "ft", - "flushTotal", - "flush.total_time", - "ftt", - "flushTotalTime", - "get.current", - "gc", - "getCurrent", - "get.exists_time", - "geti", - "getExistsTime", - "get.exists_total", - "geto", - "getExistsTotal", - "get.missing_time", - "gmti", - "getMissingTime", - "get.missing_total", - "gmto", - "getMissingTotal", - "get.time", - "gti", - "getTime", - "get.total", - "gto", - "getTotal", - "heap.current", - "hc", - "heapCurrent", - "heap.max", - "hm", - "heapMax", - "heap.percent", - "hp", - "heapPercent", - "http_address", - "http", - "id", - "nodeId", - "indexing.delete_current", - "idc", - "indexingDeleteCurrent", - "indexing.delete_time", - "idti", - "indexingDeleteTime", - "indexing.delete_total", - "idto", - "indexingDeleteTotal", - "indexing.index_current", - "iic", - "indexingIndexCurrent", - "indexing.index_failed", - "iif", - "indexingIndexFailed", - "indexing.index_failed_due_to_version_conflict", - "iifvc", - "indexingIndexFailedDueToVersionConflict", - "indexing.index_time", - "iiti", - "indexingIndexTime", - "indexing.index_total", - "iito", - "indexingIndexTotal", - "ip", - "i", - "jdk", - "j", - "load_1m", - "l", - "load_5m", - "l", - "load_15m", - "l", - "mappings.total_count", - "mtc", - "mappingsTotalCount", - "mappings.total_estimated_overhead_in_bytes", - "mteo", - "mappingsTotalEstimatedOverheadInBytes", - "master", - "m", - "merges.current", - "mc", - "mergesCurrent", - "merges.current_docs", - "mcd", - "mergesCurrentDocs", - "merges.current_size", - "mcs", - "mergesCurrentSize", - "merges.total", - "mt", - "mergesTotal", - "merges.total_docs", - "mtd", - "mergesTotalDocs", - "merges.total_size", - "mts", - "mergesTotalSize", - "merges.total_time", - "mtt", - "mergesTotalTime", - "name", - "n", - "node.role", - "r", - "role", - "nodeRole", - "pid", - "p", - "port", - "po", - "query_cache.memory_size", - "qcm", - "queryCacheMemory", - "query_cache.evictions", - "qce", - "queryCacheEvictions", - "query_cache.hit_count", - "qchc", - "queryCacheHitCount", - "query_cache.miss_count", - "qcmc", - "queryCacheMissCount", - "ram.current", - "rc", - "ramCurrent", - "ram.max", - "rm", - "ramMax", - "ram.percent", - "rp", - "ramPercent", - "refresh.total", - "rto", - "refreshTotal", - "refresh.time", - "rti", - "refreshTime", - "request_cache.memory_size", - "rcm", - "requestCacheMemory", - "request_cache.evictions", - "rce", - "requestCacheEvictions", - "request_cache.hit_count", - "rchc", - "requestCacheHitCount", - "request_cache.miss_count", - "rcmc", - "requestCacheMissCount", - "script.compilations", - "scrcc", - "scriptCompilations", - "script.cache_evictions", - "scrce", - "scriptCacheEvictions", - "search.fetch_current", - "sfc", - "searchFetchCurrent", - "search.fetch_time", - "sfti", - "searchFetchTime", - "search.fetch_total", - "sfto", - "searchFetchTotal", - "search.open_contexts", - "so", - "searchOpenContexts", - "search.query_current", - "sqc", - "searchQueryCurrent", - "search.query_time", - "sqti", - "searchQueryTime", - "search.query_total", - "sqto", - "searchQueryTotal", - "search.scroll_current", - "scc", - "searchScrollCurrent", - "search.scroll_time", - "scti", - "searchScrollTime", - "search.scroll_total", - "scto", - "searchScrollTotal", - "segments.count", - "sc", - "segmentsCount", - "segments.fixed_bitset_memory", - "sfbm", - "fixedBitsetMemory", - "segments.index_writer_memory", - "siwm", - "segmentsIndexWriterMemory", - "segments.memory", - "sm", - "segmentsMemory", - "segments.version_map_memory", - "svmm", - "segmentsVersionMapMemory", - "shard_stats.total_count", - "sstc", - "shards", - "shardStatsTotalCount", - "suggest.current", - "suc", - "suggestCurrent", - "suggest.time", - "suti", - "suggestTime", - "suggest.total", - "suto", - "suggestTotal", - "uptime", - "u", - "version", - "v" + "anyOf": [ + { + "type": "string", + "enum": [ + "build", + "b", + "completion.size", + "cs", + "completionSize", + "cpu", + "disk.avail", + "d", + "disk", + "diskAvail", + "disk.total", + "dt", + "diskTotal", + "disk.used", + "du", + "diskUsed", + "disk.used_percent", + "dup", + "diskUsedPercent", + "fielddata.evictions", + "fe", + "fielddataEvictions", + "fielddata.memory_size", + "fm", + "fielddataMemory", + "file_desc.current", + "fdc", + "fileDescriptorCurrent", + "file_desc.max", + "fdm", + "fileDescriptorMax", + "file_desc.percent", + "fdp", + "fileDescriptorPercent", + "flush.total", + "ft", + "flushTotal", + "flush.total_time", + "ftt", + "flushTotalTime", + "get.current", + "gc", + "getCurrent", + "get.exists_time", + "geti", + "getExistsTime", + "get.exists_total", + "geto", + "getExistsTotal", + "get.missing_time", + "gmti", + "getMissingTime", + "get.missing_total", + "gmto", + "getMissingTotal", + "get.time", + "gti", + "getTime", + "get.total", + "gto", + "getTotal", + "heap.current", + "hc", + "heapCurrent", + "heap.max", + "hm", + "heapMax", + "heap.percent", + "hp", + "heapPercent", + "http_address", + "http", + "id", + "nodeId", + "indexing.delete_current", + "idc", + "indexingDeleteCurrent", + "indexing.delete_time", + "idti", + "indexingDeleteTime", + "indexing.delete_total", + "idto", + "indexingDeleteTotal", + "indexing.index_current", + "iic", + "indexingIndexCurrent", + "indexing.index_failed", + "iif", + "indexingIndexFailed", + "indexing.index_failed_due_to_version_conflict", + "iifvc", + "indexingIndexFailedDueToVersionConflict", + "indexing.index_time", + "iiti", + "indexingIndexTime", + "indexing.index_total", + "iito", + "indexingIndexTotal", + "ip", + "i", + "jdk", + "j", + "load_1m", + "l", + "load_5m", + "l", + "load_15m", + "l", + "mappings.total_count", + "mtc", + "mappingsTotalCount", + "mappings.total_estimated_overhead_in_bytes", + "mteo", + "mappingsTotalEstimatedOverheadInBytes", + "master", + "m", + "merges.current", + "mc", + "mergesCurrent", + "merges.current_docs", + "mcd", + "mergesCurrentDocs", + "merges.current_size", + "mcs", + "mergesCurrentSize", + "merges.total", + "mt", + "mergesTotal", + "merges.total_docs", + "mtd", + "mergesTotalDocs", + "merges.total_size", + "mts", + "mergesTotalSize", + "merges.total_time", + "mtt", + "mergesTotalTime", + "name", + "n", + "node.role", + "r", + "role", + "nodeRole", + "pid", + "p", + "port", + "po", + "query_cache.memory_size", + "qcm", + "queryCacheMemory", + "query_cache.evictions", + "qce", + "queryCacheEvictions", + "query_cache.hit_count", + "qchc", + "queryCacheHitCount", + "query_cache.miss_count", + "qcmc", + "queryCacheMissCount", + "ram.current", + "rc", + "ramCurrent", + "ram.max", + "rm", + "ramMax", + "ram.percent", + "rp", + "ramPercent", + "refresh.total", + "rto", + "refreshTotal", + "refresh.time", + "rti", + "refreshTime", + "request_cache.memory_size", + "rcm", + "requestCacheMemory", + "request_cache.evictions", + "rce", + "requestCacheEvictions", + "request_cache.hit_count", + "rchc", + "requestCacheHitCount", + "request_cache.miss_count", + "rcmc", + "requestCacheMissCount", + "script.compilations", + "scrcc", + "scriptCompilations", + "script.cache_evictions", + "scrce", + "scriptCacheEvictions", + "search.fetch_current", + "sfc", + "searchFetchCurrent", + "search.fetch_time", + "sfti", + "searchFetchTime", + "search.fetch_total", + "sfto", + "searchFetchTotal", + "search.open_contexts", + "so", + "searchOpenContexts", + "search.query_current", + "sqc", + "searchQueryCurrent", + "search.query_time", + "sqti", + "searchQueryTime", + "search.query_total", + "sqto", + "searchQueryTotal", + "search.scroll_current", + "scc", + "searchScrollCurrent", + "search.scroll_time", + "scti", + "searchScrollTime", + "search.scroll_total", + "scto", + "searchScrollTotal", + "segments.count", + "sc", + "segmentsCount", + "segments.fixed_bitset_memory", + "sfbm", + "fixedBitsetMemory", + "segments.index_writer_memory", + "siwm", + "segmentsIndexWriterMemory", + "segments.memory", + "sm", + "segmentsMemory", + "segments.version_map_memory", + "svmm", + "segmentsVersionMapMemory", + "shard_stats.total_count", + "sstc", + "shards", + "shardStatsTotalCount", + "suggest.current", + "suc", + "suggestCurrent", + "suggest.time", + "suti", + "suggestTime", + "suggest.total", + "suto", + "suggestTotal", + "uptime", + "u", + "version", + "v" + ] + }, + { + "type": "string" + } ] }, "cat.nodes.NodesRecord": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index f4cb5cf7b9..6f5cbcaef2 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -99192,7 +99192,7 @@ "name": "CatDatafeedColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1014-L1014", + "specLocation": "cat/_types/CatBase.ts#L1015-L1015", "type": { "items": [ { @@ -99350,7 +99350,7 @@ "name": "CatDfaColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1013-L1013", + "specLocation": "cat/_types/CatBase.ts#L1014-L1014", "type": { "items": [ { @@ -99375,6 +99375,7 @@ } }, { + "isOpen": true, "kind": "enum", "members": [ { @@ -100079,7 +100080,7 @@ "name": "CatNodeColumn", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L560-L1011" + "specLocation": "cat/_types/CatBase.ts#L560-L1012" }, { "kind": "type_alias", @@ -100087,7 +100088,7 @@ "name": "CatNodeColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1015-L1015", + "specLocation": "cat/_types/CatBase.ts#L1016-L1016", "type": { "items": [ { @@ -100224,7 +100225,7 @@ "name": "CatTrainedModelsColumn", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1017-L1091" + "specLocation": "cat/_types/CatBase.ts#L1018-L1092" }, { "kind": "type_alias", @@ -100232,7 +100233,7 @@ "name": "CatTrainedModelsColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1092-L1094", + "specLocation": "cat/_types/CatBase.ts#L1093-L1095", "type": { "items": [ { @@ -100498,7 +100499,7 @@ "name": "CatTransformColumn", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1096-L1300" + "specLocation": "cat/_types/CatBase.ts#L1097-L1301" }, { "kind": "type_alias", @@ -100506,7 +100507,7 @@ "name": "CatTransformColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1301-L1301", + "specLocation": "cat/_types/CatBase.ts#L1302-L1302", "type": { "items": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index 0a4f8421f3..51e4acb10b 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -95056,7 +95056,7 @@ "name": "CatDatafeedColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1014-L1014", + "specLocation": "cat/_types/CatBase.ts#L1015-L1015", "type": { "kind": "union_of", "items": [ @@ -95214,7 +95214,7 @@ "name": "CatDfaColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1013-L1013", + "specLocation": "cat/_types/CatBase.ts#L1014-L1014", "type": { "kind": "union_of", "items": [ @@ -95240,6 +95240,7 @@ }, { "kind": "enum", + "isOpen": true, "members": [ { "aliases": [ @@ -95943,7 +95944,7 @@ "name": "CatNodeColumn", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L560-L1011" + "specLocation": "cat/_types/CatBase.ts#L560-L1012" }, { "kind": "type_alias", @@ -95951,7 +95952,7 @@ "name": "CatNodeColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1015-L1015", + "specLocation": "cat/_types/CatBase.ts#L1016-L1016", "type": { "kind": "union_of", "items": [ @@ -96115,7 +96116,7 @@ "name": "CatTrainedModelsColumn", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1017-L1091" + "specLocation": "cat/_types/CatBase.ts#L1018-L1092" }, { "kind": "type_alias", @@ -96123,7 +96124,7 @@ "name": "CatTrainedModelsColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1092-L1094", + "specLocation": "cat/_types/CatBase.ts#L1093-L1095", "type": { "kind": "union_of", "items": [ @@ -96389,7 +96390,7 @@ "name": "CatTransformColumn", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1096-L1300" + "specLocation": "cat/_types/CatBase.ts#L1097-L1301" }, { "kind": "type_alias", @@ -96397,7 +96398,7 @@ "name": "CatTransformColumns", "namespace": "cat._types" }, - "specLocation": "cat/_types/CatBase.ts#L1301-L1301", + "specLocation": "cat/_types/CatBase.ts#L1302-L1302", "type": { "kind": "union_of", "items": [ diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 4718ab623f..f27dcde8b4 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -7043,7 +7043,7 @@ export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[] -export type CatCatNodeColumn = 'build' | 'b' | 'completion.size' | 'cs' | 'completionSize' | 'cpu' | 'disk.avail' | 'd' | 'disk' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.used' | 'du' | 'diskUsed' | 'disk.used_percent' | 'dup' | 'diskUsedPercent' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'file_desc.current' | 'fdc' | 'fileDescriptorCurrent' | 'file_desc.max' | 'fdm' | 'fileDescriptorMax' | 'file_desc.percent' | 'fdp' | 'fileDescriptorPercent' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'heap.current' | 'hc' | 'heapCurrent' | 'heap.max' | 'hm' | 'heapMax' | 'heap.percent' | 'hp' | 'heapPercent' | 'http_address' | 'http' | 'id' | 'nodeId' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'i' | 'jdk' | 'j' | 'load_1m' | 'l' | 'load_5m' | 'l' | 'load_15m' | 'l' | 'mappings.total_count' | 'mtc' | 'mappingsTotalCount' | 'mappings.total_estimated_overhead_in_bytes' | 'mteo' | 'mappingsTotalEstimatedOverheadInBytes' | 'master' | 'm' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'name' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | 'pid' | 'p' | 'port' | 'po' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.hit_count' | 'qchc' | 'queryCacheHitCount' | 'query_cache.miss_count' | 'qcmc' | 'queryCacheMissCount' | 'ram.current' | 'rc' | 'ramCurrent' | 'ram.max' | 'rm' | 'ramMax' | 'ram.percent' | 'rp' | 'ramPercent' | 'refresh.total' | 'rto' | 'refreshTotal' | 'refresh.time' | 'rti' | 'refreshTime' | 'request_cache.memory_size' | 'rcm' | 'requestCacheMemory' | 'request_cache.evictions' | 'rce' | 'requestCacheEvictions' | 'request_cache.hit_count' | 'rchc' | 'requestCacheHitCount' | 'request_cache.miss_count' | 'rcmc' | 'requestCacheMissCount' | 'script.compilations' | 'scrcc' | 'scriptCompilations' | 'script.cache_evictions' | 'scrce' | 'scriptCacheEvictions' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'shard_stats.total_count' | 'sstc' | 'shards' | 'shardStatsTotalCount' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'uptime' | 'u' | 'version' | 'v' +export type CatCatNodeColumn = 'build' | 'b' | 'completion.size' | 'cs' | 'completionSize' | 'cpu' | 'disk.avail' | 'd' | 'disk' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.used' | 'du' | 'diskUsed' | 'disk.used_percent' | 'dup' | 'diskUsedPercent' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'file_desc.current' | 'fdc' | 'fileDescriptorCurrent' | 'file_desc.max' | 'fdm' | 'fileDescriptorMax' | 'file_desc.percent' | 'fdp' | 'fileDescriptorPercent' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'heap.current' | 'hc' | 'heapCurrent' | 'heap.max' | 'hm' | 'heapMax' | 'heap.percent' | 'hp' | 'heapPercent' | 'http_address' | 'http' | 'id' | 'nodeId' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'i' | 'jdk' | 'j' | 'load_1m' | 'l' | 'load_5m' | 'l' | 'load_15m' | 'l' | 'mappings.total_count' | 'mtc' | 'mappingsTotalCount' | 'mappings.total_estimated_overhead_in_bytes' | 'mteo' | 'mappingsTotalEstimatedOverheadInBytes' | 'master' | 'm' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'name' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | 'pid' | 'p' | 'port' | 'po' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.hit_count' | 'qchc' | 'queryCacheHitCount' | 'query_cache.miss_count' | 'qcmc' | 'queryCacheMissCount' | 'ram.current' | 'rc' | 'ramCurrent' | 'ram.max' | 'rm' | 'ramMax' | 'ram.percent' | 'rp' | 'ramPercent' | 'refresh.total' | 'rto' | 'refreshTotal' | 'refresh.time' | 'rti' | 'refreshTime' | 'request_cache.memory_size' | 'rcm' | 'requestCacheMemory' | 'request_cache.evictions' | 'rce' | 'requestCacheEvictions' | 'request_cache.hit_count' | 'rchc' | 'requestCacheHitCount' | 'request_cache.miss_count' | 'rcmc' | 'requestCacheMissCount' | 'script.compilations' | 'scrcc' | 'scriptCompilations' | 'script.cache_evictions' | 'scrce' | 'scriptCacheEvictions' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'shard_stats.total_count' | 'sstc' | 'shards' | 'shardStatsTotalCount' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'uptime' | 'u' | 'version' | 'v'| string export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[] diff --git a/specification/cat/_types/CatBase.ts b/specification/cat/_types/CatBase.ts index 7f019d591f..8e5c503073 100644 --- a/specification/cat/_types/CatBase.ts +++ b/specification/cat/_types/CatBase.ts @@ -557,6 +557,7 @@ export enum CatDfaColumn { version } +/** @non_exhaustive */ export enum CatNodeColumn { /** * The Elasticsearch build hash. For example: `5c03844`.