@cloudtower/eagle 0.25.0 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,69 +0,0 @@
1
- /// <reference types="react" />
2
- export type ExcludeMaybe<T> = Exclude<T extends string | number | boolean ? T : {
3
- [P in keyof T]-?: T[P] extends (infer U)[] ? ExcludeMaybe<U>[] : T[P] extends Array<infer U> ? ExcludeMaybe<U>[] : ExcludeMaybe<T[P]>;
4
- }, null | undefined>;
5
- export type SidebarType = "vm" | "disk" | "alert_rules" | "alerts" | "elfImage" | "vds" | "vmPlacementGroup" | "vmTemplate" | "iscsiLun" | "nic" | "systemVlan" | "vmVlan" | "vmVolume" | "reportTemplate" | "nfsInode" | "snapshotPlan" | "label" | "userAuditLog" | "primaryZone" | "secondaryZone" | "zoneAndZone" | "witnessNode" | "primaryZoneAndWitness" | "secondaryZoneAndWitness" | "userRoleNext" | "consistencyGroup" | "nvmfNamespace" | "systemAuditLog" | "contentLibraryImage" | "contentLibraryVmTemplate" | "backupPlan" | "backupStoreRepository" | "securityGroup" | "everouteCluster";
6
- export declare enum ConnectState {
7
- Connected = "CONNECTED",
8
- Disconnected = "DISCONNECTED",
9
- Initializing = "INITIALIZING",
10
- Removing = "REMOVING"
11
- }
12
- export declare enum MaintenanceModeEnum {
13
- EnteringMaintenanceMode = "ENTERING_MAINTENANCE_MODE",
14
- InUse = "IN_USE",
15
- MaintenanceMode = "MAINTENANCE_MODE",
16
- Removing = "REMOVING"
17
- }
18
- export type Sidebar = {
19
- type: SidebarType;
20
- view?: string;
21
- id: string;
22
- } | undefined;
23
- export type CreateVmAction = "create" | "createFromTemplate" | "clone" | "rebuild";
24
- export type Topo = {
25
- resource: "datacenters" | "clusters" | "hosts" | "vm_folders";
26
- id: string;
27
- } | undefined;
28
- export type FormatUnit = "GiB" | "KiB";
29
- export type PropsFrom<TComponent> = TComponent extends React.FC<infer Props> ? Props : TComponent extends React.Component<infer Props> ? Props : never;
30
- export type PastTime = {
31
- unit: "h" | "m" | "d";
32
- value: number;
33
- disabled?: boolean;
34
- };
35
- export type Data = {
36
- id: string;
37
- cluster: {
38
- id: string;
39
- name: string;
40
- connect_state?: ConnectState;
41
- };
42
- vm?: {
43
- id: string;
44
- };
45
- entityFilter?: {
46
- id: string;
47
- name: string;
48
- };
49
- connect_state?: ConnectState;
50
- clusters?: {
51
- id: string;
52
- name: string;
53
- connect_state?: ConnectState;
54
- }[];
55
- host_state?: {
56
- state: MaintenanceModeEnum;
57
- };
58
- };
59
- type HistoryRecord = {
60
- data: Data;
61
- type: string;
62
- } | {
63
- type: "search-keyword";
64
- data: string;
65
- };
66
- export type GlobalSearchHistory = Partial<Record<string, HistoryRecord[]>> & {
67
- _head?: HistoryRecord[];
68
- };
69
- export {};