npm package diff

Package: @forge/migrations

Versions: 0.6.2-experimental-10722bc - 1.0.0-next.4

Modified:package/out/migration/errors.js

Index: package/out/migration/errors.js
===================================================================
--- package/out/migration/errors.js
+++ package/out/migration/errors.js
@@ -1,13 +1,15 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.APIError = void 0;
 class APIError extends Error {
-    constructor(message) {
+    status;
+    constructor(message, status) {
         super(message);
+        this.status = status;
     }
     static forStatus(status, message) {
-        return new APIError(message);
+        return new APIError(message, status);
     }
     static forUnexpected(message) {
         return new APIError(message);
     }

Modified:package/out/index.js

Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -1,5 +1,6 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.migration = void 0;
+exports.MigrationAPIError = exports.migration = void 0;
 const migration_1 = require("./migration");
 Object.defineProperty(exports, "migration", { enumerable: true, get: function () { return migration_1.migration; } });
+Object.defineProperty(exports, "MigrationAPIError", { enumerable: true, get: function () { return migration_1.MigrationAPIError; } });

Modified:package/out/migration/index.js

Index: package/out/migration/index.js
===================================================================
--- package/out/migration/index.js
+++ package/out/migration/index.js
@@ -1,13 +1,14 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.migration = exports.getMigrationInstance = void 0;
+exports.MigrationAPIError = exports.migration = exports.getMigrationInstance = void 0;
 const migration_1 = require("./migration");
 const query_api_1 = require("./query-api");
 const getMigrationInstance = (adapter) => {
     return {
         getMappingById: (transferId, namespace, keys) => adapter.getMappingById(transferId, namespace, keys),
         messageProcessed: (transferId, messageId) => adapter.messageProcessed(transferId, messageId),
+        addLog: (transferId, logMessage) => adapter.addLog(transferId, logMessage),
         getAppDataList: (transferId) => adapter.getAppDataList(transferId),
         getAppDataPayload: (s3Key) => adapter.getAppDataPayload(s3Key),
         getMappings: (transferId, namespace) => new query_api_1.DefaultQueryBuilder(adapter, { transferId: transferId, namespace: namespace }),
         getContainers: (transferId, containerType) => new query_api_1.DefaultQueryBuilder(adapter, { transferId: transferId, containerType: containerType })
@@ -16,9 +17,12 @@
 exports.getMigrationInstance = getMigrationInstance;
 exports.migration = {
     getMappingById: (transferId, namespace, keys) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getMappingById(transferId, namespace, keys),
     messageProcessed: (transferId, messageId) => (0, exports.getMigrationInstance)(new migration_1.Migration()).messageProcessed(transferId, messageId),
+    addLog: (transferId, logMessage) => (0, exports.getMigrationInstance)(new migration_1.Migration()).addLog(transferId, logMessage),
     getAppDataList: (transferId) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getAppDataList(transferId),
     getAppDataPayload: (s3Key) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getAppDataPayload(s3Key),
     getMappings: (transferId, namespace) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getMappings(transferId, namespace),
     getContainers: (transferId, containerType) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getContainers(transferId, containerType)
 };
+var errors_1 = require("./errors");
+Object.defineProperty(exports, "MigrationAPIError", { enumerable: true, get: function () { return errors_1.APIError; } });

Modified: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}`;

Modified:package/out/migration/query-api.js

Index: package/out/migration/query-api.js
===================================================================
--- package/out/migration/query-api.js
+++ package/out/migration/query-api.js
@@ -13,15 +13,21 @@
             ...this.queryOptions,
             cursor
         });
     }
+    limit(limit) {
+        return new DefaultQueryBuilder(this.migration, {
+            ...this.queryOptions,
+            limit
+        });
+    }
     async getOne() {
         const listResults = await this.migration.list(this.queryOptions, 1);
         if (listResults.results && listResults.results.length > 0) {
             return listResults.results[0];
         }
     }
     async getMany() {
-        return this.migration.list(this.queryOptions);
+        return this.migration.list(this.queryOptions, this.queryOptions.limit);
     }
 }
 exports.DefaultQueryBuilder = DefaultQueryBuilder;

Modified:package/package.json

Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/migrations",
-  "version": "0.6.2-experimental-10722bc",
+  "version": "1.0.0-next.4",
   "description": "App migration methods for Forge app",
   "main": "out/index.js",
   "scripts": {
     "build": "yarn run clean && yarn run compile",
@@ -17,7 +17,7 @@
     "jest-when": "^3.6.0",
     "node-fetch": "2.7.0"
   },
   "dependencies": {
-    "@forge/api": "3.8.1-experimental-10722bc"
+    "@forge/api": "3.9.2-next.1"
   }
 }
\ No newline at end of file

Modified:package/out/migration/errors.d.ts.map

Index: package/out/migration/errors.d.ts.map
===================================================================
--- package/out/migration/errors.d.ts.map
+++ package/out/migration/errors.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/migration/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IACjC,OAAO;WAIO,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;WAIpD,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ;CAGvD"}
\ No newline at end of file
+{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/migration/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IACjC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3B,OAAO;WAKO,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;WAIpD,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ;CAGvD"}
\ No newline at end of file

Modified:package/out/index.d.ts.map

Index: package/out/index.d.ts.map
===================================================================
--- package/out/index.d.ts.map
+++ package/out/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC"}
\ No newline at end of file

Modified:package/out/migration/index.d.ts.map

Index: package/out/migration/index.d.ts.map
===================================================================
--- package/out/migration/index.d.ts.map
+++ package/out/migration/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,oBAAoB,YAAa,SAAS;iCAEtB,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;iCAC3B,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAGnE,CAAC;AAEF,eAAO,MAAM,SAAS;iCACS,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;iCAE3B,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAEjE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,oBAAoB,YAAa,SAAS;iCAEtB,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;yBACnC,MAAM,cAAc,MAAM;iCAClB,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAGnE,CAAC;AAEF,eAAO,MAAM,SAAS;iCACS,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;yBAEnC,MAAM,cAAc,MAAM;iCAElB,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAEjE,CAAC;AAEF,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
\ No newline at end of file

Modified:package/out/migration/migration-adaptor.d.ts.map

Index: package/out/migration/migration-adaptor.d.ts.map
===================================================================
--- package/out/migration/migration-adaptor.d.ts.map
+++ package/out/migration/migration-adaptor.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"migration-adaptor.d.ts","sourceRoot":"","sources":["../../src/migration/migration-adaptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IACrG,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACjE,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IACvD,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxE;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B;AAED,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B;AAED,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,oBAAY,aAAa,GAAG,iBAAiB,GAAG,aAAa,GAAG,MAAM,CAAC;AAEvE,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAChC,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACvC"}
\ No newline at end of file
+{"version":3,"file":"migration-adaptor.d.ts","sourceRoot":"","sources":["../../src/migration/migration-adaptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IACrG,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACjE,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IACvD,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/D;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B;AAED,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5B;AAED,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAED,oBAAY,aAAa,GAAG,iBAAiB,GAAG,aAAa,GAAG,MAAM,CAAC;AAEvE,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY,CAAC;IACnC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC;IAChC,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACvC"}
\ No newline at end of file

Modified:package/out/migration/migration.d.ts.map

Index: package/out/migration/migration.d.ts.map
===================================================================
--- package/out/migration/migration.d.ts.map
+++ package/out/migration/migration.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../src/migration/migration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,WAAW,EAIZ,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAIzC,qBAAa,SAAU,YAAW,gBAAgB;IAChD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6B;IAEtD,cAAc,eAAsB,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC,KAAG,QAAQ,eAAe,CAAC,CAG3G;IAEF,cAAc,eAAsB,MAAM,KAAG,QAAQ,mBAAmB,CAAC,CAGvE;IAEF,iBAAiB,QAAe,MAAM,KAAG,QAAQ,WAAW,CAAC,CAE3D;IAEF,gBAAgB,eAAsB,MAAM,aAAa,MAAM,KAAG,QAAQ,IAAI,CAAC,CAO7E;IAEF,WAAW,eACG,MAAM,cACN,MAAM,eACL,MAAM,aACR,MAAM,KAChB,QAAQ,WAAW,CAAC,CAuBrB;IAEF,aAAa,eACC,MAAM,kBACF,MAAM,eACT,MAAM,aACR,MAAM,KAChB,QAAQ,WAAW,CAAC,CAsBrB;IAEF,IAAI,YAAmB,WAAW,aAAa,MAAM,KAAG,QAAQ,WAAW,CAAC,CAI1E;CACH"}
\ No newline at end of file
+{"version":3,"file":"migration.d.ts","sourceRoot":"","sources":["../../src/migration/migration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,WAAW,EAIZ,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAIzC,qBAAa,SAAU,YAAW,gBAAgB;IAChD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA6B;IAEtD,cAAc,eAAsB,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC,KAAG,QAAQ,eAAe,CAAC,CAG3G;IAEF,cAAc,eAAsB,MAAM,KAAG,QAAQ,mBAAmB,CAAC,CAGvE;IAEF,iBAAiB,QAAe,MAAM,KAAG,QAAQ,WAAW,CAAC,CAE3D;IAEF,gBAAgB,eAAsB,MAAM,aAAa,MAAM,KAAG,QAAQ,IAAI,CAAC,CAO7E;IAEF,MAAM,eAAsB,MAAM,cAAc,MAAM,KAAG,QAAQ,IAAI,CAAC,CAMpE;IAEF,WAAW,eACG,MAAM,cACN,MAAM,eACL,MAAM,aACR,MAAM,KAChB,QAAQ,WAAW,CAAC,CAuBrB;IAEF,aAAa,eACC,MAAM,kBACF,MAAM,eACT,MAAM,aACR,MAAM,KAChB,QAAQ,WAAW,CAAC,CAsBrB;IAEF,IAAI,YAAmB,WAAW,aAAa,MAAM,KAAG,QAAQ,WAAW,CAAC,CAI1E;CACH"}
\ No newline at end of file

Modified:package/out/migration/query-api.d.ts.map

Index: package/out/migration/query-api.d.ts.map
===================================================================
--- package/out/migration/query-api.d.ts.map
+++ package/out/migration/query-api.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"query-api.d.ts","sourceRoot":"","sources":["../../src/migration/query-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,mBAAoB,YAAW,YAAY;IAEpD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;gBADZ,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,EAClC,YAAY,EAAE,WAAW;IAGnC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY;IAO9B,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAOrC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC;CAGtC"}
\ No newline at end of file
+{"version":3,"file":"query-api.d.ts","sourceRoot":"","sources":["../../src/migration/query-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,mBAAoB,YAAW,YAAY;IAEpD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;gBADZ,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,EAClC,YAAY,EAAE,WAAW;IAGnC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY;IAOpC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY;IAO5B,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC;IAOrC,OAAO,IAAI,OAAO,CAAC,WAAW,CAAC;CAGtC"}
\ No newline at end of file

Modified:package/CHANGELOG.md

Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,13 +1,95 @@
 # @forge/migrations
 
-## 0.6.2-experimental-10722bc
+## 1.0.0-next.4
 
 ### Patch Changes
 
-- Updated dependencies [01323ff]
-  - @forge/[email protected]
+- Updated dependencies [fbb27ea]
+  - @forge/[email protected]
 
+## 1.0.0-next.3
+
+### Patch Changes
+
+- Updated dependencies [d3e9d37]
+  - @forge/[email protected]
+
+## 1.0.0-next.2
+
+### Patch Changes
+
+- be67acb: Interpolate string resources in modules
+
+## 1.0.0-next.1
+
+### Patch Changes
+
+- 56c148c: Add MigrationAPIError class to main file
+
+## 1.0.0-next.0
+
+### Major Changes
+
+- 48774b3: Making Forge App Migrations generally available
+
+### Patch Changes
+
+- d2676d6: Add migration api error class
+
+## 0.7.0
+
+### Minor Changes
+
+- 7416a51: Allowing migrating apps to produce migration logs
+
+### Patch Changes
+
+- d8fce0e: Add limit option to getContainers and getMappings
+- Updated dependencies [6c9b381]
+  - @forge/[email protected]
+
+## 0.7.0-next.2
+
+### Patch Changes
+
+- d8fce0e: Add limit option to getContainers and getMappings
+
+## 0.7.0-next.1
+
+### Minor Changes
+
+- 7416a51: Allowing migrating apps to produce migration logs
+
+## 0.6.4-next.0
+
+### Patch Changes
+
+- Updated dependencies [6c9b381]
+  - @forge/[email protected]
+
+## 0.6.3
+
+### Patch Changes
+
+- Updated dependencies [1eaeb60]
+- Updated dependencies [59f7240]
+  - @forge/[email protected]
+
+## 0.6.3-next.1
+
+### Patch Changes
+
+- Updated dependencies [59f7240]
+  - @forge/[email protected]
+
+## 0.6.3-next.0
+
+### Patch Changes
+
+- Updated dependencies [1eaeb60]
+  - @forge/[email protected]
+
 ## 0.6.2
 
 ### Patch Changes

Modified:package/out/migration/errors.d.ts

Index: package/out/migration/errors.d.ts
===================================================================
--- package/out/migration/errors.d.ts
+++ package/out/migration/errors.d.ts
@@ -1,5 +1,6 @@
 export declare class APIError extends Error {
+    status: number | undefined;
     private constructor();
     static forStatus(status: number, message: string): APIError;
     static forUnexpected(message: string): APIError;
 }

Modified:package/out/index.d.ts

Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -1,3 +1,3 @@
-import { migration } from './migration';
-export { migration };
+import { migration, MigrationAPIError } from './migration';
+export { migration, MigrationAPIError };
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file

Modified:package/out/migration/index.d.ts

Index: package/out/migration/index.d.ts
===================================================================
--- package/out/migration/index.d.ts
+++ package/out/migration/index.d.ts
@@ -3,18 +3,21 @@
 import { DefaultQueryBuilder } from './query-api';
 export declare const getMigrationInstance: (adapter: Migration) => {
     getMappingById: (transferId: string, namespace: string, keys: Array<string>) => Promise<import("./migration-adaptor").MappingResponse>;
     messageProcessed: (transferId: string, messageId: string) => Promise<void>;
+    addLog: (transferId: string, logMessage: string) => Promise<void>;
     getAppDataList: (transferId: string) => Promise<import("./migration-adaptor").AppDataListResponse>;
     getAppDataPayload: (s3Key: string) => Promise<import("@forge/api").APIResponse>;
     getMappings: (transferId: string, namespace: string) => DefaultQueryBuilder;
     getContainers: (transferId: string, containerType: ContainerType) => DefaultQueryBuilder;
 };
 export declare const migration: {
     getMappingById: (transferId: string, namespace: string, keys: Array<string>) => Promise<import("./migration-adaptor").MappingResponse>;
     messageProcessed: (transferId: string, messageId: string) => Promise<void>;
+    addLog: (transferId: string, logMessage: string) => Promise<void>;
     getAppDataList: (transferId: string) => Promise<import("./migration-adaptor").AppDataListResponse>;
     getAppDataPayload: (s3Key: string) => Promise<import("@forge/api").APIResponse>;
     getMappings: (transferId: string, namespace: string) => DefaultQueryBuilder;
     getContainers: (transferId: string, containerType: ContainerType) => DefaultQueryBuilder;
 };
+export { APIError as MigrationAPIError } from './errors';
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file

Modified:package/out/migration/migration-adaptor.d.ts

Index: package/out/migration/migration-adaptor.d.ts
===================================================================
--- package/out/migration/migration-adaptor.d.ts
+++ package/out/migration/migration-adaptor.d.ts
@@ -3,8 +3,9 @@
     getMappingById(transferId: string, namespace: string, keys: Array<string>): Promise<MappingResponse>;
     getAppDataList(transferId: string): Promise<AppDataListResponse>;
     getAppDataPayload(s3Key: string): Promise<APIResponse>;
     messageProcessed(transferId: string, messageId: string): Promise<void>;
+    addLog(transferId: string, logMessage: string): Promise<void>;
 }
 export interface MappingResponse {
     result: Map<string, string>;
 }
@@ -36,8 +37,9 @@
     transferId: string;
     namespace?: string;
     containerType?: ContainerType;
     cursor?: string;
+    limit?: number;
 }
 export interface Result {
     key: string;
     value: object;
@@ -47,8 +49,9 @@
     nextCursor?: string;
 }
 export interface QueryBuilder {
     cursor(cursor: string): QueryBuilder;
+    limit(limit: number): QueryBuilder;
     getMany(): Promise<ListResults>;
     getOne(): Promise<Result | undefined>;
 }
 export {};

Modified:package/out/migration/migration.d.ts

Index: package/out/migration/migration.d.ts
===================================================================
--- package/out/migration/migration.d.ts
+++ package/out/migration/migration.d.ts
@@ -5,8 +5,9 @@
     getMappingById: (transferId: string, namespace: string, keys: Array<string>) => Promise<MappingResponse>;
     getAppDataList: (transferId: string) => Promise<AppDataListResponse>;
     getAppDataPayload: (key: string) => Promise<APIResponse>;
     messageProcessed: (transferId: string, messageId: string) => Promise<void>;
+    addLog: (transferId: string, logMessage: string) => Promise<void>;
     getMappings: (transferId: string, namespace?: string, lastEntity?: string, pageSize?: number) => Promise<ListResults>;
     getContainers: (transferId: string, containerType?: string, lastEntity?: string, pageSize?: number) => Promise<ListResults>;
     list: (options: ListOptions, pageSize?: number) => Promise<ListResults>;
 }

Modified:package/out/migration/query-api.d.ts

Index: package/out/migration/query-api.d.ts
===================================================================
--- package/out/migration/query-api.d.ts
+++ package/out/migration/query-api.d.ts
@@ -4,8 +4,9 @@
     private migration;
     private queryOptions;
     constructor(migration: Pick<Migration, 'list'>, queryOptions: ListOptions);
     cursor(cursor: string): QueryBuilder;
+    limit(limit: number): QueryBuilder;
     getOne(): Promise<Result | undefined>;
     getMany(): Promise<ListResults>;
 }
 //# sourceMappingURL=query-api.d.ts.map
\ No newline at end of file