-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconstants.php
More file actions
39 lines (34 loc) · 845 Bytes
/
constants.php
File metadata and controls
39 lines (34 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
return [
/**
* Permissions constants
*/
'project_permission' => [
'PUBLIC' => 0,
'PRIVATE_FOR_USER' => 1,
'PRIVATE_FOR_MEMBER' => 2,
],
'member_project_status' => [
'ATTENDING' => 0,
'PENDING' => 1,
],
'member_project_permission' => [
'PUBLIC' => 0,
'PRIVATE_FOR_ALL_ATTENDING_MANAGER' => 1,
'PRIVATE_FOR_MEMBER' => 2
],
'custom_field_type' => [
'TEXT' => [
'number' => 0,
'metadata' => 'App\CustomField\TextMetadata',
],
'LONGTEXT' => [
'number' => 1,
'metadata' => 'App\CustomField\Types\LongTextType',
],
'RADIO_BUTTON' => [
'number' => 3,
'metadata' => 'App\CustomField\RadioButtonMetadata',
]
],
];