-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
143 lines (137 loc) · 3.48 KB
/
index.ts
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
export const sidebarLinks = [
{
imgURL: "/icons/home.svg",
route: "/",
label: "Home",
},
{
imgURL: "/icons/dollar-circle.svg",
route: "/my-banks",
label: "My Banks",
},
{
imgURL: "/icons/transaction.svg",
route: "/transaction-history",
label: "Transaction History",
},
{
imgURL: "/icons/money-send.svg",
route: "/payment-transfer",
label: "Transfer Funds",
},
];
// good_user / good_password - Bank of America
export const TEST_USER_ID = "6627ed3d00267aa6fa3e";
// custom_user -> Chase Bank
// export const TEST_ACCESS_TOKEN =
// "access-sandbox-da44dac8-7d31-4f66-ab36-2238d63a3017";
// custom_user -> Chase Bank
export const TEST_ACCESS_TOKEN =
"access-sandbox-229476cf-25bc-46d2-9ed5-fba9df7a5d63";
export const ITEMS = [
{
id: "6624c02e00367128945e", // appwrite item Id
accessToken: "access-sandbox-83fd9200-0165-4ef8-afde-65744b9d1548",
itemId: "VPMQJKG5vASvpX8B6JK3HmXkZlAyplhW3r9xm",
userId: "6627ed3d00267aa6fa3e",
accountId: "X7LMJkE5vnskJBxwPeXaUWDBxAyZXwi9DNEWJ",
},
{
id: "6627f07b00348f242ea9", // appwrite item Id
accessToken: "access-sandbox-74d49e15-fc3b-4d10-a5e7-be4ddae05b30",
itemId: "Wv7P6vNXRXiMkoKWPzeZS9Zm5JGWdXulLRNBq",
userId: "6627ed3d00267aa6fa3e",
accountId: "x1GQb1lDrDHWX4BwkqQbI4qpQP1lL6tJ3VVo9",
},
];
export const topCategoryStyles = {
"Food and Drink": {
bg: "bg-blue-25",
circleBg: "bg-blue-100",
text: {
main: "text-blue-900",
count: "text-blue-700",
},
progress: {
bg: "bg-blue-100",
indicator: "bg-blue-700",
},
icon: "/icons/monitor.svg",
},
Travel: {
bg: "bg-success-25",
circleBg: "bg-success-100",
text: {
main: "text-success-900",
count: "text-success-700",
},
progress: {
bg: "bg-success-100",
indicator: "bg-success-700",
},
icon: "/icons/coins.svg",
},
default: {
bg: "bg-pink-25",
circleBg: "bg-pink-100",
text: {
main: "text-pink-900",
count: "text-pink-700",
},
progress: {
bg: "bg-pink-100",
indicator: "bg-pink-700",
},
icon: "/icons/shopping-bag.svg",
},
};
export const transactionCategoryStyles = {
"Food and Drink": {
borderColor: "border-pink-600",
backgroundColor: "bg-pink-500",
textColor: "text-pink-700",
chipBackgroundColor: "bg-inherit",
},
Payment: {
borderColor: "border-success-600",
backgroundColor: "bg-green-600",
textColor: "text-success-700",
chipBackgroundColor: "bg-inherit",
},
"Bank Fees": {
borderColor: "border-success-600",
backgroundColor: "bg-green-600",
textColor: "text-success-700",
chipBackgroundColor: "bg-inherit",
},
Transfer: {
borderColor: "border-red-700",
backgroundColor: "bg-red-700",
textColor: "text-red-700",
chipBackgroundColor: "bg-inherit",
},
Processing: {
borderColor: "border-[#F2F4F7]",
backgroundColor: "bg-gray-500",
textColor: "text-[#344054]",
chipBackgroundColor: "bg-[#F2F4F7]",
},
Success: {
borderColor: "border-[#12B76A]",
backgroundColor: "bg-[#12B76A]",
textColor: "text-[#027A48]",
chipBackgroundColor: "bg-[#ECFDF3]",
},
Travel: {
borderColor: "border-[#0047AB]",
backgroundColor: "bg-blue-500",
textColor: "text-blue-700",
chipBackgroundColor: "bg-[#ECFDF3]",
},
default: {
borderColor: "",
backgroundColor: "bg-blue-500",
textColor: "text-blue-700",
chipBackgroundColor: "bg-inherit",
},
};