import React from 'react';
import { SiteAdminAllUsersPage } from './SiteAdminAllUsersPage';
import { SiteAdminAnalyticsPage } from './SiteAdminAnalyticsPage';
import { SiteAdminCodeIntelligencePage } from './SiteAdminCodeIntelligencePage';
import { SiteAdminConfigurationPage } from './SiteAdminConfigurationPage';
import { SiteAdminCreateUserPage } from './SiteAdminCreateUserPage';
import { SiteAdminOrgsPage } from './SiteAdminOrgsPage';
import { SiteAdminOverviewPage } from './SiteAdminOverviewPage';
import { SiteAdminPingsPage } from './SiteAdminPingsPage';
import { SiteAdminRepositoriesPage } from './SiteAdminRepositoriesPage';
import { SiteAdminSettingsPage } from './SiteAdminSettingsPage';
import { SiteAdminSurveyResponsesPage } from './SiteAdminSurveyResponsesPage';
import { SiteAdminTokensPage } from './SiteAdminTokensPage';
import { SiteAdminUpdatesPage } from './SiteAdminUpdatesPage';
export const siteAdminAreaRoutes = [
    {
        // Render empty page if no page selected
        path: '',
        render: props => React.createElement(SiteAdminOverviewPage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/configuration',
        exact: true,
        render: props => React.createElement(SiteAdminConfigurationPage, Object.assign({}, props)),
    },
    {
        path: '/global-settings',
        exact: true,
        render: props => React.createElement(SiteAdminSettingsPage, Object.assign({}, props)),
    },
    {
        path: '/repositories',
        render: props => React.createElement(SiteAdminRepositoriesPage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/code-intelligence',
        render: props => React.createElement(SiteAdminCodeIntelligencePage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/organizations',
        render: props => React.createElement(SiteAdminOrgsPage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/users',
        exact: true,
        render: props => React.createElement(SiteAdminAllUsersPage, Object.assign({}, props)),
    },
    {
        path: '/users/new',
        render: props => React.createElement(SiteAdminCreateUserPage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/tokens',
        exact: true,
        render: props => React.createElement(SiteAdminTokensPage, Object.assign({}, props)),
    },
    {
        path: '/analytics',
        exact: true,
        render: props => React.createElement(SiteAdminAnalyticsPage, Object.assign({}, props)),
    },
    {
        path: '/updates',
        render: props => React.createElement(SiteAdminUpdatesPage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/pings',
        render: props => React.createElement(SiteAdminPingsPage, Object.assign({}, props)),
        exact: true,
    },
    {
        path: '/surveys',
        exact: true,
        render: props => React.createElement(SiteAdminSurveyResponsesPage, Object.assign({}, props)),
    },
];
//# sourceMappingURL=routes.js.map