-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.go
71 lines (55 loc) · 2.54 KB
/
common.go
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
package common
// AuthorizedEmails represent emails to check whether they have access to certain dto
var AuthorizedEmails = []string{"apa-dev@healthcloud.co.ke", "apa-prod@healthcloud.co.ke"}
// AuthorizedPhones represent phonenumbers to check whether they have access to certain dto
var AuthorizedPhones = []string{"+254700000000"}
// Icon links for navactions
const (
// StaticBase is the default path at which static assets are hosted
StaticBase = "https://assets.healthcloud.co.ke"
RoleNavActionIcon = StaticBase + "/actions/roles_navaction.png"
EmployeeNavActionIcon = StaticBase + "/actions/employee_navaction.png"
ConsumerNavActionIcon = StaticBase + "/actions/consumer_navaction.png"
HelpNavActionIcon = StaticBase + "/actions/help_navaction.png"
HomeNavActionIcon = StaticBase + "/actions/home_navaction.png"
PartnerNavActionIcon = StaticBase + "/actions/partner_navaction.png"
PatientNavActionIcon = StaticBase + "/actions/patient_navaction.png"
RequestNavActionIcon = StaticBase + "/actions/request_navaction.png"
)
// On Tap Routes
const (
HomeRoute = "/home"
PatientRegistrationRoute = "/addPatient"
PatientIdentificationRoute = "/patients"
GetHelpRouteRoute = "/helpCenter"
// Has KYC and Covers
RequestsRoute = "/admin"
RoleViewRoute = "/viewCreatedRolesPage"
RoleCreationRoute = "/createRoleStepOne"
EmployeeRegistrationRoute = "/employeeRegistration"
EmployeeIdentificationRoute = "/employeeIdentification"
)
// Navigation actions
const (
HomeNavActionTitle = "Home"
HomeNavActionDescription = "Home Navigation action"
HelpNavActionTitle = "Help"
HelpNavActionDescription = "Help Navigation action"
RoleNavActionTitle = "Role Management"
RoleViewActionTitle = "View Roles"
RoleCreationActionTitle = "Create Role"
PatientNavActionTitle = "Patients"
PatientNavActionDescription = "Patient Navigation action"
PatientRegistrationActionTitle = "Register Patient"
PatientIdentificationActionTitle = "Search Patient"
RequestsNavActionTitle = "Requests"
RequestsNavActionDescription = "Requests Navigation action"
EmployeeNavActionTitle = "Employees"
EmployeeNavActionDescription = "Employee Navigation action"
EmployeeRegistrationActionTitle = "Register Employee"
EmployeeIdentificationActionTitle = "View Employees"
ConsumerNavActionTitle = "Consumers"
ConsumerNavActionDescription = "Consumer Navigation action"
PartnerNavActionTitle = "Partners"
PartnerNavActionDescription = "Partner Navigation action"
)