Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/api

Package Overview
Dependencies
Maintainers
0
Versions
111
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.96.0 to 7.97.0

524

index.d.ts

@@ -6,2 +6,27 @@ // 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.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
}
// org.eclipse.che.api.factory.shared.dto.OnAppClosedDto
export interface OnAppClosed {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto
export interface OnProjectsLoaded {
actions?: IdeAction[];
}
// org.eclipse.che.api.factory.shared.dto.PoliciesDto

@@ -22,50 +47,30 @@ export interface Policies {

// 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.OnAppLoadedDto
export interface OnAppLoaded {
actions?: IdeAction[];
}
// 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;
policies?: Policies;
links?: che.core.rest.Link[];
id?: string;
source?: string;
id?: string;
ide?: Ide;
}
// org.eclipse.che.api.factory.shared.dto.ScmInfoDto
export interface ScmInfo {
scmProviderName?: string;
branch?: string;
repositoryUrl?: string;
}
// 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.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;
v?: string;
devfile?: { [key: string]: java.lang.Object; };
name?: string;
policies?: Policies;
links?: che.core.rest.Link[];
source?: string;
id?: string;
source?: string;
ide?: Ide;

@@ -80,7 +85,2 @@ }

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

@@ -90,8 +90,2 @@

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

@@ -106,8 +100,2 @@ 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[];
status?: 'RUNNING' | 'PREPARING_TO_SHUTDOWN' | 'READY_TO_SHUTDOWN';
}
// org.eclipse.che.api.system.shared.dto.SystemEventDto

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

@@ -126,2 +120,8 @@ export interface SystemStatusChangedEvent extends SystemEvent {

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

@@ -131,9 +131,17 @@

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

@@ -150,23 +158,24 @@ export interface Source {

// org.eclipse.che.api.workspace.shared.dto.devfile.ProjectDto
export interface Project {
clonePath?: string;
// org.eclipse.che.api.workspace.shared.dto.devfile.DevfileDto
export interface Devfile {
components?: Component[];
metadata?: Metadata;
projects?: Project[];
apiVersion?: string;
name?: string;
source?: Source;
attributes?: { [key: string]: string; };
commands?: DevfileCommand[];
}
// org.eclipse.che.api.workspace.shared.dto.devfile.PreviewUrlDto
export interface PreviewUrl {
path?: string;
port?: number;
// org.eclipse.che.api.workspace.shared.dto.devfile.MetadataDto
export interface Metadata {
name?: string;
generateName?: string;
}
// 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.EndpointDto
export interface Endpoint {
port?: number;
name?: string;
attributes?: { [key: string]: string; };
}

@@ -180,34 +189,9 @@

// 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.EntrypointDto
export interface Entrypoint {
args?: string[];
parentName?: string;
containerName?: string;
parentSelector?: { [key: string]: string; };
command?: 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.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.ComponentDto

@@ -246,22 +230,32 @@ export interface Component {

// 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;
}
}
export namespace che.workspace {
export namespace che.core.notification {
// 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.core.notification.dto.EventSubscription
export interface EventSubscription {
method?: string;
scope?: { [key: string]: string; };
}
// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
path?: string;
}
}
export namespace che.workspace {
// org.eclipse.che.api.workspace.shared.dto.MachineDto

@@ -274,2 +268,28 @@ export interface Machine {

// 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.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';
}
// org.eclipse.che.api.workspace.shared.dto.ProjectProblemDto

@@ -281,2 +301,18 @@ export interface ProjectProblem {

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

@@ -289,2 +325,8 @@ export interface Server {

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

@@ -298,29 +340,32 @@ export interface Recipe {

// org.eclipse.che.api.workspace.shared.dto.ProjectConfigDto
export interface ProjectConfig {
path?: string;
mixins?: string[];
name?: string;
description?: string;
attributes?: { [key: string]: 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.RuntimeIdentityDto
export interface RuntimeIdentity {
infrastructureNamespace?: string;
envName?: string;
ownerId?: string;
workspaceId?: 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[];
source?: SourceStorage;
type?: string;
problems?: ProjectProblem[];
machines?: { [key: string]: Machine; };
commands?: Command[];
}
// org.eclipse.che.api.workspace.shared.dto.ServerConfigDto
export interface ServerConfig {
// org.eclipse.che.api.workspace.shared.dto.VolumeDto
export interface Volume {
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;
}

@@ -334,21 +379,13 @@

// 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;
// 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[];
}

@@ -365,15 +402,2 @@

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

@@ -386,16 +410,2 @@ export interface SourceStorage {

// org.eclipse.che.api.workspace.shared.dto.WarningDto
export interface Warning {
code?: number;
message?: string;
}
// org.eclipse.che.api.workspace.shared.dto.RuntimeIdentityDto
export interface RuntimeIdentity {
infrastructureNamespace?: string;
envName?: string;
ownerId?: string;
workspaceId?: string;
}
}

@@ -405,8 +415,2 @@

// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}
// org.eclipse.che.api.ssh.shared.dto.SshPairDto

@@ -421,2 +425,8 @@ export interface SshPair extends che.core.rest.Hyperlinks {

// org.eclipse.che.api.ssh.shared.dto.GenerateSshPairRequest
export interface GenerateSshPairRequest {
service?: string;
name?: string;
}
}

@@ -426,10 +436,2 @@

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

@@ -445,16 +447,31 @@ 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 {
export namespace che.workspace.event {
// org.eclipse.che.api.core.notification.dto.EventSubscription
export interface EventSubscription {
method?: string;
scope?: { [key: string]: 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.RuntimeStatusEvent
export interface RuntimeStatusEvent {
identity?: che.workspace.RuntimeIdentity;
prevStatus?: string;
failed?: boolean;
error?: string;
status?: string;
}
export namespace che.workspace.event {
// org.eclipse.che.api.workspace.shared.dto.event.BrokerLogEvent

@@ -467,9 +484,8 @@ export interface BrokerLogEvent {

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

@@ -496,4 +512,4 @@

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

@@ -506,13 +522,13 @@ time?: string;

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

@@ -525,18 +541,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.BrokerStatusChangedEvent
export interface BrokerStatusChangedEvent {
tooling?: string;
error?: string;
runtimeId?: che.workspace.RuntimeIdentity;
status?: 'STARTED' | 'DONE' | 'FAILED';
}
}

@@ -546,29 +546,12 @@

// 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 {
// 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.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;
}
// org.eclipse.che.api.core.rest.shared.dto.ServiceDescriptor

@@ -590,2 +573,18 @@ export interface ServiceDescriptor extends Hyperlinks {

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

@@ -603,10 +602,11 @@ export interface ApiInfo {

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

@@ -613,0 +613,0 @@

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