@eclipse-che/api
Advanced tools
Comparing version 7.37.1 to 7.37.2
436
index.d.ts
@@ -8,42 +8,14 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
export interface Factory extends che.core.rest.Hyperlinks { | ||
workspace?: che.workspace.WorkspaceConfig; | ||
creator?: Author; | ||
workspace?: che.workspace.WorkspaceConfig; | ||
v?: string; | ||
devfile?: che.workspace.devfile.Devfile; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
source?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
v?: string; | ||
policies?: Policies; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
id?: string; | ||
ide?: Ide; | ||
source?: 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.OnProjectsLoadedDto | ||
@@ -54,7 +26,7 @@ export interface OnProjectsLoaded { | ||
// 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; | ||
} | ||
@@ -70,7 +42,12 @@ | ||
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto | ||
export interface ScmInfo { | ||
scmProviderName?: string; | ||
branch?: string; | ||
repositoryUrl?: string; | ||
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto | ||
export interface FactoryMeta extends che.core.rest.Hyperlinks { | ||
creator?: Author; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
} | ||
@@ -82,6 +59,6 @@ | ||
scmInfo?: ScmInfo; | ||
v?: string; | ||
devfile?: { [key: string]: java.lang.Object; }; | ||
v?: string; | ||
name?: string; | ||
policies?: Policies; | ||
name?: string; | ||
links?: che.core.rest.Link[]; | ||
@@ -101,2 +78,25 @@ source?: 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.OnAppLoadedDto | ||
export interface OnAppLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
} | ||
@@ -143,19 +143,11 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.SourceDto | ||
export interface Source { | ||
startPoint?: string; | ||
location?: string; | ||
tag?: string; | ||
commitId?: string; | ||
type?: string; | ||
branch?: string; | ||
sparseCheckoutDir?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto | ||
export interface Entrypoint { | ||
args?: string[]; | ||
parentName?: string; | ||
containerName?: string; | ||
parentSelector?: { [key: string]: string; }; | ||
command?: string[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto | ||
export interface DevfileVolume { | ||
name?: string; | ||
containerPath?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileDto | ||
@@ -172,14 +164,18 @@ export interface Devfile { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto | ||
export interface Env { | ||
name?: string; | ||
value?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.SourceDto | ||
export interface Source { | ||
startPoint?: string; | ||
location?: string; | ||
tag?: string; | ||
commitId?: string; | ||
type?: string; | ||
branch?: string; | ||
sparseCheckoutDir?: string; | ||
} | ||
@@ -212,17 +208,35 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto | ||
export interface PreviewUrl { | ||
path?: string; | ||
port?: number; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto | ||
export interface DevfileCommand { | ||
previewUrl?: PreviewUrl; | ||
name?: string; | ||
generateName?: string; | ||
attributes?: { [key: string]: string; }; | ||
actions?: DevfileAction[]; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto | ||
export interface Entrypoint { | ||
args?: string[]; | ||
parentName?: string; | ||
containerName?: string; | ||
parentSelector?: { [key: string]: string; }; | ||
command?: string[]; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto | ||
export interface Project { | ||
clonePath?: string; | ||
name?: string; | ||
source?: Source; | ||
} | ||
// 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 | ||
export interface Env { | ||
name?: string; | ||
value?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto | ||
@@ -238,22 +252,8 @@ export interface DevfileAction { | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto | ||
export interface Project { | ||
clonePath?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto | ||
export interface Metadata { | ||
name?: string; | ||
source?: Source; | ||
generateName?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto | ||
export interface PreviewUrl { | ||
path?: string; | ||
port?: number; | ||
} | ||
} | ||
@@ -263,7 +263,13 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
// 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; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
} | ||
@@ -285,16 +291,8 @@ | ||
// 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.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
export interface MachineConfig { | ||
servers?: { [key: string]: ServerConfig; }; | ||
volumes?: { [key: string]: Volume; }; | ||
attributes?: { [key: string]: string; }; | ||
commandLine?: string; | ||
type?: string; | ||
env?: { [key: string]: string; }; | ||
} | ||
@@ -330,2 +328,11 @@ | ||
// org.eclipse.che.api.workspace.shared.dto.CommandDto | ||
export interface Command { | ||
previewUrl?: che.workspace.devfile.PreviewUrl; | ||
name?: string; | ||
attributes?: { [key: string]: string; }; | ||
type?: string; | ||
commandLine?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto | ||
@@ -342,35 +349,2 @@ export interface Runtime extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// 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.MachineConfigDto | ||
export interface MachineConfig { | ||
servers?: { [key: string]: ServerConfig; }; | ||
volumes?: { [key: string]: Volume; }; | ||
attributes?: { [key: string]: string; }; | ||
env?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto | ||
@@ -389,2 +363,22 @@ export interface ProjectConfig { | ||
// 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.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto | ||
export interface Environment { | ||
recipe?: Recipe; | ||
machines?: { [key: string]: MachineConfig; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.RecipeDto | ||
@@ -411,2 +405,8 @@ export interface Recipe { | ||
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto | ||
export interface ProjectProblem { | ||
code?: number; | ||
message?: string; | ||
} | ||
} | ||
@@ -416,8 +416,2 @@ | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
// org.eclipse.che.api.ssh.shared.dto.SshPairDto | ||
@@ -432,4 +426,20 @@ export interface SshPair extends che.core.rest.Hyperlinks { | ||
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: 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 { | ||
@@ -457,31 +467,4 @@ | ||
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.workspace.event { | ||
// 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.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.WorkspaceStatusEvent | ||
@@ -497,2 +480,20 @@ export interface WorkspaceStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent | ||
@@ -515,8 +516,23 @@ export interface RuntimeStatusEvent { | ||
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent | ||
export interface RuntimeLogEvent { | ||
stream?: 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.BrokerLogEvent | ||
export interface BrokerLogEvent { | ||
time?: string; | ||
text?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent | ||
export interface MachineStatusEvent { | ||
identity?: che.workspace.RuntimeIdentity; | ||
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
error?: string; | ||
machineName?: string; | ||
@@ -529,23 +545,7 @@ } | ||
error?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
status?: 'STARTING' | '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.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
machineName?: string; | ||
} | ||
} | ||
@@ -560,7 +560,2 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo | ||
@@ -578,7 +573,2 @@ export interface ApiInfo { | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.Link | ||
@@ -588,4 +578,4 @@ export interface Link { | ||
requestBody?: RequestBodyDescriptor; | ||
rel?: string; | ||
produces?: string; | ||
rel?: string; | ||
href?: string; | ||
@@ -596,15 +586,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.ServiceDescriptor | ||
export interface ServiceDescriptor extends Hyperlinks { | ||
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor | ||
export interface RequestBodyDescriptor { | ||
description?: string; | ||
links?: Link[]; | ||
href?: string; | ||
version?: string; | ||
} | ||
@@ -622,3 +602,23 @@ | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor | ||
export interface ServiceDescriptor extends Hyperlinks { | ||
description?: string; | ||
links?: Link[]; | ||
href?: string; | ||
version?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ServiceError | ||
export interface ServiceError { | ||
message?: string; | ||
} | ||
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
} | ||
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.37.1", | ||
"version": "7.37.2", | ||
"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
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