Skip to content

Commit 11e0f9c

Browse files
committed
add source_type to meta properties
1 parent d916b84 commit 11e0f9c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @code.store/arcxp-sdk-ts
22

3+
## 4.40.5
4+
5+
### Patch Changes
6+
7+
- add source_type to meta properties
8+
39
## 4.40.4
410

511
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code.store/arcxp-sdk-ts",
3-
"version": "4.40.4",
3+
"version": "4.40.5",
44
"description": "A strongly typed set of ArcXP API's and utilities reduce the amount of work required to develop with ArcXP, starting with reducing the boilerplate code you have to write.",
55
"type": "commonjs",
66
"main": "./dist/index.js",

src/mapper/story.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export abstract class Story<ANS extends ANSContent = Types.Story.AStory> extends
2323
async getMigrationMetaProperties() {
2424
return {
2525
// used in dashboard for migration
26-
'migration.sourceId': await this.sourceId(),
26+
'migration.source_id': await this.sourceId(),
27+
'migration.source_type': await this.sourceType(),
2728
// used in dashboard to show the original url
2829
'migration.url': await this.legacyUrl(),
2930
};

0 commit comments

Comments
 (0)