@forge/migrations
3.2.1-next.83.3.0-next.9
README.md~
README.mdModified+16
Index: package/README.md
===================================================================
--- package/README.md
+++ package/README.md
@@ -73,8 +73,24 @@
rowIndex++;
}
```
+### Retrieve Simplified App Migration managed exports
+
+Returns the [managed exports](https://developer.atlassian.com/platform/app-migration/simplified-app-migration/reference/managed-exports/) enabled for the transfer, so the app can tell which data to expect from a Simplified App Migration.
+
+```typescript
+getSamFeatures: (transferId: string) => Promise<SamFeaturesResponse>;
+```
+
+```typescript
+const features = await migration.getSamFeatures(transferId);
+
+if (features.mappingExporter.enabled) {
+ console.log('Mappings will be exported for', features.mappingExporter.entityTypes);
+}
+```
+
### Retrieve Containers
Returns a set of containers with a specified `containerType`.