Socket
Socket
Sign inDemoInstall

@eclipse-che/api

Package Overview
Dependencies
0
Maintainers
5
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.34.1 to 7.34.2

566

index.d.ts

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

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

@@ -11,4 +19,4 @@ export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks {

scmInfo?: ScmInfo;
devfile?: { [key: string]: java.lang.Object; };
v?: string;
devfile?: { [key: string]: java.lang.Object; };
name?: string;

@@ -22,2 +30,26 @@ 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.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.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.PoliciesDto

@@ -31,15 +63,2 @@ export interface Policies {

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

@@ -51,7 +70,2 @@ export interface IdeAction {

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

@@ -61,4 +75,4 @@ export interface Factory extends che.core.rest.Hyperlinks {

creator?: Author;
devfile?: che.workspace.devfile.Devfile;
v?: string;
devfile?: che.workspace.devfile.Devfile;
name?: string;

@@ -72,26 +86,12 @@ policies?: Policies;

// 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.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto
export interface OnProjectsLoaded {
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto
export interface OnAppClosed {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.IdeDto
export interface Ide {
onAppLoaded?: OnAppLoaded;
onProjectsLoaded?: OnProjectsLoaded;
onAppClosed?: OnAppClosed;
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto

@@ -108,2 +108,13 @@ export interface ScmInfo {

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

@@ -115,11 +126,2 @@ export interface SystemState extends che.core.rest.Hyperlinks {

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

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

@@ -148,44 +148,42 @@ type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED';

// 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;
// org.eclipse.che.api.workspace.shared.dto.devfile.SourceDto
export interface Source {
startPoint?: string;
location?: string;
tag?: string;
commitId?: string;
type?: string;
env?: Env[];
command?: string[];
cpuRequest?: string;
args?: string[];
branch?: string;
sparseCheckoutDir?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileActionDto
export interface DevfileAction {
reference?: string;
automountWorkspaceSecrets?: boolean;
alias?: string;
component?: string;
workdir?: string;
referenceContent?: string;
memoryLimit?: string;
entrypoints?: Entrypoint[];
selector?: { [key: string]: string; };
id?: string;
mountSources?: boolean;
type?: string;
command?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto
export interface Endpoint {
port?: number;
// 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
export interface DevfileVolume {
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto
export interface Project {
clonePath?: string;
name?: string;
containerPath?: string;
source?: Source;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto
export interface Env {
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto
export interface Metadata {
name?: string;
value?: string;
generateName?: string;
}

@@ -202,26 +200,15 @@

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

@@ -238,24 +225,37 @@ export interface Devfile {

// 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.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
containerPath?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto
export interface Metadata {
name?: string;
generateName?: string;
// org.eclipse.che.api.workspace.shared.dto.devfile.ComponentDto
export interface Component {
registryUrl?: string;
image?: string;
endpoints?: Endpoint[];
preferences?: { [key: string]: string | number | boolean; };
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;
mountSources?: boolean;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto
export interface Project {
clonePath?: string;
// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto
export interface Env {
name?: string;
source?: Source;
value?: string;
}

@@ -265,28 +265,57 @@

export namespace che.ssh {
export namespace che.workspace {
// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: 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.ssh.shared.dto.SshPairDto
export interface SshPair extends che.core.rest.Hyperlinks {
privateKey?: string;
service?: 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;
attributes?: { [key: string]: string[]; };
links?: che.core.rest.Link[];
publicKey?: string;
source?: SourceStorage;
type?: string;
problems?: ProjectProblem[];
}
}
// org.eclipse.che.api.workspace.shared.dto.RecipeDto
export interface Recipe {
location?: string;
type?: string;
contentType?: string;
content?: string;
}
export namespace che.workspace {
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ServerDto
export interface Server {
// 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; };
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
links?: che.core.rest.Link[];
commands?: Command[];
defaultEnv?: string;
}

@@ -303,8 +332,16 @@

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

@@ -323,15 +360,2 @@

// 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.VolumeDto
export interface Volume {
path?: string;
}
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto

@@ -345,9 +369,20 @@ export interface MachineConfig {

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

@@ -360,27 +395,8 @@ export interface SourceStorage {

// 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.EnvironmentDto
export interface Environment {
recipe?: Recipe;
machines?: { [key: string]: MachineConfig; };
}
// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.WorkspaceDto

@@ -399,45 +415,19 @@ export interface Workspace {

// 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;
}
}
// 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.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;
// org.eclipse.che.api.ssh.shared.dto.SshPairDto
export interface SshPair extends che.core.rest.Hyperlinks {
privateKey?: string;
service?: string;
name?: string;
description?: string;
attributes?: { [key: string]: string; };
links?: che.core.rest.Link[];
commands?: Command[];
defaultEnv?: string;
publicKey?: 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.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}

@@ -449,2 +439,10 @@

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

@@ -460,8 +458,10 @@ 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.core.notification {
// org.eclipse.che.api.core.notification.dto.EventSubscription
export interface EventSubscription {
method?: string;
scope?: { [key: string]: string; };
}

@@ -473,9 +473,9 @@

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

@@ -491,13 +491,4 @@

// 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.MachineLogEvent
export interface MachineLogEvent {
// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent
export interface RuntimeLogEvent {
stream?: string;

@@ -510,10 +501,2 @@ time?: 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.workspace.shared.dto.event.RuntimeStatusEvent

@@ -528,2 +511,11 @@ export interface RuntimeStatusEvent {

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

@@ -536,4 +528,4 @@ export interface BrokerLogEvent {

// org.eclipse.che.api.workspace.shared.dto.event.RuntimeLogEvent
export interface RuntimeLogEvent {
// org.eclipse.che.api.workspace.shared.dto.event.MachineLogEvent
export interface MachineLogEvent {
stream?: string;

@@ -546,2 +538,10 @@ time?: 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.workspace.shared.dto.event.WorkspaceStatusEvent

@@ -561,23 +561,19 @@ export interface WorkspaceStatusEvent {

// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor
export interface RequestBodyDescriptor {
description?: 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.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;
}
// org.eclipse.che.api.core.rest.shared.dto.Link
export interface Link {
method?: string;
requestBody?: RequestBodyDescriptor;
produces?: string;
rel?: string;
href?: string;
parameters?: LinkParameter[];
consumes?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor

@@ -591,12 +587,2 @@ export interface ServiceDescriptor extends Hyperlinks {

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

@@ -607,2 +593,7 @@ export interface ServiceError {

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

@@ -620,10 +611,19 @@ 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.Hyperlinks
export interface Hyperlinks {
links?: Link[];
}
// org.eclipse.che.api.core.rest.shared.dto.Link
export interface Link {
method?: string;
requestBody?: RequestBodyDescriptor;
produces?: string;
rel?: string;
href?: string;
parameters?: LinkParameter[];
consumes?: string;
}
}
{
"name": "@eclipse-che/api",
"version": "7.34.1",
"version": "7.34.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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc