@prismatic-io/spectral 8.0.0-preview5 → 8.0.0-preview6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,7 @@ const convertIntegration = (definition) => {
90
90
  return Object.assign(Object.assign({}, codeNativeIntegrationComponent(definition, referenceKey)), { codeNativeIntegrationYAML: codeNativeIntegrationYaml(definition, referenceKey) });
91
91
  };
92
92
  exports.convertIntegration = convertIntegration;
93
- const codeNativeIntegrationYaml = ({ name, description, category, documentation, configVars, endpointType, preprocessFlowName, externalCustomerIdField, externalCustomerUserIdField, flowNameField, flows, configPages, }, referenceKey) => {
93
+ const codeNativeIntegrationYaml = ({ name, description, category, documentation, version, labels, configVars, endpointType, preprocessFlowName, externalCustomerIdField, externalCustomerUserIdField, flowNameField, flows, configPages, }, referenceKey) => {
94
94
  const DEFINITION_VERSION = 7;
95
95
  // Transform the IntegrationDefinition into the structure that is appropriate
96
96
  // for generating YAML, which will then be used by the Prismatic API to import
@@ -102,6 +102,8 @@ const codeNativeIntegrationYaml = ({ name, description, category, documentation,
102
102
  description,
103
103
  category,
104
104
  documentation,
105
+ version,
106
+ labels,
105
107
  requiredConfigVars: configVars === null || configVars === void 0 ? void 0 : configVars.map((configVar) => convertConfigVar(configVar, referenceKey)),
106
108
  endpointType,
107
109
  preprocessFlowName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "8.0.0-preview5",
3
+ "version": "8.0.0-preview6",
4
4
  "description": "Utility library for building Prismatic components",
5
5
  "keywords": [
6
6
  "prismatic"