npm package diff
Package: @forge/migrations
Versions: 0.6.2-experimental-10722bc - 1.0.0-next.4
File: package/out/migration/migration.js
Index: package/out/migration/migration.js
===================================================================
--- package/out/migration/migration.js
+++ package/out/migration/migration.js
@@ -22,8 +22,15 @@
};
const result = await (0, utils_1.invokePOSTApi)(`${this.basePath}/message/${transferId}/status`, request);
return (0, utils_1.getResponseBody)(result);
};
+ addLog = async (transferId, logMessage) => {
+ const request = {
+ message: logMessage
+ };
+ const result = await (0, utils_1.invokePOSTApi)(`${this.basePath}/log/${transferId}`, request);
+ return (0, utils_1.getResponseBody)(result);
+ };
getMappings = async (transferId, namespace, lastEntity, pageSize) => {
let queryParams = `namespace=${namespace}`;
if (pageSize != undefined) {
queryParams = queryParams + `&pageSize=${pageSize}`;