diff --git a/includes/Events.php b/includes/Events.php index 26589c5..9d60594 100644 --- a/includes/Events.php +++ b/includes/Events.php @@ -6,11 +6,11 @@ */ final class Events { /** - * The category of an event. + * The Array of categories in an event. * - * @var string + * @var array */ - protected static $category = 'wonder_start'; + protected static $category = array( 'wonder_start', 'experiment' ); /** * List of valid actions that an event can perform. @@ -54,6 +54,7 @@ final class Events { 'logo_skipped' => true, 'site_generation_time' => true, 'error_state_triggered' => true, + 'exp_fork_ai' => true, ); /** @@ -66,9 +67,9 @@ public static function get_valid_actions() { } /** - * Valid category of on event. + * Valid categories of on event. * - * @return string + * @return array */ public static function get_category() { return self::$category; diff --git a/includes/Flows/Flows.php b/includes/Flows/Flows.php index 979cd6b..f946ee4 100644 --- a/includes/Flows/Flows.php +++ b/includes/Flows/Flows.php @@ -137,7 +137,8 @@ final class Flows { ), 'sitegen' => array( - 'siteDetails' => array( + 'theForkExperimentVersion' => 0, + 'siteDetails' => array( 'name' => '', 'type' => '', 'style' => '', @@ -145,27 +146,27 @@ final class Flows { 'uniqueAboutBusiness' => '', 'mode' => 'simple', ), - 'siteLogo' => array( + 'siteLogo' => array( 'id' => 0, 'url' => '', 'fileName' => '', 'fileSize' => 0, ), - 'experience' => array( + 'experience' => array( 'level' => 0, ), - 'siteGenMetaStatus' => array( + 'siteGenMetaStatus' => array( 'currentStatus' => 0, 'totalCount' => 9, ), - 'homepages' => array( + 'homepages' => array( 'active' => array(), 'data' => array(), ), - 'skipCache' => true, - 'sitemapPagesGenerated' => false, - 'customDesign' => false, - 'siteGenErrorStatus' => false, + 'skipCache' => true, + 'sitemapPagesGenerated' => false, + 'customDesign' => false, + 'siteGenErrorStatus' => false, ), 'continueWithoutAi' => false,