-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDomainConstants.cs
More file actions
112 lines (97 loc) · 2.35 KB
/
Copy pathDomainConstants.cs
File metadata and controls
112 lines (97 loc) · 2.35 KB
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
109
110
111
112
using System;
namespace PrismaApi.Domain.Constants;
public static class DomainConstants
{
public const int MaxShortStringLength = 1000;
public const int MaxLongStringLength = 6000;
public const int FloatPrecision = 53;
public const int DecimalPlaces = 14;
public const float DefaultStrokeWidth = 8;
public const int MaxOpacity = 100;
public const int MinOpacity = 0;
public const int DefaultTextSize = 24;
public static readonly string DeletedUserId =
"d008bfdf-fe89-48f3-80a8-777bba4d9bbf";
public static readonly string DeletedUserName = "Deleted User";
public static readonly Guid DefaultValueMetricId =
Guid.Parse("288e0811-7ab6-5d24-b80c-9fa925b848a6");
public static readonly string DefaultValueMetricName = "value";
public const double DefaultRestrictionValue = 1.0;
}
public static class SqlCustomConstraintNames
{
public const string RestrictionParentConstraintName = "CK_RestrictionEntry_Parent";
public const string RestrictionChildConstraintName = "CK_RestrictionEntry_Child";
}
public static class AppConstants
{
public const string CurrentUserKey = "CurrentUser";
public const string PublicUsernameHeader = "X-Username";
}
public static class GraphApiConstants
{
public const string ConsistencyLevelHeader = "ConsistencyLevel";
public const string ConsistencyLevelEventual = "eventual";
public const int DefaultSearchTop = 100;
public static readonly string[] UserSearchSelectFields = ["id", "displayName", "mail", "userPrincipalName"];
}
public static class AppRoles
{
public const string PrismaDecisionUser = "PrismaDecisionUser";
}
public enum IssueType
{
Unassigned,
Decision,
Uncertainty,
Fact,
Utility
}
public enum ObjectiveType
{
Strategic,
Fundamental,
Mean
}
public enum ProjectRoleType
{
DecisionMaker,
Facilitator,
Member
}
public enum Boundary
{
In,
On,
Out
}
public enum DecisionHierarchy
{
Policy,
Focus,
Tactical
}
public enum NodeState
{
Option,
Outcome
}
public enum BoardNodeTypes
{
Rectangle,
Freehand,
Text,
Arrow,
Circle,
Issue
}
public enum BoardNodeStrokeStyles
{
Solid,
Dashed,
Dotted,
}
public static class ExceptionMessages
{
public const string MinimumFacilitatorRequirement = "Projects must have at least one Facilitator.";
};