Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@transcend-io/cli

Package Overview
Dependencies
Maintainers
7
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transcend-io/cli - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

12

build/codecs.d.ts

@@ -201,7 +201,7 @@ import * as t from 'io-ts';

export declare const DatapointInput: t.IntersectionC<[t.TypeC<{
/** The display title of the enricher */
title: t.StringC;
/** The unique key of the datapoint. When a database, this is the table name. */
key: t.StringC;
}>, t.PartialC<{
/** The display title of the enricher */
title: t.StringC;
/** Internal description for why the enricher is needed */

@@ -415,7 +415,7 @@ description: t.StringC;

datapoints: t.ArrayC<t.IntersectionC<[t.TypeC<{
/** The display title of the enricher */
title: t.StringC;
/** The unique key of the datapoint. When a database, this is the table name. */
key: t.StringC;
}>, t.PartialC<{
/** The display title of the enricher */
title: t.StringC;
/** Internal description for why the enricher is needed */

@@ -676,7 +676,7 @@ description: t.StringC;

datapoints: t.ArrayC<t.IntersectionC<[t.TypeC<{
/** The display title of the enricher */
title: t.StringC;
/** The unique key of the datapoint. When a database, this is the table name. */
key: t.StringC;
}>, t.PartialC<{
/** The display title of the enricher */
title: t.StringC;
/** Internal description for why the enricher is needed */

@@ -683,0 +683,0 @@ description: t.StringC;

@@ -140,4 +140,2 @@ "use strict";

t.type({
/** The display title of the enricher */
title: t.string,
/** The unique key of the datapoint. When a database, this is the table name. */

@@ -147,2 +145,4 @@ key: t.string,

t.partial({
/** The display title of the enricher */
title: t.string,
/** Internal description for why the enricher is needed */

@@ -149,0 +149,0 @@ description: t.string,

@@ -47,3 +47,5 @@ "use strict";

// save email templates
result.templates = templates.map(({ title }) => ({ title }));
if (dataSiloIds.length === 0) {
result.templates = templates.map(({ title }) => ({ title }));
}
// Save enrichers

@@ -98,31 +100,34 @@ if (enrichers.length > 0 && dataSiloIds.length === 0) {

: {}),
datapoints: dataPoints.map((dataPoint) => ({
title: dataPoint.title.defaultMessage,
description: dataPoint.description.defaultMessage,
key: dataPoint.name,
...(dataPoint.dataCollection
? {
'data-collection-tag': dataPoint.dataCollection.title.defaultMessage,
}
: {}),
...(dataPoint.dbIntegrationQueries.length > 0
? {
'privacy-action-queries': (0, mapValues_1.default)((0, keyBy_1.default)(dataPoint.dbIntegrationQueries, 'requestType'), (databaseIntegrationQuery) => databaseIntegrationQuery.suggestedQuery ||
databaseIntegrationQuery.query),
}
: {}),
...(dataPoint.subDataPoints.length > 0
? {
fields: dataPoint.subDataPoints.map((field) => ({
key: field.name,
description: field.description,
purposes: field.purposes,
categories: field.categories,
})),
}
: {}),
'privacy-actions': dataPoint.actionSettings
.filter(({ active }) => active)
.map(({ type }) => type),
})),
datapoints: dataPoints.map((dataPoint) => {
var _a, _b, _c;
return ({
title: (_a = dataPoint.title) === null || _a === void 0 ? void 0 : _a.defaultMessage,
description: (_b = dataPoint.description) === null || _b === void 0 ? void 0 : _b.defaultMessage,
key: dataPoint.name,
...(((_c = dataPoint.dataCollection) === null || _c === void 0 ? void 0 : _c.title)
? {
'data-collection-tag': dataPoint.dataCollection.title.defaultMessage,
}
: {}),
...(dataPoint.dbIntegrationQueries.length > 0
? {
'privacy-action-queries': (0, mapValues_1.default)((0, keyBy_1.default)(dataPoint.dbIntegrationQueries, 'requestType'), (databaseIntegrationQuery) => databaseIntegrationQuery.suggestedQuery ||
databaseIntegrationQuery.query),
}
: {}),
...(dataPoint.subDataPoints.length > 0
? {
fields: dataPoint.subDataPoints.map((field) => ({
key: field.name,
description: field.description,
purposes: field.purposes,
categories: field.categories,
})),
}
: {}),
'privacy-actions': dataPoint.actionSettings
.filter(({ active }) => active)
.map(({ type }) => type),
});
}),
});

@@ -129,0 +134,0 @@ });

@@ -20,3 +20,2 @@ "use strict";

".data-silos.0.1.deletion-dependencies expected type 'Array<string>'",
".data-silos.0.1.datapoints.0.0.title expected type 'string'",
".data-silos.0.1.datapoints.0.0.key expected type 'string'",

@@ -23,0 +22,0 @@ ".data-silos.0.1.datapoints.0.1.fields.0.0.key expected type 'string'",

@@ -5,3 +5,3 @@ {

"description": "Small package containing useful typescript utilities.",
"version": "4.3.0",
"version": "4.3.1",
"homepage": "https://github.com/transcend-io/cli",

@@ -8,0 +8,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc