@eclipse-che/api
Advanced tools
Comparing version 6.17.1 to 7.0.0-beta-3.0
1489
index.d.ts
@@ -6,8 +6,2 @@ // 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 | ||
@@ -26,2 +20,8 @@ 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,6 +31,73 @@ | ||
// org.eclipse.che.api.project.shared.dto.AttributeDescriptor | ||
export interface AttributeDescriptor { | ||
values?: string[]; | ||
variable?: boolean; | ||
name?: string; | ||
description?: string; | ||
required?: boolean; | ||
} | ||
// 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.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; }; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
source?: che.workspace.SourceStorage; | ||
type?: string; | ||
problems?: che.workspace.ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ValueDto | ||
export interface Value { | ||
string?: string; | ||
list?: string[]; | ||
empty?: 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.ProjectSearchRequestDto | ||
export interface ProjectSearchRequest { | ||
maxItems?: number; | ||
path?: string; | ||
maxItems?: number; | ||
name?: string; | ||
@@ -41,2 +108,62 @@ text?: 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.ItemReference | ||
export interface ItemReference extends che.core.rest.Hyperlinks { | ||
path?: string; | ||
projectConfig?: che.workspace.ProjectConfig; | ||
name?: string; | ||
project?: string; | ||
modified?: number; | ||
contentLength?: number; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectTypeDto | ||
export interface ProjectType { | ||
primaryable?: boolean; | ||
displayName?: string; | ||
attributes?: Attribute[]; | ||
mixable?: boolean; | ||
id?: string; | ||
persisted?: boolean; | ||
ancestors?: string[]; | ||
parents?: string[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.MoveOptions | ||
export interface MoveOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
} | ||
// 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.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 | ||
@@ -52,27 +179,22 @@ export interface SearchOccurrence { | ||
// org.eclipse.che.api.project.shared.dto.CopyOptions | ||
export interface CopyOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchResponseDto | ||
export interface ProjectSearchResponse { | ||
itemReferences?: SearchResult[]; | ||
totalHits?: number; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterData | ||
export interface ProjectImporterData { | ||
importers?: ProjectImporterDescriptor[]; | ||
configuration?: { [key: string]: string; }; | ||
// org.eclipse.che.api.project.shared.dto.SearchResultDto | ||
export interface SearchResult { | ||
itemReference?: ItemReference; | ||
searchOccurrences?: SearchOccurrence[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.MoveOptions | ||
export interface MoveOptions { | ||
name?: string; | ||
overWrite?: boolean; | ||
// 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.ValueDto | ||
export interface Value { | ||
string?: string; | ||
list?: string[]; | ||
empty?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ProjectUpdate | ||
@@ -89,12 +211,696 @@ export interface ProjectUpdate { | ||
// org.eclipse.che.api.project.shared.dto.ProjectSearchResponseDto | ||
export interface ProjectSearchResponse { | ||
itemReferences?: SearchResult[]; | ||
totalHits?: number; | ||
// org.eclipse.che.api.project.shared.dto.ImportProgressRecordDto | ||
export interface ImportProgressRecord { | ||
line?: string; | ||
num?: number; | ||
projectName?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.TreeElement | ||
export interface TreeElement { | ||
node?: ItemReference; | ||
children?: 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[]; | ||
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; | ||
} | ||
// 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 { | ||
// 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; | ||
} | ||
// 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; | ||
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 { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
// 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 { | ||
location?: string; | ||
type?: string; | ||
parameters?: { [key: string]: 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.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[]; | ||
name?: string; | ||
description?: string; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string[]; }; | ||
source?: SourceStorage; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
} | ||
// 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; }; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: 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 { | ||
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.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 { | ||
name?: string; | ||
type?: 'BRANCH' | 'REVISION'; | ||
projectName?: 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; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
publicKey?: string; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
} | ||
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; }; | ||
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[]; | ||
} | ||
// 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; | ||
offset?: number; | ||
projectPath?: string; | ||
@@ -107,20 +913,13 @@ length?: number; | ||
// org.eclipse.che.api.project.shared.dto.ProjectImporterDescriptor | ||
export interface ProjectImporterDescriptor { | ||
internal?: boolean; | ||
// 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; }; | ||
id?: string; | ||
category?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.AttributeDescriptor | ||
export interface AttributeDescriptor { | ||
values?: string[]; | ||
variable?: boolean; | ||
name?: string; | ||
description?: string; | ||
required?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.TreeElement | ||
@@ -132,2 +931,8 @@ export interface TreeElement { | ||
// org.eclipse.che.api.project.shared.dto.SearchResultDto | ||
export interface SearchResult { | ||
itemReference?: ItemReference; | ||
searchOccurrences?: SearchOccurrence[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.SourceEstimation | ||
@@ -141,8 +946,29 @@ export interface SourceEstimation { | ||
// org.eclipse.che.api.project.shared.dto.SearchResultDto | ||
export interface SearchResult { | ||
itemReference?: ItemReference; | ||
searchOccurrences?: SearchOccurrence[]; | ||
// 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 | ||
@@ -165,13 +991,32 @@ export interface RegisteredProject extends che.workspace.ProjectConfig { | ||
// org.eclipse.che.api.project.shared.dto.AttributeDto | ||
export interface Attribute { | ||
// 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; | ||
projectType?: string; | ||
description?: string; | ||
id?: string; | ||
value?: Value; | ||
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 | ||
@@ -190,16 +1035,2 @@ export interface ItemReference extends che.core.rest.Hyperlinks { | ||
// 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; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
source?: che.workspace.SourceStorage; | ||
type?: string; | ||
problems?: che.workspace.ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.ServerError | ||
@@ -211,9 +1042,34 @@ export interface ServerError { | ||
// org.eclipse.che.api.project.shared.dto.ImportProgressRecordDto | ||
export interface ImportProgressRecord { | ||
line?: string; | ||
num?: number; | ||
projectName?: 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 | ||
@@ -225,4 +1081,4 @@ export interface ProjectType { | ||
mixable?: boolean; | ||
persisted?: boolean; | ||
id?: string; | ||
persisted?: boolean; | ||
ancestors?: string[]; | ||
@@ -232,7 +1088,2 @@ parents?: string[]; | ||
// org.eclipse.che.api.project.shared.dto.GeneratorDescription | ||
export interface GeneratorDescription { | ||
options?: { [key: string]: string; }; | ||
} | ||
} | ||
@@ -274,6 +1125,5 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerLogEvent | ||
export interface InstallerLogEvent { | ||
installer?: string; | ||
stream?: 'STDOUT' | 'STDERR'; | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
time?: string; | ||
@@ -285,10 +1135,2 @@ 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; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent | ||
@@ -302,10 +1144,2 @@ export interface BrokerStatusChangedEvent { | ||
// 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 | ||
@@ -318,2 +1152,21 @@ export interface BrokerLogEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerStatusEvent | ||
export interface InstallerStatusEvent { | ||
installer?: string; | ||
time?: string; | ||
error?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'RUNNING' | 'DONE' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
failed?: boolean; | ||
error?: string; | ||
status?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent | ||
@@ -328,4 +1181,4 @@ export interface BootstrapperStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: string; | ||
@@ -338,23 +1191,22 @@ 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 | ||
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.RuntimeStatusEvent | ||
export interface RuntimeStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
prevStatus?: string; | ||
failed?: boolean; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: string; | ||
status?: string; | ||
machineName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerLogEvent | ||
export interface InstallerLogEvent { | ||
installer?: string; | ||
stream?: 'STDOUT' | 'STDERR'; | ||
time?: string; | ||
@@ -366,10 +1218,9 @@ text?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.InstallerStatusEvent | ||
export interface InstallerStatusEvent { | ||
installer?: string; | ||
time?: string; | ||
error?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent | ||
export interface ServerStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
serverUrl?: string; | ||
serverName?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
status?: 'STARTING' | 'RUNNING' | 'DONE' | 'FAILED'; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
} | ||
@@ -386,10 +1237,2 @@ | ||
// 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.LinkParameter | ||
@@ -405,9 +1248,20 @@ export interface 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[]; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: 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.ApiInfo | ||
@@ -419,2 +1273,3 @@ export interface ApiInfo { | ||
implementationVersion?: string; | ||
buildInfo?: string; | ||
implementationVendor?: string; | ||
@@ -425,12 +1280,2 @@ scmRevision?: string; | ||
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Link | ||
@@ -447,2 +1292,9 @@ export interface Link { | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
} | ||
@@ -452,20 +1304,10 @@ | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyResponseDto | ||
export interface VerifyResponse { | ||
sourceEstimation?: che.project.SourceEstimation; | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyRequestDto | ||
export interface VerifyRequest { | ||
wsPath?: string; | ||
type?: 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.CreateBatchProjectsRequestDto | ||
export interface CreateBatchProjectsRequest { | ||
newProjectConfigs?: che.project.NewProjectConfig[]; | ||
rewrite?: boolean; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.CreateRequestDto | ||
export interface CreateRequest { | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateRequestDto | ||
export interface UpdateRequest { | ||
options?: { [key: string]: string; }; | ||
@@ -481,11 +1323,12 @@ wsPath?: string; | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyRequestDto | ||
export interface VerifyRequest { | ||
// org.eclipse.che.api.project.shared.dto.service.CreateRequestDto | ||
export interface CreateRequest { | ||
options?: { [key: string]: string; }; | ||
wsPath?: string; | ||
type?: 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; | ||
} | ||
@@ -498,2 +1341,7 @@ | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteResponseDto | ||
export interface DeleteResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.ImportRequestDto | ||
@@ -505,16 +1353,19 @@ export interface ImportRequest { | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateResponseDto | ||
export interface UpdateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
// org.eclipse.che.api.project.shared.dto.service.GetRequestDto | ||
export interface GetRequest { | ||
wsPath?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteResponseDto | ||
export interface DeleteResponse { | ||
config?: che.workspace.ProjectConfig; | ||
// org.eclipse.che.api.project.shared.dto.service.VerifyResponseDto | ||
export interface VerifyResponse { | ||
sourceEstimation?: che.project.SourceEstimation; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateRequestDto | ||
export interface UpdateRequest { | ||
options?: { [key: string]: string; }; | ||
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.CreateResponseDto | ||
export interface CreateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
@@ -528,10 +1379,11 @@ } | ||
// org.eclipse.che.api.project.shared.dto.service.DeleteRequestDto | ||
export interface DeleteRequest { | ||
wsPath?: string; | ||
// org.eclipse.che.api.project.shared.dto.service.UpdateResponseDto | ||
export interface UpdateResponse { | ||
config?: che.workspace.ProjectConfig; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.service.GetRequestDto | ||
export interface GetRequest { | ||
wsPath?: string; | ||
// org.eclipse.che.api.project.shared.dto.service.CreateBatchProjectsRequestDto | ||
export interface CreateBatchProjectsRequest { | ||
newProjectConfigs?: che.project.NewProjectConfig[]; | ||
rewrite?: boolean; | ||
} | ||
@@ -543,8 +1395,6 @@ | ||
// 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.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
@@ -561,2 +1411,3 @@ | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
@@ -566,8 +1417,2 @@ ide?: Ide; | ||
// org.eclipse.che.api.factory.shared.dto.ButtonDto | ||
export interface Button { | ||
attributes?: ButtonAttributes; | ||
type?: 'logo' | 'nologo'; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
@@ -578,5 +1423,8 @@ export interface OnProjectsLoaded { | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
@@ -592,15 +1440,8 @@ | ||
// 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.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.IdeDto | ||
@@ -613,8 +1454,20 @@ export interface Ide { | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// 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.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
} | ||
@@ -624,6 +1477,5 @@ | ||
// 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'; | ||
// 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'; | ||
@@ -637,2 +1489,8 @@ } | ||
// 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 | ||
@@ -647,14 +1505,9 @@ export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemStateDto | ||
export interface SystemState extends che.core.rest.Hyperlinks { | ||
links?: che.core.rest.Link[]; | ||
// 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'; | ||
} | ||
} | ||
@@ -664,2 +1517,21 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
export interface ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
source?: SourceStorage; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto | ||
@@ -677,14 +1549,2 @@ export interface Workspace { | ||
// org.eclipse.che.api.workspace.shared.dto.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
@@ -698,40 +1558,30 @@ export interface ServerConfig { | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
// 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.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.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: 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.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.CommandDto | ||
export interface Command { | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RecipeDto | ||
@@ -745,35 +1595,33 @@ export interface Recipe { | ||
// org.eclipse.che.api.workspace.shared.dto.ServerDto | ||
export interface Server { | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
url?: string; | ||
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN'; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
export interface MachineConfig { | ||
installers?: string[]; | ||
servers?: { [key: string]: ServerConfig; }; | ||
volumes?: { [key: string]: Volume; }; | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
env?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto | ||
export interface Runtime extends che.core.rest.Hyperlinks { | ||
owner?: string; | ||
warnings?: Warning[]; | ||
machineToken?: string; | ||
activeEnv?: string; | ||
links?: che.core.rest.Link[]; | ||
machines?: { [key: string]: Machine; }; | ||
commands?: Command[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
export interface ProjectConfig { | ||
path?: string; | ||
mixins?: string[]; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
source?: SourceStorage; | ||
// org.eclipse.che.api.workspace.shared.dto.SourceStorageDto | ||
export interface SourceStorage { | ||
location?: string; | ||
type?: string; | ||
problems?: ProjectProblem[]; | ||
parameters?: { [key: string]: string; }; | ||
} | ||
@@ -793,9 +1641,14 @@ | ||
// 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; | ||
} | ||
} | ||
@@ -805,7 +1658,5 @@ | ||
// org.eclipse.che.api.project.shared.dto.event.FileTrackingOperationDto | ||
export interface FileTrackingOperation { | ||
// org.eclipse.che.api.project.shared.dto.event.PomModifiedEventDto | ||
export interface PomModifiedEvent { | ||
path?: string; | ||
oldPath?: string; | ||
type?: 'START' | 'STOP' | 'SUSPEND' | 'RESUME' | 'MOVE'; | ||
} | ||
@@ -820,14 +1671,9 @@ | ||
// org.eclipse.che.api.project.shared.dto.event.VfsWatchEvent | ||
export interface VfsWatchEvent { | ||
// org.eclipse.che.api.project.shared.dto.event.FileTrackingOperationDto | ||
export interface FileTrackingOperation { | ||
path?: string; | ||
file?: boolean; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
oldPath?: string; | ||
type?: 'START' | 'STOP' | 'SUSPEND' | 'RESUME' | 'MOVE'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.PomModifiedEventDto | ||
export interface PomModifiedEvent { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeTrackingOperationDto | ||
@@ -839,2 +1685,9 @@ export interface ProjectTreeTrackingOperation { | ||
// org.eclipse.che.api.project.shared.dto.event.VfsWatchEvent | ||
export interface VfsWatchEvent { | ||
path?: string; | ||
file?: boolean; | ||
type?: 'CREATED' | 'DELETED' | 'MODIFIED'; | ||
} | ||
// org.eclipse.che.api.project.shared.dto.event.ProjectTreeStateUpdateDto | ||
@@ -858,8 +1711,2 @@ export interface ProjectTreeStateUpdate { | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.SshPairDto | ||
@@ -874,2 +1721,8 @@ export interface SshPair extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
} | ||
@@ -876,0 +1729,0 @@ |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "6.17.1", | ||
"version": "7.0.0-beta-3.0", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
47722
1442
3
1