@eclipse-che/api
Advanced tools
Comparing version 7.77.0 to 7.78.0
238
index.d.ts
@@ -6,8 +6,12 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
v?: string; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
source?: string; | ||
ide?: Ide; | ||
} | ||
@@ -20,5 +24,25 @@ | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.PoliciesDto | ||
export interface Policies { | ||
referer?: string; | ||
create?: string; | ||
until?: number; | ||
since?: number; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto | ||
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
scmInfo?: ScmInfo; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
v?: string; | ||
@@ -28,4 +52,4 @@ name?: string; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
source?: string; | ||
ide?: Ide; | ||
@@ -40,14 +64,2 @@ } | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDto | ||
@@ -59,4 +71,4 @@ export interface Factory extends che.core.rest.Hyperlinks { | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
@@ -68,2 +80,9 @@ source?: string; | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeDto | ||
@@ -76,29 +95,10 @@ export interface Ide { | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto | ||
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
scmInfo?: ScmInfo; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
v?: string; | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
userId?: string; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.PoliciesDto | ||
export interface Policies { | ||
referer?: string; | ||
create?: string; | ||
until?: number; | ||
since?: number; | ||
} | ||
} | ||
@@ -121,7 +121,2 @@ | ||
// org.eclipse.che.api.system.shared.dto.SystemEventDto | ||
export interface SystemEvent { | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto | ||
@@ -136,2 +131,7 @@ export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemEventDto | ||
export interface SystemEvent { | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceEventDto | ||
@@ -221,2 +221,17 @@ export interface SystemServiceEvent extends SystemEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto | ||
export interface Project { | ||
clonePath?: string; | ||
name?: string; | ||
source?: Source; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto | ||
@@ -232,8 +247,2 @@ export interface DevfileAction { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
generateName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
@@ -246,17 +255,8 @@ export interface Endpoint { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
generateName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto | ||
export interface Project { | ||
clonePath?: string; | ||
name?: string; | ||
source?: Source; | ||
} | ||
} | ||
@@ -285,2 +285,15 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceConfigDto | ||
export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
projects?: ProjectConfig[]; | ||
environments?: { [key: string]: Environment; }; | ||
devfile?: che.core.model.workspace.devfile.Devfile; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerDto | ||
@@ -293,2 +306,9 @@ export interface Server { | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
@@ -315,19 +335,10 @@ export interface MachineConfig { | ||
// org.eclipse.che.api.workspace.shared.dto.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
infrastructureNamespace?: string; | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto | ||
export interface Runtime extends che.core.rest.Hyperlinks { | ||
owner?: string; | ||
warnings?: Warning[]; | ||
machineToken?: string; | ||
activeEnv?: string; | ||
links?: che.core.rest.Link[]; | ||
machines?: { [key: string]: Machine; }; | ||
commands?: Command[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
@@ -342,23 +353,8 @@ export interface Command { | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceConfigDto | ||
export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
projects?: ProjectConfig[]; | ||
environments?: { [key: string]: Environment; }; | ||
devfile?: che.core.model.workspace.devfile.Devfile; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
infrastructureNamespace?: string; | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
@@ -425,7 +421,11 @@ export interface Environment { | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto | ||
export interface Runtime extends che.core.rest.Hyperlinks { | ||
owner?: string; | ||
warnings?: Warning[]; | ||
machineToken?: string; | ||
activeEnv?: string; | ||
links?: che.core.rest.Link[]; | ||
machines?: { [key: string]: Machine; }; | ||
commands?: Command[]; | ||
} | ||
@@ -474,4 +474,4 @@ | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
} | ||
@@ -490,4 +490,4 @@ | ||
export interface RuntimeStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
@@ -521,4 +521,4 @@ error?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
} | ||
@@ -545,4 +545,4 @@ | ||
error?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
@@ -567,10 +567,2 @@ } | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
trace?: string[]; | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Link | ||
@@ -587,2 +579,10 @@ export interface Link { | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
trace?: string[]; | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks | ||
@@ -589,0 +589,0 @@ export interface Hyperlinks { |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.77.0", | ||
"version": "7.78.0", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |