<?php

/**
 * For detailed explanations of these events, see
 * @{article:Events User Guide: Installing Event Listeners}.
 *
 * @group events
 */
final class PhabricatorEventType extends PhutilEventType {

  const TYPE_CONTROLLER_CHECKREQUEST        = 'controller.checkRequest';

  const TYPE_MANIPHEST_WILLEDITTASK         = 'maniphest.willEditTask';
  const TYPE_MANIPHEST_DIDEDITTASK          = 'maniphest.didEditTask';

  const TYPE_DIFFERENTIAL_WILLSENDMAIL      = 'differential.willSendMail';
  const TYPE_DIFFERENTIAL_WILLMARKGENERATED = 'differential.willMarkGenerated';
  const TYPE_DIFFERENTIAL_WILLEDITREVISION  = 'differential.willEditRevision';
  const TYPE_DIFFERENTIAL_DIDEDITREVISION   = 'differential.didEditRevision';

  const TYPE_DIFFUSION_DIDDISCOVERCOMMIT    = 'diffusion.didDiscoverCommit';
  const TYPE_DIFFUSION_LOOKUPUSER           = 'diffusion.lookupUser';

  const TYPE_EDGE_WILLEDITEDGES             = 'edge.willEditEdges';
  const TYPE_EDGE_DIDEDITEDGES              = 'edge.didEditEdges';

  const TYPE_TEST_DIDRUNTEST                = 'test.didRunTest';

  const TYPE_UI_DIDRENDERACTIONS            = 'ui.didRenderActions';

  const TYPE_UI_WILLRENDEROBJECTS           = 'ui.willRenderObjects';
  const TYPE_UI_DDIDRENDEROBJECT            = 'ui.didRenderObject';
  const TYPE_UI_DIDRENDEROBJECTS            = 'ui.didRenderObjects';
  const TYPE_UI_WILLRENDERPROPERTIES        = 'ui.willRenderProperties';

  const TYPE_UI_DIDRENDERHOVERCARD          = 'ui.didRenderHovercard';

  const TYPE_PEOPLE_DIDRENDERMENU           = 'people.didRenderMenu';
  const TYPE_AUTH_WILLREGISTERUSER          = 'auth.willRegisterUser';
  const TYPE_AUTH_WILLLOGINUSER             = 'auth.willLoginUser';

  const TYPE_SEARCH_DIDUPDATEINDEX          = 'search.didUpdateIndex';

}
