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.57.0 to 7.58.0

562

index.d.ts

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

// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.AuthorDto
export interface Author {
created?: number;
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto
export interface FactoryMeta extends che.core.rest.Hyperlinks {
creator?: Author;
v?: string;
name?: string;
userId?: string;
email?: 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.IdeActionDto
export interface IdeAction {
id?: string;
properties?: { [key: string]: string; };
}
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.IdeDto

@@ -37,28 +32,12 @@ export interface Ide {

// 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.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// 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
export interface OnAppClosed {
actions?: IdeAction[];
}
// 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[];
id?: string;
source?: string;
ide?: Ide;
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto

@@ -85,2 +64,10 @@ export interface ScmInfo {

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

@@ -92,10 +79,23 @@ export interface Factory extends che.core.rest.Hyperlinks {

v?: string;
policies?: Policies;
name?: string;
policies?: Policies;
links?: che.core.rest.Link[];
source?: string;
ide?: Ide;
ide?: che.core.model.factory.Ide;
id?: 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.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
}

@@ -105,2 +105,17 @@

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

@@ -118,11 +133,2 @@ export interface SystemEvent {

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

@@ -134,8 +140,2 @@ export interface SystemState extends che.core.rest.Hyperlinks {

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

@@ -151,21 +151,2 @@

// 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.DevfileCommandDto
export interface DevfileCommand {
previewUrl?: PreviewUrl;
name?: string;
attributes?: { [key: string]: string; };
actions?: DevfileAction[];
}
// org.eclipse.che.api.workspace.shared.dto.devfile.EntrypointDto

@@ -180,16 +161,8 @@ export interface Entrypoint {

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

@@ -205,8 +178,27 @@ export interface DevfileAction {

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

@@ -218,13 +210,2 @@ export interface DevfileVolume {

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

@@ -255,36 +236,73 @@ export interface Component {

// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto
export interface Env {
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto
export interface Project {
clonePath?: string;
name?: string;
value?: string;
source?: Source;
}
// 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.SourceDto
export interface Source {
startPoint?: string;
location?: string;
tag?: string;
commitId?: string;
type?: string;
branch?: string;
sparseCheckoutDir?: string;
}
}
export namespace che.workspace {
export namespace che.user {
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
// org.eclipse.che.api.user.shared.dto.UserDto
export interface User {
password?: string;
aliases?: string[];
name?: string;
links?: che.core.rest.Link[];
id?: string;
email?: string;
}
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
// 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.workspace.shared.dto.MachineConfigDto
export interface MachineConfig {
servers?: { [key: string]: ServerConfig; };
volumes?: { [key: string]: Volume; };
}
export namespace che.workspace {
// org.eclipse.che.api.workspace.shared.dto.CommandDto
export interface Command {
previewUrl?: che.workspace.devfile.PreviewUrl;
name?: string;
attributes?: { [key: string]: string; };
env?: { [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.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;
}

@@ -300,2 +318,22 @@

// 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.ProjectConfigDto
export interface ProjectConfig {
path?: string;
mixins?: string[];
name?: string;
description?: string;
attributes?: { [key: string]: string[]; };
links?: che.core.rest.Link[];
source?: SourceStorage;
type?: string;
problems?: ProjectProblem[];
}
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto

@@ -309,9 +347,2 @@ export interface RuntimeIdentity {

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

@@ -333,37 +364,19 @@ export interface ServerConfig {

// 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.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; };
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.ProjectConfigDto
export interface ProjectConfig {
path?: string;
mixins?: string[];
name?: string;
description?: string;
attributes?: { [key: string]: string[]; };
links?: che.core.rest.Link[];
source?: SourceStorage;
type?: string;
problems?: ProjectProblem[];
}
// org.eclipse.che.api.workspace.shared.dto.VolumeDto

@@ -374,57 +387,47 @@ export interface Volume {

// 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.SourceStorageDto
export interface SourceStorage {
location?: string;
type?: string;
parameters?: { [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.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.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.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.EnvironmentDto
export interface Environment {
recipe?: Recipe;
machines?: { [key: string]: MachineConfig; };
}
}
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.ServerDto
export interface Server {
attributes?: { [key: string]: string; };
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
}
// 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.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';
}

@@ -444,20 +447,17 @@

export namespace che.user {
export namespace che.ssh {
// org.eclipse.che.api.user.shared.dto.UserDto
export interface User {
password?: string;
aliases?: string[];
// 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[];
id?: string;
email?: string;
publicKey?: string;
}
// 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.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}

@@ -469,24 +469,15 @@

// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent
export interface BootstrapperStatusEvent {
time?: string;
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeStatusEvent
export interface RuntimeStatusEvent {
identity?: che.workspace.RuntimeIdentity;
prevStatus?: string;
failed?: boolean;
error?: string;
runtimeId?: che.workspace.RuntimeIdentity;
machineName?: string;
status?: 'STARTING' | 'DONE' | 'FAILED';
status?: string;
}
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent
export interface MachineLogEvent {
stream?: string;
text?: string;
time?: string;
runtimeId?: che.workspace.RuntimeIdentity;
machineName?: string;
}
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent
export interface BrokerLogEvent {
time?: string;
text?: string;
time?: string;
runtimeId?: che.workspace.RuntimeIdentity;

@@ -505,19 +496,2 @@ }

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

@@ -531,20 +505,46 @@ 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.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;
machineName?: string;
}
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent
export interface ServerStatusEvent {
identity?: che.workspace.RuntimeIdentity;
serverUrl?: string;
serverName?: string;
// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent
export interface BootstrapperStatusEvent {
time?: string;
error?: string;
machineName?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTING' | 'DONE' | 'FAILED';
}
// org.eclipse.che.api.workspace.shared.dto.event.BrokerStatusChangedEvent
export interface BrokerStatusChangedEvent {
tooling?: string;
error?: string;
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTED' | 'DONE' | 'FAILED';
}
}

@@ -554,12 +554,2 @@

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

@@ -570,12 +560,9 @@ export interface RequestBodyDescriptor {

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

@@ -601,9 +588,2 @@ 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.Link

@@ -620,3 +600,23 @@ export interface Link {

// org.eclipse.che.api.core.rest.shared.dto.ServiceError
export interface ServiceError {
message?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.Hyperlinks
export interface Hyperlinks {
links?: Link[];
}
// 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;
}
}
{
"name": "@eclipse-che/api",
"version": "7.57.0",
"version": "7.58.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