@eclipse-che/api
Advanced tools
Comparing version 7.80.0 to 7.81.0
442
index.d.ts
@@ -6,5 +6,12 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
// 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; | ||
@@ -14,9 +21,9 @@ name?: string; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
source?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
@@ -30,20 +37,5 @@ } | ||
// 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.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto | ||
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
scmInfo?: ScmInfo; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
v?: string; | ||
@@ -53,11 +45,13 @@ name?: string; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
// org.eclipse.che.api.factory.shared.dto.PoliciesDto | ||
export interface Policies { | ||
referer?: string; | ||
create?: string; | ||
until?: number; | ||
since?: number; | ||
} | ||
@@ -93,2 +87,8 @@ | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
@@ -106,8 +106,2 @@ export interface Author { | ||
// org.eclipse.che.api.system.shared.dto.SystemStateDto | ||
export interface SystemState extends che.core.rest.Hyperlinks { | ||
links?: che.core.rest.Link[]; | ||
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemStatusChangedEventDto | ||
@@ -120,2 +114,8 @@ export interface SystemStatusChangedEvent extends SystemEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemStateDto | ||
export interface SystemState extends che.core.rest.Hyperlinks { | ||
links?: che.core.rest.Link[]; | ||
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto | ||
@@ -130,7 +130,2 @@ 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 | ||
@@ -142,2 +137,7 @@ export interface SystemServiceEvent extends SystemEvent { | ||
// 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'; | ||
} | ||
} | ||
@@ -158,11 +158,39 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto | ||
export interface Entrypoint { | ||
args?: string[]; | ||
parentName?: string; | ||
containerName?: string; | ||
parentSelector?: { [key: string]: string; }; | ||
command?: string[]; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto | ||
export interface Env { | ||
name?: string; | ||
value?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
} | ||
// 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.SourceDto | ||
export interface Source { | ||
startPoint?: string; | ||
location?: string; | ||
tag?: string; | ||
commitId?: string; | ||
type?: string; | ||
branch?: string; | ||
sparseCheckoutDir?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto | ||
@@ -193,8 +221,2 @@ export interface Component { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto | ||
@@ -212,28 +234,11 @@ export interface PreviewUrl { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.SourceDto | ||
export interface Source { | ||
startPoint?: string; | ||
location?: string; | ||
tag?: string; | ||
commitId?: string; | ||
type?: string; | ||
branch?: string; | ||
sparseCheckoutDir?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto | ||
export interface Entrypoint { | ||
args?: string[]; | ||
parentName?: string; | ||
containerName?: string; | ||
parentSelector?: { [key: string]: string; }; | ||
command?: string[]; | ||
} | ||
// 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 | ||
@@ -249,13 +254,8 @@ export interface DevfileAction { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto | ||
export interface Env { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
value?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
@@ -265,34 +265,23 @@ | ||
export namespace che.ssh { | ||
export namespace che.workspace { | ||
// org.eclipse.che.api.ssh.shared.dto.SshPairDto | ||
export interface SshPair extends che.core.rest.Hyperlinks { | ||
privateKey?: string; | ||
service?: string; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
publicKey?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
infrastructureNamespace?: string; | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
export interface ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
name?: string; | ||
} | ||
} | ||
export namespace che.workspace { | ||
// 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; }; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
source?: SourceStorage; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
} | ||
@@ -307,7 +296,17 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
// org.eclipse.che.api.workspace.shared.dto.RecipeDto | ||
export interface Recipe { | ||
location?: string; | ||
type?: string; | ||
contentType?: string; | ||
content?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
type?: string; | ||
commandLine?: string; | ||
} | ||
@@ -323,15 +322,2 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.RecipeDto | ||
export interface Recipe { | ||
location?: string; | ||
type?: string; | ||
contentType?: string; | ||
content?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
@@ -353,8 +339,7 @@ export interface ServerConfig { | ||
// 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.SourceStorageDto | ||
export interface SourceStorage { | ||
location?: string; | ||
type?: string; | ||
parameters?: { [key: string]: string; }; | ||
} | ||
@@ -368,15 +353,42 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
// 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.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: 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.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; }; | ||
type?: string; | ||
commandLine?: string; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
@@ -390,4 +402,4 @@ | ||
runtime?: Runtime; | ||
links?: { [key: string]: string; }; | ||
attributes?: { [key: string]: string; }; | ||
links?: { [key: string]: string; }; | ||
id?: string; | ||
@@ -398,39 +410,27 @@ config?: WorkspaceConfig; | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
export interface ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
source?: SourceStorage; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.SourceStorageDto | ||
export interface SourceStorage { | ||
location?: string; | ||
type?: string; | ||
parameters?: { [key: string]: string; }; | ||
} | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
export namespace che.ssh { | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto | ||
export interface Runtime extends che.core.rest.Hyperlinks { | ||
owner?: string; | ||
warnings?: Warning[]; | ||
machineToken?: string; | ||
activeEnv?: string; | ||
// org.eclipse.che.api.ssh.shared.dto.SshPairDto | ||
export interface SshPair extends che.core.rest.Hyperlinks { | ||
privateKey?: string; | ||
service?: string; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
machines?: { [key: string]: Machine; }; | ||
commands?: Command[]; | ||
publicKey?: string; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
} | ||
@@ -472,4 +472,12 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent | ||
export interface BrokerStatusChangedEvent { | ||
tooling?: string; | ||
error?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTED' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
@@ -482,61 +490,53 @@ time?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent | ||
export interface ServerStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
serverUrl?: string; | ||
serverName?: string; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: string; | ||
machineName?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
prevStatus?: string; | ||
failed?: boolean; | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
time?: string; | ||
error?: string; | ||
status?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent | ||
export interface ServerStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: string; | ||
serverUrl?: string; | ||
serverName?: string; | ||
machineName?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
time?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent | ||
export interface BrokerStatusChangedEvent { | ||
tooling?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
prevStatus?: string; | ||
failed?: boolean; | ||
error?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTED' | 'DONE' | 'FAILED'; | ||
status?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
time?: string; | ||
error?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
@@ -556,10 +556,2 @@ export interface WorkspaceStatusEvent { | ||
// 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 | ||
@@ -589,5 +581,8 @@ export interface Link { | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
trace?: string[]; | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
@@ -601,2 +596,7 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo | ||
@@ -603,0 +603,0 @@ export interface ApiInfo { |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.80.0", | ||
"version": "7.81.0", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |