@grouparoo/app-templates
Advanced tools
Comparing version 0.7.0-alpha.5 to 0.7.0-alpha.6
@@ -76,6 +76,6 @@ "use strict"; | ||
if (needProcessed && !processed) { | ||
throw new Error(`profile has not processed: ${exportedRecord.foreignKeyValue}`); | ||
throw new Error(`record has not processed: ${exportedRecord.foreignKeyValue}`); | ||
} | ||
if (needDestinationId && !destinationId) { | ||
throw new Error(`profile does not have a destination id: ${exportedRecord.foreignKeyValue}`); | ||
throw new Error(`record does not have a destination id: ${exportedRecord.foreignKeyValue}`); | ||
} | ||
@@ -446,7 +446,7 @@ } | ||
skippedMessage = | ||
"Destination not deleting. Removing profile from groups."; | ||
"Destination not deleting. Removing record from groups."; | ||
} | ||
else { | ||
skippedMessage = | ||
"Destination not deleting, though profile was not found."; | ||
"Destination not deleting, though record was not found."; | ||
} | ||
@@ -453,0 +453,0 @@ } |
@@ -43,3 +43,3 @@ "use strict"; | ||
const matchConditions = []; | ||
matchConditions.push(foreignKeyMatch); // this narrows it to the correct profile | ||
matchConditions.push(foreignKeyMatch); // this narrows it to the correct record | ||
for (const filter of propertyFilters) { | ||
@@ -46,0 +46,0 @@ let { key, op, match } = filter; |
@@ -5,3 +5,3 @@ { | ||
"description": "Common patterns for Grouparoo plugins that contribute apps", | ||
"version": "0.7.0-alpha.5", | ||
"version": "0.7.0-alpha.6", | ||
"license": "MPL-2.0", | ||
@@ -32,4 +32,4 @@ "private": false, | ||
"devDependencies": { | ||
"@grouparoo/core": "0.7.0-alpha.5", | ||
"@grouparoo/spec-helper": "0.7.0-alpha.5", | ||
"@grouparoo/core": "0.7.0-alpha.6", | ||
"@grouparoo/spec-helper": "0.7.0-alpha.6", | ||
"@types/jest": "*", | ||
@@ -46,3 +46,3 @@ "@types/node": "*", | ||
}, | ||
"gitHead": "f168e050feab64bc77f8094d3e2e286e4c322b30" | ||
"gitHead": "ddfb9e79365b754f5b766d9c297bb5617459b610" | ||
} |
@@ -114,3 +114,3 @@ import { Errors } from "@grouparoo/core"; | ||
throw new Error( | ||
`profile has not processed: ${exportedRecord.foreignKeyValue}` | ||
`record has not processed: ${exportedRecord.foreignKeyValue}` | ||
); | ||
@@ -121,3 +121,3 @@ } | ||
throw new Error( | ||
`profile does not have a destination id: ${exportedRecord.foreignKeyValue}` | ||
`record does not have a destination id: ${exportedRecord.foreignKeyValue}` | ||
); | ||
@@ -598,6 +598,6 @@ } | ||
skippedMessage = | ||
"Destination not deleting. Removing profile from groups."; | ||
"Destination not deleting. Removing record from groups."; | ||
} else { | ||
skippedMessage = | ||
"Destination not deleting, though profile was not found."; | ||
"Destination not deleting, though record was not found."; | ||
} | ||
@@ -604,0 +604,0 @@ } |
@@ -78,3 +78,3 @@ import { | ||
const matchConditions: MatchCondition[] = []; | ||
matchConditions.push(foreignKeyMatch); // this narrows it to the correct profile | ||
matchConditions.push(foreignKeyMatch); // this narrows it to the correct record | ||
@@ -81,0 +81,0 @@ for (const filter of propertyFilters) { |
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
241764