@@ -62,7 +62,7 @@ async function main() {
62
62
faker . seed ( seed )
63
63
64
64
const changes : DbChange [ ] = [ ]
65
- const txs = 10 // 1000
65
+ const txs = 1000
66
66
67
67
window . SQL = await require ( 'sql.js/dist/sql-asm.js' ) ( )
68
68
@@ -71,38 +71,38 @@ async function main() {
71
71
fi : getBank ( 'American Express' , 'https://www.americanexpress.com/' ) ,
72
72
accounts : [ { name : 'American Express' , cardImage : cardImages . amex , txs : 1 } ] ,
73
73
} ,
74
- // chase: {
75
- // fi: getBank('Chase', 'https://chase.com'),
76
- // accounts: [
77
- // { name: 'Chase Sapphire', cardImage: cardImages.chaseSapphire, txs },
78
- // { name: 'Chase Freedom', cardImage: cardImages.chaseFreedom, txs },
79
- // { name: 'Checking', txs },
80
- // { name: 'Vacation Savings', txs },
81
- // { name: 'House Savings', txs },
82
- // { name: 'College Savings', txs },
83
- // { name: 'Kids Savings', txs },
84
- // { name: 'Shared Savings', txs },
85
- // { name: 'Mortgage', txs },
86
- // { name: 'Home Equity Line of Credit', txs },
87
- // { name: 'Checking 2', txs },
88
- // ],
89
- // },
90
- // citi: {
91
- // fi: getBank('Citi Cards', 'https://online.citi.com/'),
92
- // accounts: [
93
- // { name: 'Citi Savings', txs: 0 },
94
- // { name: 'Citi Checking', txs },
95
- // { name: 'Citi Credit', cardImage: cardImages.citi, txs },
96
- // ],
97
- // },
98
- // discover: {
99
- // fi: getBank('Discover Card'),
100
- // accounts: [{ name: 'Discover', currencyCode: 'EUR', cardImage: cardImages.discover, txs }],
101
- // },
102
- // etrade: {
103
- // fi: getBank('E*TRADE Financial'),
104
- // accounts: [{ name: 'E*Trade Checking', txs }],
105
- // },
74
+ chase : {
75
+ fi : getBank ( 'Chase' , 'https://chase.com' ) ,
76
+ accounts : [
77
+ { name : 'Chase Sapphire' , cardImage : cardImages . chaseSapphire , txs } ,
78
+ { name : 'Chase Freedom' , cardImage : cardImages . chaseFreedom , txs } ,
79
+ { name : 'Checking' , txs } ,
80
+ { name : 'Vacation Savings' , txs } ,
81
+ { name : 'House Savings' , txs } ,
82
+ { name : 'College Savings' , txs } ,
83
+ { name : 'Kids Savings' , txs } ,
84
+ { name : 'Shared Savings' , txs } ,
85
+ { name : 'Mortgage' , txs } ,
86
+ { name : 'Home Equity Line of Credit' , txs } ,
87
+ { name : 'Checking 2' , txs } ,
88
+ ] ,
89
+ } ,
90
+ citi : {
91
+ fi : getBank ( 'Citi Cards' , 'https://online.citi.com/' ) ,
92
+ accounts : [
93
+ { name : 'Citi Savings' , txs : 0 } ,
94
+ { name : 'Citi Checking' , txs } ,
95
+ { name : 'Citi Credit' , cardImage : cardImages . citi , txs } ,
96
+ ] ,
97
+ } ,
98
+ discover : {
99
+ fi : getBank ( 'Discover Card' ) ,
100
+ accounts : [ { name : 'Discover' , currencyCode : 'EUR' , cardImage : cardImages . discover , txs } ] ,
101
+ } ,
102
+ etrade : {
103
+ fi : getBank ( 'E*TRADE Financial' ) ,
104
+ accounts : [ { name : 'E*Trade Checking' , txs } ] ,
105
+ } ,
106
106
}
107
107
108
108
const s = createStore ( { online, ui : { } as any , sys : { ...sys , openDb } } )
@@ -220,62 +220,62 @@ async function main() {
220
220
recur : 'monthly' ,
221
221
start : makeDate ( { year : 2012 , month : 7 , day : 12 } ) ,
222
222
} ,
223
- // {
224
- // payee: 'Hulu',
225
- // description: '',
226
- // amount: -9.99,
227
- // url: 'http://hulu.com',
228
- // recur: 'monthly',
229
- // start: makeDate({ year: 2015, month: 2, day: 3 }),
230
- // },
231
- // {
232
- // payee: 'Amazon',
233
- // description: 'Amazon Prime',
234
- // amount: -120.0,
235
- // url: 'http://amazon.com',
236
- // recur: 'yearly',
237
- // start: makeDate({ year: 2017, month: 11, day: 1 }),
238
- // },
239
- // {
240
- // payee: 'Cal Water',
241
- // description: 'Water',
242
- // amount: -28.55,
243
- // url: 'https://www.calwater.com/',
244
- // recur: 'bimonthly',
245
- // start: makeDate({ year: 2015, month: 3, day: 15 }),
246
- // },
247
- // {
248
- // payee: 'National Fuel',
249
- // description: 'Utilities',
250
- // amount: -55.0,
251
- // url: 'https://natfuel.com/',
252
- // recur: 'monthly',
253
- // start: makeDate({ year: 2017, month: 11, day: 1 }),
254
- // },
255
- // {
256
- // payee: 'AT&T',
257
- // description: '',
258
- // amount: -89.99,
259
- // url: 'https://att.com/',
260
- // recur: 'monthly',
261
- // start: makeDate({ year: 2017, month: 3, day: 1 }),
262
- // },
263
- // {
264
- // payee: 'IBM',
265
- // description: '',
266
- // amount: 1000.0,
267
- // url: 'https://ibm.com/',
268
- // recur: 'biweekly',
269
- // start: makeDate({ year: 2013, month: 4, day: 1 }),
270
- // },
271
- // {
272
- // payee: 'Bank of America',
273
- // description: 'Mortgage',
274
- // amount: -1500.0,
275
- // url: 'https://www.bankofamerica.com',
276
- // recur: 'monthly',
277
- // start: makeDate({ year: 2014, month: 4, day: 1 }),
278
- // },
223
+ {
224
+ payee : 'Hulu' ,
225
+ description : '' ,
226
+ amount : - 9.99 ,
227
+ url : 'http://hulu.com' ,
228
+ recur : 'monthly' ,
229
+ start : makeDate ( { year : 2015 , month : 2 , day : 3 } ) ,
230
+ } ,
231
+ {
232
+ payee : 'Amazon' ,
233
+ description : 'Amazon Prime' ,
234
+ amount : - 120.0 ,
235
+ url : 'http://amazon.com' ,
236
+ recur : 'yearly' ,
237
+ start : makeDate ( { year : 2017 , month : 11 , day : 1 } ) ,
238
+ } ,
239
+ {
240
+ payee : 'Cal Water' ,
241
+ description : 'Water' ,
242
+ amount : - 28.55 ,
243
+ url : 'https://www.calwater.com/' ,
244
+ recur : 'bimonthly' ,
245
+ start : makeDate ( { year : 2015 , month : 3 , day : 15 } ) ,
246
+ } ,
247
+ {
248
+ payee : 'National Fuel' ,
249
+ description : 'Utilities' ,
250
+ amount : - 55.0 ,
251
+ url : 'https://natfuel.com/' ,
252
+ recur : 'monthly' ,
253
+ start : makeDate ( { year : 2017 , month : 11 , day : 1 } ) ,
254
+ } ,
255
+ {
256
+ payee : 'AT&T' ,
257
+ description : '' ,
258
+ amount : - 89.99 ,
259
+ url : 'https://att.com/' ,
260
+ recur : 'monthly' ,
261
+ start : makeDate ( { year : 2017 , month : 3 , day : 1 } ) ,
262
+ } ,
263
+ {
264
+ payee : 'IBM' ,
265
+ description : '' ,
266
+ amount : 1000.0 ,
267
+ url : 'https://ibm.com/' ,
268
+ recur : 'biweekly' ,
269
+ start : makeDate ( { year : 2013 , month : 4 , day : 1 } ) ,
270
+ } ,
271
+ {
272
+ payee : 'Bank of America' ,
273
+ description : 'Mortgage' ,
274
+ amount : - 1500.0 ,
275
+ url : 'https://www.bankofamerica.com' ,
276
+ recur : 'monthly' ,
277
+ start : makeDate ( { year : 2014 , month : 4 , day : 1 } ) ,
278
+ } ,
279
279
]
280
280
281
281
for ( const billInfo of billInfos ) {
0 commit comments