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.69.0 to 7.70.0

542

index.d.ts

@@ -6,13 +6,7 @@ // 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.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;

@@ -32,16 +26,2 @@ name?: string;

// org.eclipse.che.api.factory.shared.dto.FactoryDto
export interface Factory extends che.core.rest.Hyperlinks {
workspace?: che.workspace.WorkspaceConfig;
creator?: Author;
v?: string;
devfile?: che.workspace.devfile.Devfile;
name?: string;
policies?: Policies;
links?: che.core.rest.Link[];
source?: string;
ide?: Ide;
id?: string;
}
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto

@@ -52,16 +32,9 @@ export interface OnProjectsLoaded {

// 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.AuthorDto
export interface Author {
created?: number;
name?: string;
userId?: string;
email?: string;
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto

@@ -74,8 +47,6 @@ export interface ScmInfo {

// org.eclipse.che.api.factory.shared.dto.FactoryDevfileV2Dto
export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks {
// 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;

@@ -89,2 +60,30 @@ policies?: Policies;

// 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.FactoryDto
export interface Factory extends che.core.rest.Hyperlinks {
workspace?: che.workspace.WorkspaceConfig;
creator?: Author;
devfile?: che.workspace.devfile.Devfile;
v?: string;
name?: string;
policies?: Policies;
links?: che.core.rest.Link[];
source?: string;
ide?: Ide;
id?: 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.OnAppClosedDto

@@ -95,7 +94,8 @@ export interface OnAppClosed {

// org.eclipse.che.api.factory.shared.dto.IdeDto
export interface Ide {
onAppLoaded?: OnAppLoaded;
onProjectsLoaded?: OnProjectsLoaded;
onAppClosed?: OnAppClosed;
// org.eclipse.che.api.factory.shared.dto.AuthorDto
export interface Author {
created?: number;
name?: string;
userId?: string;
email?: string;
}

@@ -113,4 +113,12 @@

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

@@ -120,4 +128,5 @@ type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED';

// org.eclipse.che.api.system.shared.dto.SystemEventDto
export interface 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';

@@ -133,11 +142,2 @@ }

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

@@ -147,31 +147,25 @@

// 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
export interface Entrypoint {
// 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[];
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.DevfileActionDto
export interface DevfileAction {
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;
}

@@ -186,2 +180,19 @@

// 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.EnvDto
export interface Env {
name?: string;
value?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto

@@ -194,6 +205,10 @@ export interface Project {

// 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
export interface DevfileAction {
reference?: string;
component?: string;
workdir?: string;
referenceContent?: string;
type?: string;
command?: string;
}

@@ -207,33 +222,15 @@

// 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.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
}
// 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;
}

@@ -252,11 +249,14 @@

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

@@ -268,22 +268,20 @@

// 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;
links?: che.core.rest.Link[];
attributes?: { [key: string]: string; };
commands?: Command[];
defaultEnv?: string;
// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: string;
}
// org.eclipse.che.api.workspace.shared.dto.MachineDto
export interface Machine {
servers?: { [key: string]: Server; };
// org.eclipse.che.api.workspace.shared.dto.ServerDto
export interface Server {
attributes?: { [key: string]: string; };
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED';
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
}
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto

@@ -297,21 +295,26 @@ export interface MachineConfig {

// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: 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;
links?: che.core.rest.Link[];
attributes?: { [key: string]: string; };
commands?: Command[];
defaultEnv?: 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;
// 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; };
commandLine?: string;
type?: string;
id?: string;
config?: WorkspaceConfig;
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
}

@@ -335,2 +338,13 @@

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

@@ -344,17 +358,9 @@ export interface Recipe {

// 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.RuntimeIdentityDto
export interface RuntimeIdentity {
infrastructureNamespace?: string;
envName?: string;
ownerId?: string;
workspaceId?: string;
}
// org.eclipse.che.api.workspace.shared.dto.EnvironmentDto

@@ -366,27 +372,9 @@ export interface Environment {

// 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.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.ServerDto
export interface Server {
attributes?: { [key: string]: string; };
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
}
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto

@@ -405,15 +393,37 @@ 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.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;
}
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: 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.ssh {

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

@@ -490,24 +481,28 @@ export interface BrokerStatusChangedEvent {

// org.eclipse.che.api.workspace.shared.dto.event.MachineStatusEvent
export interface MachineStatusEvent {
identity?: che.workspace.RuntimeIdentity;
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED';
error?: string;
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent
export interface MachineLogEvent {
stream?: string;
text?: string;
time?: string;
machineName?: string;
runtimeId?: che.workspace.RuntimeIdentity;
}
// 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.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.MachineLogEvent
export interface MachineLogEvent {
stream?: string;
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent
export interface BootstrapperStatusEvent {
time?: string;
text?: string;
error?: string;
machineName?: string;
runtimeId?: che.workspace.RuntimeIdentity;
machineName?: string;
status?: 'STARTING' | 'DONE' | 'FAILED';
}

@@ -524,9 +519,15 @@

// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent
export interface BootstrapperStatusEvent {
// 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.MachineStatusEvent
export interface MachineStatusEvent {
identity?: che.workspace.RuntimeIdentity;
eventType?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED';
error?: string;
runtimeId?: che.workspace.RuntimeIdentity;
machineName?: string;
status?: 'STARTING' | 'DONE' | 'FAILED';
}

@@ -537,16 +538,15 @@

stream?: string;
text?: string;
time?: string;
text?: string;
machineName?: string;
runtimeId?: che.workspace.RuntimeIdentity;
machineName?: string;
}
// org.eclipse.che.api.workspace.shared.dto.event.WorkspaceStatusEvent
export interface WorkspaceStatusEvent {
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
options?: { [key: string]: string; };
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent
export interface RuntimeStatusEvent {
identity?: che.workspace.RuntimeIdentity;
prevStatus?: string;
failed?: boolean;
error?: string;
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
initiatedByUser?: boolean;
workspaceId?: string;
status?: string;
}

@@ -558,12 +558,10 @@

// org.eclipse.che.api.core.rest.shared.dto.ApiInfo
export interface ApiInfo {
specificationVendor?: string;
ideVersion?: string;
specificationTitle?: string;
implementationVersion?: string;
buildInfo?: string;
implementationVendor?: string;
scmRevision?: string;
specificationVersion?: 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;
}

@@ -590,2 +588,19 @@

// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor
export interface RequestBodyDescriptor {
description?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo
export interface ApiInfo {
specificationVendor?: string;
ideVersion?: string;
specificationTitle?: string;
implementationVersion?: string;
buildInfo?: string;
implementationVendor?: string;
scmRevision?: string;
specificationVersion?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ExtendedError

@@ -603,17 +618,2 @@ export interface ExtendedError extends ServiceError {

// 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.RequestBodyDescriptor
export interface RequestBodyDescriptor {
description?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ServiceError

@@ -620,0 +620,0 @@ export interface ServiceError {

{
"name": "@eclipse-che/api",
"version": "7.69.0",
"version": "7.70.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