@htilabs/platform-common-models 0.59.0 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -765,12 +765,13 @@ var ORG_RECORD_FIELD_NAMES = Object.freeze([
765
765
  "vspPrivateNonprofit",
766
766
  "reviewStatus",
767
767
  "addedInApp",
768
- "addedByUserId",
769
- "addedInSession"
768
+ "addedBy"
770
769
  ]);
771
770
  var ORG_AS_BUILT_FIELD_NAMES = Object.freeze([
772
771
  "requiresROI",
773
772
  "isCustom",
773
+ "addedByUserId",
774
+ "addedInSession",
774
775
  "division",
775
776
  "typeOverride",
776
777
  "typeKey"
@@ -897,7 +898,7 @@ function toDirectoryOrganizationView(raw) {
897
898
  vspPrivateNonprofit: vsp === true ? flag(r.vspPrivateNonprofit) : null,
898
899
  reviewStatus,
899
900
  addedInApp: line2(r.addedInApp),
900
- addedByUserId: line2(r.addedByUserId),
901
+ addedBy: line2(r.addedBy) ?? line2(r.addedByUserId),
901
902
  addedInSession: line2(r.addedInSession),
902
903
  status,
903
904
  listed: isListedOrganization({ status, reviewStatus }),