generated from heroui-inc/next-app-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmocks.ts
76 lines (75 loc) · 1.5 KB
/
mocks.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
export const mockStorageData = {
logs: [
{
time: "2023-10-01",
value: 10,
},
{
time: "2023-10-02",
value: 9.5,
},
{
time: "2023-10-03",
value: 9.8,
},
{
time: "2023-10-04",
value: 10.2,
},
{
time: "2023-10-05",
value: 10.1,
},
{
time: "2023-10-06",
value: 9.7,
},
{
time: "2023-10-07",
value: 9.9,
},
],
currentMetricTonsPerYear: 10,
v1: 0,
v2: 0,
v3: 0,
v4: 0,
currentMetrics: {
waste: {
trashPerWeek: "5",
weightUnit: "pounds",
recyclesAluminumSteelCans: false,
recyclesPlastic: false,
recyclesGlass: false,
recyclesNewspaper: false,
recyclesMagazines: false,
},
transportation: {
isRegularVehicleMaintenance: true,
milesPerWeekVehicle: "200",
milesPerGallon: "30",
milesPerWeekPublicTransportation: "50",
flightsPerYear: "2",
},
other: {
isVegetarian: false,
lowFlowShowerhead: false,
isVolunteer: false,
shoppingHabits: "sometimes",
isRecycledProducts: false,
isOrganicProduce: false,
},
energy: {
naturalGas: "100",
naturalGasUnit: "cubic-feet",
electricityBill: "200",
electricityBillUnit: "kilowatt-hours",
isGreenEnergyHouse: true,
fuelOil: "0",
fuelOilUnit: "gallons",
propane: "0",
propaneUnit: "gallons",
},
},
};
export type localStorageSchema = typeof mockStorageData;