Apiv4 - Move component api files to component extensions
authorcolemanw <coleman@civicrm.org>
Fri, 12 May 2023 19:28:41 +0000 (15:28 -0400)
committercolemanw <coleman@civicrm.org>
Wed, 7 Jun 2023 22:53:06 +0000 (18:53 -0400)
commitbd3e700da5feb764d252b469965f5d10ee74145f
tree503fd737f0181b8440aabc5e28d67f6a92ca8030
parent16e6348c34daa16423b9f490054bf29dc7023ef8
Apiv4 - Move component api files to component extensions

This moves the code belonging to components into their extension directories. As before, these apis will only be available if the component is enabled, but now there is no extra code needed to make that happen.
86 files changed:
Civi/API/Request.php
Civi/Api4/Action/Entity/Get.php
ext/civi_campaign/Civi/Api4/Action/Campaign/Get.php [moved from Civi/Api4/Action/Campaign/Get.php with 100% similarity]
ext/civi_campaign/Civi/Api4/Campaign.php [moved from Civi/Api4/Campaign.php with 100% similarity]
ext/civi_campaign/Civi/Api4/Service/Spec/Provider/CampaignCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/CampaignCreationSpecProvider.php with 100% similarity]
ext/civi_campaign/Civi/Api4/Survey.php [moved from Civi/Api4/Survey.php with 100% similarity]
ext/civi_campaign/info.xml
ext/civi_case/Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php [moved from Civi/Api4/Action/CiviCase/CiviCaseSaveTrait.php with 100% similarity]
ext/civi_case/Civi/Api4/Action/CiviCase/Create.php [moved from Civi/Api4/Action/CiviCase/Create.php with 100% similarity]
ext/civi_case/Civi/Api4/Action/CiviCase/Save.php [moved from Civi/Api4/Action/CiviCase/Save.php with 100% similarity]
ext/civi_case/Civi/Api4/Action/CiviCase/Update.php [moved from Civi/Api4/Action/CiviCase/Update.php with 100% similarity]
ext/civi_case/Civi/Api4/CaseActivity.php [moved from Civi/Api4/CaseActivity.php with 100% similarity]
ext/civi_case/Civi/Api4/CaseContact.php [moved from Civi/Api4/CaseContact.php with 100% similarity]
ext/civi_case/Civi/Api4/CaseType.php [moved from Civi/Api4/CaseType.php with 100% similarity]
ext/civi_case/Civi/Api4/CiviCase.php [moved from Civi/Api4/CiviCase.php with 100% similarity]
ext/civi_case/Civi/Api4/Service/Spec/Provider/CaseCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/CaseCreationSpecProvider.php with 100% similarity]
ext/civi_case/Civi/Api4/Service/Spec/Provider/CaseTypeGetSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/CaseTypeGetSpecProvider.php with 100% similarity]
ext/civi_case/info.xml
ext/civi_contribute/Civi/Api4/Action/Contribution/ContributionSaveTrait.php [moved from Civi/Api4/Action/Contribution/ContributionSaveTrait.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Action/Contribution/Create.php [moved from Civi/Api4/Action/Contribution/Create.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Action/Contribution/Save.php [moved from Civi/Api4/Action/Contribution/Save.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Action/Contribution/Update.php [moved from Civi/Api4/Action/Contribution/Update.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Contribution.php [moved from Civi/Api4/Contribution.php with 100% similarity]
ext/civi_contribute/Civi/Api4/ContributionPage.php [moved from Civi/Api4/ContributionPage.php with 100% similarity]
ext/civi_contribute/Civi/Api4/ContributionProduct.php [moved from Civi/Api4/ContributionProduct.php with 100% similarity]
ext/civi_contribute/Civi/Api4/ContributionRecur.php [moved from Civi/Api4/ContributionRecur.php with 100% similarity]
ext/civi_contribute/Civi/Api4/ContributionSoft.php [moved from Civi/Api4/ContributionSoft.php with 100% similarity]
ext/civi_contribute/Civi/Api4/EntityFinancialAccount.php [moved from Civi/Api4/EntityFinancialAccount.php with 100% similarity]
ext/civi_contribute/Civi/Api4/EntityFinancialTrxn.php [moved from Civi/Api4/EntityFinancialTrxn.php with 100% similarity]
ext/civi_contribute/Civi/Api4/FinancialAccount.php [moved from Civi/Api4/FinancialAccount.php with 100% similarity]
ext/civi_contribute/Civi/Api4/FinancialItem.php [moved from Civi/Api4/FinancialItem.php with 100% similarity]
ext/civi_contribute/Civi/Api4/FinancialTrxn.php [moved from Civi/Api4/FinancialTrxn.php with 100% similarity]
ext/civi_contribute/Civi/Api4/FinancialType.php [moved from Civi/Api4/FinancialType.php with 100% similarity]
ext/civi_contribute/Civi/Api4/LineItem.php [moved from Civi/Api4/LineItem.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PCP.php [moved from Civi/Api4/PCP.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PCPBlock.php [moved from Civi/Api4/PCPBlock.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PaymentProcessor.php [moved from Civi/Api4/PaymentProcessor.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PaymentProcessorType.php [moved from Civi/Api4/PaymentProcessorType.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PaymentToken.php [moved from Civi/Api4/PaymentToken.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PriceField.php [moved from Civi/Api4/PriceField.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PriceFieldValue.php [moved from Civi/Api4/PriceFieldValue.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PriceSet.php [moved from Civi/Api4/PriceSet.php with 100% similarity]
ext/civi_contribute/Civi/Api4/PriceSetEntity.php [moved from Civi/Api4/PriceSetEntity.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Product.php [moved from Civi/Api4/Product.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/ContributionCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/ContributionCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/ContributionGetSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/ContributionGetSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/ContributionRecurCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/ContributionRecurCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/FinancialItemCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/FinancialTrxnCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/FinancialTrxnCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/PaymentProcessorTypeCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/PaymentProcessorTypeCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/Civi/Api4/Service/Spec/Provider/PriceFieldValueCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/PriceFieldValueCreationSpecProvider.php with 100% similarity]
ext/civi_contribute/info.xml
ext/civi_event/Civi/Api4/Action/Event/Get.php [moved from Civi/Api4/Action/Event/Get.php with 100% similarity]
ext/civi_event/Civi/Api4/Event.php [moved from Civi/Api4/Event.php with 100% similarity]
ext/civi_event/Civi/Api4/Participant.php [moved from Civi/Api4/Participant.php with 100% similarity]
ext/civi_event/Civi/Api4/ParticipantStatusType.php [moved from Civi/Api4/ParticipantStatusType.php with 100% similarity]
ext/civi_event/Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php with 100% similarity]
ext/civi_event/info.xml
ext/civi_mail/Civi/Api4/Action/MailSettings/TestConnection.php [moved from Civi/Api4/Action/MailSettings/TestConnection.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailSettings.php [moved from Civi/Api4/MailSettings.php with 100% similarity]
ext/civi_mail/Civi/Api4/Mailing.php [moved from Civi/Api4/Mailing.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventBounce.php [moved from Civi/Api4/MailingEventBounce.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventConfirm.php [moved from Civi/Api4/MailingEventConfirm.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventOpened.php [moved from Civi/Api4/MailingEventOpened.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventQueue.php [moved from Civi/Api4/MailingEventQueue.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventSubscribe.php [moved from Civi/Api4/MailingEventSubscribe.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventTrackableURLOpen.php [moved from Civi/Api4/MailingEventTrackableURLOpen.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingEventUnsubscribe.php [moved from Civi/Api4/MailingEventUnsubscribe.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingGroup.php [moved from Civi/Api4/MailingGroup.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingJob.php [moved from Civi/Api4/MailingJob.php with 100% similarity]
ext/civi_mail/Civi/Api4/MailingTrackableURL.php [moved from Civi/Api4/MailingTrackableURL.php with 100% similarity]
ext/civi_mail/info.xml
ext/civi_member/Civi/Api4/Membership.php [moved from Civi/Api4/Membership.php with 100% similarity]
ext/civi_member/Civi/Api4/MembershipBlock.php [moved from Civi/Api4/MembershipBlock.php with 100% similarity]
ext/civi_member/Civi/Api4/MembershipStatus.php [moved from Civi/Api4/MembershipStatus.php with 100% similarity]
ext/civi_member/Civi/Api4/MembershipType.php [moved from Civi/Api4/MembershipType.php with 100% similarity]
ext/civi_member/Civi/Api4/Service/Spec/Provider/MembershipCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/MembershipCreationSpecProvider.php with 100% similarity]
ext/civi_member/Civi/Api4/Service/Spec/Provider/MembershipTypeCreationSpecProvider.php [moved from Civi/Api4/Service/Spec/Provider/MembershipTypeCreationSpecProvider.php with 100% similarity]
ext/civi_member/info.xml
ext/civi_pledge/Civi/Api4/Pledge.php [moved from Civi/Api4/Pledge.php with 100% similarity]
ext/civi_pledge/Civi/Api4/PledgePayment.php [moved from Civi/Api4/PledgePayment.php with 100% similarity]
ext/civi_pledge/info.xml
ext/civi_report/Civi/Api4/ReportInstance.php [moved from Civi/Api4/ReportInstance.php with 100% similarity]
ext/civi_report/info.xml
tests/phpunit/api/v4/Entity/EntityTest.php