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

@eclipse-che/api

Package Overview
Dependencies
Maintainers
5
Versions
108
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.40.0 to 7.40.1

552

index.d.ts

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

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

@@ -16,25 +16,31 @@ }

creator?: Author;
devfile?: che.workspace.devfile.Devfile;
v?: string;
devfile?: che.workspace.devfile.Devfile;
name?: string;
policies?: Policies;
name?: string;
links?: che.core.rest.Link[];
source?: string;
id?: string;
ide?: Ide;
id?: string;
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
// 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.FactoryDevfileV2Dto
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks {
// org.eclipse.che.api.factory.shared.dto.IdeDto
export interface Ide {
onAppLoaded?: OnAppLoaded;
onProjectsLoaded?: OnProjectsLoaded;
onAppClosed?: OnAppClosed;
}
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto
export interface FactoryMeta extends che.core.rest.Hyperlinks {
creator?: Author;
scmInfo?: ScmInfo;
v?: string;
devfile?: { [key: string]: java.lang.Object; };
name?: string;

@@ -48,14 +54,2 @@ policies?: Policies;

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

@@ -69,11 +63,14 @@ export interface Policies {

// org.eclipse.che.api.factory.shared.dto.IdeActionDto
export interface IdeAction {
id?: string;
properties?: { [key: string]: string; };
// 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 {
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks {
creator?: Author;
scmInfo?: ScmInfo;
devfile?: { [key: string]: java.lang.Object; };
v?: string;

@@ -83,17 +80,20 @@ name?: string;

links?: che.core.rest.Link[];
source?: string;
id?: string;
source?: string;
ide?: Ide;
}
// 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.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto
export interface OnAppClosed {
// org.eclipse.che.api.factory.shared.dto.IdeActionDto
export interface IdeAction {
id?: string;
properties?: { [key: string]: string; };
}
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];

@@ -106,6 +106,9 @@ }

// 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';
// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent {
item?: string;
current?: number;
total?: number;
service?: string;
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED';
}

@@ -118,17 +121,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.SystemStateDto
export interface SystemState extends che.core.rest.Hyperlinks {
links?: che.core.rest.Link[];
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN';
}
// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent {
item?: string;
current?: number;
total?: 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.SystemStatusChangedEventDto

@@ -141,2 +135,8 @@ export interface SystemStatusChangedEvent extends SystemEvent {

// 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';
}
}

@@ -154,2 +154,12 @@

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

@@ -166,25 +176,9 @@ export interface Devfile {

// 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[];
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto
export interface Entrypoint {
args?: string[];
parentName?: string;
containerName?: string;
parentSelector?: { [key: string]: string; };
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;
}

@@ -198,7 +192,6 @@

// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto
export interface Endpoint {
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
name?: string;
attributes?: { [key: string]: string; };
}

@@ -212,11 +205,2 @@

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

@@ -233,8 +217,2 @@ export interface Source {

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

@@ -253,10 +231,32 @@ export interface Project {

// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto
export interface DevfileAction {
// 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.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;
component?: string;
workdir?: string;
automountWorkspaceSecrets?: boolean;
alias?: string;
referenceContent?: string;
type?: string;
command?: string;
memoryLimit?: string;
entrypoints?: Entrypoint[];
selector?: { [key: string]: string; };
id?: string;
mountSources?: boolean;
}

@@ -268,15 +268,27 @@

// 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;
// org.eclipse.che.api.workspace.shared.dto.ServerDto
export interface Server {
attributes?: { [key: string]: string; };
links?: che.core.rest.Link[];
commands?: Command[];
defaultEnv?: 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.VolumeDto
export interface Volume {
path?: string;
}
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto

@@ -298,26 +310,2 @@ export interface ServerConfig {

// 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.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.RecipeDto
export interface Recipe {
location?: string;
type?: string;
contentType?: string;
content?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto

@@ -336,14 +324,11 @@ export interface ProjectConfig {

// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: 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.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto

@@ -357,27 +342,49 @@ export interface MachineConfig {

// 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.WorkspaceDto
export interface Workspace {
temporary?: boolean;
devfile?: che.workspace.devfile.Devfile;
namespace?: string;
runtime?: Runtime;
attributes?: { [key: string]: string; };
links?: { [key: string]: string; };
id?: string;
config?: WorkspaceConfig;
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
}
// org.eclipse.che.api.workspace.shared.dto.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.RuntimeDto
export interface Runtime extends che.core.rest.Hyperlinks {
owner?: string;
warnings?: Warning[];
machineToken?: string;
activeEnv?: 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.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[];
machines?: { [key: string]: Machine; };
commands?: Command[];
defaultEnv?: string;
}
// org.eclipse.che.api.workspace.shared.dto.RecipeDto
export interface Recipe {
location?: string;
type?: string;
contentType?: string;
content?: string;
}
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto

@@ -391,49 +398,31 @@ export interface RuntimeIdentity {

// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: 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.EnvironmentDto
export interface Environment {
recipe?: Recipe;
machines?: { [key: string]: MachineConfig; };
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto
export interface Workspace {
temporary?: boolean;
devfile?: che.workspace.devfile.Devfile;
namespace?: string;
runtime?: Runtime;
links?: { [key: string]: string; };
attributes?: { [key: string]: string; };
id?: string;
config?: WorkspaceConfig;
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
}
}
export namespace che.ssh {
export namespace che.user {
// org.eclipse.che.api.ssh.shared.dto.SshPairDto
export interface SshPair extends che.core.rest.Hyperlinks {
privateKey?: string;
service?: string;
name?: string;
// org.eclipse.che.api.user.shared.dto.ProfileDto
export interface Profile {
attributes?: { [key: string]: string; };
links?: che.core.rest.Link[];
publicKey?: string;
userId?: string;
email?: string;
}
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}
}
export namespace che.user {
// org.eclipse.che.api.user.shared.dto.UserDto

@@ -449,10 +438,2 @@ export interface User {

// org.eclipse.che.api.user.shared.dto.ProfileDto
export interface Profile {
attributes?: { [key: string]: string; };
links?: che.core.rest.Link[];
userId?: string;
email?: string;
}
}

@@ -470,30 +451,23 @@

export namespace che.workspace.event {
export namespace che.ssh {
// 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.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.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.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent
export interface BrokerStatusChangedEvent {
tooling?: string;
error?: string;
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTED' | 'DONE' | 'FAILED';
}
}
export namespace che.workspace.event {
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent

@@ -508,9 +482,8 @@ export interface ServerStatusEvent {

// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent
export interface RuntimeStatusEvent {
prevStatus?: string;
identity?: che.workspace.RuntimeIdentity;
failed?: boolean;
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent
export interface BrokerStatusChangedEvent {
tooling?: string;
error?: string;
status?: string;
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTED' | 'DONE' | 'FAILED';
}

@@ -521,4 +494,4 @@

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

@@ -528,7 +501,17 @@ 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;
text?: string;
machineName?: string;

@@ -538,2 +521,11 @@ runtimeId?: che.workspace.RuntimeIdentity;

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

@@ -550,7 +542,15 @@ export interface BootstrapperStatusEvent {

export interface BrokerLogEvent {
text?: string;
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;
}
}

@@ -560,2 +560,30 @@

// 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.ExtendedError
export interface ExtendedError extends ServiceError {
errorCode?: number;
attributes?: { [key: string]: string; };
message?: string;
}
// 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

@@ -573,15 +601,5 @@ export interface ApiInfo {

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

@@ -594,18 +612,2 @@

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

@@ -616,10 +618,8 @@ export interface Hyperlinks {

// org.eclipse.che.api.core.rest.shared.dto.LinkParameter
export interface LinkParameter {
valid?: string[];
defaultValue?: string;
name?: string;
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor
export interface ServiceDescriptor extends Hyperlinks {
description?: string;
type?: 'String' | 'Number' | 'Boolean' | 'Array' | 'Object';
required?: boolean;
links?: Link[];
href?: string;
version?: string;
}

@@ -626,0 +626,0 @@

{
"name": "@eclipse-che/api",
"version": "7.40.0",
"version": "7.40.1",
"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