@prismatic-io/spectral 10.5.8 → 10.5.9-rc.0

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.
@@ -65,7 +65,9 @@ const convertConfigPages = (pages, userLevelConfigured) => {
65
65
  return [];
66
66
  }
67
67
  return Object.entries(pages).map(([name, { tagline, elements }]) => (Object.assign(Object.assign({ name,
68
- tagline }, (userLevelConfigured ? { userLevelConfigured } : {})), { elements: Object.entries(elements).map(([key, value]) => {
68
+ tagline }, (userLevelConfigured ? { userLevelConfigured } : {})), { elements: Object.entries(elements)
69
+ .filter(([key, value]) => !(0, types_1.isConnectionScopedConfigVar)(value))
70
+ .map(([key, value]) => {
69
71
  if (typeof value === "string") {
70
72
  return {
71
73
  type: "htmlElement",
@@ -380,6 +382,10 @@ const convertConfigVar = (key, configVar, referenceKey, componentRegistry) => {
380
382
  stableKey,
381
383
  dataType: "connection",
382
384
  useScopedConfigVar: stableKey,
385
+ meta: {
386
+ visibleToCustomerDeployer: false,
387
+ visibleToOrgDeployer: false,
388
+ },
383
389
  };
384
390
  }
385
391
  const { orgOnly, meta } = convertConfigVarPermissionAndVisibility((0, pick_1.default)(configVar, ["permissionAndVisibilityType", "visibleToOrgDeployer"]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "10.5.8",
3
+ "version": "10.5.9-rc.0",
4
4
  "description": "Utility library for building Prismatic connectors and code-native integrations",
5
5
  "keywords": ["prismatic"],
6
6
  "main": "dist/index.js",