-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEnums.cs
108 lines (95 loc) · 1.81 KB
/
Enums.cs
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
namespace Agni.Social.Graph
{
/// <summary>
/// Denotes the results of graph changing operations, such as: Create, Update, Delete
/// </summary>
public enum GraphChangeStatus
{
NotFound = -1,
Unassigned = 0,
Added,
Updated,
Deleted
}
/// <summary>
/// Denotes friendship request direction - who requested the friendship (and who approved)
/// </summary>
public enum FriendshipRequestDirection
{
/// <summary>
/// I requested = G_GraphNode
/// </summary>
I = 0,
/// <summary>
/// Friend requested = G_FriendNode
/// </summary>
F = 1, Friend = F
}
/// <summary>
/// Denotes friend statuses
/// </summary>
public enum FriendStatusFilter
{
Approved = 0,
PendingApproval,
Banned,
All
}
/// <summary>
/// Friend approval status
/// </summary>
public enum FriendStatus
{
Pending = 0,
Approved,
Denied,
Banned
}
public enum FriendVisibility
{
/// <summary>
/// Anyone can see friends, even non-logged users/internet/google
/// </summary>
Anyone = 0,
/// <summary>
/// Only logged-in users may see friends
/// </summary>
Public,
/// <summary>
/// Only firends can see user's friends
/// </summary>
Friends,
/// <summary>
/// Only users can see their own friends
/// </summary>
Private
}
/// <summary>
/// Defines rating grades
/// </summary>
public enum RatingValue
{
Undefined = 0,
Star1 = 1,
Star2 = 2,
Star3 = 3,
Star4 = 4,
Star5 = 5
}
public enum PublicationState
{
//todo Нужны состояния публикации
Private = 0,
Public,
Friend,
Deleted
}
public enum CommentOrderType
{
ByDate,
ByPositive,
ByNegative,
ByPopular,
ByUsefull
}
}