mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
70e7708aff
Summary: got some basics here -- - can create document - creates document object and document body object and cross-reference - can update document - creates document body object and updates reference from document object - contributors stored correctly - a contributor is anyone who has created or updated a legal document - can subscribe to documents - can flag documents - can comment on documents - can query for documents based on creator and create range - uses basically modern stuff Missing stuff -- - T3488 - T3483 - T3482 - T3481 - T3480 - T3479 Test Plan: TRUNCATED the database. From scratch made 3 legal docs. Verified versions and version were correct in document and document body database entries respectively. Left comments and verified versions and version did not update. Left updates and verified those updated versions and version. Flagged document and verified it showed up on homepage. Subscribed and verified transaction showed up. Reviewers: epriestley Reviewed By: epriestley CC: chad, aran, Korvin Maniphest Tasks: T3116 Differential Revision: https://secure.phabricator.com/D6351
58 lines
1.8 KiB
PHP
58 lines
1.8 KiB
PHP
<?php
|
|
|
|
final class PhabricatorPHIDConstants {
|
|
|
|
const PHID_TYPE_USER = 'USER';
|
|
const PHID_TYPE_MLST = 'MLST';
|
|
const PHID_TYPE_DREV = 'DREV';
|
|
const PHID_TYPE_TASK = 'TASK';
|
|
const PHID_TYPE_FILE = 'FILE';
|
|
const PHID_TYPE_PROJ = 'PROJ';
|
|
const PHID_TYPE_UNKNOWN = '????';
|
|
const PHID_TYPE_MAGIC = '!!!!';
|
|
const PHID_TYPE_REPO = 'REPO';
|
|
const PHID_TYPE_CMIT = 'CMIT';
|
|
const PHID_TYPE_OPKG = 'OPKG';
|
|
const PHID_TYPE_PSTE = 'PSTE';
|
|
const PHID_TYPE_STRY = 'STRY';
|
|
const PHID_TYPE_POLL = 'POLL';
|
|
const PHID_TYPE_WIKI = 'WIKI';
|
|
const PHID_TYPE_APRJ = 'APRJ';
|
|
const PHID_TYPE_ACMT = 'ACMT';
|
|
const PHID_TYPE_DRYR = 'DRYR';
|
|
const PHID_TYPE_DRYL = 'DRYL';
|
|
const PHID_TYPE_OASC = 'OASC';
|
|
const PHID_TYPE_OASA = 'OASA';
|
|
const PHID_TYPE_POST = 'POST';
|
|
const PHID_TYPE_TOBJ = 'TOBJ';
|
|
const PHID_TYPE_BLOG = 'BLOG';
|
|
const PHID_TYPE_QUES = 'QUES';
|
|
const PHID_TYPE_ANSW = 'ANSW';
|
|
const PHID_TYPE_MOCK = 'MOCK';
|
|
const PHID_TYPE_MCRO = 'MCRO';
|
|
const PHID_TYPE_CONF = 'CONF';
|
|
const PHID_TYPE_CONP = 'CONP';
|
|
const PHID_TYPE_PVAR = 'PVAR';
|
|
const PHID_TYPE_ACNT = 'ACNT';
|
|
const PHID_TYPE_PDCT = 'PDCT';
|
|
const PHID_TYPE_PRCH = 'PRCH';
|
|
const PHID_TYPE_PAYM = 'PAYM';
|
|
const PHID_TYPE_CHRG = 'CHRG';
|
|
const PHID_TYPE_CART = 'CART';
|
|
const PHID_TYPE_CDWN = 'CDWN';
|
|
const PHID_TYPE_LEGD = 'LEGD';
|
|
const PHID_TYPE_LEGB = 'LEGB';
|
|
|
|
const PHID_TYPE_XACT = 'XACT';
|
|
const PHID_TYPE_XCMT = 'XCMT';
|
|
const PHID_TYPE_XUSR = 'XUSR';
|
|
|
|
const PHID_TYPE_BOOK = 'BOOK';
|
|
const PHID_TYPE_ATOM = 'ATOM';
|
|
const PHID_TYPE_AUTH = 'AUTH';
|
|
const PHID_TYPE_XOBJ = 'XOBJ';
|
|
|
|
const PHID_TYPE_VOID = 'VOID';
|
|
const PHID_VOID = 'PHID-VOID-00000000000000000000';
|
|
|
|
}
|