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
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.89.0 to 7.90.0

552

index.d.ts

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

// org.eclipse.che.api.factory.shared.dto.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
}
// org.eclipse.che.api.factory.shared.dto.FactoryDto
export interface Factory extends che.core.rest.Hyperlinks {
workspace?: che.workspace.WorkspaceConfig;
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto
export interface FactoryMeta extends che.core.rest.Hyperlinks {
creator?: Author;
devfile?: che.workspace.devfile.Devfile;
v?: string;

@@ -23,10 +14,22 @@ name?: string;

links?: che.core.rest.Link[];
id?: string;
source?: string;
ide?: Ide;
id?: string;
}
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto
export interface FactoryMeta extends che.core.rest.Hyperlinks {
// 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[];
}
// 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;

@@ -36,7 +39,20 @@ name?: string;

links?: che.core.rest.Link[];
source?: string;
id?: string;
source?: string;
ide?: 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.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
}
// org.eclipse.che.api.factory.shared.dto.AuthorDto

@@ -50,9 +66,2 @@ export interface Author {

// org.eclipse.che.api.factory.shared.dto.IdeDto
export interface Ide {
onAppLoaded?: OnAppLoaded;
onProjectsLoaded?: OnProjectsLoaded;
onAppClosed?: OnAppClosed;
}
// org.eclipse.che.api.factory.shared.dto.PoliciesDto

@@ -66,34 +75,25 @@ 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.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.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks {
// org.eclipse.che.api.factory.shared.dto.FactoryDto
export interface Factory extends che.core.rest.Hyperlinks {
workspace?: che.workspace.WorkspaceConfig;
creator?: Author;
scmInfo?: ScmInfo;
devfile?: { [key: string]: java.lang.Object; };
devfile?: che.workspace.devfile.Devfile;
v?: string;
policies?: Policies;
name?: string;
policies?: Policies;
links?: che.core.rest.Link[];
source?: string;
ide?: Ide;
id?: string;
ide?: Ide;
}
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto
export interface OnAppClosed {
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];

@@ -106,11 +106,14 @@ }

// org.eclipse.che.api.system.shared.dto.SystemServiceItemStoppedEventDto
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent {
item?: string;
current?: number;
total?: number;
service?: string;
// 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.SystemServiceEventDto

@@ -122,7 +125,9 @@ export interface SystemServiceEvent extends SystemEvent {

// 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.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';
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN';
}

@@ -136,7 +141,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';
}
}

@@ -146,21 +146,19 @@

// 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
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.MetadataDto
export interface Metadata {
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
generateName?: 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.EntrypointDto

@@ -175,2 +173,8 @@ export interface Entrypoint {

// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto

@@ -186,2 +190,26 @@ export interface DevfileAction {

// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileDto
export interface Devfile {
components?: Component[];
metadata?: Metadata;
projects?: Project[];
apiVersion?: string;
name?: string;
attributes?: { [key: string]: string; };
commands?: DevfileCommand[];
}
// 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.EnvDto
export interface Env {
name?: string;
value?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto

@@ -195,2 +223,15 @@ export interface DevfileCommand {

// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto
export interface Metadata {
name?: string;
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.ComponentDto

@@ -221,66 +262,51 @@ export interface Component {

// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
}
}
// 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;
export namespace che.workspace {
// 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.devfile.EndpointDto
export interface Endpoint {
port?: number;
// 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.devfile.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
containerPath?: 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.devfile.DevfileDto
export interface Devfile {
components?: Component[];
metadata?: Metadata;
projects?: Project[];
apiVersion?: string;
name?: string;
// org.eclipse.che.api.workspace.shared.dto.MachineDto
export interface Machine {
servers?: { [key: string]: Server; };
attributes?: { [key: string]: string; };
commands?: DevfileCommand[];
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED';
}
}
// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: string;
}
export namespace che.workspace {
// org.eclipse.che.api.workspace.shared.dto.RecipeDto
export interface Recipe {
// org.eclipse.che.api.workspace.shared.dto.SourceStorageDto
export interface SourceStorage {
location?: string;
type?: string;
contentType?: string;
content?: string;
parameters?: { [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.ServerConfigDto

@@ -302,66 +328,32 @@ export interface ServerConfig {

// 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.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; };
// org.eclipse.che.api.workspace.shared.dto.RecipeDto
export interface Recipe {
location?: string;
type?: string;
commandLine?: string;
contentType?: string;
content?: 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.RuntimeIdentityDto
export interface RuntimeIdentity {
infrastructureNamespace?: string;
envName?: string;
ownerId?: string;
workspaceId?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ServerDto
export interface Server {
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto
export interface MachineConfig {
servers?: { [key: string]: ServerConfig; };
volumes?: { [key: string]: Volume; };
attributes?: { [key: string]: string; };
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
env?: { [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.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';
}
// 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

@@ -386,47 +378,39 @@ export interface ProjectProblem {

// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: 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.WarningDto
export interface Warning {
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;
attributes?: { [key: string]: string; };
links?: { [key: string]: string; };
id?: string;
config?: WorkspaceConfig;
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
}
// 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.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; };
}
}
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.ssh {
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}
// org.eclipse.che.api.ssh.shared.dto.SshPairDto

@@ -441,2 +425,8 @@ export interface SshPair extends che.core.rest.Hyperlinks {

// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}
}

@@ -446,10 +436,2 @@

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

@@ -465,14 +447,24 @@ 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;
}
}
export namespace che.workspace.event {
export namespace che.core.notification {
// 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.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.WorkspaceStatusEvent

@@ -488,2 +480,18 @@ export interface WorkspaceStatusEvent {

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

@@ -498,2 +506,11 @@ export interface MachineLogEvent {

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

@@ -516,27 +533,2 @@ export interface MachineStatusEvent {

// 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.RuntimeStatusEvent
export interface RuntimeStatusEvent {
prevStatus?: string;
identity?: che.workspace.RuntimeIdentity;
failed?: boolean;
error?: string;
status?: string;
}
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent

@@ -551,2 +543,10 @@ export interface RuntimeLogEvent {

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

@@ -561,11 +561,16 @@

// org.eclipse.che.api.core.rest.shared.dto.Link
export interface Link {
method?: string;
requestBody?: RequestBodyDescriptor;
rel?: string;
produces?: string;
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError
export interface ExtendedError extends ServiceError {
trace?: string[];
errorCode?: number;
attributes?: { [key: string]: string; };
message?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor
export interface ServiceDescriptor extends Hyperlinks {
description?: string;
links?: Link[];
href?: string;
parameters?: LinkParameter[];
consumes?: string;
version?: string;
}

@@ -583,10 +588,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.ApiInfo

@@ -604,2 +601,7 @@ 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.ServiceError

@@ -611,16 +613,14 @@ export interface ServiceError {

// org.eclipse.che.api.core.rest.shared.dto.ExtendedError
export interface ExtendedError extends ServiceError {
trace?: string[];
errorCode?: number;
attributes?: { [key: string]: string; };
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;
}
}
{
"name": "@eclipse-che/api",
"version": "7.89.0",
"version": "7.90.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