import { ComponentClass , FunctionComponent } from 'react' ; import SignUpView from 'app/auth/views/SignUpView/SignUpView' ; import SignInView from 'app/auth/views/SignInView/SignInView' ; import DriveView from 'app/drive/views/DriveView/DriveView' ; import RecentsView from 'app/drive/views/RecentsView/RecentsView' ; import NotFoundView from '../views/NotFoundView/NotFoundView' ; import AccountView from 'app/core/views/AccountView/AccountView' ; import DeactivationView from 'app/core/views/DeactivationView/DeactivationView' ; import JoinTeamView from 'app/teams/views/JoinTeamView/JoinTeamView' ; import TeamSuccessView from 'app/teams/views/TeamSuccessView/TeamSuccessView' ; import DeactivationTeamsView from 'app/teams/views/DeactivationTeamsView/DeactivationTeamsView' ; import ShareView from 'app/share/views/ShareView/ShareView' ; import RemoveAccountView from 'app/auth/views/RemoveAccountView/RemoveAccountView' ; import GuestAcceptInvitationView from 'app/guests/views/GuestAcceptInviteView/GuestAcceptInviteView' ; import CheckoutView from 'app/payment/views/CheckoutView/CheckoutView' ; import BackupsView from 'app/backups/views/BackupsView/BackupsView' ; import { AppView } from '../types' ; import CheckoutSuccessView from 'app/payment/views/CheckoutSuccessView/CheckoutSuccessView' ; const views = [ { id : AppView . Signup , component : SignUpView , componentProps : { isNewUser : true } } , { id : AppView . AppSumo , component : SignUpView , componentProps : { isNewUser : false } } , { id : AppView . Login , component : SignInView } , { id : AppView . Drive , component : DriveView } , { id : AppView . Recents , component : RecentsView } , { id : AppView . Backups , component : BackupsView } , { id : AppView . Account , component : AccountView } , { id : AppView . TeamsJoin , component : JoinTeamView } , { id : AppView . GuestAcceptInvite , component : GuestAcceptInvitationView } , { id : AppView . Deactivation , component : DeactivationView } , { id : AppView . TeamsDeactivation , component : DeactivationTeamsView } , { id : AppView . TeamSuccess , component : TeamSuccessView } , { id : AppView . CheckoutSuccess , component : CheckoutSuccessView } , { id : AppView . Checkout , component : CheckoutView } , { id : AppView . Remove , component : RemoveAccountView } , { id : AppView . ShareToken , component : ShareView } , { id : AppView . NotFound , component : NotFoundView } , ] ; export default views ;