Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/api

Package Overview
Dependencies
Maintainers
4
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/api - npm Package Compare versions

Comparing version 7.71.0 to 7.72.0

518

index.d.ts

@@ -6,14 +6,2 @@ // File has been generated automatically by Eclipse Che TypeScript DTO generator

// 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.FactoryDevfileV2Dto

@@ -33,2 +21,19 @@ export interface FactoryDevfileV2 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.OnAppClosedDto
export interface OnAppClosed {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
}
// org.eclipse.che.api.factory.shared.dto.PoliciesDto

@@ -54,9 +59,2 @@ export interface Policies {

// 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

@@ -68,2 +66,7 @@ export interface IdeAction {

// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.FactoryDto

@@ -83,12 +86,9 @@ export interface Factory extends che.core.rest.Hyperlinks {

// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto
export interface OnAppClosed {
actions?: IdeAction[];
// 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
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.AuthorDto

@@ -106,2 +106,9 @@ export interface Author {

// 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

@@ -113,7 +120,2 @@ export interface SystemServiceEvent 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.SystemServiceItemStoppedEventDto

@@ -128,7 +130,5 @@ 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.SystemEventDto
export interface SystemEvent {
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';
}

@@ -152,27 +152,15 @@

// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto
export interface Component {
registryUrl?: string;
image?: string;
preferences?: { [key: string]: string | number | boolean; };
endpoints?: Endpoint[];
cpuLimit?: string;
volumes?: DevfileVolume[];
memoryRequest?: string;
type?: string;
env?: Env[];
command?: string[];
cpuRequest?: string;
args?: string[];
reference?: string;
automountWorkspaceSecrets?: boolean;
alias?: string;
referenceContent?: string;
memoryLimit?: string;
entrypoints?: Entrypoint[];
selector?: { [key: string]: string; };
id?: string;
mountSources?: boolean;
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
}
// 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.SourceDto

@@ -189,27 +177,10 @@ export interface Source {

// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto
export interface Env {
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto
export interface DevfileCommand {
previewUrl?: PreviewUrl;
name?: string;
value?: string;
attributes?: { [key: string]: string; };
actions?: DevfileAction[];
}
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto
export interface DevfileAction {
reference?: string;
component?: string;
workdir?: string;
referenceContent?: string;
type?: string;
command?: 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.DevfileDto

@@ -226,12 +197,6 @@ export interface Devfile {

// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto
export interface DevfileVolume {
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto
export interface Env {
name?: string;
containerPath?: string;
value?: string;
}

@@ -246,34 +211,50 @@

// 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.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.DevfileActionDto
export interface DevfileAction {
reference?: string;
component?: string;
workdir?: string;
referenceContent?: string;
type?: string;
command?: string;
}
}
export namespace che.ssh {
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto
export interface Component {
registryUrl?: string;
image?: string;
preferences?: { [key: string]: string | number | boolean; };
endpoints?: Endpoint[];
cpuLimit?: string;
volumes?: DevfileVolume[];
memoryRequest?: string;
type?: string;
env?: Env[];
command?: string[];
cpuRequest?: string;
args?: string[];
reference?: string;
automountWorkspaceSecrets?: boolean;
alias?: string;
referenceContent?: string;
memoryLimit?: string;
entrypoints?: Entrypoint[];
selector?: { [key: string]: string; };
id?: string;
mountSources?: boolean;
}
// 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.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
links?: che.core.rest.Link[];
publicKey?: string;
containerPath?: string;
}

@@ -285,2 +266,8 @@

// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto

@@ -294,57 +281,25 @@ export interface MachineConfig {

// 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.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; };
// 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[];
defaultEnv?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: 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.ServerDto
export interface Server {
attributes?: { [key: string]: string; };
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
}
// 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.EnvironmentDto
export interface Environment {
recipe?: Recipe;
machines?: { [key: string]: MachineConfig; };
}
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto

@@ -363,21 +318,2 @@ export interface Workspace {

// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: 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.ProjectConfigDto

@@ -404,13 +340,31 @@ export interface ProjectConfig {

// 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.MachineDto
export interface Machine {
servers?: { [key: string]: Server; };
attributes?: { [key: string]: string; };
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED';
}
// 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;
attributes?: { [key: string]: string; };
type?: string;
commandLine?: 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

@@ -432,10 +386,27 @@ export interface ServerConfig {

}
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
}
export namespace che.core.notification {
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto
export interface RuntimeIdentity {
infrastructureNamespace?: string;
envName?: string;
ownerId?: string;
workspaceId?: string;
}
// org.eclipse.che.api.core.notification.dto.EventSubscription
export interface EventSubscription {
method?: string;
scope?: { [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; };
devfile?: che.core.model.workspace.devfile.Devfile;
name?: string;
description?: string;
attributes?: { [key: string]: string; };
links?: che.core.rest.Link[];
commands?: Command[];
defaultEnv?: string;
}

@@ -467,4 +438,42 @@

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.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.RuntimeLogEvent
export interface RuntimeLogEvent {
stream?: string;
time?: string;
text?: string;
machineName?: string;
runtimeId?: che.workspace.RuntimeIdentity;
}
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent

@@ -478,21 +487,2 @@ export interface BrokerStatusChangedEvent {

// 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.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.BootstrapperStatusEvent

@@ -507,9 +497,16 @@ export interface BootstrapperStatusEvent {

// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent
export interface ServerStatusEvent {
// 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.RuntimeStatusEvent
export interface RuntimeStatusEvent {
prevStatus?: string;
identity?: che.workspace.RuntimeIdentity;
serverUrl?: string;
serverName?: string;
machineName?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
failed?: boolean;
error?: string;
status?: string;
}

@@ -528,4 +525,4 @@

stream?: string;
time?: string;
text?: string;
time?: string;
machineName?: string;

@@ -535,16 +532,19 @@ runtimeId?: che.workspace.RuntimeIdentity;

// 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.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.RuntimeLogEvent
export interface RuntimeLogEvent {
stream?: string;
text?: string;
time?: 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?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
}

@@ -566,28 +566,2 @@

// org.eclipse.che.api.core.rest.shared.dto.ServiceError
export interface ServiceError {
message?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.Link
export interface Link {
method?: string;
requestBody?: RequestBodyDescriptor;
rel?: string;
produces?: string;
href?: string;
parameters?: LinkParameter[];
consumes?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor
export interface RequestBodyDescriptor {
description?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks
export interface Hyperlinks {
links?: Link[];
}
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo

@@ -605,2 +579,12 @@ export interface ApiInfo {

// org.eclipse.che.api.core.rest.shared.dto.ServiceError
export interface ServiceError {
message?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor
export interface RequestBodyDescriptor {
description?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor

@@ -614,2 +598,18 @@ export interface ServiceDescriptor extends Hyperlinks {

// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks
export interface Hyperlinks {
links?: Link[];
}
// 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;
}
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError

@@ -616,0 +616,0 @@ export interface ExtendedError extends ServiceError {

{
"name": "@eclipse-che/api",
"version": "7.71.0",
"version": "7.72.0",
"description": "Eclipse Che DTO API",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc