mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Clean up unused status (#131558)
This commit is contained in:
parent
6f0e4fab80
commit
42ec15bd0b
2 changed files with 2 additions and 12 deletions
|
@ -59,5 +59,4 @@ export const installationStatuses = {
|
|||
Installing: 'installing',
|
||||
InstallFailed: 'install_failed',
|
||||
NotInstalled: 'not_installed',
|
||||
InstalledBundled: 'installed_bundled',
|
||||
} as const;
|
||||
|
|
|
@ -45,11 +45,7 @@ export interface DefaultPackagesInstallationError {
|
|||
export type InstallType = 'reinstall' | 'reupdate' | 'rollback' | 'update' | 'install' | 'unknown';
|
||||
export type InstallSource = 'registry' | 'upload' | 'bundled';
|
||||
|
||||
export type EpmPackageInstallStatus =
|
||||
| 'installed'
|
||||
| 'installing'
|
||||
| 'install_failed'
|
||||
| 'installed_bundled';
|
||||
export type EpmPackageInstallStatus = 'installed' | 'installing' | 'install_failed';
|
||||
|
||||
export type DetailViewPanelName = 'overview' | 'policies' | 'assets' | 'settings' | 'custom';
|
||||
export type ServiceName = 'kibana' | 'elasticsearch';
|
||||
|
@ -431,8 +427,7 @@ export type Installable<T> =
|
|||
| InstalledRegistry<T>
|
||||
| Installing<T>
|
||||
| NotInstalled<T>
|
||||
| InstallFailed<T>
|
||||
| InstalledBundled<T>;
|
||||
| InstallFailed<T>;
|
||||
|
||||
export type InstallStatusExcluded<T = {}> = T & {
|
||||
status: undefined;
|
||||
|
@ -443,10 +438,6 @@ export type InstalledRegistry<T = {}> = T & {
|
|||
savedObject: SavedObject<Installation>;
|
||||
};
|
||||
|
||||
export type InstalledBundled<T = {}> = T & {
|
||||
status: InstallationStatus['InstalledBundled'];
|
||||
};
|
||||
|
||||
export type Installing<T = {}> = T & {
|
||||
status: InstallationStatus['Installing'];
|
||||
savedObject: SavedObject<Installation>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue