@eclipse-che/devworkspace-client
Advanced tools
Comparing version 0.0.1-1617871695 to 0.0.1-1618334569
@@ -667,3 +667,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
if (devworkspace.spec.template.components) { | ||
template.components = devworkspace.spec.template.components; | ||
template.components = filterPluginComponents(devworkspace.spec.template.components); | ||
} | ||
@@ -679,2 +679,6 @@ if (devworkspace.spec.template.commands) { | ||
exports.devWorkspaceToDevfile = devWorkspaceToDevfile; | ||
// Filter plugins from components | ||
function filterPluginComponents(components) { | ||
return components.filter(comp => !("plugin" in comp)); | ||
} | ||
@@ -681,0 +685,0 @@ |
@@ -48,3 +48,3 @@ import * as k8s from '@kubernetes/client-node'; | ||
projects?: any; | ||
components?: any; | ||
components?: any[]; | ||
commands?: any; | ||
@@ -51,0 +51,0 @@ events?: any; |
{ | ||
"name": "@eclipse-che/devworkspace-client", | ||
"version": "0.0.1-1617871695", | ||
"version": "0.0.1-1618334569", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/server.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
22709192
2221