@datapos/datapos-development 0.3.226 → 0.3.227
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.
|
@@ -7638,11 +7638,11 @@ function Ih(e) {
|
|
|
7638
7638
|
Mr.includes(s) && (t = !0), Or.includes(s) && (i = !0);
|
|
7639
7639
|
return t && i ? "bidirectional" : t ? "source" : i ? "destination" : "unknown";
|
|
7640
7640
|
}
|
|
7641
|
-
async function _e(e, t = [],
|
|
7642
|
-
const
|
|
7643
|
-
We(
|
|
7644
|
-
const { stdout:
|
|
7645
|
-
|
|
7641
|
+
async function _e(e, t, i = [], s) {
|
|
7642
|
+
const a = `${t} ${i.join(" ")}`;
|
|
7643
|
+
We(`${e}. Execute command: '${a}'`);
|
|
7644
|
+
const { stdout: o, stderr: h } = await Eh(a);
|
|
7645
|
+
o.trim() && console.log(o.trim()), h.trim() && console.error(h.trim());
|
|
7646
7646
|
}
|
|
7647
7647
|
async function Nh() {
|
|
7648
7648
|
We("Load environment variables"), (await import("dotenv")).config();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConnectorOperation, ConnectorUsageId } from '@datapos/datapos-shared';
|
|
2
2
|
declare function extractOperationsFromSource<T>(source: string): T[];
|
|
3
3
|
declare function determineConnectorUsageId(operations: ConnectorOperation[]): ConnectorUsageId;
|
|
4
|
-
declare function execCommand(command_: string, arguments_?: string[], outputFilePath?: string): Promise<void>;
|
|
4
|
+
declare function execCommand(label: string, command_: string, arguments_?: string[], outputFilePath?: string): Promise<void>;
|
|
5
5
|
declare function loadEnvironmentVariables(): Promise<void>;
|
|
6
6
|
declare function logOperationHeader(text: string): void;
|
|
7
7
|
declare function logOperationSuccess(message: string): void;
|
package/package.json
CHANGED