@eclipse-che/api
Advanced tools
Comparing version 7.48.0 to 7.48.1
288
index.d.ts
@@ -6,2 +6,10 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
// org.eclipse.che.api.factory.shared.dto.PoliciesDto | ||
export interface Policies { | ||
referer?: string; | ||
create?: string; | ||
until?: number; | ||
since?: number; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
@@ -26,10 +34,22 @@ export interface OnAppClosed { | ||
// 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.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// 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.OnProjectsLoadedDto | ||
@@ -40,10 +60,2 @@ export interface OnProjectsLoaded { | ||
// 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.OnAppLoadedDto | ||
@@ -68,16 +80,2 @@ export interface OnAppLoaded { | ||
// org.eclipse.che.api.factory.shared.dto.IdeDto | ||
export interface Ide { | ||
onAppLoaded?: OnAppLoaded; | ||
onProjectsLoaded?: OnProjectsLoaded; | ||
onAppClosed?: OnAppClosed; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
@@ -95,6 +93,8 @@ export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
// org.eclipse.che.api.factory.shared.dto.AuthorDto | ||
export interface Author { | ||
created?: number; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
@@ -115,7 +115,2 @@ | ||
// org.eclipse.che.api.system.shared.dto.SystemEventDto | ||
export interface SystemEvent { | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemStatusChangedEventDto | ||
@@ -128,2 +123,7 @@ export interface SystemStatusChangedEvent extends SystemEvent { | ||
// org.eclipse.che.api.system.shared.dto.SystemEventDto | ||
export interface SystemEvent { | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
// org.eclipse.che.api.system.shared.dto.SystemServiceEventDto | ||
@@ -145,8 +145,2 @@ export interface SystemServiceEvent extends SystemEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
generateName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.SourceDto | ||
@@ -169,16 +163,2 @@ export interface Source { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto | ||
@@ -225,2 +205,8 @@ export interface Env { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
@@ -260,2 +246,16 @@ export interface Endpoint { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
generateName?: string; | ||
} | ||
} | ||
@@ -267,4 +267,4 @@ | ||
export interface Profile { | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string; }; | ||
userId?: string; | ||
@@ -302,2 +302,36 @@ email?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceConfigDto | ||
export interface WorkspaceConfig extends che.core.rest.Hyperlinks { | ||
projects?: ProjectConfig[]; | ||
environments?: { [key: string]: Environment; }; | ||
devfile?: che.core.model.workspace.devfile.Devfile; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
internal?: boolean; | ||
requireSubdomain?: boolean; | ||
port?: string; | ||
discoverable?: boolean; | ||
unique?: boolean; | ||
cookiesAuthEnabled?: boolean; | ||
attributes?: { [key: string]: string; }; | ||
secure?: boolean; | ||
unsecuredPaths?: string[]; | ||
endpointOrigin?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto | ||
@@ -314,18 +348,9 @@ export interface Runtime extends che.core.rest.Hyperlinks { | ||
// 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; }; | ||
devfile?: che.core.model.workspace.devfile.Devfile; | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
description?: string; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string; }; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
type?: string; | ||
commandLine?: string; | ||
} | ||
@@ -354,4 +379,4 @@ | ||
description?: string; | ||
attributes?: { [key: string]: string[]; }; | ||
links?: che.core.rest.Link[]; | ||
attributes?: { [key: string]: string[]; }; | ||
source?: SourceStorage; | ||
@@ -362,22 +387,15 @@ type?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto | ||
export interface Workspace { | ||
temporary?: boolean; | ||
devfile?: che.workspace.devfile.Devfile; | ||
namespace?: string; | ||
runtime?: Runtime; | ||
links?: { [key: string]: string; }; | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
id?: string; | ||
config?: WorkspaceConfig; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
infrastructureNamespace?: string; | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
} | ||
@@ -392,18 +410,2 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
internal?: boolean; | ||
requireSubdomain?: boolean; | ||
port?: string; | ||
discoverable?: boolean; | ||
unique?: boolean; | ||
cookiesAuthEnabled?: boolean; | ||
attributes?: { [key: string]: string; }; | ||
secure?: boolean; | ||
unsecuredPaths?: string[]; | ||
endpointOrigin?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
@@ -415,8 +417,13 @@ export interface ProjectProblem { | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
infrastructureNamespace?: string; | ||
envName?: string; | ||
ownerId?: string; | ||
workspaceId?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.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'; | ||
} | ||
@@ -430,9 +437,2 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
} | ||
@@ -473,4 +473,4 @@ | ||
export interface BrokerLogEvent { | ||
time?: string; | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
@@ -491,4 +491,4 @@ } | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
@@ -506,12 +506,2 @@ machineName?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
options?: { [key: string]: string; }; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
workspaceId?: string; | ||
initiatedByUser?: boolean; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
@@ -527,4 +517,4 @@ export interface MachineStatusEvent { | ||
export interface RuntimeStatusEvent { | ||
prevStatus?: string; | ||
identity?: che.workspace.RuntimeIdentity; | ||
prevStatus?: string; | ||
failed?: boolean; | ||
@@ -538,4 +528,4 @@ error?: string; | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
time?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
@@ -554,2 +544,12 @@ machineName?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
options?: { [key: string]: string; }; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
workspaceId?: string; | ||
initiatedByUser?: boolean; | ||
} | ||
} | ||
@@ -567,7 +567,2 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.LinkParameter | ||
@@ -583,7 +578,2 @@ export interface LinkParameter { | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Link | ||
@@ -593,4 +583,4 @@ export interface Link { | ||
requestBody?: RequestBodyDescriptor; | ||
rel?: string; | ||
produces?: string; | ||
rel?: string; | ||
href?: string; | ||
@@ -601,2 +591,12 @@ parameters?: LinkParameter[]; | ||
// 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.ApiInfo | ||
@@ -603,0 +603,0 @@ export interface ApiInfo { |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.48.0", | ||
"version": "7.48.1", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |