@eclipse-che/api
Advanced tools
Comparing version 7.0.0-beta-3.0 to 7.0.0-beta-4.0
1659
index.d.ts
@@ -6,2 +6,8 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
// org.eclipse.che.api.workspace.shared.dto.stack.StackComponentDto | ||
export interface StackComponent { | ||
name?: string; | ||
version?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.stack.StackDto | ||
@@ -20,8 +26,2 @@ export interface Stack extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.workspace.shared.dto.stack.StackComponentDto | ||
export interface StackComponent { | ||
name?: string; | ||
version?: string; | ||
} | ||
} | ||
@@ -31,11 +31,44 @@ | ||
// org.eclipse.che.api.project.shared.dto.AttributeDescriptor | ||
export interface AttributeDescriptor { | ||
values?: string[]; | ||
variable?: boolean; | ||
name?: string; | ||
// org.eclipse.che.api.project.shared.dto.ProjectUpdate | ||
export interface ProjectUpdate { | ||
mixins?: string[]; | ||
visibility?: string; | ||
contentRoot?: string; | ||
recipe?: string; | ||
description?: string; | ||
required?: boolean; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.EditorChangesDto | ||
export interface EditorChanges { | ||
removedCharCount?: number; | ||
offset?: number; | ||
projectPath?: string; | ||
length?: number; | ||
text?: string; | ||
fileLocation?: string; | ||
type?: 'INSERT' | 'REMOVE'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.GeneratorDescription | ||
export interface GeneratorDescription { | ||
options?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterDescriptor | ||
export interface ProjectImporterDescriptor { | ||
internal?: boolean; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
id?: string; | ||
category?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ServerError | ||
export interface ServerError { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.RegisteredProjectDto | ||
@@ -58,23 +91,6 @@ export interface RegisteredProject extends che.workspace.ProjectConfig { | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterDescriptor | ||
export interface ProjectImporterDescriptor { | ||
internal?: boolean; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
id?: string; | ||
category?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.NewProjectConfigDto | ||
export interface NewProjectConfig extends che.workspace.ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
options?: { [key: string]: string; }; | ||
// org.eclipse.che.api.project.shared.dto.CopyOptions | ||
export interface CopyOptions { | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
source?: che.workspace.SourceStorage; | ||
type?: string; | ||
problems?: che.workspace.ProjectProblem[]; | ||
overWrite?: boolean; | ||
} | ||
@@ -89,22 +105,2 @@ | ||
// org.eclipse.che.api.project.shared.dto.EditorChangesDto | ||
export interface EditorChanges { | ||
offset?: number; | ||
removedCharCount?: number; | ||
projectPath?: string; | ||
length?: number; | ||
text?: string; | ||
fileLocation?: string; | ||
type?: 'INSERT' | 'REMOVE'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchRequestDto | ||
export interface ProjectSearchRequest { | ||
maxItems?: number; | ||
path?: string; | ||
name?: string; | ||
text?: string; | ||
skipCount?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterData | ||
@@ -116,15 +112,41 @@ export interface ProjectImporterData { | ||
// org.eclipse.che.api.project.shared.dto.ItemReference | ||
export interface ItemReference extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.project.shared.dto.SourceEstimation | ||
export interface SourceEstimation { | ||
matched?: boolean; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
resolution?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.NewProjectConfigDto | ||
export interface NewProjectConfig extends che.workspace.ProjectConfig { | ||
path?: string; | ||
projectConfig?: che.workspace.ProjectConfig; | ||
mixins?: string[]; | ||
options?: { [key: string]: string; }; | ||
name?: string; | ||
project?: string; | ||
modified?: number; | ||
contentLength?: number; | ||
attributes?: { [key: string]: string; }; | ||
description?: string; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string[]; }; | ||
source?: che.workspace.SourceStorage; | ||
type?: string; | ||
problems?: che.workspace.ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.AttributeDto | ||
export interface Attribute { | ||
name?: string; | ||
variable?: boolean; | ||
projectType?: string; | ||
description?: string; | ||
id?: string; | ||
value?: Value; | ||
required?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.MoveOptions | ||
export interface MoveOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectTypeDto | ||
@@ -142,31 +164,21 @@ export interface ProjectType { | ||
// org.eclipse.che.api.project.shared.dto.MoveOptions | ||
export interface MoveOptions { | ||
// org.eclipse.che.api.project.shared.dto.ItemReference | ||
export interface ItemReference extends che.core.rest.Hyperlinks { | ||
path?: string; | ||
projectConfig?: che.workspace.ProjectConfig; | ||
name?: string; | ||
overWrite?: boolean; | ||
project?: string; | ||
modified?: number; | ||
contentLength?: number; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.AttributeDto | ||
export interface Attribute { | ||
name?: string; | ||
variable?: boolean; | ||
projectType?: string; | ||
description?: string; | ||
id?: string; | ||
value?: Value; | ||
required?: boolean; | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchResponseDto | ||
export interface ProjectSearchResponse { | ||
itemReferences?: SearchResult[]; | ||
totalHits?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ServerError | ||
export interface ServerError { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.CopyOptions | ||
export interface CopyOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.SearchOccurrenceDto | ||
@@ -182,31 +194,9 @@ export interface SearchOccurrence { | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchResponseDto | ||
export interface ProjectSearchResponse { | ||
itemReferences?: SearchResult[]; | ||
totalHits?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.SearchResultDto | ||
export interface SearchResult { | ||
itemReference?: ItemReference; | ||
searchOccurrences?: SearchOccurrence[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.SourceEstimation | ||
export interface SourceEstimation { | ||
matched?: boolean; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
resolution?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectUpdate | ||
export interface ProjectUpdate { | ||
mixins?: string[]; | ||
visibility?: string; | ||
contentRoot?: string; | ||
recipe?: string; | ||
// org.eclipse.che.api.project.shared.dto.AttributeDescriptor | ||
export interface AttributeDescriptor { | ||
values?: string[]; | ||
variable?: boolean; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
required?: boolean; | ||
} | ||
@@ -221,2 +211,8 @@ | ||
// org.eclipse.che.api.project.shared.dto.SearchResultDto | ||
export interface SearchResult { | ||
itemReference?: ItemReference; | ||
searchOccurrences?: SearchOccurrence[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.TreeElement | ||
@@ -228,858 +224,126 @@ export interface TreeElement { | ||
// org.eclipse.che.api.project.shared.dto.GeneratorDescription | ||
export interface GeneratorDescription { | ||
options?: { [key: string]: string; }; | ||
} | ||
} | ||
export namespace che.core.notification { | ||
// 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.ProfileDto | ||
export interface Profile { | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string; }; | ||
userId?: string; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.user.shared.dto.UserDto | ||
export interface User { | ||
password?: string; | ||
aliases?: string[]; | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchRequestDto | ||
export interface ProjectSearchRequest { | ||
path?: string; | ||
maxItems?: number; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
email?: string; | ||
} | ||
} | ||
export namespace che.workspace.event { | ||
// 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.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: string; | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
skipCount?: number; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
time?: string; | ||
error?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
status?: 'STARTING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerStatusEvent | ||
export interface InstallerStatusEvent { | ||
installer?: string; | ||
time?: string; | ||
error?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
workspaceId?: 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.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
error?: string; | ||
status?: 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; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerLogEvent | ||
export interface InstallerLogEvent { | ||
installer?: string; | ||
stream?: 'STDOUT' | 'STDERR'; | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
} | ||
} | ||
export namespace che.core.rest { | ||
export namespace che.workspace.devfile { | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto | ||
export interface DevfileAction { | ||
component?: string; | ||
workdir?: string; | ||
type?: string; | ||
command?: string; | ||
} | ||
// 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 { | ||
description?: string; | ||
links?: Link[]; | ||
href?: string; | ||
version?: string; | ||
} | ||
// 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.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
// 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.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; | ||
produces?: string; | ||
rel?: string; | ||
href?: string; | ||
parameters?: LinkParameter[]; | ||
consumes?: string; | ||
} | ||
} | ||
export namespace che.project.service { | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyRequestDto | ||
export interface VerifyRequest { | ||
wsPath?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto | ||
export interface Component { | ||
image?: string; | ||
endpoints?: Endpoint[]; | ||
volumes?: DevfileVolume[]; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.RecognizeRequestDto | ||
export interface RecognizeRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.RecognizeResponseDto | ||
export interface RecognizeResponse { | ||
sourceEstimations?: che.project.SourceEstimation[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyResponseDto | ||
export interface VerifyResponse { | ||
sourceEstimation?: che.project.SourceEstimation; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.GetRequestDto | ||
export interface GetRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateRequestDto | ||
export interface UpdateRequest { | ||
options?: { [key: string]: string; }; | ||
wsPath?: string; | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateBatchProjectsRequestDto | ||
export interface CreateBatchProjectsRequest { | ||
newProjectConfigs?: che.project.NewProjectConfig[]; | ||
rewrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.ImportResponseDto | ||
export interface ImportResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateResponseDto | ||
export interface UpdateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteResponseDto | ||
export interface DeleteResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateRequestDto | ||
export interface CreateRequest { | ||
options?: { [key: string]: string; }; | ||
wsPath?: string; | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateResponseDto | ||
export interface CreateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteRequestDto | ||
export interface DeleteRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.GetResponseDto | ||
export interface GetResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.ImportRequestDto | ||
export interface ImportRequest { | ||
sourceStorage?: che.workspace.SourceStorage; | ||
wsPath?: string; | ||
} | ||
} | ||
export namespace che.factory { | ||
// org.eclipse.che.api.factory.shared.dto.ButtonDto | ||
export interface Button { | ||
attributes?: ButtonAttributes; | ||
type?: 'logo' | 'nologo'; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
env?: Env[]; | ||
command?: string[]; | ||
reference?: string; | ||
args?: string[]; | ||
alias?: string; | ||
referenceContent?: string; | ||
entrypoints?: Entrypoint[]; | ||
selector?: { [key: string]: string; }; | ||
memoryLimit?: string; | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
mountSources?: boolean; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeDto | ||
export interface Ide { | ||
onAppLoaded?: OnAppLoaded; | ||
onProjectsLoaded?: OnProjectsLoaded; | ||
onAppClosed?: OnAppClosed; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.ButtonAttributesDto | ||
export interface ButtonAttributes { | ||
color?: string; | ||
logo?: string; | ||
style?: string; | ||
counter?: boolean; | ||
} | ||
// 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.FactoryDto | ||
export interface Factory extends che.core.rest.Hyperlinks { | ||
button?: Button; | ||
workspace?: che.workspace.WorkspaceConfig; | ||
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.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
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[]; | ||
} | ||
} | ||
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.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.SystemServiceItemStoppedEventDto | ||
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
total?: number; | ||
item?: string; | ||
current?: number; | ||
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.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.SystemStateDto | ||
export interface SystemState extends che.core.rest.Hyperlinks { | ||
links?: che.core.rest.Link[]; | ||
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
} | ||
} | ||
export namespace che.workspace { | ||
// org.eclipse.che.api.workspace.shared.dto.SourceStorageDto | ||
export interface SourceStorage { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.SourceDto | ||
export interface Source { | ||
startPoint?: string; | ||
location?: string; | ||
tag?: string; | ||
commitId?: string; | ||
type?: string; | ||
parameters?: { [key: string]: string; }; | ||
branch?: 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.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
export interface ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto | ||
export interface Project { | ||
clonePath?: string; | ||
name?: string; | ||
description?: string; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string[]; }; | ||
source?: SourceStorage; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
source?: Source; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceConfigDto | ||
export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
projects?: ProjectConfig[]; | ||
environments?: { [key: string]: Environment; }; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
containerPath?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerDto | ||
export interface Server { | ||
attributes?: { [key: string]: string; }; | ||
url?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
} | ||
// 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.WorkspaceDto | ||
export interface Workspace { | ||
temporary?: boolean; | ||
namespace?: string; | ||
runtime?: Runtime; | ||
links?: { [key: string]: string; }; | ||
attributes?: { [key: string]: string; }; | ||
id?: string; | ||
config?: WorkspaceConfig; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
port?: 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.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 { | ||
installers?: string[]; | ||
servers?: { [key: string]: ServerConfig; }; | ||
volumes?: { [key: string]: Volume; }; | ||
attributes?: { [key: string]: string; }; | ||
env?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
} | ||
export namespace che.project.event { | ||
// org.eclipse.che.api.project.shared.dto.event.GitCheckoutEventDto | ||
export interface GitCheckoutEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto | ||
export interface Env { | ||
name?: string; | ||
type?: 'BRANCH' | 'REVISION'; | ||
projectName?: string; | ||
value?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeStateUpdateDto | ||
export interface ProjectTreeStateUpdate { | ||
path?: string; | ||
file?: boolean; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.PomModifiedEventDto | ||
export interface PomModifiedEvent { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.FileTrackingOperationDto | ||
export interface FileTrackingOperation { | ||
path?: string; | ||
oldPath?: string; | ||
type?: 'START' | 'STOP' | 'SUSPEND' | 'RESUME' | 'MOVE'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.FileStateUpdateDto | ||
export interface FileStateUpdate { | ||
path?: string; | ||
hashCode?: string; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeTrackingOperationDto | ||
export interface ProjectTreeTrackingOperation { | ||
path?: string; | ||
type?: 'START' | 'STOP' | 'SUSPEND' | 'RESUME'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.VfsWatchEvent | ||
export interface VfsWatchEvent { | ||
path?: string; | ||
file?: boolean; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
} | ||
} | ||
export namespace che.ssh { | ||
// 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.devfile.DevfileDto | ||
export interface Devfile { | ||
components?: Component[]; | ||
specVersion?: string; | ||
projects?: Project[]; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
publicKey?: string; | ||
attributes?: { [key: string]: string; }; | ||
commands?: DevfileCommand[]; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
} | ||
export namespace che.project.templates { | ||
export namespace che.user { | ||
// org.eclipse.che.api.project.templates.shared.dto.ProjectTemplateDescriptor | ||
export interface ProjectTemplateDescriptor { | ||
projects?: che.workspace.ProjectConfig[]; | ||
displayName?: string; | ||
projectType?: string; | ||
description?: string; | ||
source?: che.workspace.SourceStorage; | ||
tags?: string[]; | ||
path?: string; | ||
mixins?: string[]; | ||
options?: { [key: string]: string; }; | ||
// org.eclipse.che.api.user.shared.dto.UserDto | ||
export interface User { | ||
password?: string; | ||
aliases?: string[]; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string[]; }; | ||
category?: string; | ||
commands?: che.workspace.Command[]; | ||
problems?: che.workspace.ProjectProblem[]; | ||
} | ||
} | ||
// File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
export namespace che.workspace.stack { | ||
// org.eclipse.che.api.workspace.shared.dto.stack.StackDto | ||
export interface Stack extends che.core.rest.Hyperlinks { | ||
components?: StackComponent[]; | ||
creator?: string; | ||
scope?: string; | ||
name?: string; | ||
description?: string; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
workspaceConfig?: che.workspace.WorkspaceConfig; | ||
tags?: string[]; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.stack.StackComponentDto | ||
export interface StackComponent { | ||
name?: string; | ||
version?: string; | ||
} | ||
} | ||
export namespace che.project { | ||
// org.eclipse.che.api.project.shared.dto.SearchOccurrenceDto | ||
export interface SearchOccurrence { | ||
score?: number; | ||
endOffset?: number; | ||
startOffset?: number; | ||
phrase?: string; | ||
lineContent?: string; | ||
lineNumber?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.MoveOptions | ||
export interface MoveOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.EditorChangesDto | ||
export interface EditorChanges { | ||
offset?: number; | ||
removedCharCount?: number; | ||
projectPath?: string; | ||
length?: number; | ||
text?: string; | ||
fileLocation?: string; | ||
type?: 'INSERT' | 'REMOVE'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectUpdate | ||
export interface ProjectUpdate { | ||
mixins?: string[]; | ||
visibility?: string; | ||
contentRoot?: string; | ||
recipe?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.TreeElement | ||
export interface TreeElement { | ||
node?: ItemReference; | ||
children?: TreeElement[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.SearchResultDto | ||
export interface SearchResult { | ||
itemReference?: ItemReference; | ||
searchOccurrences?: SearchOccurrence[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.SourceEstimation | ||
export interface SourceEstimation { | ||
matched?: boolean; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
resolution?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterData | ||
export interface ProjectImporterData { | ||
importers?: ProjectImporterDescriptor[]; | ||
configuration?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.NewProjectConfigDto | ||
export interface NewProjectConfig extends che.workspace.ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
options?: { [key: string]: string; }; | ||
name?: string; | ||
description?: string; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string[]; }; | ||
source?: che.workspace.SourceStorage; | ||
type?: string; | ||
problems?: che.workspace.ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ImportProgressRecordDto | ||
export interface ImportProgressRecord { | ||
line?: string; | ||
num?: number; | ||
projectName?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.RegisteredProjectDto | ||
export interface RegisteredProject extends che.workspace.ProjectConfig { | ||
synced?: boolean; | ||
description?: string; | ||
source?: che.workspace.SourceStorage; | ||
type?: string; | ||
persistableAttributes?: { [key: string]: string[]; }; | ||
path?: string; | ||
mixins?: string[]; | ||
baseFolder?: string; | ||
name?: string; | ||
detected?: boolean; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
problems?: che.workspace.ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchRequestDto | ||
export interface ProjectSearchRequest { | ||
maxItems?: number; | ||
path?: string; | ||
name?: string; | ||
text?: string; | ||
skipCount?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.AttributeDescriptor | ||
export interface AttributeDescriptor { | ||
values?: string[]; | ||
name?: string; | ||
variable?: boolean; | ||
description?: string; | ||
required?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.GeneratorDescription | ||
export interface GeneratorDescription { | ||
options?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ValueDto | ||
export interface Value { | ||
string?: string; | ||
list?: string[]; | ||
empty?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ItemReference | ||
export interface ItemReference extends che.core.rest.Hyperlinks { | ||
path?: string; | ||
projectConfig?: che.workspace.ProjectConfig; | ||
name?: string; | ||
project?: string; | ||
modified?: number; | ||
contentLength?: number; | ||
// org.eclipse.che.api.user.shared.dto.ProfileDto | ||
export interface Profile { | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
type?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ServerError | ||
export interface ServerError { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchResponseDto | ||
export interface ProjectSearchResponse { | ||
itemReferences?: SearchResult[]; | ||
totalHits?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.AttributeDto | ||
export interface Attribute { | ||
name?: string; | ||
variable?: boolean; | ||
projectType?: string; | ||
description?: string; | ||
id?: string; | ||
value?: Value; | ||
required?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.CopyOptions | ||
export interface CopyOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterDescriptor | ||
export interface ProjectImporterDescriptor { | ||
internal?: boolean; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
id?: string; | ||
category?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectTypeDto | ||
export interface ProjectType { | ||
primaryable?: boolean; | ||
displayName?: string; | ||
attributes?: Attribute[]; | ||
mixable?: boolean; | ||
persisted?: boolean; | ||
id?: string; | ||
ancestors?: string[]; | ||
parents?: string[]; | ||
} | ||
} | ||
@@ -1097,26 +361,27 @@ | ||
export namespace che.user { | ||
export namespace che.workspace.event { | ||
// 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.workspace.shared.dto.event.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: string; | ||
machineName?: string; | ||
} | ||
// org.eclipse.che.api.user.shared.dto.UserDto | ||
export interface User { | ||
password?: string; | ||
aliases?: string[]; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
email?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
workspaceId?: string; | ||
} | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
time?: string; | ||
text?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
export namespace che.workspace.event { | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
@@ -1131,17 +396,2 @@ export interface MachineLogEvent { | ||
// 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.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
time?: string; | ||
text?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerStatusEvent | ||
@@ -1157,18 +407,8 @@ export interface InstallerStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent | ||
export interface BrokerStatusChangedEvent { | ||
tooling?: string; | ||
error?: string; | ||
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'; | ||
status?: 'STARTED' | 'DONE' | 'FAILED'; | ||
} | ||
@@ -1185,16 +425,9 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
workspaceId?: string; | ||
} | ||
// 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'; | ||
} | ||
@@ -1212,11 +445,20 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent | ||
export interface ServerStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
serverUrl?: string; | ||
serverName?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
export interface BootstrapperStatusEvent { | ||
time?: string; | ||
error?: string; | ||
machineName?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
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; | ||
} | ||
} | ||
@@ -1226,7 +468,21 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
// 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.LinkParameter | ||
@@ -1242,5 +498,5 @@ export interface LinkParameter { | ||
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
message?: string; | ||
} | ||
@@ -1261,14 +517,2 @@ | ||
// 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 | ||
@@ -1278,4 +522,4 @@ export interface Link { | ||
requestBody?: RequestBodyDescriptor; | ||
rel?: string; | ||
produces?: string; | ||
rel?: string; | ||
href?: string; | ||
@@ -1286,7 +530,5 @@ parameters?: LinkParameter[]; | ||
// 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.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
@@ -1298,8 +540,12 @@ | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyRequestDto | ||
export interface VerifyRequest { | ||
wsPath?: string; | ||
type?: string; | ||
// org.eclipse.che.api.project.shared.dto.service.ImportResponseDto | ||
export interface ImportResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.GetResponseDto | ||
export interface GetResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateRequestDto | ||
@@ -1312,2 +558,29 @@ export interface UpdateRequest { | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteRequestDto | ||
export interface DeleteRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyResponseDto | ||
export interface VerifyResponse { | ||
sourceEstimation?: che.project.SourceEstimation; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.RecognizeResponseDto | ||
export interface RecognizeResponse { | ||
sourceEstimations?: che.project.SourceEstimation[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateBatchProjectsRequestDto | ||
export interface CreateBatchProjectsRequest { | ||
newProjectConfigs?: che.project.NewProjectConfig[]; | ||
rewrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyRequestDto | ||
export interface VerifyRequest { | ||
wsPath?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.RecognizeRequestDto | ||
@@ -1318,2 +591,7 @@ export interface RecognizeRequest { | ||
// org.eclipse.che.api.project.shared.dto.service.GetRequestDto | ||
export interface GetRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateRequestDto | ||
@@ -1326,9 +604,4 @@ export interface CreateRequest { | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteRequestDto | ||
export interface DeleteRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.ImportResponseDto | ||
export interface ImportResponse { | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateResponseDto | ||
export interface UpdateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
@@ -1348,17 +621,2 @@ } | ||
// org.eclipse.che.api.project.shared.dto.service.GetRequestDto | ||
export interface GetRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyResponseDto | ||
export interface VerifyResponse { | ||
sourceEstimation?: che.project.SourceEstimation; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.RecognizeResponseDto | ||
export interface RecognizeResponse { | ||
sourceEstimations?: che.project.SourceEstimation[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateResponseDto | ||
@@ -1369,18 +627,2 @@ export interface CreateResponse { | ||
// org.eclipse.che.api.project.shared.dto.service.GetResponseDto | ||
export interface GetResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateResponseDto | ||
export interface UpdateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateBatchProjectsRequestDto | ||
export interface CreateBatchProjectsRequest { | ||
newProjectConfigs?: che.project.NewProjectConfig[]; | ||
rewrite?: boolean; | ||
} | ||
} | ||
@@ -1390,8 +632,2 @@ | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDto | ||
@@ -1411,15 +647,2 @@ export interface Factory 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.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.ButtonAttributesDto | ||
@@ -1446,2 +669,7 @@ export interface ButtonAttributes { | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
@@ -1460,7 +688,21 @@ export interface OnAppClosed { | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
} | ||
@@ -1470,2 +712,7 @@ | ||
// 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.SystemStateDto | ||
@@ -1477,13 +724,9 @@ export interface SystemState extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.system.shared.dto.SystemEventDto | ||
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 | ||
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.SystemServiceItemStoppedEventDto | ||
@@ -1498,7 +741,6 @@ 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'; | ||
// 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'; | ||
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN'; | ||
} | ||
@@ -1510,2 +752,81 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceConfigDto | ||
export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
projects?: ProjectConfig[]; | ||
environments?: { [key: string]: Environment; }; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: 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.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
// 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.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
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; }; | ||
} | ||
// 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; | ||
port?: string; | ||
attributes?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
@@ -1530,22 +851,2 @@ export interface ProjectConfig { | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto | ||
export interface Workspace { | ||
temporary?: boolean; | ||
namespace?: string; | ||
runtime?: Runtime; | ||
attributes?: { [key: string]: string; }; | ||
links?: { [key: string]: string; }; | ||
id?: string; | ||
config?: WorkspaceConfig; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
port?: string; | ||
attributes?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
@@ -1573,77 +874,49 @@ export interface MachineConfig { | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto | ||
export interface Workspace { | ||
temporary?: boolean; | ||
devfile?: che.workspace.devfile.Devfile; | ||
namespace?: string; | ||
runtime?: Runtime; | ||
attributes?: { [key: string]: string; }; | ||
links?: { [key: string]: string; }; | ||
id?: string; | ||
config?: WorkspaceConfig; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
} | ||
// 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.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
export namespace che.project.templates { | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
// org.eclipse.che.api.project.templates.shared.dto.ProjectTemplateDescriptor | ||
export interface ProjectTemplateDescriptor { | ||
projects?: che.workspace.ProjectConfig[]; | ||
displayName?: string; | ||
projectType?: string; | ||
description?: string; | ||
source?: che.workspace.SourceStorage; | ||
tags?: string[]; | ||
path?: string; | ||
mixins?: string[]; | ||
options?: { [key: string]: string; }; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: 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; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
machines?: { [key: string]: Machine; }; | ||
commands?: Command[]; | ||
category?: string; | ||
commands?: che.workspace.Command[]; | ||
problems?: che.workspace.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.WorkspaceConfigDto | ||
export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
projects?: ProjectConfig[]; | ||
environments?: { [key: string]: Environment; }; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
} | ||
export namespace che.project.event { | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeStateUpdateDto | ||
export interface ProjectTreeStateUpdate { | ||
path?: string; | ||
file?: boolean; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
} | ||
} | ||
export namespace che.project.event { | ||
// org.eclipse.che.api.project.shared.dto.event.PomModifiedEventDto | ||
@@ -1654,9 +927,2 @@ export interface PomModifiedEvent { | ||
// org.eclipse.che.api.project.shared.dto.event.GitCheckoutEventDto | ||
export interface GitCheckoutEvent { | ||
name?: string; | ||
type?: 'BRANCH' | 'REVISION'; | ||
projectName?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.FileTrackingOperationDto | ||
@@ -1669,8 +935,2 @@ export interface FileTrackingOperation { | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeTrackingOperationDto | ||
export interface ProjectTreeTrackingOperation { | ||
path?: string; | ||
type?: 'START' | 'STOP' | 'SUSPEND' | 'RESUME'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.VfsWatchEvent | ||
@@ -1683,7 +943,13 @@ export interface VfsWatchEvent { | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeStateUpdateDto | ||
export interface ProjectTreeStateUpdate { | ||
// org.eclipse.che.api.project.shared.dto.event.GitCheckoutEventDto | ||
export interface GitCheckoutEvent { | ||
name?: string; | ||
type?: 'BRANCH' | 'REVISION'; | ||
projectName?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeTrackingOperationDto | ||
export interface ProjectTreeTrackingOperation { | ||
path?: string; | ||
file?: boolean; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
type?: 'START' | 'STOP' | 'SUSPEND' | 'RESUME'; | ||
} | ||
@@ -1702,11 +968,2 @@ | ||
// 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.ssh.shared.dto.GenerateSshPairRequest | ||
@@ -1718,23 +975,9 @@ export interface GenerateSshPairRequest { | ||
} | ||
export namespace che.project.templates { | ||
// org.eclipse.che.api.project.templates.shared.dto.ProjectTemplateDescriptor | ||
export interface ProjectTemplateDescriptor { | ||
projects?: che.workspace.ProjectConfig[]; | ||
displayName?: string; | ||
projectType?: string; | ||
description?: string; | ||
source?: che.workspace.SourceStorage; | ||
tags?: string[]; | ||
path?: string; | ||
mixins?: string[]; | ||
options?: { [key: string]: string; }; | ||
// org.eclipse.che.api.ssh.shared.dto.SshPairDto | ||
export interface SshPair extends che.core.rest.Hyperlinks { | ||
privateKey?: string; | ||
service?: string; | ||
name?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
category?: string; | ||
commands?: che.workspace.Command[]; | ||
problems?: che.workspace.ProjectProblem[]; | ||
publicKey?: string; | ||
} | ||
@@ -1741,0 +984,0 @@ |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.0.0-beta-3.0", | ||
"version": "7.0.0-beta-4.0", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
26352
803