@eclipse-che/api
Advanced tools
Comparing version 7.38.2 to 7.39.0
488
index.d.ts
@@ -6,17 +6,2 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
userId?: string; | ||
email?: 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.FactoryMetaDto | ||
@@ -34,7 +19,12 @@ export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto | ||
export interface FactoryDevfileV2 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.FactoryDto | ||
export interface Factory extends che.core.rest.Hyperlinks { | ||
workspace?: che.workspace.WorkspaceConfig; | ||
creator?: Author; | ||
scmInfo?: ScmInfo; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
devfile?: che.workspace.devfile.Devfile; | ||
v?: string; | ||
@@ -45,21 +35,21 @@ name?: string; | ||
source?: string; | ||
ide?: Ide; | ||
id?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeDto | ||
@@ -72,14 +62,5 @@ export interface Ide { | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDto | ||
export interface Factory extends che.core.rest.Hyperlinks { | ||
workspace?: che.workspace.WorkspaceConfig; | ||
creator?: Author; | ||
devfile?: che.workspace.devfile.Devfile; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
ide?: Ide; | ||
id?: string; | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
@@ -95,2 +76,21 @@ | ||
// 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 { | ||
creator?: Author; | ||
scmInfo?: ScmInfo; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
@@ -106,8 +106,10 @@ export interface IdeAction { | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto | ||
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
item?: string; | ||
current?: number; | ||
total?: number; | ||
service?: 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.system.shared.dto.SystemEventDto | ||
export interface SystemEvent { | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
@@ -123,7 +125,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.SystemServiceEventDto | ||
@@ -135,6 +132,9 @@ export interface SystemServiceEvent 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 | ||
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
item?: string; | ||
current?: number; | ||
total?: number; | ||
service?: string; | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
@@ -146,25 +146,30 @@ | ||
// 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; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// 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; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
// 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.MetadataDto | ||
export interface Metadata { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto | ||
export interface Env { | ||
name?: string; | ||
generateName?: string; | ||
value?: string; | ||
} | ||
@@ -208,18 +213,2 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto | ||
export interface PreviewUrl { | ||
path?: string; | ||
port?: number; | ||
} | ||
// 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 | ||
@@ -232,2 +221,8 @@ export interface Project { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto | ||
export interface PreviewUrl { | ||
path?: string; | ||
port?: number; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto | ||
@@ -242,8 +237,13 @@ export interface Entrypoint { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
@@ -264,22 +264,47 @@ | ||
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; | ||
// 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[]; | ||
publicKey?: string; | ||
source?: SourceStorage; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: 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.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: 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; }; | ||
} | ||
export namespace che.workspace { | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
@@ -293,10 +318,15 @@ // org.eclipse.che.api.workspace.shared.dto.ServerDto | ||
// 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.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
// 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.ServerConfigDto | ||
@@ -318,2 +348,15 @@ export interface ServerConfig { | ||
// 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; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
@@ -326,13 +369,17 @@ export interface Machine { | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: 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.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[]; | ||
} | ||
@@ -353,56 +400,2 @@ | ||
// 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.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.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
} | ||
// 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; }; | ||
commandLine?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceConfigDto | ||
@@ -421,12 +414,19 @@ 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; }; | ||
} | ||
export namespace che.ssh { | ||
// 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.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
@@ -438,10 +438,2 @@ | ||
// 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.user.shared.dto.UserDto | ||
@@ -457,2 +449,10 @@ export interface User { | ||
// org.eclipse.che.api.user.shared.dto.ProfileDto | ||
export interface Profile { | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
userId?: string; | ||
email?: string; | ||
} | ||
} | ||
@@ -472,21 +472,20 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
time?: string; | ||
error?: string; | ||
machineName?: string; | ||
text?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
} | ||
// 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.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
@@ -499,11 +498,2 @@ time?: string; | ||
// 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.WorkspaceStatusEvent | ||
@@ -519,6 +509,8 @@ export interface WorkspaceStatusEvent { | ||
// 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; | ||
@@ -544,11 +536,19 @@ } | ||
// 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.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: string; | ||
machineName?: string; | ||
} | ||
} | ||
@@ -558,2 +558,10 @@ | ||
// 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 | ||
@@ -564,12 +572,2 @@ export interface ServiceError { | ||
// org.eclipse.che.api.core.rest.shared.dto.LinkParameter | ||
export interface LinkParameter { | ||
valid?: string[]; | ||
defaultValue?: string; | ||
name?: string; | ||
description?: string; | ||
type?: 'String' | 'Number' | 'Boolean' | 'Array' | 'Object'; | ||
required?: boolean; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
@@ -580,22 +578,2 @@ export interface RequestBodyDescriptor { | ||
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo | ||
export interface ApiInfo { | ||
specificationVendor?: string; | ||
ideVersion?: string; | ||
specificationTitle?: string; | ||
implementationVersion?: string; | ||
buildInfo?: string; | ||
implementationVendor?: string; | ||
scmRevision?: string; | ||
specificationVersion?: string; | ||
} | ||
// 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.ExtendedError | ||
@@ -624,3 +602,25 @@ export interface ExtendedError extends ServiceError { | ||
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo | ||
export interface ApiInfo { | ||
specificationVendor?: string; | ||
ideVersion?: string; | ||
specificationTitle?: string; | ||
implementationVersion?: string; | ||
buildInfo?: string; | ||
implementationVendor?: string; | ||
scmRevision?: string; | ||
specificationVersion?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.LinkParameter | ||
export interface LinkParameter { | ||
valid?: string[]; | ||
defaultValue?: string; | ||
name?: string; | ||
description?: string; | ||
type?: 'String' | 'Number' | 'Boolean' | 'Array' | 'Object'; | ||
required?: boolean; | ||
} | ||
} | ||
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.38.2", | ||
"version": "7.39.0", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |