moved input to proper place for init
This commit is contained in:
parent
8c3ab8e7c1
commit
b5e213769d
|
@ -21,21 +21,7 @@ class CCPMethodEditorController extends HTMLElement{
|
|||
version : "1.0.0",
|
||||
jobControlOptions : "async-execute",
|
||||
metadata : [],
|
||||
inputs : {
|
||||
runtime : {
|
||||
id : "runtime",
|
||||
title : "Runtime",
|
||||
description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.",
|
||||
minOccurs : 1,
|
||||
maxOccurs : 1,
|
||||
schema : {
|
||||
type : "string",
|
||||
format : "url",
|
||||
default : "",
|
||||
readonly : true,
|
||||
}
|
||||
}
|
||||
},
|
||||
inputs : {},
|
||||
outputs : {},
|
||||
additionalParameters : {
|
||||
parameters : [
|
||||
|
@ -260,7 +246,21 @@ class CCPMethodEditorController extends HTMLElement{
|
|||
this.#current = JSON.parse(JSON.stringify(this.#method_template))
|
||||
this.#current.id = Math.abs((Math.random() * 10e11)|0)
|
||||
this.#current.metadata = []
|
||||
this.#tmp_inputs = []
|
||||
this.#tmp_inputs = [
|
||||
{
|
||||
id : "runtime",
|
||||
title : "Runtime",
|
||||
description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.",
|
||||
minOccurs : 1,
|
||||
maxOccurs : 1,
|
||||
schema : {
|
||||
type : "string",
|
||||
format : "url",
|
||||
default : "",
|
||||
readonly : true,
|
||||
}
|
||||
}
|
||||
]
|
||||
this.#tmp_outputs = []
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue