forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove browser basePath service, move functionality into browser http…
… service (elastic#36611) * Remove browser basePath service, move functionality into browser http service * Update generated documentation for removal of browser basePath * Fix type interface for removal of basePath * Split IHttpService into separate setup and start interfaces * Rename appendToBasePath to prependBasePath, rename removeFromBasePath to removeBasePath
- Loading branch information
1 parent
0281eaf
commit 5225b60
Showing
69 changed files
with
789 additions
and
830 deletions.
There are no files selected for viewing
24 changes: 0 additions & 24 deletions
24
docs/development/core/public/kibana-plugin-public.basepathsetup.addtopath.md
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
docs/development/core/public/kibana-plugin-public.basepathsetup.get.md
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
docs/development/core/public/kibana-plugin-public.basepathsetup.md
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
docs/development/core/public/kibana-plugin-public.basepathsetup.removefrompath.md
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
docs/development/core/public/kibana-plugin-public.basepathstart.md
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
docs/development/core/public/kibana-plugin-public.coresetup.basepath.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
docs/development/core/public/kibana-plugin-public.corestart.basepath.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...development/core/public/kibana-plugin-public.httpservicebase.addloadingcount.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [addLoadingCount](./kibana-plugin-public.httpservicebase.addloadingcount.md) | ||
|
||
## HttpServiceBase.addLoadingCount() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
addLoadingCount(count$: Observable<number>): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| count$ | <code>Observable<number></code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`void` | ||
|
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.delete.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [delete](./kibana-plugin-public.httpservicebase.delete.md) | ||
|
||
## HttpServiceBase.delete property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
delete: HttpHandler; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.fetch.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [fetch](./kibana-plugin-public.httpservicebase.fetch.md) | ||
|
||
## HttpServiceBase.fetch property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
fetch: HttpHandler; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.get.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [get](./kibana-plugin-public.httpservicebase.get.md) | ||
|
||
## HttpServiceBase.get property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
get: HttpHandler; | ||
``` |
15 changes: 15 additions & 0 deletions
15
docs/development/core/public/kibana-plugin-public.httpservicebase.getbasepath.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [getBasePath](./kibana-plugin-public.httpservicebase.getbasepath.md) | ||
|
||
## HttpServiceBase.getBasePath() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getBasePath(): string; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`string` | ||
|
15 changes: 15 additions & 0 deletions
15
...evelopment/core/public/kibana-plugin-public.httpservicebase.getloadingcount$.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [getLoadingCount$](./kibana-plugin-public.httpservicebase.getloadingcount$.md) | ||
|
||
## HttpServiceBase.getLoadingCount$() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getLoadingCount$(): Observable<number>; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`Observable<number>` | ||
|
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.head.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [head](./kibana-plugin-public.httpservicebase.head.md) | ||
|
||
## HttpServiceBase.head property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
head: HttpHandler; | ||
``` |
37 changes: 37 additions & 0 deletions
37
docs/development/core/public/kibana-plugin-public.httpservicebase.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) | ||
|
||
## HttpServiceBase interface | ||
|
||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface HttpServiceBase | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [delete](./kibana-plugin-public.httpservicebase.delete.md) | <code>HttpHandler</code> | | | ||
| [fetch](./kibana-plugin-public.httpservicebase.fetch.md) | <code>HttpHandler</code> | | | ||
| [get](./kibana-plugin-public.httpservicebase.get.md) | <code>HttpHandler</code> | | | ||
| [head](./kibana-plugin-public.httpservicebase.head.md) | <code>HttpHandler</code> | | | ||
| [options](./kibana-plugin-public.httpservicebase.options.md) | <code>HttpHandler</code> | | | ||
| [patch](./kibana-plugin-public.httpservicebase.patch.md) | <code>HttpHandler</code> | | | ||
| [post](./kibana-plugin-public.httpservicebase.post.md) | <code>HttpHandler</code> | | | ||
| [put](./kibana-plugin-public.httpservicebase.put.md) | <code>HttpHandler</code> | | | ||
|
||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [addLoadingCount(count$)](./kibana-plugin-public.httpservicebase.addloadingcount.md) | | | ||
| [getBasePath()](./kibana-plugin-public.httpservicebase.getbasepath.md) | | | ||
| [getLoadingCount$()](./kibana-plugin-public.httpservicebase.getloadingcount$.md) | | | ||
| [prependBasePath(path)](./kibana-plugin-public.httpservicebase.prependbasepath.md) | | | ||
| [removeBasePath(path)](./kibana-plugin-public.httpservicebase.removebasepath.md) | | | ||
| [stop()](./kibana-plugin-public.httpservicebase.stop.md) | | | ||
|
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.options.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [options](./kibana-plugin-public.httpservicebase.options.md) | ||
|
||
## HttpServiceBase.options property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
options: HttpHandler; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.patch.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [patch](./kibana-plugin-public.httpservicebase.patch.md) | ||
|
||
## HttpServiceBase.patch property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
patch: HttpHandler; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.post.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [post](./kibana-plugin-public.httpservicebase.post.md) | ||
|
||
## HttpServiceBase.post property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
post: HttpHandler; | ||
``` |
22 changes: 22 additions & 0 deletions
22
...development/core/public/kibana-plugin-public.httpservicebase.prependbasepath.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [prependBasePath](./kibana-plugin-public.httpservicebase.prependbasepath.md) | ||
|
||
## HttpServiceBase.prependBasePath() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
prependBasePath(path: string): string; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| path | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`string` | ||
|
11 changes: 11 additions & 0 deletions
11
docs/development/core/public/kibana-plugin-public.httpservicebase.put.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [put](./kibana-plugin-public.httpservicebase.put.md) | ||
|
||
## HttpServiceBase.put property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
put: HttpHandler; | ||
``` |
22 changes: 22 additions & 0 deletions
22
.../development/core/public/kibana-plugin-public.httpservicebase.removebasepath.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index) > [kibana-plugin-public](./kibana-plugin-public.md) > [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) > [removeBasePath](./kibana-plugin-public.httpservicebase.removebasepath.md) | ||
|
||
## HttpServiceBase.removeBasePath() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
removeBasePath(path: string): string; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| path | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`string` | ||
|
Oops, something went wrong.