2012-12-11 13:59:20 -08:00
|
|
|
<?php
|
|
|
|
|
2015-06-15 18:02:26 +10:00
|
|
|
final class PhabricatorTransactions extends Phobject {
|
2012-12-11 13:59:20 -08:00
|
|
|
|
|
|
|
const TYPE_COMMENT = 'core:comment';
|
|
|
|
const TYPE_SUBSCRIBERS = 'core:subscribers';
|
|
|
|
const TYPE_VIEW_POLICY = 'core:view-policy';
|
|
|
|
const TYPE_EDIT_POLICY = 'core:edit-policy';
|
2013-10-22 13:49:28 -07:00
|
|
|
const TYPE_JOIN_POLICY = 'core:join-policy';
|
2013-03-28 08:34:34 -07:00
|
|
|
const TYPE_EDGE = 'core:edge';
|
2013-06-06 14:53:07 -07:00
|
|
|
const TYPE_CUSTOMFIELD = 'core:customfield';
|
2014-04-17 16:04:14 -07:00
|
|
|
const TYPE_BUILDABLE = 'harbormaster:buildable';
|
2014-04-21 15:33:59 -07:00
|
|
|
const TYPE_TOKEN = 'token:give';
|
2015-03-22 06:25:03 -07:00
|
|
|
const TYPE_INLINESTATE = 'core:inlinestate';
|
2015-06-05 10:42:49 -07:00
|
|
|
const TYPE_SPACE = 'core:space';
|
2015-12-18 10:14:37 -08:00
|
|
|
const TYPE_CREATE = 'core:create';
|
2012-12-11 13:59:20 -08:00
|
|
|
|
2012-12-11 13:59:35 -08:00
|
|
|
const COLOR_RED = 'red';
|
|
|
|
const COLOR_ORANGE = 'orange';
|
|
|
|
const COLOR_YELLOW = 'yellow';
|
|
|
|
const COLOR_GREEN = 'green';
|
|
|
|
const COLOR_SKY = 'sky';
|
|
|
|
const COLOR_BLUE = 'blue';
|
|
|
|
const COLOR_INDIGO = 'indigo';
|
|
|
|
const COLOR_VIOLET = 'violet';
|
|
|
|
const COLOR_GREY = 'grey';
|
|
|
|
const COLOR_BLACK = 'black';
|
|
|
|
|
2015-03-22 06:25:03 -07:00
|
|
|
|
|
|
|
public static function getInlineStateMap() {
|
|
|
|
return array(
|
|
|
|
PhabricatorInlineCommentInterface::STATE_DRAFT =>
|
|
|
|
PhabricatorInlineCommentInterface::STATE_DONE,
|
|
|
|
PhabricatorInlineCommentInterface::STATE_UNDRAFT =>
|
|
|
|
PhabricatorInlineCommentInterface::STATE_UNDONE,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2012-12-11 13:59:20 -08:00
|
|
|
}
|