Socket
Socket
Sign inDemoInstall

@eclipse-che/api

Package Overview
Dependencies
Maintainers
4
Versions
106
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.86.0 to 7.87.0

528

index.d.ts

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

// 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;
policies?: Policies;
name?: string;
links?: che.core.rest.Link[];
source?: 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.IdeDto
export interface Ide {
onAppLoaded?: OnAppLoaded;
onProjectsLoaded?: OnProjectsLoaded;
onAppClosed?: OnAppClosed;
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
}
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.AuthorDto

@@ -15,2 +53,10 @@ export interface Author {

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

@@ -28,12 +74,2 @@ 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

@@ -53,35 +89,7 @@ export interface FactoryDevfileV2 extends che.core.rest.Hyperlinks {

// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto
export interface OnProjectsLoaded {
// org.eclipse.che.api.factory.shared.dto.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// 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.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: 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.IdeActionDto

@@ -93,10 +101,2 @@ export interface IdeAction {

// org.eclipse.che.api.factory.shared.dto.PoliciesDto
export interface Policies {
referer?: string;
create?: string;
until?: number;
since?: number;
}
}

@@ -111,15 +111,8 @@

// 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';
// org.eclipse.che.api.system.shared.dto.SystemStateDto
export interface SystemState extends che.core.rest.Hyperlinks {
links?: che.core.rest.Link[];
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN';
}
// 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.SystemServiceItemStoppedEventDto

@@ -134,8 +127,15 @@ export interface SystemServiceItemStoppedEvent extends SystemServiceEvent {

// org.eclipse.che.api.system.shared.dto.SystemStateDto
export interface SystemState extends che.core.rest.Hyperlinks {
links?: che.core.rest.Link[];
// 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
export interface SystemServiceEvent extends SystemEvent {
service?: string;
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED';
}
}

@@ -145,2 +145,38 @@

// 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;
mountSources?: boolean;
}
// 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.SourceDto

@@ -157,15 +193,13 @@ export interface Source {

// 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.EnvDto
export interface Env {
name?: string;
value?: 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.ProjectDto
export interface Project {
clonePath?: string;
name?: string;
source?: Source;
}

@@ -183,30 +217,19 @@

// org.eclipse.che.api.workspace.shared.dto.devfile.EnvDto
export interface Env {
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
value?: string;
containerPath?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto
export interface Metadata {
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto
export interface Endpoint {
port?: number;
name?: string;
generateName?: 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[];
}
// 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;
}

@@ -222,38 +245,15 @@

// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileVolumeDto
export interface DevfileVolume {
name?: string;
containerPath?: string;
}
// org.eclipse.che.api.workspace.shared.dto.devfile.EndpointDto
export interface Endpoint {
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
name?: string;
attributes?: { [key: string]: string; };
}
// 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;
}

@@ -265,22 +265,44 @@

// org.eclipse.che.api.workspace.shared.dto.ServerDto
export interface Server {
// 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.CommandDto
export interface Command {
previewUrl?: che.workspace.devfile.PreviewUrl;
name?: string;
attributes?: { [key: string]: string; };
url?: string;
status?: 'RUNNING' | 'STOPPED' | 'UNKNOWN';
type?: string;
commandLine?: 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;
// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto
export interface ProjectConfig {
path?: string;
mixins?: string[];
name?: string;
description?: string;
attributes?: { [key: string]: string; };
attributes?: { [key: string]: string[]; };
links?: che.core.rest.Link[];
commands?: Command[];
defaultEnv?: string;
source?: SourceStorage;
type?: string;
problems?: ProjectProblem[];
}
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto
export interface ProjectProblem {
code?: number;
message?: 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.workspace.shared.dto.EnvironmentDto

@@ -297,9 +319,2 @@ export interface Environment {

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

@@ -321,18 +336,8 @@ export interface ServerConfig {

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

@@ -345,38 +350,10 @@ export interface Machine {

// 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.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;
// org.eclipse.che.api.workspace.shared.dto.RecipeDto
export interface Recipe {
location?: string;
type?: string;
problems?: ProjectProblem[];
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; };
type?: string;
commandLine?: string;
}
// org.eclipse.che.api.workspace.shared.dto.RuntimeDto

@@ -393,2 +370,31 @@ export interface Runtime extends che.core.rest.Hyperlinks {

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

@@ -400,4 +406,4 @@ export interface Workspace {

runtime?: Runtime;
links?: { [key: string]: string; };
attributes?: { [key: string]: string; };
links?: { [key: string]: string; };
id?: string;

@@ -408,8 +414,2 @@ config?: WorkspaceConfig;

// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
}

@@ -470,19 +470,17 @@

// 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.BrokerStatusChangedEvent
export interface BrokerStatusChangedEvent {
tooling?: string;
error?: string;
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED';
workspaceId?: string;
initiatedByUser?: boolean;
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTED' | 'DONE' | 'FAILED';
}
// 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';
}

@@ -499,2 +497,19 @@

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

@@ -509,9 +524,2 @@ export interface RuntimeStatusEvent {

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

@@ -525,9 +533,9 @@ export interface MachineStatusEvent {

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

@@ -544,10 +552,2 @@

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

@@ -557,5 +557,11 @@

// 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;
rel?: string;
produces?: string;
href?: string;
parameters?: LinkParameter[];
consumes?: string;
}

@@ -571,2 +577,26 @@

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

@@ -584,21 +614,2 @@ export interface ApiInfo {

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

@@ -614,14 +625,3 @@ export interface LinkParameter {

// org.eclipse.che.api.core.rest.shared.dto.RequestBodyDescriptor
export interface RequestBodyDescriptor {
description?: string;
}
// org.eclipse.che.api.core.rest.shared.dto.ServiceError
export interface ServiceError {
trace?: string[];
message?: string;
}
}
{
"name": "@eclipse-che/api",
"version": "7.86.0",
"version": "7.87.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