@datapos/datapos-shared 0.3.126 → 0.3.127
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.
|
@@ -331,9 +331,9 @@ async function ce() {
|
|
|
331
331
|
const c = u[2];
|
|
332
332
|
return t = t || R.includes(c), n = n || $.includes(c), c;
|
|
333
333
|
});
|
|
334
|
-
s.length > 0 ? console.log(
|
|
334
|
+
s.length > 0 ? console.log(`💡 Implements ${s.length} operations.`) : console.log("⚠️ Implements no operations.");
|
|
335
335
|
const d = n && t ? "bidirectional" : n ? "source" : t ? "destination" : null;
|
|
336
|
-
console.log(d ?
|
|
336
|
+
console.log(d ? `💡 Supports '${d}' usage.` : "⚠️ No usage identified."), e.name && (r.id = e.name), r.operations = s, r.usageId = d, e.version && (r.version = e.version), await i.writeFile("config.json", JSON.stringify(r, void 0, 4), "utf8"), console.log("✅ Connector configuration built.");
|
|
337
337
|
} catch (e) {
|
|
338
338
|
console.warn("❌ Error building connector configuration.", e);
|
|
339
339
|
}
|