kaori 3 лет назад
Родитель
Сommit
5e65359b26

+ 4 - 4
packages/app/src/pages/admin/app.page.tsx

@@ -20,10 +20,10 @@ const AppSettingsPageContents = dynamic(() => import('~/components/Admin/App/App
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,

+ 6 - 6
packages/app/src/pages/admin/audit-log.page.tsx

@@ -18,10 +18,10 @@ const AuditLogManagement = dynamic(() => import('~/components/Admin/AuditLogMana
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -35,7 +35,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminAuditLogPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
   const title = t('audit_log_management.audit_log');
   const title = t('audit_log_management.audit_log');
 
 
@@ -54,4 +54,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminAuditLogPage;

+ 6 - 6
packages/app/src/pages/admin/customize.page.tsx

@@ -20,10 +20,10 @@ const AppSettingsPageContents = dynamic(() => import('~/components/Admin/App/App
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,7 +37,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminCustomizeSettingsPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('customize_settings.customize_settings');
   const title = t('customize_settings.customize_settings');
@@ -67,4 +67,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminCustomizeSettingsPage;

+ 7 - 7
packages/app/src/pages/admin/export.page.tsx

@@ -20,10 +20,10 @@ const ExportArchiveDataPage = dynamic(() => import('~/components/Admin/ExportArc
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,10 +37,10 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminExportDataArchivePage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
-  const title = t('export_archive_data'), ;
+  const title = t('export_archive_data');
   const injectableContainers: Container<any>[] = [];
   const injectableContainers: Container<any>[] = [];
 
 
   if (isClient()) {
   if (isClient()) {
@@ -67,4 +67,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminExportDataArchivePage;

+ 6 - 6
packages/app/src/pages/admin/importer.page.tsx

@@ -20,10 +20,10 @@ const DataImportPageContents = dynamic(() => import('~/components/Admin/ImportDa
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,7 +37,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminDataImportPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('importer_management.import_data');
   const title = t('importer_management.import_data');
@@ -67,4 +67,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminDataImportPage;

+ 6 - 6
packages/app/src/pages/admin/markdown.page.tsx

@@ -21,10 +21,10 @@ const MarkDownSettingContents = dynamic(() => import('~/components/Admin/Markdow
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -38,7 +38,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminMarkdownPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('markdown_settings.markdown_settings');
   const title = t('markdown_settings.markdown_settings');
@@ -68,4 +68,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminMarkdownPage;

+ 6 - 6
packages/app/src/pages/admin/notification.page.tsx

@@ -20,10 +20,10 @@ const NotificationSetting = dynamic(() => import('~/components/Admin/Notificatio
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,7 +37,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminExternalNotificationPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('external_notification.external_notification');
   const title = t('external_notification.external_notification');
@@ -67,4 +67,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminExternalNotificationPage;

+ 6 - 6
packages/app/src/pages/admin/search.page.tsx

@@ -20,10 +20,10 @@ const ElasticsearchManagement = dynamic(() => import('~/components/Admin/Elastic
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,7 +37,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminFullTextSearchManagementPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
   const title = t('full_text_search_management.full_text_search_management');
   const title = t('full_text_search_management.full_text_search_management');
 
 
@@ -55,4 +55,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminFullTextSearchManagementPage;

+ 6 - 6
packages/app/src/pages/admin/security.page.tsx

@@ -29,10 +29,10 @@ const SecurityManagement = dynamic(() => import('~/components/Admin/Security/Sec
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -46,7 +46,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminSecuritySettingsPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('security_settings.security_settings');
   const title = t('security_settings.security_settings');
@@ -98,4 +98,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminSecuritySettingsPage;

+ 6 - 6
packages/app/src/pages/admin/slack-integration-legacy.page.tsx

@@ -20,10 +20,10 @@ const LegacySlackIntegration = dynamic(() => import('~/components/Admin/LegacySl
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,7 +37,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminLegacySlackIntegrationPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('slack_integration_legacy.slack_integration_legacy');
   const title = t('slack_integration_legacy.slack_integration_legacy');
@@ -67,4 +67,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminLegacySlackIntegrationPage;

+ 6 - 6
packages/app/src/pages/admin/slack-integration.page.tsx

@@ -17,10 +17,10 @@ const SlackIntegration = dynamic(() => import('~/components/Admin/SlackIntegrati
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -34,7 +34,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminSlackIntegrationPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
   const title = t('slack_integration.slack_integration');
   const title = t('slack_integration.slack_integration');
 
 
@@ -52,4 +52,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminSlackIntegrationPage;

+ 6 - 6
packages/app/src/pages/admin/user-groups.page.tsx

@@ -17,10 +17,10 @@ const UserGroupPage = dynamic(() => import('~/components/Admin/UserGroup/UserGro
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -34,7 +34,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminUserGroupPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
   const title = t('user_group_management.user_group_management');
   const title = t('user_group_management.user_group_management');
 
 
@@ -52,4 +52,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminUserGroupPage;

+ 6 - 6
packages/app/src/pages/admin/users.page.tsx

@@ -20,10 +20,10 @@ const UserManagement = dynamic(() => import('~/components/Admin/UserManagement')
 type Props = CommonProps & {
 type Props = CommonProps & {
   currentUser: any,
   currentUser: any,
 
 
-  nodeVersion: string,
-  npmVersion: string,
-  yarnVersion: string,
-  installedPlugins: any,
+  // nodeVersion: string,
+  // npmVersion: string,
+  // yarnVersion: string,
+  // installedPlugins: any,
   envVars: any,
   envVars: any,
   isAclEnabled: boolean,
   isAclEnabled: boolean,
   isSearchServiceConfigured: boolean,
   isSearchServiceConfigured: boolean,
@@ -37,7 +37,7 @@ type Props = CommonProps & {
 };
 };
 
 
 
 
-const AdminAppPage: NextPage<Props> = (props) => {
+const AdminUserManagementPage: NextPage<Props> = (props) => {
   const { t } = useTranslation();
   const { t } = useTranslation();
 
 
   const title = t('user_management.user_management');
   const title = t('user_management.user_management');
@@ -67,4 +67,4 @@ export const getServerSideProps: GetServerSideProps = async(context: GetServerSi
 };
 };
 
 
 
 
-export default AdminAppPage;
+export default AdminUserManagementPage;