@eclipse-che/api
Advanced tools
Comparing version 7.5.0-SNAPSHOT to 7.18.2
572
index.d.ts
@@ -1,565 +0,7 @@ | ||
// File has been generated automatically by Eclipse Che TypeScript DTO generator | ||
export namespace che.factory { | ||
// org.eclipse.che.api.factory.shared.dto.IdeDto | ||
export interface Ide { | ||
onAppLoaded?: OnAppLoaded; | ||
onProjectsLoaded?: OnProjectsLoaded; | ||
onAppClosed?: OnAppClosed; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.FactoryDto | ||
export interface Factory extends che.core.rest.Hyperlinks { | ||
button?: Button; | ||
workspace?: che.workspace.WorkspaceConfig; | ||
creator?: Author; | ||
v?: string; | ||
devfile?: che.workspace.devfile.Devfile; | ||
name?: string; | ||
policies?: Policies; | ||
links?: che.core.rest.Link[]; | ||
source?: string; | ||
id?: string; | ||
ide?: Ide; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.IdeActionDto | ||
export interface IdeAction { | ||
id?: string; | ||
properties?: { [key: string]: string; }; | ||
} | ||
// 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; | ||
name?: string; | ||
userId?: string; | ||
email?: string; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.OnProjectsLoadedDto | ||
export interface OnProjectsLoaded { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.ButtonDto | ||
export interface Button { | ||
attributes?: ButtonAttributes; | ||
type?: 'logo' | 'nologo'; | ||
} | ||
// 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.OnAppClosedDto | ||
export interface OnAppClosed { | ||
actions?: IdeAction[]; | ||
} | ||
// org.eclipse.che.api.factory.shared.dto.ButtonAttributesDto | ||
export interface ButtonAttributes { | ||
color?: string; | ||
logo?: string; | ||
style?: string; | ||
counter?: boolean; | ||
} | ||
} | ||
export namespace che.system { | ||
// 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'; | ||
} | ||
// 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.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.SystemServiceItemStoppedEventDto | ||
export interface SystemServiceItemStoppedEvent extends SystemServiceEvent { | ||
total?: number; | ||
item?: string; | ||
current?: number; | ||
service?: string; | ||
type?: 'STATUS_CHANGED' | 'STOPPING_SERVICE' | 'SUSPENDING_SERVICE' | 'SERVICE_ITEM_STOPPED' | 'SERVICE_ITEM_SUSPENDED' | 'SERVICE_STOPPED' | 'SERVICE_SUSPENDED'; | ||
} | ||
} | ||
export namespace che.workspace.devfile { | ||
// 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.ProjectDto | ||
export interface Project { | ||
clonePath?: string; | ||
name?: string; | ||
source?: Source; | ||
} | ||
// 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.EndpointDto | ||
export interface Endpoint { | ||
port?: number; | ||
name?: string; | ||
attributes?: { [key: string]: 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 | ||
export interface Env { | ||
name?: string; | ||
value?: 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.ComponentDto | ||
export interface Component { | ||
registryUrl?: string; | ||
image?: string; | ||
preferences?: { [key: string]: string | number | boolean; }; | ||
endpoints?: Endpoint[]; | ||
volumes?: DevfileVolume[]; | ||
type?: string; | ||
env?: Env[]; | ||
command?: string[]; | ||
reference?: string; | ||
args?: string[]; | ||
alias?: string; | ||
referenceContent?: string; | ||
entrypoints?: Entrypoint[]; | ||
selector?: { [key: string]: string; }; | ||
memoryLimit?: 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.EntrypointDto | ||
export interface Entrypoint { | ||
args?: string[]; | ||
parentName?: string; | ||
containerName?: string; | ||
parentSelector?: { [key: string]: string; }; | ||
command?: string[]; | ||
} | ||
} | ||
export namespace che.workspace { | ||
// org.eclipse.che.api.workspace.shared.dto.MachineConfigDto | ||
export interface MachineConfig { | ||
installers?: string[]; | ||
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.SourceStorageDto | ||
export interface SourceStorage { | ||
location?: string; | ||
type?: string; | ||
parameters?: { [key: string]: 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.RuntimeIdentityDto | ||
export interface RuntimeIdentity { | ||
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; }; | ||
name?: string; | ||
description?: string; | ||
attributes?: { [key: string]: string; }; | ||
links?: che.core.rest.Link[]; | ||
commands?: Command[]; | ||
defaultEnv?: string; | ||
} | ||
// 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.RecipeDto | ||
export interface Recipe { | ||
location?: string; | ||
type?: string; | ||
contentType?: string; | ||
content?: 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.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.ServerConfigDto | ||
export interface ServerConfig { | ||
path?: string; | ||
protocol?: string; | ||
port?: string; | ||
attributes?: { [key: string]: string; }; | ||
} | ||
// org.eclipse.che.api.workspace.shared.dto.VolumeDto | ||
export interface Volume { | ||
path?: 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.WarningDto | ||
export interface Warning { | ||
code?: number; | ||
message?: 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.MachineDto | ||
export interface Machine { | ||
servers?: { [key: string]: Server; }; | ||
attributes?: { [key: string]: string; }; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPED' | 'FAILED'; | ||
} | ||
} | ||
export namespace che.ssh { | ||
// 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.ssh.shared.dto.GenerateSshPairRequest | ||
export interface GenerateSshPairRequest { | ||
service?: string; | ||
name?: string; | ||
} | ||
} | ||
export namespace che.user { | ||
// 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.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; }; | ||
} | ||
} | ||
export namespace che.workspace.event { | ||
// 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 | ||
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.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; | ||
} | ||
// 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.MachineLogEvent | ||
export interface MachineLogEvent { | ||
stream?: string; | ||
time?: string; | ||
text?: string; | ||
machineName?: string; | ||
runtimeId?: che.workspace.RuntimeIdentity; | ||
} | ||
// 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 | ||
export interface WorkspaceStatusEvent { | ||
prevStatus?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
error?: string; | ||
status?: 'STARTING' | 'RUNNING' | 'STOPPING' | 'STOPPED'; | ||
workspaceId?: string; | ||
} | ||
} | ||
export namespace che.core.rest { | ||
// org.eclipse.che.api.core.rest.shared.dto.ApiInfo | ||
export interface ApiInfo { | ||
specificationVendor?: string; | ||
ideVersion?: string; | ||
specificationTitle?: string; | ||
implementationVersion?: string; | ||
buildInfo?: string; | ||
implementationVendor?: string; | ||
scmRevision?: string; | ||
specificationVersion?: 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.Hyperlinks | ||
export interface Hyperlinks { | ||
links?: Link[]; | ||
} | ||
// 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 { | ||
message?: 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.ExtendedError | ||
export interface ExtendedError extends ServiceError { | ||
errorCode?: number; | ||
attributes?: { [key: string]: string; }; | ||
message?: string; | ||
} | ||
// 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; | ||
} | ||
} | ||
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-java-version) on project dts-dto-typescript: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] | ||
[ERROR] | ||
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. | ||
[ERROR] Re-run Maven using the -X switch to enable full debug logging. | ||
[ERROR] | ||
[ERROR] For more information about the errors and possible solutions, please read the following articles: | ||
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException |
{ | ||
"name": "@eclipse-che/api", | ||
"version": "7.5.0-SNAPSHOT", | ||
"version": "7.18.2", | ||
"description": "Eclipse Che DTO API", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3
1
1
2
868
7
3