11// Configuration constants for the tax calculator
22import { stateTaxConfigs } from './stateTaxData' ;
3+ import type { FormData } from './types' ;
34
45export const CLIENT_ID = '158815926301-2e46taooqll1firpnkq04ajlt9mmaq6o.apps.googleusercontent.com' ;
56export const DISCOVERY_DOCS = [ "https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest" ] ;
67export const SCOPES = "https://www.googleapis.com/auth/calendar.readonly" ;
78export const LOCAL_STORAGE_KEY = 'payAllocatorData_React' ;
89
9- export const exampleData = {
10+ export const exampleData : FormData = {
1011 primaryState : "MN" ,
1112 visitingDates : { start : "2025-01-01" , end : "2025-05-31" } ,
1213 daysInOtherStates : { "FL" : [ "2025-01-16" , "2025-01-17" , "2025-02-10" ] , "AZ" : [ ] } ,
@@ -15,9 +16,9 @@ export const exampleData = {
1516 { id : 2 , netPay : 8650.00 , payPeriodStart : "2025-02-01" , payPeriodEnd : "2025-02-15" }
1617 ] ,
1718 bonuses : [
18- { id : 1 , amount : 1000 , state : "MN" , date : "2025-01-20" } ,
19- { id : 2 , amount : 250 , state : "FL" , date : "2025-01-30" } ,
20- { id : 3 , amount : 1200 , state : "FL" , date : "2025-02-14" }
19+ { id : 1 , amount : 1000 , state : "MN" , date : "2025-01-20" , type : "services-rendered" } ,
20+ { id : 2 , amount : 250 , state : "FL" , date : "2025-01-30" , type : "sign-on" } ,
21+ { id : 3 , amount : 1200 , state : "FL" , date : "2025-02-14" , type : "services-rendered" }
2122 ]
2223} ;
2324
0 commit comments