-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.tsx
46 lines (42 loc) · 871 Bytes
/
config.tsx
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
const APP_MODE_OPTIONS = {
unique: 1, // UNICO ESTABELECIMENTO
multi: 2, // DOIS ESTABELECIMENTOS
};
const APP_MODE = APP_MODE_OPTIONS.multi;
// SOMENTE APP_MODE == APP_MODE_OPTIONS.unique
const ESTABLISHMENT_ID = 1;
const ESTABLISHMENT = {
id: ESTABLISHMENT_ID,
name: "El Chavo Burritos",
image:
"https://static.vecteezy.com/system/resources/previews/014/971/638/non_2x/food-logo-design-template-restaurant-free-png.png",
horarioFuncionamento: "22h",
lat: -21.778131,
long: -43.367493,
max_distance_delivery: 10, // km
};
const PAYMENT_TYPE = [
{
type: "credit",
icon: "credit-score",
},
{
type: "debit",
icon: "credit-card",
},
{
type: "money",
icon: "money",
},
{
type: "pix",
icon: "pix",
},
];
export {
ESTABLISHMENT_ID,
ESTABLISHMENT,
APP_MODE,
APP_MODE_OPTIONS,
PAYMENT_TYPE,
};