@eclipse-che/api
Advanced tools
Comparing version 7.37.2 to 7.38.0
428
index.d.ts
@@ -6,2 +6,10 @@ // 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.FactoryDto | ||
@@ -11,4 +19,4 @@ export interface Factory extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
devfile?: che.workspace.devfile.Devfile; | ||
v?: string; | ||
devfile?: che.workspace.devfile.Devfile; | ||
name?: string; | ||
@@ -22,2 +30,7 @@ policies?: Policies; | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
@@ -28,29 +41,2 @@ export interface OnProjectsLoaded { | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// 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.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto | ||
@@ -60,4 +46,4 @@ export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks { | ||
scmInfo?: ScmInfo; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
v?: string; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
name?: string; | ||
@@ -79,6 +65,19 @@ policies?: Policies; | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface 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.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
ide?: Ide; | ||
} | ||
@@ -93,5 +92,6 @@ | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
@@ -108,2 +108,8 @@ | ||
// 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 | ||
@@ -114,9 +120,2 @@ export interface SystemEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemStatusChangedEventDto | ||
export interface SystemStatusChangedEvent extends SystemEvent { | ||
prevStatus?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceEventDto | ||
@@ -128,8 +127,2 @@ 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 | ||
@@ -144,2 +137,9 @@ export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemStatusChangedEventDto | ||
export interface SystemStatusChangedEvent extends SystemEvent { | ||
prevStatus?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
} | ||
} | ||
@@ -149,11 +149,2 @@ | ||
// 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 | ||
@@ -170,20 +161,2 @@ export interface Devfile { | ||
// 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.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.ComponentDto | ||
@@ -214,8 +187,2 @@ export interface Component { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto | ||
export interface PreviewUrl { | ||
path?: string; | ||
port?: number; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
@@ -248,2 +215,41 @@ export interface DevfileCommand { | ||
// 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.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.PreviewUrlDto | ||
export interface PreviewUrl { | ||
path?: string; | ||
port?: number; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
generateName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto | ||
@@ -259,8 +265,2 @@ export interface DevfileAction { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
generateName?: string; | ||
} | ||
} | ||
@@ -270,2 +270,18 @@ | ||
// 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.WorkspaceConfigDto | ||
@@ -284,2 +300,35 @@ export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
// 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.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 | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
@@ -293,8 +342,2 @@ export interface RuntimeIdentity { | ||
// org.eclipse.che.api.workspace.shared.dto.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
@@ -308,2 +351,9 @@ export interface 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.ServerDto | ||
@@ -316,23 +366,2 @@ export interface Server { | ||
// 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.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
@@ -343,4 +372,4 @@ export interface Command { | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
commandLine?: string; | ||
} | ||
@@ -359,20 +388,11 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
export interface ProjectConfig { | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
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.SourceStorageDto | ||
export interface SourceStorage { | ||
location?: string; | ||
type?: string; | ||
parameters?: { [key: string]: string; }; | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
@@ -387,16 +407,2 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// 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.WorkspaceDto | ||
@@ -415,8 +421,2 @@ export interface Workspace { | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
} | ||
@@ -487,29 +487,17 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
// 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; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// 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.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
error?: string; | ||
status?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent | ||
@@ -532,15 +520,27 @@ export interface BrokerStatusChangedEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
// 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.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: 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; | ||
} | ||
@@ -561,33 +561,20 @@ | ||
// 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.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.Link | ||
export interface Link { | ||
method?: string; | ||
requestBody?: RequestBodyDescriptor; | ||
rel?: string; | ||
produces?: string; | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor | ||
export interface ServiceDescriptor extends Hyperlinks { | ||
description?: string; | ||
links?: Link[]; | ||
href?: string; | ||
parameters?: LinkParameter[]; | ||
consumes?: string; | ||
version?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
message?: string; | ||
} | ||
@@ -605,20 +592,33 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor | ||
export interface ServiceDescriptor extends Hyperlinks { | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
links?: Link[]; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Link | ||
export interface Link { | ||
method?: string; | ||
requestBody?: RequestBodyDescriptor; | ||
rel?: string; | ||
produces?: string; | ||
href?: string; | ||
version?: string; | ||
parameters?: LinkParameter[]; | ||
consumes?: 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; | ||
// 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; | ||
} | ||
@@ -625,0 +625,0 @@ |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.37.2", | ||
"version": "7.38.0", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |