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.31.1 to 7.31.2

548

index.d.ts

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

// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto
export interface OnAppClosed {
actions?: IdeAction[];
}
// 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.IdeActionDto
export interface IdeAction {
id?: string;
properties?: { [key: string]: string; };
}
// org.eclipse.che.api.factory.shared.dto.FactoryMetaDto
export interface FactoryMeta 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;
devfile?: che.workspace.devfile.Devfile;
v?: string;

@@ -33,12 +16,7 @@ name?: string;

links?: che.core.rest.Link[];
source?: string;
ide?: Ide;
id?: string;
source?: string;
}
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto

@@ -51,2 +29,7 @@ export interface ScmInfo {

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

@@ -57,7 +40,5 @@ export interface OnProjectsLoaded {

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

@@ -67,5 +48,5 @@ name?: string;

links?: che.core.rest.Link[];
ide?: Ide;
id?: string;
source?: string;
ide?: Ide;
}

@@ -83,6 +64,19 @@

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

@@ -96,2 +90,8 @@ 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

@@ -117,2 +117,8 @@ export interface Ide {

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

@@ -125,8 +131,2 @@ 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';
}
// org.eclipse.che.api.system.shared.dto.SystemEventDto

@@ -147,46 +147,17 @@ export interface SystemEvent {

// 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;
referenceContent?: string;
alias?: string;
memoryLimit?: string;
entrypoints?: Entrypoint[];
selector?: { [key: string]: string; };
id?: string;
mountSources?: boolean;
}
// 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;
attributes?: { [key: string]: string; };
commands?: DevfileCommand[];
containerPath?: 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.EnvDto

@@ -208,17 +179,2 @@ export interface 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[];
}
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
containerPath?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto

@@ -230,15 +186,2 @@ export interface Metadata {

// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
}
// 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.ProjectDto

@@ -262,32 +205,57 @@ export interface Project {

}
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto
export interface Endpoint {
port?: number;
name?: string;
attributes?: { [key: string]: string; };
}
export namespace che.core.notification {
// org.eclipse.che.api.core.notification.dto.EventSubscription
export interface EventSubscription {
method?: string;
scope?: { [key: string]: string; };
// 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[];
}
}
export namespace che.user {
// org.eclipse.che.api.user.shared.dto.ProfileDto
export interface Profile {
links?: che.core.rest.Link[];
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileCommandDto
export interface DevfileCommand {
previewUrl?: PreviewUrl;
name?: string;
attributes?: { [key: string]: string; };
userId?: string;
email?: string;
actions?: DevfileAction[];
}
// org.eclipse.che.api.user.shared.dto.UserDto
export interface User {
password?: string;
aliases?: string[];
name?: string;
links?: che.core.rest.Link[];
// 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[];
command?: string[];
cpuRequest?: string;
args?: string[];
reference?: string;
automountWorkspaceSecrets?: boolean;
alias?: string;
referenceContent?: string;
memoryLimit?: string;
entrypoints?: Entrypoint[];
selector?: { [key: string]: string; };
id?: string;
email?: string;
mountSources?: boolean;
}

@@ -299,18 +267,44 @@

// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto
export interface ServerConfig {
path?: string;
protocol?: string;
internal?: boolean;
requireSubdomain?: boolean;
port?: string;
discoverable?: boolean;
unique?: boolean;
cookiesAuthEnabled?: boolean;
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: 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.CommandDto
export interface Command {
previewUrl?: che.workspace.devfile.PreviewUrl;
name?: string;
attributes?: { [key: string]: string; };
secure?: boolean;
unsecuredPaths?: string[];
endpointOrigin?: 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.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.RuntimeDto

@@ -327,10 +321,2 @@ export interface Runtime extends che.core.rest.Hyperlinks {

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

@@ -342,16 +328,10 @@ export interface Environment {

// org.eclipse.che.api.workspace.shared.dto.MachineDto
export interface Machine {
servers?: { [key: string]: Server; };
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto
export interface MachineConfig {
servers?: { [key: string]: ServerConfig; };
volumes?: { [key: string]: Volume; };
attributes?: { [key: string]: string; };
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED';
env?: { [key: string]: 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.VolumeDto

@@ -362,29 +342,10 @@ export interface Volume {

// 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
export interface RuntimeIdentity {
infrastructureNamespace?: string;
envName?: string;
ownerId?: string;
workspaceId?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto
export interface ProjectConfig {
path?: string;
mixins?: string[];
name?: string;
description?: string;
links?: che.core.rest.Link[];
attributes?: { [key: string]: string[]; };
source?: SourceStorage;
type?: string;
problems?: ProjectProblem[];
}
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto

@@ -403,11 +364,2 @@ export interface Workspace {

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

@@ -420,14 +372,23 @@ export interface Server {

// 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.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.ServerConfigDto
export interface ServerConfig {
path?: string;
protocol?: string;
internal?: boolean;
requireSubdomain?: boolean;
port?: string;
discoverable?: boolean;
unique?: boolean;
cookiesAuthEnabled?: boolean;
attributes?: { [key: string]: string; };
secure?: boolean;
unsecuredPaths?: string[];
endpointOrigin?: string;
}

@@ -442,4 +403,4 @@

description?: string;
attributes?: { [key: string]: string; };
links?: che.core.rest.Link[];
attributes?: { [key: string]: string; };
commands?: Command[];

@@ -449,4 +410,33 @@ defaultEnv?: 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';
}
}
export namespace che.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;
}
// 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;
}
}
export namespace che.ssh {

@@ -471,9 +461,29 @@

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.MachineLogEvent
export interface MachineLogEvent {
// 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;

@@ -483,2 +493,11 @@ runtimeId?: che.workspace.RuntimeIdentity;

// org.eclipse.che.api.workspace.shared.dto.event.BootstrapperStatusEvent
export interface BootstrapperStatusEvent {
time?: string;
error?: string;
machineName?: string;
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTING' | 'DONE' | 'FAILED';
}
// org.eclipse.che.api.workspace.shared.dto.event.ServerStatusEvent

@@ -493,28 +512,20 @@ export interface ServerStatusEvent {

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

@@ -528,28 +539,17 @@ 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;
machineName?: string;
}
// 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.RuntimeLogEvent
export interface RuntimeLogEvent {
stream?: string;
time?: string;
text?: string;
machineName?: 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;
}
}

@@ -559,2 +559,20 @@

// 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.ServiceDescriptor
export interface ServiceDescriptor extends Hyperlinks {
description?: string;
links?: Link[];
href?: string;
version?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor

@@ -565,2 +583,9 @@ export interface RequestBodyDescriptor {

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

@@ -571,2 +596,7 @@ export interface Hyperlinks {

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

@@ -584,27 +614,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.ServiceDescriptor
export interface ServiceDescriptor extends Hyperlinks {
description?: string;
links?: Link[];
href?: string;
version?: 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.Link

@@ -621,8 +626,3 @@ export interface Link {

// org.eclipse.che.api.core.rest.shared.dto.ServiceError
export interface ServiceError {
message?: string;
}
}
{
"name": "@eclipse-che/api",
"version": "7.31.1",
"version": "7.31.2",
"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