import { RouteConfig } from 'vue-router';
import { routeDashAccountAddresses } from './addresses/addresses.route';
import { routeDashAccountBlocks } from './blocks/blocks.route';
import { routeDashAccountChangePassword } from './change-password/change-password.route';
import { routeDashAccountEdit } from './edit/edit.route';
import { routeDashAccountEmailPreferences } from './email-preferences/email-preferences.route';
import { routeDashAccountFinancials } from './financials/financials.route';
import { routeDashAccountLinkedAccountsLinkCallback } from './linked-accounts/link-callback/link-callback.route';
import { routeDashAccountLinkedAccounts } from './linked-accounts/linked-accounts.route';
import { routeDashAccountPurchasesList } from './purchases/list/list.route';
import { routeDashAccountPurchasesView } from './purchases/view/view.route';
import { routeDashAccountSite } from './site/site.route';

export const routeDashAccount: RouteConfig = {
	path: '/dashboard',
	component: () => import(/* webpackChunkName: "routeDashAccount" */ './account.vue'),
	children: [
		routeDashAccountEdit,
		routeDashAccountEmailPreferences,
		routeDashAccountChangePassword,
		routeDashAccountLinkedAccounts,
		routeDashAccountLinkedAccountsLinkCallback,
		routeDashAccountFinancials,
		routeDashAccountAddresses,
		routeDashAccountPurchasesList,
		routeDashAccountPurchasesView,
		routeDashAccountSite,
		routeDashAccountBlocks,
	],
};
