@db-auto/tables
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -11,3 +11,2 @@ import { ErrorsAnd, NameAnd } from "@db-auto/utils"; | ||
alias: string; | ||
possibleLinks: string[]; | ||
planLink?: PlanLink; | ||
@@ -14,0 +13,0 @@ } |
@@ -10,3 +10,3 @@ "use strict"; | ||
let planLinkOrErrors = buildNextStep(tables, path, table, 1); | ||
return (0, utils_1.mapErrors)(planLinkOrErrors, planLink => ({ table, alias: `T${0}`, planLink, possibleLinks: Object.keys(table.links) })); | ||
return (0, utils_1.mapErrors)(planLinkOrErrors, planLink => ({ table, alias: `T${0}`, planLink })); | ||
} | ||
@@ -25,3 +25,3 @@ exports.buildPlan = buildPlan; | ||
let nextPlanLinkOrErrors = buildNextStep(tables, path, nextTable, index + 1); | ||
return (0, utils_1.mapErrors)(nextPlanLinkOrErrors, planLink => ({ link, linkTo: { planLink, alias: `T${index}`, table: nextTable, possibleLinks: Object.keys(table.links) } })); | ||
return (0, utils_1.mapErrors)(nextPlanLinkOrErrors, planLink => ({ link, linkTo: { planLink, alias: `T${index}`, table: nextTable } })); | ||
} |
{ | ||
"name": "@db-auto/tables", | ||
"description": "", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "dist/index", | ||
@@ -20,3 +20,3 @@ "types": "dist/index", | ||
"dependencies": { | ||
"@db-auto/utils": "0.0.6" | ||
"@db-auto/utils": "0.0.7" | ||
}, | ||
@@ -23,0 +23,0 @@ "devDependencies": { |
29424
621
+ Added@db-auto/utils@0.0.7(transitive)
- Removed@db-auto/utils@0.0.6(transitive)
Updated@db-auto/utils@0.0.7