@eide/foir-cli 0.6.0 → 0.6.1
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/cli.js +11 -9
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5201,15 +5201,17 @@ async function reconcilePlacements(client, configId, placements, summary) {
|
|
|
5201
5201
|
const currentConfigJson = config2.config ?? {};
|
|
5202
5202
|
const updatedConfig = {
|
|
5203
5203
|
...currentConfigJson,
|
|
5204
|
-
placements: placements.map((p) =>
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5204
|
+
placements: placements.map((p) => {
|
|
5205
|
+
const out = {};
|
|
5206
|
+
if (p.type !== void 0) out.type = p.type;
|
|
5207
|
+
if (p.url !== void 0) out.url = p.url;
|
|
5208
|
+
if (p.allowedOrigin !== void 0) out.allowedOrigin = p.allowedOrigin;
|
|
5209
|
+
if (p.height !== void 0) out.height = p.height;
|
|
5210
|
+
if (p.tabName !== void 0) out.tabName = p.tabName;
|
|
5211
|
+
if (p.hideContentTab !== void 0) out.hideContentTab = p.hideContentTab;
|
|
5212
|
+
if (p.modelKeys !== void 0) out.modelKeys = p.modelKeys;
|
|
5213
|
+
return out;
|
|
5214
|
+
})
|
|
5213
5215
|
};
|
|
5214
5216
|
await client.configs.updateConfig({
|
|
5215
5217
|
id: configId,
|