Skip to content

Commit

Permalink
Remove line numbers from the json files (#107158) (#107758)
Browse files Browse the repository at this point in the history
* Stop tracking line numbers

* Updated api docs

* Fix type error and update tests

* wrap label in encodeURIComponent for the links

* Update docs after encodeUriComponent change
# Conflicts:
#	api_docs/apm.json
#	api_docs/canvas.json
#	api_docs/core.json
#	api_docs/core_saved_objects.json
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_field_formats.json
#	api_docs/data_field_formats.mdx
#	api_docs/data_index_patterns.json
#	api_docs/data_index_patterns.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.json
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/home.json
#	api_docs/lens.json
#	api_docs/monitoring.json
#	api_docs/presentation_util.json
#	api_docs/security.json
#	api_docs/security_solution.json
#	api_docs/timelines.json
  • Loading branch information
stacey-gammon authored Aug 5, 2021
1 parent 475e9e8 commit 0b9be5d
Show file tree
Hide file tree
Showing 134 changed files with 30,993 additions and 93,616 deletions.
585 changes: 117 additions & 468 deletions api_docs/actions.json

Large diffs are not rendered by default.

115 changes: 23 additions & 92 deletions api_docs/advanced_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"tags": [],
"label": "ComponentRegistry",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 27
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"children": [
{
Expand All @@ -25,10 +22,7 @@
"signature": [
"{ [key: string]: Id; }"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 28
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
},
{
Expand All @@ -38,10 +32,7 @@
"tags": [],
"label": "defaultRegistry",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 29
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"children": [
{
Expand All @@ -54,10 +45,7 @@
"signature": [
"() => JSX.Element"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 30
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"returnComment": [],
"children": []
Expand All @@ -72,10 +60,7 @@
"signature": [
"() => null"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 31
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"returnComment": [],
"children": []
Expand All @@ -90,10 +75,7 @@
"signature": [
"() => null"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 32
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"returnComment": [],
"children": []
Expand All @@ -107,10 +89,7 @@
"tags": [],
"label": "registry",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 35
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"children": []
},
Expand All @@ -121,10 +100,7 @@
"tags": [],
"label": "setup",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 71
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"children": [
{
Expand All @@ -137,10 +113,7 @@
"signature": [
"{ [key: string]: Id; }"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 72
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
},
{
Expand All @@ -153,10 +126,7 @@
"signature": [
"(id: Id, component: React.ComponentType<Record<string, any> | undefined>, allowOverride?: boolean) => void"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 73
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"returnComment": [],
"children": [
Expand All @@ -170,10 +140,7 @@
"signature": [
"\"advanced_settings_page_title\" | \"advanced_settings_page_subtitle\" | \"advanced_settings_page_footer\""
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 47
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
},
{
Expand All @@ -186,10 +153,7 @@
"signature": [
"React.ComponentClass<Record<string, any> | undefined, any> | React.FunctionComponent<Record<string, any> | undefined>"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 47
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
},
{
Expand All @@ -199,10 +163,7 @@
"tags": [],
"label": "allowOverride",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 47
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
}
]
Expand All @@ -216,10 +177,7 @@
"tags": [],
"label": "start",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 76
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"children": [
{
Expand All @@ -232,10 +190,7 @@
"signature": [
"{ [key: string]: Id; }"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 77
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
},
{
Expand All @@ -248,10 +203,7 @@
"signature": [
"(id: Id) => React.ComponentType<Record<string, any> | undefined>"
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 78
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false,
"returnComment": [],
"children": [
Expand All @@ -265,10 +217,7 @@
"signature": [
"\"advanced_settings_page_title\" | \"advanced_settings_page_subtitle\" | \"advanced_settings_page_footer\""
],
"source": {
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"lineNumber": 67
},
"path": "src/plugins/advanced_settings/public/component_registry/component_registry.ts",
"deprecated": false
}
]
Expand Down Expand Up @@ -296,10 +245,7 @@
"Field",
"; }"
],
"source": {
"path": "src/plugins/advanced_settings/public/index.ts",
"lineNumber": 20
},
"path": "src/plugins/advanced_settings/public/index.ts",
"deprecated": false,
"returnComment": [],
"children": [
Expand All @@ -313,10 +259,7 @@
"signature": [
"P"
],
"source": {
"path": "node_modules/@types/react/index.d.ts",
"lineNumber": 359
},
"path": "node_modules/@types/react/index.d.ts",
"deprecated": false
}
],
Expand All @@ -334,10 +277,7 @@
"tags": [],
"label": "AdvancedSettingsSetup",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/types.ts",
"lineNumber": 15
},
"path": "src/plugins/advanced_settings/public/types.ts",
"deprecated": false,
"children": [
{
Expand All @@ -350,10 +290,7 @@
"signature": [
"{ componentType: { [key: string]: Id; }; register: (id: Id, component: React.ComponentType<Record<string, any> | undefined>, allowOverride?: boolean) => void; }"
],
"source": {
"path": "src/plugins/advanced_settings/public/types.ts",
"lineNumber": 16
},
"path": "src/plugins/advanced_settings/public/types.ts",
"deprecated": false
}
],
Expand All @@ -367,10 +304,7 @@
"tags": [],
"label": "AdvancedSettingsStart",
"description": [],
"source": {
"path": "src/plugins/advanced_settings/public/types.ts",
"lineNumber": 18
},
"path": "src/plugins/advanced_settings/public/types.ts",
"deprecated": false,
"children": [
{
Expand All @@ -383,10 +317,7 @@
"signature": [
"{ componentType: { [key: string]: Id; }; get: (id: Id) => React.ComponentType<Record<string, any> | undefined>; }"
],
"source": {
"path": "src/plugins/advanced_settings/public/types.ts",
"lineNumber": 19
},
"path": "src/plugins/advanced_settings/public/types.ts",
"deprecated": false
}
],
Expand Down
Loading

0 comments on commit 0b9be5d

Please sign in to comment.