Generalize isValidElement to LocalBusiness
ClosedPublic

Authored by broulik on Feb 23 2020, 9:54 PM.

Details

Summary

Now that we have this base type for LodgingBusiness and FoodEstablishment, make the check generic.

Test Plan

Still get hotels and restaurants, and can now also find potential new types like Store

Diff Detail

Repository
R1003 KItinerary: Travel Reservation handling library
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Feb 23 2020, 9:54 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptFeb 23 2020, 9:54 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
broulik requested review of this revision.Feb 23 2020, 9:54 PM
vkrause accepted this revision.Feb 23 2020, 10:07 PM
This revision is now accepted and ready to land.Feb 23 2020, 10:07 PM
This revision was automatically updated to reflect the committed changes.