@eclipse-che/api
Advanced tools
Comparing version 7.41.0 to 7.41.1
584
index.d.ts
@@ -6,7 +6,12 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
@@ -20,5 +25,13 @@ export interface Author { | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
// 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; | ||
@@ -33,12 +46,24 @@ name?: string; | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
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.IdeDto | ||
export interface Ide { | ||
onAppLoaded?: OnAppLoaded; | ||
onProjectsLoaded?: OnProjectsLoaded; | ||
onAppClosed?: OnAppClosed; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// 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; | ||
@@ -63,4 +88,4 @@ name?: string; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
id?: string; | ||
} | ||
@@ -76,31 +101,23 @@ | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeDto | ||
export interface Ide { | ||
onAppLoaded?: OnAppLoaded; | ||
onProjectsLoaded?: OnProjectsLoaded; | ||
onAppClosed?: OnAppClosed; | ||
export namespace che.system { | ||
// 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.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
// 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.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceEventDto | ||
export interface SystemServiceEvent extends SystemEvent { | ||
service?: string; | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
} | ||
export namespace che.system { | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto | ||
@@ -115,8 +132,2 @@ export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
// 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 | ||
@@ -129,13 +140,2 @@ export interface SystemStatusChangedEvent extends SystemEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceEventDto | ||
export interface SystemServiceEvent extends SystemEvent { | ||
service?: string; | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
// 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'; | ||
} | ||
} | ||
@@ -145,25 +145,35 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
generateName?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto | ||
export interface DevfileAction { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto | ||
export interface Component { | ||
registryUrl?: string; | ||
image?: string; | ||
preferences?: { [key: string]: string | number | boolean; }; | ||
endpoints?: Endpoint[]; | ||
cpuLimit?: string; | ||
volumes?: DevfileVolume[]; | ||
memoryRequest?: string; | ||
type?: string; | ||
env?: Env[]; | ||
command?: string[]; | ||
cpuRequest?: string; | ||
args?: string[]; | ||
reference?: string; | ||
component?: string; | ||
workdir?: string; | ||
automountWorkspaceSecrets?: boolean; | ||
alias?: string; | ||
referenceContent?: string; | ||
type?: string; | ||
command?: string; | ||
memoryLimit?: string; | ||
entrypoints?: Entrypoint[]; | ||
selector?: { [key: string]: string; }; | ||
id?: string; | ||
mountSources?: boolean; | ||
} | ||
// 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 | ||
@@ -180,2 +190,18 @@ export interface Source { | ||
// 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.EntrypointDto | ||
export interface Entrypoint { | ||
args?: string[]; | ||
parentName?: string; | ||
containerName?: string; | ||
parentSelector?: { [key: string]: string; }; | ||
command?: string[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileDto | ||
@@ -192,7 +218,6 @@ export interface Devfile { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
generateName?: string; | ||
} | ||
@@ -206,2 +231,19 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto | ||
export interface DevfileAction { | ||
reference?: string; | ||
component?: string; | ||
workdir?: string; | ||
referenceContent?: string; | ||
type?: string; | ||
command?: 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.DevfileVolumeDto | ||
@@ -213,11 +255,2 @@ export interface DevfileVolume { | ||
// 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.PreviewUrlDto | ||
@@ -229,35 +262,2 @@ export interface PreviewUrl { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto | ||
export interface Component { | ||
registryUrl?: string; | ||
image?: string; | ||
preferences?: { [key: string]: string | number | boolean; }; | ||
endpoints?: Endpoint[]; | ||
cpuLimit?: string; | ||
volumes?: DevfileVolume[]; | ||
memoryRequest?: string; | ||
type?: string; | ||
env?: Env[]; | ||
command?: string[]; | ||
cpuRequest?: string; | ||
args?: string[]; | ||
reference?: string; | ||
automountWorkspaceSecrets?: boolean; | ||
alias?: string; | ||
referenceContent?: string; | ||
memoryLimit?: string; | ||
entrypoints?: Entrypoint[]; | ||
selector?: { [key: string]: string; }; | ||
id?: string; | ||
mountSources?: boolean; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
} | ||
@@ -267,58 +267,17 @@ | ||
// 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.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
type?: string; | ||
commandLine?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.SourceStorageDto | ||
export interface SourceStorage { | ||
// org.eclipse.che.api.workspace.shared.dto.RecipeDto | ||
export interface Recipe { | ||
location?: string; | ||
type?: string; | ||
parameters?: { [key: string]: string; }; | ||
contentType?: string; | ||
content?: 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.MachineConfigDto | ||
export interface MachineConfig { | ||
servers?: { [key: string]: ServerConfig; }; | ||
volumes?: { [key: string]: Volume; }; | ||
// org.eclipse.che.api.workspace.shared.dto.ServerDto | ||
export interface Server { | ||
attributes?: { [key: string]: string; }; | ||
env?: { [key: string]: string; }; | ||
url?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
} | ||
// 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.WorkspaceConfigDto | ||
@@ -337,8 +296,32 @@ export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
internal?: boolean; | ||
requireSubdomain?: boolean; | ||
port?: string; | ||
discoverable?: boolean; | ||
unique?: boolean; | ||
cookiesAuthEnabled?: boolean; | ||
attributes?: { [key: string]: string; }; | ||
secure?: boolean; | ||
unsecuredPaths?: string[]; | ||
endpointOrigin?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
export interface MachineConfig { | ||
servers?: { [key: string]: ServerConfig; }; | ||
volumes?: { [key: string]: Volume; }; | ||
attributes?: { [key: string]: string; }; | ||
env?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto | ||
@@ -357,20 +340,39 @@ export interface Workspace { | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
// 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'; | ||
commandLine?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: 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.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
// 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.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.ProjectProblemDto | ||
@@ -382,33 +384,31 @@ export interface ProjectProblem { | ||
// 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.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.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
internal?: boolean; | ||
requireSubdomain?: boolean; | ||
port?: string; | ||
discoverable?: boolean; | ||
unique?: boolean; | ||
cookiesAuthEnabled?: boolean; | ||
attributes?: { [key: string]: string; }; | ||
secure?: boolean; | ||
unsecuredPaths?: string[]; | ||
endpointOrigin?: 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.ServerDto | ||
export interface Server { | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
url?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
} | ||
@@ -435,12 +435,14 @@ | ||
export namespace che.user { | ||
export namespace che.core.notification { | ||
// org.eclipse.che.api.user.shared.dto.ProfileDto | ||
export interface Profile { | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
userId?: string; | ||
email?: string; | ||
// org.eclipse.che.api.core.notification.dto.EventSubscription | ||
export interface EventSubscription { | ||
method?: string; | ||
scope?: { [key: string]: string; }; | ||
} | ||
} | ||
export namespace che.user { | ||
// org.eclipse.che.api.user.shared.dto.UserDto | ||
@@ -456,10 +458,8 @@ export interface User { | ||
} | ||
export namespace che.core.notification { | ||
// org.eclipse.che.api.core.notification.dto.EventSubscription | ||
export interface EventSubscription { | ||
method?: string; | ||
scope?: { [key: string]: string; }; | ||
// org.eclipse.che.api.user.shared.dto.ProfileDto | ||
export interface Profile { | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
userId?: string; | ||
email?: string; | ||
} | ||
@@ -471,20 +471,30 @@ | ||
// 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.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
options?: { [key: string]: string; }; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
initiatedByUser?: boolean; | ||
workspaceId?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
time?: string; | ||
text?: string; | ||
error?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
error?: string; | ||
status?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
@@ -497,29 +507,20 @@ export interface BrokerLogEvent { | ||
// 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.ServerStatusEvent | ||
export interface ServerStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
serverUrl?: string; | ||
serverName?: string; | ||
machineName?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
time?: string; | ||
error?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
options?: { [key: string]: string; }; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
initiatedByUser?: boolean; | ||
workspaceId?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
@@ -533,18 +534,17 @@ export interface MachineStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
error?: string; | ||
status?: string; | ||
// 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.ServerStatusEvent | ||
export interface ServerStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
serverUrl?: string; | ||
serverName?: string; | ||
machineName?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent | ||
export interface BrokerStatusChangedEvent { | ||
tooling?: string; | ||
error?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTED' | 'DONE' | 'FAILED'; | ||
} | ||
@@ -556,13 +556,10 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor | ||
export interface ServiceDescriptor extends Hyperlinks { | ||
// org.eclipse.che.api.core.rest.shared.dto.LinkParameter | ||
export interface LinkParameter { | ||
valid?: string[]; | ||
defaultValue?: string; | ||
name?: string; | ||
description?: string; | ||
links?: Link[]; | ||
href?: string; | ||
version?: string; | ||
type?: 'String' | 'Number' | 'Boolean' | 'Array' | 'Object'; | ||
required?: boolean; | ||
} | ||
@@ -582,22 +579,5 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.LinkParameter | ||
export interface LinkParameter { | ||
valid?: string[]; | ||
defaultValue?: string; | ||
name?: string; | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
type?: 'String' | 'Number' | 'Boolean' | 'Array' | 'Object'; | ||
required?: boolean; | ||
} | ||
@@ -609,4 +589,4 @@ | ||
requestBody?: RequestBodyDescriptor; | ||
rel?: string; | ||
produces?: string; | ||
rel?: string; | ||
href?: string; | ||
@@ -617,8 +597,28 @@ parameters?: LinkParameter[]; | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor | ||
export interface ServiceDescriptor extends Hyperlinks { | ||
description?: string; | ||
links?: Link[]; | ||
href?: string; | ||
version?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
} | ||
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.41.0", | ||
"version": "7.41.1", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1