Skip to content

Commit 25a5342

Browse files
committed
[CMG-466] - Handle Undefined type use case in content mapping
1 parent f1478ee commit 25a5342

File tree

2 files changed

+111
-204
lines changed

2 files changed

+111
-204
lines changed

ui/src/components/ContentMapper/contentMapper.interface.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export interface FieldMapType {
6565
_canSelect?: boolean;
6666
advanced?: Advanced;
6767
contentstackUid: string;
68+
_invalid?: boolean;
6869
}
6970

7071
export interface Advanced {
@@ -174,4 +175,21 @@ export interface MappingObj {
174175
options: Mapping;
175176
}
176177

178+
export interface FieldHistoryObj {
179+
[key: string]: ModifiedField[];
180+
}
181+
182+
export interface FieldObj {
183+
[key: string]: ModifiedField;
184+
}
185+
186+
export interface ModifiedField {
187+
at: number;
188+
checked: boolean;
189+
id: string;
190+
otherCmsType: string;
191+
parentId: string;
192+
uid: string;
193+
}
194+
177195

0 commit comments

Comments
 (0)