Commit c483699
committed
Enhance global field handling and content type mapping
- Updated createGlobalField function to improve merging logic by utilizing a Set for existing UIDs.
- Modified existingCtMapper to handle 'global_field' type, adjusting request parameters accordingly for better content type retrieval.
- Ensured compatibility with different content type structures by passing the type parameter in the existingCtMapper call.File tree
2 files changed
+43
-18
lines changed- api/src
- services
- utils
2 files changed
+43
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
| 967 | + | |
968 | 968 | | |
969 | 969 | | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
976 | | - | |
977 | | - | |
978 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
979 | 998 | | |
980 | 999 | | |
| 1000 | + | |
| 1001 | + | |
981 | 1002 | | |
982 | | - | |
983 | | - | |
984 | 1003 | | |
985 | 1004 | | |
986 | 1005 | | |
| |||
1042 | 1061 | | |
1043 | 1062 | | |
1044 | 1063 | | |
1045 | | - | |
| 1064 | + | |
1046 | 1065 | | |
1047 | 1066 | | |
1048 | 1067 | | |
| |||
0 commit comments