From 0dfe1d8afafc59c4a5559c498342668d5a58d6ef Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 23 Jul 2026 22:41:41 +0000
Subject: [PATCH] =Still working away at the Integrations overhaul
---
inc/integrations/SyncHelpers.php | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/inc/integrations/SyncHelpers.php b/inc/integrations/SyncHelpers.php
index 778902a..7abc2fe 100644
--- a/inc/integrations/SyncHelpers.php
+++ b/inc/integrations/SyncHelpers.php
@@ -179,13 +179,17 @@
$this->registerAdditionalQueueTypes($executor);
}
- protected function registerAdditionalQueueTypes(IntegrationExecutor $executor):void
- {
- //Empty. Integration extensions can register additional operation types from here.
- }
/**
- * @return void Sets the $this->contentTypes
+ * Empty. Integration extensions can register additional operation types here
+ * @param IntegrationExecutor $executor
+ * @return void
+ */
+ protected function registerAdditionalQueueTypes(IntegrationExecutor $executor):void {}
+
+ /**
+ * @return void Sets the $this->contentTypes, which is an array of TYPE => [$fields]
+ * Should probably set the endpoints here as well, which would be an array of [ TYPE => [ 'create' => '','update' =>'', 'delete'=>'', 'batchCreate'=>'','batchUpdate'=>'', 'batchDelete'=>''] endpoints
*/
abstract protected function setContentTypes():void;
}
--
Gitblit v1.10.0