@rljson/rljson 0.0.45 → 0.0.46
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.
- package/dist/rljson.js +10 -4
- package/package.json +1 -1
package/dist/rljson.js
CHANGED
|
@@ -566,10 +566,16 @@ const addColumnsToTableCfg = (tableCfg, columns) => {
|
|
|
566
566
|
`The following columns already exist in the table "${tableCfg.key}": ${keys}`
|
|
567
567
|
);
|
|
568
568
|
}
|
|
569
|
-
return hsh(
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
569
|
+
return hsh(
|
|
570
|
+
{
|
|
571
|
+
...tableCfg,
|
|
572
|
+
columns: [...tableCfg.columns, ...columns]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
updateExistingHashes: true,
|
|
576
|
+
throwOnWrongHashes: false
|
|
577
|
+
}
|
|
578
|
+
);
|
|
573
579
|
};
|
|
574
580
|
const exampleTableCfgTable = () => Example.ok.singleRow().tableCfgs;
|
|
575
581
|
const exampleTableCfg = (tableCfg = void 0) => {
|