Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / transactions / constants / PhabricatorTransactions.php
blobaa832276251457aeef7da895476198e15c2e1553
1 <?php
3 final class PhabricatorTransactions extends Phobject {
5 const TYPE_COMMENT = 'core:comment';
6 const TYPE_SUBSCRIBERS = 'core:subscribers';
7 const TYPE_VIEW_POLICY = 'core:view-policy';
8 const TYPE_EDIT_POLICY = 'core:edit-policy';
9 const TYPE_JOIN_POLICY = 'core:join-policy';
10 const TYPE_EDGE = 'core:edge';
11 const TYPE_CUSTOMFIELD = 'core:customfield';
12 const TYPE_TOKEN = 'token:give';
13 const TYPE_INLINESTATE = 'core:inlinestate';
14 const TYPE_SPACE = 'core:space';
15 const TYPE_CREATE = 'core:create';
16 const TYPE_COLUMNS = 'core:columns';
17 const TYPE_SUBTYPE = 'core:subtype';
18 const TYPE_HISTORY = 'core:history';
19 const TYPE_MFA = 'core:mfa';
21 const COLOR_RED = 'red';
22 const COLOR_ORANGE = 'orange';
23 const COLOR_YELLOW = 'yellow';
24 const COLOR_GREEN = 'green';
25 const COLOR_SKY = 'sky';
26 const COLOR_BLUE = 'blue';
27 const COLOR_INDIGO = 'indigo';
28 const COLOR_VIOLET = 'violet';
29 const COLOR_GREY = 'grey';
30 const COLOR_BLACK = 'black';
33 public static function getInlineStateMap() {
34 return array(
35 PhabricatorInlineComment::STATE_DRAFT =>
36 PhabricatorInlineComment::STATE_DONE,
37 PhabricatorInlineComment::STATE_UNDRAFT =>
38 PhabricatorInlineComment::STATE_UNDONE,