budget-demo/src/mocked/MockedData.js

170 lines
4.7 KiB
JavaScript

const mockedData = {
ranges: [{
id: 1,
locked: true,
startDate: new Date('1-7-2022 0:0:0'),
endDate: new Date('1-20-2022 23:59:59'),
startingAmount: 0.00,
bills: [{
description: 'Amazon purchase',
amount: 46.00,
paid: false
},
{
description: 'Bill 1',
amount: 40.00,
paid: true
},
{
description: 'Bill 2',
amount: 50.00,
paid: true
},
{
description: 'Bill 3',
amount: 30.00,
paid: true
}
],
income: [{
description: 'Payday',
amount: 179.99,
paid: true
}]
},
{
id: 2,
locked: true,
startDate: new Date('1-21-2022 0:0:0'),
endDate: new Date('2-3-2022 23:59:59'),
startingAmount: 0.00,
bills: [{
description: 'Amazon purchase',
amount: 46.00,
paid: false
},
{
description: 'Bill 1',
amount: 40.00,
paid: true
},
{
description: 'Bill 2',
amount: 50.00,
paid: true
},
{
description: 'Bill 3',
amount: 30.00,
paid: true
}
],
income: [{
description: 'Payday',
amount: 179.99,
paid: true
}]
},
{
id: 3,
locked: false,
startDate: new Date('2-4-2022 0:0:0'),
endDate: new Date('2-17-2022 23:59:59'),
startingAmount: 0.00,
bills: [{
description: 'Amazon purchase',
amount: 46.00,
paid: false
},
{
description: 'Bill 1',
amount: 40.00,
paid: true
},
{
description: 'Bill 2',
amount: 50.00,
paid: true
},
{
description: 'Bill 3',
amount: 30.00,
paid: true
}
],
income: [{
description: 'Payday',
amount: 179.99,
paid: true
}]
},
{
id: 4,
locked: false,
startDate: new Date('2-18-2022 0:0:0'),
endDate: new Date('3-3-2022 23:59:59'),
startingAmount: 0.00,
bills: [{
description: 'Amazon purchase',
amount: 46.00,
paid: false
},
{
description: 'Bill 1',
amount: 40.00,
paid: true
},
{
description: 'Bill 2',
amount: 50.00,
paid: true
},
{
description: 'Bill 3',
amount: 30.00,
paid: true
}
],
income: [{
description: 'Payday',
amount: 179.99,
paid: true
}]
},
{
id: 5,
locked: false,
startDate: new Date('3-4-2022 0:0:0'),
endDate: new Date('3-17-2022 23:59:59'),
startingAmount: 0.00,
bills: [{
description: 'Amazon purchase',
amount: 46.00,
paid: false
},
{
description: 'Bill 1',
amount: 40.00,
paid: true
},
{
description: 'Bill 2',
amount: 50.00,
paid: true
},
{
description: 'Bill 3',
amount: 30.00,
paid: true
}
],
income: [{
description: 'Payday',
amount: 179.99,
paid: true
}]
}
]
};
export default mockedData;