@prismatic-io/spectral
Advanced tools
Comparing version 9.0.3 to 9.0.4
@@ -60,3 +60,7 @@ "use strict"; | ||
const valueType = input.model | ||
? input.model.map((choice) => `"${choice.value}"`).join(" | ") | ||
? input.model | ||
.map((choice) => { | ||
return `\`${choice.value.replaceAll("\r", "\\r").replaceAll("\n", "\\n")}\``; | ||
}) | ||
.join(" | ") | ||
: exports.INPUT_TYPE_MAP[input.type] || "never"; | ||
@@ -63,0 +67,0 @@ if (input.collection === "keyvaluelist") { |
@@ -337,4 +337,4 @@ "use strict"; | ||
dataType: "connection", | ||
connection: Object.assign(Object.assign({}, ref), { template, | ||
onPremiseConnectionConfig }), | ||
onPremiseConnectionConfig, | ||
connection: Object.assign(Object.assign({}, ref), { template }), | ||
inputs, | ||
@@ -341,0 +341,0 @@ orgOnly, |
@@ -10,3 +10,2 @@ export declare const DefinitionVersion = 7; | ||
template?: string; | ||
onPremiseConnectionConfig?: string; | ||
} | { | ||
@@ -20,3 +19,2 @@ component: { | ||
template?: string; | ||
onPremiseConnectionConfig?: string; | ||
}; | ||
@@ -40,2 +38,3 @@ export type Input = { | ||
dataType: "connection"; | ||
onPremiseConnectionConfig?: string; | ||
connection: ComponentReference; | ||
@@ -42,0 +41,0 @@ inputs?: Record<string, Input>; |
{ | ||
"name": "@prismatic-io/spectral", | ||
"version": "9.0.3", | ||
"version": "9.0.4", | ||
"description": "Utility library for building Prismatic components", | ||
@@ -5,0 +5,0 @@ "keywords": ["prismatic"], |
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
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
301931
6278