From 34e6ff33e1cec1f0512cb66bad10313b08de65ca Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Sun, 25 Dec 2022 10:35:44 +0100 Subject: [PATCH] refactor: move all dashboard's files into a client folder --- .../components/AppLogo/AppLogo.module.scss | 0 .../{ => client}/components/AppLogo/AppLogo.tsx | 0 .../src/{ => client}/components/AppLogo/index.ts | 0 .../components/AppStatus/AppStatus.module.scss | 0 .../components/AppStatus/AppStatus.tsx | 0 .../{ => client}/components/AppStatus/index.tsx | 0 .../components/AppTile/AppTile.module.scss | 0 .../{ => client}/components/AppTile/AppTile.tsx | 0 .../{ => client}/components/AppTile/index.tsx | 0 .../components/Layout/Layout.module.scss | 0 .../{ => client}/components/Layout/Layout.tsx | 0 .../src/{ => client}/components/Layout/index.ts | 0 .../components/Markdown/Markdown.tsx | 0 .../components/StatusScreen/StatusScreen.tsx | 0 .../components/StatusScreen/index.ts | 0 .../hoc/AuthProvider/AuthProvider.test.tsx | 2 +- .../components/hoc/AuthProvider/AuthProvider.tsx | 0 .../components/hoc/AuthProvider/index.ts | 0 .../hoc/StatusProvider/StatusProvider.test.tsx | 2 +- .../hoc/StatusProvider/StatusProvider.tsx | 0 .../components/hoc/StatusProvider/index.ts | 0 .../hoc/ToastProvider/ToastProvider.test.tsx | 2 +- .../hoc/ToastProvider/ToastProvider.tsx | 0 .../components/hoc/ToastProvider/index.ts | 0 .../components/ui/Button/Button.test.tsx | 0 .../{ => client}/components/ui/Button/Button.tsx | 0 .../{ => client}/components/ui/Button/index.ts | 0 .../components/ui/DataGrid/DataGrid.test.tsx | 2 +- .../components/ui/DataGrid/DataGrid.tsx | 0 .../components/ui/DataGrid/DataGridItem.tsx | 0 .../{ => client}/components/ui/DataGrid/index.ts | 0 .../ui/EmptyPage/EmptyPage.module.scss | 0 .../components/ui/EmptyPage/EmptyPage.test.tsx | 2 +- .../components/ui/EmptyPage/EmptyPage.tsx | 0 .../components/ui/EmptyPage/index.ts | 0 .../ui/ErrorPage/ErrorPage.module.scss | 0 .../components/ui/ErrorPage/ErrorPage.test.tsx | 2 +- .../components/ui/ErrorPage/ErrorPage.tsx | 0 .../components/ui/ErrorPage/index.ts | 0 .../components/ui/Header/Header.test.tsx | 2 +- .../{ => client}/components/ui/Header/Header.tsx | 0 .../{ => client}/components/ui/Header/index.ts | 0 .../components/ui/Input/Input.test.tsx | 2 +- .../{ => client}/components/ui/Input/Input.tsx | 0 .../{ => client}/components/ui/Input/index.ts | 0 .../components/ui/Modal/Modal.module.scss | 0 .../components/ui/Modal/Modal.test.tsx | 2 +- .../{ => client}/components/ui/Modal/Modal.tsx | 0 .../components/ui/Modal/ModalBody.tsx | 0 .../components/ui/Modal/ModalFooter.tsx | 0 .../components/ui/Modal/ModalHeader.tsx | 0 .../{ => client}/components/ui/Modal/index.ts | 0 .../components/ui/NavBar/NavBar.test.tsx | 2 +- .../{ => client}/components/ui/NavBar/NavBar.tsx | 0 .../{ => client}/components/ui/NavBar/index.ts | 0 .../components/ui/Switch/Switch.test.tsx | 2 +- .../{ => client}/components/ui/Switch/Switch.tsx | 0 .../{ => client}/components/ui/Switch/index.ts | 0 .../components/ui/Toast/Toast.module.scss | 0 .../components/ui/Toast/Toast.test.tsx | 2 +- .../{ => client}/components/ui/Toast/Toast.tsx | 0 .../{ => client}/components/ui/Toast/index.ts | 0 .../src/{ => client}/core/apollo/client.ts | 0 .../{ => client}/core/apollo/links/authLink.ts | 0 .../{ => client}/core/apollo/links/errorLink.ts | 0 .../{ => client}/core/apollo/links/httpLink.ts | 0 .../src/{ => client}/core/apollo/links/index.ts | 0 .../dashboard/src/{ => client}/core/constants.ts | 0 .../src/{ => client}/core/helpers/url-helpers.ts | 0 .../dashboard/src/{ => client}/core/types.ts | 0 .../src/{ => client}/generated/graphql.tsx | 0 .../graphql/mutations/installApp.graphql | 0 .../{ => client}/graphql/mutations/login.graphql | 0 .../graphql/mutations/logout.graphql | 0 .../graphql/mutations/register.graphql | 0 .../graphql/mutations/restart.graphql | 0 .../graphql/mutations/startApp.graphql | 0 .../graphql/mutations/stopApp.graphql | 0 .../graphql/mutations/unintallApp.graphql | 0 .../graphql/mutations/update.graphql | 0 .../graphql/mutations/updateApp.graphql | 0 .../graphql/mutations/updateAppConfig.graphql | 0 .../{ => client}/graphql/queries/getApp.graphql | 0 .../graphql/queries/installedApps.graphql | 0 .../graphql/queries/isConfigured.graphql | 0 .../graphql/queries/listApps.graphql | 0 .../src/{ => client}/graphql/queries/me.graphql | 0 .../graphql/queries/refreshToken.graphql | 0 .../graphql/queries/systemInfo.graphql | 0 .../{ => client}/graphql/queries/version.graphql | 0 .../{ => client}/hooks/useCachedRessources.ts | 0 .../src/{ => client}/hooks/useDisclosure.ts | 0 .../dashboard/src/{ => client}/mocks/browser.ts | 0 .../{ => client}/mocks/fixtures/app.fixtures.ts | 0 .../dashboard/src/{ => client}/mocks/handlers.ts | 0 .../{ => client}/mocks/handlers/appHandlers.ts | 0 .../dashboard/src/{ => client}/mocks/index.ts | 0 .../dashboard/src/{ => client}/mocks/server.ts | 0 .../AppStoreTable/AppStoreTable.loading.tsx | 0 .../components/AppStoreTable/AppStoreTable.tsx | 0 .../AppStore/components/AppStoreTable/index.ts | 0 .../AppStoreTile/AppStoreTile.loading.tsx | 0 .../AppStoreTile/AppStoreTile.module.scss | 0 .../components/AppStoreTile/AppStoreTile.tsx | 0 .../AppStore/components/AppStoreTile/index.tsx | 0 .../CategorySelector/CategorySelector.tsx | 0 .../components/CategorySelector/index.ts | 0 .../AppStoreContainer/AppStoreContainer.tsx | 0 .../containers/AppStoreContainer/index.ts | 0 .../modules/AppStore/helpers/table.helpers.ts | 0 .../modules/AppStore/helpers/table.types.ts | 0 .../pages/AppStorePage/AppStorePage.module.scss | 0 .../pages/AppStorePage/AppStorePage.test.tsx | 2 +- .../AppStore/pages/AppStorePage/AppStorePage.tsx | 0 .../modules/AppStore/pages/AppStorePage/index.ts | 0 .../modules/AppStore/state/appStoreState.ts | 0 .../components/AppActions/AppActions.test.tsx | 2 +- .../Apps/components/AppActions/AppActions.tsx | 0 .../modules/Apps/components/AppActions/index.ts | 0 .../modules/Apps/components/AppDetailsTabs.tsx | 0 .../components/InstallForm/InstallForm.test.tsx | 2 +- .../Apps/components/InstallForm/InstallForm.tsx | 0 .../modules/Apps/components/InstallForm/index.ts | 0 .../InstallModal/InstallModal.test.tsx | 2 +- .../components/InstallModal/InstallModal.tsx | 0 .../Apps/components/InstallModal/index.ts | 0 .../modules/Apps/components/StopModal.tsx | 0 .../modules/Apps/components/UninstallModal.tsx | 0 .../components/UpdateModal/UpdateModal.test.tsx | 2 +- .../Apps/components/UpdateModal/UpdateModal.tsx | 0 .../modules/Apps/components/UpdateModal/index.ts | 0 .../Apps/components/UpdateSettingsModal.tsx | 0 .../AppDetailsContainer.test.tsx | 2 +- .../AppDetailsContainer/AppDetailsContainer.tsx | 0 .../pages/AppDetailsPage/AppDetailsPage.test.tsx | 2 +- .../Apps/pages/AppDetailsPage/AppDetailsPage.tsx | 0 .../modules/Apps/pages/AppDetailsPage/index.ts | 0 .../Apps/pages/AppsPage/AppsPage.test.tsx | 2 +- .../modules/Apps/pages/AppsPage/AppsPage.tsx | 0 .../modules/Apps/pages/AppsPage/index.ts | 0 .../modules/Apps/utils/validators/index.ts | 0 .../Apps/utils/validators/validators.test.tsx | 0 .../modules/Apps/utils/validators/validators.ts | 0 .../components/AuthFormLayout/AuthFormLayout.tsx | 0 .../Auth/components/AuthFormLayout/index.ts | 0 .../Auth/components/LoginForm/LoginForm.tsx | 0 .../modules/Auth/components/LoginForm/index.ts | 0 .../components/RegisterForm/RegisterForm.tsx | 0 .../Auth/components/RegisterForm/index.ts | 0 .../LoginContainer/LoginContainer.test.tsx | 2 +- .../containers/LoginContainer/LoginContainer.tsx | 0 .../Auth/containers/LoginContainer/index.ts | 0 .../RegisterContainer/RegisterContainer.test.tsx | 2 +- .../RegisterContainer/RegisterContainer.tsx | 0 .../Auth/containers/RegisterContainer/index.ts | 0 .../modules/Dashboard/components/SystemStat.tsx | 0 .../Dashboard/containers/Dashboard.test.tsx | 2 +- .../modules/Dashboard/containers/Dashboard.tsx | 0 .../pages/DashboardPage/DashboardPage.test.tsx | 2 +- .../pages/DashboardPage/DashboardPage.tsx | 0 .../Dashboard/pages/DashboardPage/index.ts | 0 .../components/RestartModal/RestartModal.tsx | 0 .../Settings/components/RestartModal/index.ts | 0 .../components/UpdateModal/UpdateModal.tsx | 0 .../Settings/components/UpdateModal/index.ts | 0 .../SettingsContainer/SettingsContainer.test.tsx | 2 +- .../SettingsContainer/SettingsContainer.tsx | 0 .../containers/SettingsContainer/index.ts | 0 .../pages/SettingsPage/SettingsPage.test.tsx | 2 +- .../Settings/pages/SettingsPage/SettingsPage.tsx | 0 .../modules/Settings/pages/SettingsPage/index.ts | 0 .../src/{ => client}/state/systemStore.ts | 0 .../src/{ => client}/state/toastStore.ts | 0 .../dashboard/src/{ => client}/state/uiStore.ts | 0 .../dashboard/src/{ => client}/styles/global.css | 0 .../src/{ => client}/styles/global.scss | 2 +- .../dashboard/src/{ => client}/styles/reset.css | 0 packages/dashboard/src/pages/404.tsx | 2 +- packages/dashboard/src/pages/_app.tsx | 16 ++++++++-------- packages/dashboard/src/pages/_document.tsx | 2 +- packages/dashboard/src/pages/app-store/[id].tsx | 2 +- packages/dashboard/src/pages/app-store/index.tsx | 2 +- packages/dashboard/src/pages/apps/[id].tsx | 2 +- packages/dashboard/src/pages/apps/index.tsx | 2 +- packages/dashboard/src/pages/index.tsx | 2 +- packages/dashboard/src/pages/settings.tsx | 2 +- packages/dashboard/tests/jest.setup.tsx | 4 ++-- 187 files changed, 45 insertions(+), 45 deletions(-) rename packages/dashboard/src/{ => client}/components/AppLogo/AppLogo.module.scss (100%) rename packages/dashboard/src/{ => client}/components/AppLogo/AppLogo.tsx (100%) rename packages/dashboard/src/{ => client}/components/AppLogo/index.ts (100%) rename packages/dashboard/src/{ => client}/components/AppStatus/AppStatus.module.scss (100%) rename packages/dashboard/src/{ => client}/components/AppStatus/AppStatus.tsx (100%) rename packages/dashboard/src/{ => client}/components/AppStatus/index.tsx (100%) rename packages/dashboard/src/{ => client}/components/AppTile/AppTile.module.scss (100%) rename packages/dashboard/src/{ => client}/components/AppTile/AppTile.tsx (100%) rename packages/dashboard/src/{ => client}/components/AppTile/index.tsx (100%) rename packages/dashboard/src/{ => client}/components/Layout/Layout.module.scss (100%) rename packages/dashboard/src/{ => client}/components/Layout/Layout.tsx (100%) rename packages/dashboard/src/{ => client}/components/Layout/index.ts (100%) rename packages/dashboard/src/{ => client}/components/Markdown/Markdown.tsx (100%) rename packages/dashboard/src/{ => client}/components/StatusScreen/StatusScreen.tsx (100%) rename packages/dashboard/src/{ => client}/components/StatusScreen/index.ts (100%) rename packages/dashboard/src/{ => client}/components/hoc/AuthProvider/AuthProvider.test.tsx (94%) rename packages/dashboard/src/{ => client}/components/hoc/AuthProvider/AuthProvider.tsx (100%) rename packages/dashboard/src/{ => client}/components/hoc/AuthProvider/index.ts (100%) rename packages/dashboard/src/{ => client}/components/hoc/StatusProvider/StatusProvider.test.tsx (96%) rename packages/dashboard/src/{ => client}/components/hoc/StatusProvider/StatusProvider.tsx (100%) rename packages/dashboard/src/{ => client}/components/hoc/StatusProvider/index.ts (100%) rename packages/dashboard/src/{ => client}/components/hoc/ToastProvider/ToastProvider.test.tsx (98%) rename packages/dashboard/src/{ => client}/components/hoc/ToastProvider/ToastProvider.tsx (100%) rename packages/dashboard/src/{ => client}/components/hoc/ToastProvider/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/Button/Button.test.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Button/Button.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Button/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/DataGrid/DataGrid.test.tsx (93%) rename packages/dashboard/src/{ => client}/components/ui/DataGrid/DataGrid.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/DataGrid/DataGridItem.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/DataGrid/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/EmptyPage/EmptyPage.module.scss (100%) rename packages/dashboard/src/{ => client}/components/ui/EmptyPage/EmptyPage.test.tsx (93%) rename packages/dashboard/src/{ => client}/components/ui/EmptyPage/EmptyPage.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/EmptyPage/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/ErrorPage/ErrorPage.module.scss (100%) rename packages/dashboard/src/{ => client}/components/ui/ErrorPage/ErrorPage.test.tsx (92%) rename packages/dashboard/src/{ => client}/components/ui/ErrorPage/ErrorPage.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/ErrorPage/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/Header/Header.test.tsx (99%) rename packages/dashboard/src/{ => client}/components/ui/Header/Header.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Header/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/Input/Input.test.tsx (98%) rename packages/dashboard/src/{ => client}/components/ui/Input/Input.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Input/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/Modal/Modal.module.scss (100%) rename packages/dashboard/src/{ => client}/components/ui/Modal/Modal.test.tsx (98%) rename packages/dashboard/src/{ => client}/components/ui/Modal/Modal.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Modal/ModalBody.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Modal/ModalFooter.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Modal/ModalHeader.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Modal/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/NavBar/NavBar.test.tsx (96%) rename packages/dashboard/src/{ => client}/components/ui/NavBar/NavBar.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/NavBar/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/Switch/Switch.test.tsx (96%) rename packages/dashboard/src/{ => client}/components/ui/Switch/Switch.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Switch/index.ts (100%) rename packages/dashboard/src/{ => client}/components/ui/Toast/Toast.module.scss (100%) rename packages/dashboard/src/{ => client}/components/ui/Toast/Toast.test.tsx (94%) rename packages/dashboard/src/{ => client}/components/ui/Toast/Toast.tsx (100%) rename packages/dashboard/src/{ => client}/components/ui/Toast/index.ts (100%) rename packages/dashboard/src/{ => client}/core/apollo/client.ts (100%) rename packages/dashboard/src/{ => client}/core/apollo/links/authLink.ts (100%) rename packages/dashboard/src/{ => client}/core/apollo/links/errorLink.ts (100%) rename packages/dashboard/src/{ => client}/core/apollo/links/httpLink.ts (100%) rename packages/dashboard/src/{ => client}/core/apollo/links/index.ts (100%) rename packages/dashboard/src/{ => client}/core/constants.ts (100%) rename packages/dashboard/src/{ => client}/core/helpers/url-helpers.ts (100%) rename packages/dashboard/src/{ => client}/core/types.ts (100%) rename packages/dashboard/src/{ => client}/generated/graphql.tsx (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/installApp.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/login.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/logout.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/register.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/restart.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/startApp.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/stopApp.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/unintallApp.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/update.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/updateApp.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/mutations/updateAppConfig.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/getApp.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/installedApps.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/isConfigured.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/listApps.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/me.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/refreshToken.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/systemInfo.graphql (100%) rename packages/dashboard/src/{ => client}/graphql/queries/version.graphql (100%) rename packages/dashboard/src/{ => client}/hooks/useCachedRessources.ts (100%) rename packages/dashboard/src/{ => client}/hooks/useDisclosure.ts (100%) rename packages/dashboard/src/{ => client}/mocks/browser.ts (100%) rename packages/dashboard/src/{ => client}/mocks/fixtures/app.fixtures.ts (100%) rename packages/dashboard/src/{ => client}/mocks/handlers.ts (100%) rename packages/dashboard/src/{ => client}/mocks/handlers/appHandlers.ts (100%) rename packages/dashboard/src/{ => client}/mocks/index.ts (100%) rename packages/dashboard/src/{ => client}/mocks/server.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTable/AppStoreTable.loading.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTable/AppStoreTable.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTable/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTile/AppStoreTile.loading.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTile/AppStoreTile.module.scss (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTile/AppStoreTile.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/AppStoreTile/index.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/CategorySelector/CategorySelector.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/components/CategorySelector/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/containers/AppStoreContainer/AppStoreContainer.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/containers/AppStoreContainer/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/helpers/table.helpers.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/helpers/table.types.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/pages/AppStorePage/AppStorePage.module.scss (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx (95%) rename packages/dashboard/src/{ => client}/modules/AppStore/pages/AppStorePage/AppStorePage.tsx (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/pages/AppStorePage/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/AppStore/state/appStoreState.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/AppActions/AppActions.test.tsx (99%) rename packages/dashboard/src/{ => client}/modules/Apps/components/AppActions/AppActions.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/AppActions/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/AppDetailsTabs.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/InstallForm/InstallForm.test.tsx (99%) rename packages/dashboard/src/{ => client}/modules/Apps/components/InstallForm/InstallForm.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/InstallForm/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/InstallModal/InstallModal.test.tsx (98%) rename packages/dashboard/src/{ => client}/modules/Apps/components/InstallModal/InstallModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/InstallModal/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/StopModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/UninstallModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/UpdateModal/UpdateModal.test.tsx (95%) rename packages/dashboard/src/{ => client}/modules/Apps/components/UpdateModal/UpdateModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/UpdateModal/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/components/UpdateSettingsModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx (99%) rename packages/dashboard/src/{ => client}/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx (96%) rename packages/dashboard/src/{ => client}/modules/Apps/pages/AppDetailsPage/AppDetailsPage.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/pages/AppDetailsPage/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/pages/AppsPage/AppsPage.test.tsx (99%) rename packages/dashboard/src/{ => client}/modules/Apps/pages/AppsPage/AppsPage.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/pages/AppsPage/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/utils/validators/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Apps/utils/validators/validators.test.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Apps/utils/validators/validators.ts (100%) rename packages/dashboard/src/{ => client}/modules/Auth/components/AuthFormLayout/AuthFormLayout.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Auth/components/AuthFormLayout/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Auth/components/LoginForm/LoginForm.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Auth/components/LoginForm/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Auth/components/RegisterForm/RegisterForm.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Auth/components/RegisterForm/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx (98%) rename packages/dashboard/src/{ => client}/modules/Auth/containers/LoginContainer/LoginContainer.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Auth/containers/LoginContainer/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx (98%) rename packages/dashboard/src/{ => client}/modules/Auth/containers/RegisterContainer/RegisterContainer.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Auth/containers/RegisterContainer/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Dashboard/components/SystemStat.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Dashboard/containers/Dashboard.test.tsx (92%) rename packages/dashboard/src/{ => client}/modules/Dashboard/containers/Dashboard.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx (80%) rename packages/dashboard/src/{ => client}/modules/Dashboard/pages/DashboardPage/DashboardPage.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Dashboard/pages/DashboardPage/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Settings/components/RestartModal/RestartModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Settings/components/RestartModal/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Settings/components/UpdateModal/UpdateModal.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Settings/components/UpdateModal/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx (99%) rename packages/dashboard/src/{ => client}/modules/Settings/containers/SettingsContainer/SettingsContainer.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Settings/containers/SettingsContainer/index.ts (100%) rename packages/dashboard/src/{ => client}/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx (89%) rename packages/dashboard/src/{ => client}/modules/Settings/pages/SettingsPage/SettingsPage.tsx (100%) rename packages/dashboard/src/{ => client}/modules/Settings/pages/SettingsPage/index.ts (100%) rename packages/dashboard/src/{ => client}/state/systemStore.ts (100%) rename packages/dashboard/src/{ => client}/state/toastStore.ts (100%) rename packages/dashboard/src/{ => client}/state/uiStore.ts (100%) rename packages/dashboard/src/{ => client}/styles/global.css (100%) rename packages/dashboard/src/{ => client}/styles/global.scss (68%) rename packages/dashboard/src/{ => client}/styles/reset.css (100%) diff --git a/packages/dashboard/src/components/AppLogo/AppLogo.module.scss b/packages/dashboard/src/client/components/AppLogo/AppLogo.module.scss similarity index 100% rename from packages/dashboard/src/components/AppLogo/AppLogo.module.scss rename to packages/dashboard/src/client/components/AppLogo/AppLogo.module.scss diff --git a/packages/dashboard/src/components/AppLogo/AppLogo.tsx b/packages/dashboard/src/client/components/AppLogo/AppLogo.tsx similarity index 100% rename from packages/dashboard/src/components/AppLogo/AppLogo.tsx rename to packages/dashboard/src/client/components/AppLogo/AppLogo.tsx diff --git a/packages/dashboard/src/components/AppLogo/index.ts b/packages/dashboard/src/client/components/AppLogo/index.ts similarity index 100% rename from packages/dashboard/src/components/AppLogo/index.ts rename to packages/dashboard/src/client/components/AppLogo/index.ts diff --git a/packages/dashboard/src/components/AppStatus/AppStatus.module.scss b/packages/dashboard/src/client/components/AppStatus/AppStatus.module.scss similarity index 100% rename from packages/dashboard/src/components/AppStatus/AppStatus.module.scss rename to packages/dashboard/src/client/components/AppStatus/AppStatus.module.scss diff --git a/packages/dashboard/src/components/AppStatus/AppStatus.tsx b/packages/dashboard/src/client/components/AppStatus/AppStatus.tsx similarity index 100% rename from packages/dashboard/src/components/AppStatus/AppStatus.tsx rename to packages/dashboard/src/client/components/AppStatus/AppStatus.tsx diff --git a/packages/dashboard/src/components/AppStatus/index.tsx b/packages/dashboard/src/client/components/AppStatus/index.tsx similarity index 100% rename from packages/dashboard/src/components/AppStatus/index.tsx rename to packages/dashboard/src/client/components/AppStatus/index.tsx diff --git a/packages/dashboard/src/components/AppTile/AppTile.module.scss b/packages/dashboard/src/client/components/AppTile/AppTile.module.scss similarity index 100% rename from packages/dashboard/src/components/AppTile/AppTile.module.scss rename to packages/dashboard/src/client/components/AppTile/AppTile.module.scss diff --git a/packages/dashboard/src/components/AppTile/AppTile.tsx b/packages/dashboard/src/client/components/AppTile/AppTile.tsx similarity index 100% rename from packages/dashboard/src/components/AppTile/AppTile.tsx rename to packages/dashboard/src/client/components/AppTile/AppTile.tsx diff --git a/packages/dashboard/src/components/AppTile/index.tsx b/packages/dashboard/src/client/components/AppTile/index.tsx similarity index 100% rename from packages/dashboard/src/components/AppTile/index.tsx rename to packages/dashboard/src/client/components/AppTile/index.tsx diff --git a/packages/dashboard/src/components/Layout/Layout.module.scss b/packages/dashboard/src/client/components/Layout/Layout.module.scss similarity index 100% rename from packages/dashboard/src/components/Layout/Layout.module.scss rename to packages/dashboard/src/client/components/Layout/Layout.module.scss diff --git a/packages/dashboard/src/components/Layout/Layout.tsx b/packages/dashboard/src/client/components/Layout/Layout.tsx similarity index 100% rename from packages/dashboard/src/components/Layout/Layout.tsx rename to packages/dashboard/src/client/components/Layout/Layout.tsx diff --git a/packages/dashboard/src/components/Layout/index.ts b/packages/dashboard/src/client/components/Layout/index.ts similarity index 100% rename from packages/dashboard/src/components/Layout/index.ts rename to packages/dashboard/src/client/components/Layout/index.ts diff --git a/packages/dashboard/src/components/Markdown/Markdown.tsx b/packages/dashboard/src/client/components/Markdown/Markdown.tsx similarity index 100% rename from packages/dashboard/src/components/Markdown/Markdown.tsx rename to packages/dashboard/src/client/components/Markdown/Markdown.tsx diff --git a/packages/dashboard/src/components/StatusScreen/StatusScreen.tsx b/packages/dashboard/src/client/components/StatusScreen/StatusScreen.tsx similarity index 100% rename from packages/dashboard/src/components/StatusScreen/StatusScreen.tsx rename to packages/dashboard/src/client/components/StatusScreen/StatusScreen.tsx diff --git a/packages/dashboard/src/components/StatusScreen/index.ts b/packages/dashboard/src/client/components/StatusScreen/index.ts similarity index 100% rename from packages/dashboard/src/components/StatusScreen/index.ts rename to packages/dashboard/src/client/components/StatusScreen/index.ts diff --git a/packages/dashboard/src/components/hoc/AuthProvider/AuthProvider.test.tsx b/packages/dashboard/src/client/components/hoc/AuthProvider/AuthProvider.test.tsx similarity index 94% rename from packages/dashboard/src/components/hoc/AuthProvider/AuthProvider.test.tsx rename to packages/dashboard/src/client/components/hoc/AuthProvider/AuthProvider.test.tsx index 4aae2170..e94122a6 100644 --- a/packages/dashboard/src/components/hoc/AuthProvider/AuthProvider.test.tsx +++ b/packages/dashboard/src/client/components/hoc/AuthProvider/AuthProvider.test.tsx @@ -1,6 +1,6 @@ import { graphql } from 'msw'; import React from 'react'; -import { render, screen, waitFor } from '../../../../tests/test-utils'; +import { render, screen, waitFor } from '../../../../../tests/test-utils'; import { server } from '../../../mocks/server'; import { AuthProvider } from './AuthProvider'; diff --git a/packages/dashboard/src/components/hoc/AuthProvider/AuthProvider.tsx b/packages/dashboard/src/client/components/hoc/AuthProvider/AuthProvider.tsx similarity index 100% rename from packages/dashboard/src/components/hoc/AuthProvider/AuthProvider.tsx rename to packages/dashboard/src/client/components/hoc/AuthProvider/AuthProvider.tsx diff --git a/packages/dashboard/src/components/hoc/AuthProvider/index.ts b/packages/dashboard/src/client/components/hoc/AuthProvider/index.ts similarity index 100% rename from packages/dashboard/src/components/hoc/AuthProvider/index.ts rename to packages/dashboard/src/client/components/hoc/AuthProvider/index.ts diff --git a/packages/dashboard/src/components/hoc/StatusProvider/StatusProvider.test.tsx b/packages/dashboard/src/client/components/hoc/StatusProvider/StatusProvider.test.tsx similarity index 96% rename from packages/dashboard/src/components/hoc/StatusProvider/StatusProvider.test.tsx rename to packages/dashboard/src/client/components/hoc/StatusProvider/StatusProvider.test.tsx index 265c61fa..995726d3 100644 --- a/packages/dashboard/src/components/hoc/StatusProvider/StatusProvider.test.tsx +++ b/packages/dashboard/src/client/components/hoc/StatusProvider/StatusProvider.test.tsx @@ -1,6 +1,6 @@ import { rest } from 'msw'; import React from 'react'; -import { render, screen, waitFor } from '../../../../tests/test-utils'; +import { render, screen, waitFor } from '../../../../../tests/test-utils'; import { server } from '../../../mocks/server'; import { StatusProvider } from './StatusProvider'; diff --git a/packages/dashboard/src/components/hoc/StatusProvider/StatusProvider.tsx b/packages/dashboard/src/client/components/hoc/StatusProvider/StatusProvider.tsx similarity index 100% rename from packages/dashboard/src/components/hoc/StatusProvider/StatusProvider.tsx rename to packages/dashboard/src/client/components/hoc/StatusProvider/StatusProvider.tsx diff --git a/packages/dashboard/src/components/hoc/StatusProvider/index.ts b/packages/dashboard/src/client/components/hoc/StatusProvider/index.ts similarity index 100% rename from packages/dashboard/src/components/hoc/StatusProvider/index.ts rename to packages/dashboard/src/client/components/hoc/StatusProvider/index.ts diff --git a/packages/dashboard/src/components/hoc/ToastProvider/ToastProvider.test.tsx b/packages/dashboard/src/client/components/hoc/ToastProvider/ToastProvider.test.tsx similarity index 98% rename from packages/dashboard/src/components/hoc/ToastProvider/ToastProvider.test.tsx rename to packages/dashboard/src/client/components/hoc/ToastProvider/ToastProvider.test.tsx index 97e96855..5de4dbd0 100644 --- a/packages/dashboard/src/components/hoc/ToastProvider/ToastProvider.test.tsx +++ b/packages/dashboard/src/client/components/hoc/ToastProvider/ToastProvider.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { act, render, renderHook, screen, waitFor } from '../../../../tests/test-utils'; +import { act, render, renderHook, screen, waitFor } from '../../../../../tests/test-utils'; import { useToastStore } from '../../../state/toastStore'; import { ToastProvider } from './ToastProvider'; diff --git a/packages/dashboard/src/components/hoc/ToastProvider/ToastProvider.tsx b/packages/dashboard/src/client/components/hoc/ToastProvider/ToastProvider.tsx similarity index 100% rename from packages/dashboard/src/components/hoc/ToastProvider/ToastProvider.tsx rename to packages/dashboard/src/client/components/hoc/ToastProvider/ToastProvider.tsx diff --git a/packages/dashboard/src/components/hoc/ToastProvider/index.ts b/packages/dashboard/src/client/components/hoc/ToastProvider/index.ts similarity index 100% rename from packages/dashboard/src/components/hoc/ToastProvider/index.ts rename to packages/dashboard/src/client/components/hoc/ToastProvider/index.ts diff --git a/packages/dashboard/src/components/ui/Button/Button.test.tsx b/packages/dashboard/src/client/components/ui/Button/Button.test.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Button/Button.test.tsx rename to packages/dashboard/src/client/components/ui/Button/Button.test.tsx diff --git a/packages/dashboard/src/components/ui/Button/Button.tsx b/packages/dashboard/src/client/components/ui/Button/Button.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Button/Button.tsx rename to packages/dashboard/src/client/components/ui/Button/Button.tsx diff --git a/packages/dashboard/src/components/ui/Button/index.ts b/packages/dashboard/src/client/components/ui/Button/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/Button/index.ts rename to packages/dashboard/src/client/components/ui/Button/index.ts diff --git a/packages/dashboard/src/components/ui/DataGrid/DataGrid.test.tsx b/packages/dashboard/src/client/components/ui/DataGrid/DataGrid.test.tsx similarity index 93% rename from packages/dashboard/src/components/ui/DataGrid/DataGrid.test.tsx rename to packages/dashboard/src/client/components/ui/DataGrid/DataGrid.test.tsx index 37cfb47e..7d891b35 100644 --- a/packages/dashboard/src/components/ui/DataGrid/DataGrid.test.tsx +++ b/packages/dashboard/src/client/components/ui/DataGrid/DataGrid.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { render } from '../../../../tests/test-utils'; +import { render } from '../../../../../tests/test-utils'; import { DataGrid } from './DataGrid'; import { DataGridItem } from './DataGridItem'; diff --git a/packages/dashboard/src/components/ui/DataGrid/DataGrid.tsx b/packages/dashboard/src/client/components/ui/DataGrid/DataGrid.tsx similarity index 100% rename from packages/dashboard/src/components/ui/DataGrid/DataGrid.tsx rename to packages/dashboard/src/client/components/ui/DataGrid/DataGrid.tsx diff --git a/packages/dashboard/src/components/ui/DataGrid/DataGridItem.tsx b/packages/dashboard/src/client/components/ui/DataGrid/DataGridItem.tsx similarity index 100% rename from packages/dashboard/src/components/ui/DataGrid/DataGridItem.tsx rename to packages/dashboard/src/client/components/ui/DataGrid/DataGridItem.tsx diff --git a/packages/dashboard/src/components/ui/DataGrid/index.ts b/packages/dashboard/src/client/components/ui/DataGrid/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/DataGrid/index.ts rename to packages/dashboard/src/client/components/ui/DataGrid/index.ts diff --git a/packages/dashboard/src/components/ui/EmptyPage/EmptyPage.module.scss b/packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.module.scss similarity index 100% rename from packages/dashboard/src/components/ui/EmptyPage/EmptyPage.module.scss rename to packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.module.scss diff --git a/packages/dashboard/src/components/ui/EmptyPage/EmptyPage.test.tsx b/packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.test.tsx similarity index 93% rename from packages/dashboard/src/components/ui/EmptyPage/EmptyPage.test.tsx rename to packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.test.tsx index 346bdc56..8ea56bca 100644 --- a/packages/dashboard/src/components/ui/EmptyPage/EmptyPage.test.tsx +++ b/packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render } from '../../../../tests/test-utils'; +import { fireEvent, render } from '../../../../../tests/test-utils'; import { EmptyPage } from './EmptyPage'; describe('', () => { diff --git a/packages/dashboard/src/components/ui/EmptyPage/EmptyPage.tsx b/packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.tsx similarity index 100% rename from packages/dashboard/src/components/ui/EmptyPage/EmptyPage.tsx rename to packages/dashboard/src/client/components/ui/EmptyPage/EmptyPage.tsx diff --git a/packages/dashboard/src/components/ui/EmptyPage/index.ts b/packages/dashboard/src/client/components/ui/EmptyPage/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/EmptyPage/index.ts rename to packages/dashboard/src/client/components/ui/EmptyPage/index.ts diff --git a/packages/dashboard/src/components/ui/ErrorPage/ErrorPage.module.scss b/packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.module.scss similarity index 100% rename from packages/dashboard/src/components/ui/ErrorPage/ErrorPage.module.scss rename to packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.module.scss diff --git a/packages/dashboard/src/components/ui/ErrorPage/ErrorPage.test.tsx b/packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.test.tsx similarity index 92% rename from packages/dashboard/src/components/ui/ErrorPage/ErrorPage.test.tsx rename to packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.test.tsx index 9afba157..fdfc6d33 100644 --- a/packages/dashboard/src/components/ui/ErrorPage/ErrorPage.test.tsx +++ b/packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render, screen } from '../../../../tests/test-utils'; +import { fireEvent, render, screen } from '../../../../../tests/test-utils'; import { ErrorPage } from './ErrorPage'; describe('ErrorPage', () => { diff --git a/packages/dashboard/src/components/ui/ErrorPage/ErrorPage.tsx b/packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.tsx similarity index 100% rename from packages/dashboard/src/components/ui/ErrorPage/ErrorPage.tsx rename to packages/dashboard/src/client/components/ui/ErrorPage/ErrorPage.tsx diff --git a/packages/dashboard/src/components/ui/ErrorPage/index.ts b/packages/dashboard/src/client/components/ui/ErrorPage/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/ErrorPage/index.ts rename to packages/dashboard/src/client/components/ui/ErrorPage/index.ts diff --git a/packages/dashboard/src/components/ui/Header/Header.test.tsx b/packages/dashboard/src/client/components/ui/Header/Header.test.tsx similarity index 99% rename from packages/dashboard/src/components/ui/Header/Header.test.tsx rename to packages/dashboard/src/client/components/ui/Header/Header.test.tsx index 778c8332..065b2f08 100644 --- a/packages/dashboard/src/components/ui/Header/Header.test.tsx +++ b/packages/dashboard/src/client/components/ui/Header/Header.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render, renderHook, screen } from '../../../../tests/test-utils'; +import { fireEvent, render, renderHook, screen } from '../../../../../tests/test-utils'; import { useUIStore } from '../../../state/uiStore'; import { Header } from './Header'; diff --git a/packages/dashboard/src/components/ui/Header/Header.tsx b/packages/dashboard/src/client/components/ui/Header/Header.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Header/Header.tsx rename to packages/dashboard/src/client/components/ui/Header/Header.tsx diff --git a/packages/dashboard/src/components/ui/Header/index.ts b/packages/dashboard/src/client/components/ui/Header/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/Header/index.ts rename to packages/dashboard/src/client/components/ui/Header/index.ts diff --git a/packages/dashboard/src/components/ui/Input/Input.test.tsx b/packages/dashboard/src/client/components/ui/Input/Input.test.tsx similarity index 98% rename from packages/dashboard/src/components/ui/Input/Input.test.tsx rename to packages/dashboard/src/client/components/ui/Input/Input.test.tsx index 41674434..1d4e942a 100644 --- a/packages/dashboard/src/components/ui/Input/Input.test.tsx +++ b/packages/dashboard/src/client/components/ui/Input/Input.test.tsx @@ -1,7 +1,7 @@ import React from 'react'; import '@testing-library/jest-dom/extend-expect'; import { Input } from './Input'; -import { fireEvent, render, waitFor } from '../../../../tests/test-utils'; +import { fireEvent, render, waitFor } from '../../../../../tests/test-utils'; describe('Input', () => { it('should render without errors', () => { diff --git a/packages/dashboard/src/components/ui/Input/Input.tsx b/packages/dashboard/src/client/components/ui/Input/Input.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Input/Input.tsx rename to packages/dashboard/src/client/components/ui/Input/Input.tsx diff --git a/packages/dashboard/src/components/ui/Input/index.ts b/packages/dashboard/src/client/components/ui/Input/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/Input/index.ts rename to packages/dashboard/src/client/components/ui/Input/index.ts diff --git a/packages/dashboard/src/components/ui/Modal/Modal.module.scss b/packages/dashboard/src/client/components/ui/Modal/Modal.module.scss similarity index 100% rename from packages/dashboard/src/components/ui/Modal/Modal.module.scss rename to packages/dashboard/src/client/components/ui/Modal/Modal.module.scss diff --git a/packages/dashboard/src/components/ui/Modal/Modal.test.tsx b/packages/dashboard/src/client/components/ui/Modal/Modal.test.tsx similarity index 98% rename from packages/dashboard/src/components/ui/Modal/Modal.test.tsx rename to packages/dashboard/src/client/components/ui/Modal/Modal.test.tsx index 54bef782..b1eb82f3 100644 --- a/packages/dashboard/src/components/ui/Modal/Modal.test.tsx +++ b/packages/dashboard/src/client/components/ui/Modal/Modal.test.tsx @@ -1,6 +1,6 @@ import React from 'react'; import '@testing-library/jest-dom/extend-expect'; -import { fireEvent, render } from '../../../../tests/test-utils'; +import { fireEvent, render } from '../../../../../tests/test-utils'; import { Modal } from './Modal'; import { ModalBody } from './ModalBody'; import { ModalFooter } from './ModalFooter'; diff --git a/packages/dashboard/src/components/ui/Modal/Modal.tsx b/packages/dashboard/src/client/components/ui/Modal/Modal.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Modal/Modal.tsx rename to packages/dashboard/src/client/components/ui/Modal/Modal.tsx diff --git a/packages/dashboard/src/components/ui/Modal/ModalBody.tsx b/packages/dashboard/src/client/components/ui/Modal/ModalBody.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Modal/ModalBody.tsx rename to packages/dashboard/src/client/components/ui/Modal/ModalBody.tsx diff --git a/packages/dashboard/src/components/ui/Modal/ModalFooter.tsx b/packages/dashboard/src/client/components/ui/Modal/ModalFooter.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Modal/ModalFooter.tsx rename to packages/dashboard/src/client/components/ui/Modal/ModalFooter.tsx diff --git a/packages/dashboard/src/components/ui/Modal/ModalHeader.tsx b/packages/dashboard/src/client/components/ui/Modal/ModalHeader.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Modal/ModalHeader.tsx rename to packages/dashboard/src/client/components/ui/Modal/ModalHeader.tsx diff --git a/packages/dashboard/src/components/ui/Modal/index.ts b/packages/dashboard/src/client/components/ui/Modal/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/Modal/index.ts rename to packages/dashboard/src/client/components/ui/Modal/index.ts diff --git a/packages/dashboard/src/components/ui/NavBar/NavBar.test.tsx b/packages/dashboard/src/client/components/ui/NavBar/NavBar.test.tsx similarity index 96% rename from packages/dashboard/src/components/ui/NavBar/NavBar.test.tsx rename to packages/dashboard/src/client/components/ui/NavBar/NavBar.test.tsx index de7b0144..ee9000bf 100644 --- a/packages/dashboard/src/components/ui/NavBar/NavBar.test.tsx +++ b/packages/dashboard/src/client/components/ui/NavBar/NavBar.test.tsx @@ -1,6 +1,6 @@ import { useRouter } from 'next/router'; import React from 'react'; -import { render } from '../../../../tests/test-utils'; +import { render } from '../../../../../tests/test-utils'; import { NavBar } from './NavBar'; jest.mock('next/router', () => ({ diff --git a/packages/dashboard/src/components/ui/NavBar/NavBar.tsx b/packages/dashboard/src/client/components/ui/NavBar/NavBar.tsx similarity index 100% rename from packages/dashboard/src/components/ui/NavBar/NavBar.tsx rename to packages/dashboard/src/client/components/ui/NavBar/NavBar.tsx diff --git a/packages/dashboard/src/components/ui/NavBar/index.ts b/packages/dashboard/src/client/components/ui/NavBar/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/NavBar/index.ts rename to packages/dashboard/src/client/components/ui/NavBar/index.ts diff --git a/packages/dashboard/src/components/ui/Switch/Switch.test.tsx b/packages/dashboard/src/client/components/ui/Switch/Switch.test.tsx similarity index 96% rename from packages/dashboard/src/components/ui/Switch/Switch.test.tsx rename to packages/dashboard/src/client/components/ui/Switch/Switch.test.tsx index 492518a7..3f29d9b5 100644 --- a/packages/dashboard/src/components/ui/Switch/Switch.test.tsx +++ b/packages/dashboard/src/client/components/ui/Switch/Switch.test.tsx @@ -3,7 +3,7 @@ import React from 'react'; import '@testing-library/jest-dom/extend-expect'; import { Switch } from './Switch'; -import { fireEvent, render } from '../../../../tests/test-utils'; +import { fireEvent, render } from '../../../../../tests/test-utils'; describe('Switch', () => { it('renders the label', () => { diff --git a/packages/dashboard/src/components/ui/Switch/Switch.tsx b/packages/dashboard/src/client/components/ui/Switch/Switch.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Switch/Switch.tsx rename to packages/dashboard/src/client/components/ui/Switch/Switch.tsx diff --git a/packages/dashboard/src/components/ui/Switch/index.ts b/packages/dashboard/src/client/components/ui/Switch/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/Switch/index.ts rename to packages/dashboard/src/client/components/ui/Switch/index.ts diff --git a/packages/dashboard/src/components/ui/Toast/Toast.module.scss b/packages/dashboard/src/client/components/ui/Toast/Toast.module.scss similarity index 100% rename from packages/dashboard/src/components/ui/Toast/Toast.module.scss rename to packages/dashboard/src/client/components/ui/Toast/Toast.module.scss diff --git a/packages/dashboard/src/components/ui/Toast/Toast.test.tsx b/packages/dashboard/src/client/components/ui/Toast/Toast.test.tsx similarity index 94% rename from packages/dashboard/src/components/ui/Toast/Toast.test.tsx rename to packages/dashboard/src/client/components/ui/Toast/Toast.test.tsx index 32160821..5c52be3c 100644 --- a/packages/dashboard/src/components/ui/Toast/Toast.test.tsx +++ b/packages/dashboard/src/client/components/ui/Toast/Toast.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render } from '../../../../tests/test-utils'; +import { fireEvent, render } from '../../../../../tests/test-utils'; import { Toast } from './Toast'; describe('Toast', () => { diff --git a/packages/dashboard/src/components/ui/Toast/Toast.tsx b/packages/dashboard/src/client/components/ui/Toast/Toast.tsx similarity index 100% rename from packages/dashboard/src/components/ui/Toast/Toast.tsx rename to packages/dashboard/src/client/components/ui/Toast/Toast.tsx diff --git a/packages/dashboard/src/components/ui/Toast/index.ts b/packages/dashboard/src/client/components/ui/Toast/index.ts similarity index 100% rename from packages/dashboard/src/components/ui/Toast/index.ts rename to packages/dashboard/src/client/components/ui/Toast/index.ts diff --git a/packages/dashboard/src/core/apollo/client.ts b/packages/dashboard/src/client/core/apollo/client.ts similarity index 100% rename from packages/dashboard/src/core/apollo/client.ts rename to packages/dashboard/src/client/core/apollo/client.ts diff --git a/packages/dashboard/src/core/apollo/links/authLink.ts b/packages/dashboard/src/client/core/apollo/links/authLink.ts similarity index 100% rename from packages/dashboard/src/core/apollo/links/authLink.ts rename to packages/dashboard/src/client/core/apollo/links/authLink.ts diff --git a/packages/dashboard/src/core/apollo/links/errorLink.ts b/packages/dashboard/src/client/core/apollo/links/errorLink.ts similarity index 100% rename from packages/dashboard/src/core/apollo/links/errorLink.ts rename to packages/dashboard/src/client/core/apollo/links/errorLink.ts diff --git a/packages/dashboard/src/core/apollo/links/httpLink.ts b/packages/dashboard/src/client/core/apollo/links/httpLink.ts similarity index 100% rename from packages/dashboard/src/core/apollo/links/httpLink.ts rename to packages/dashboard/src/client/core/apollo/links/httpLink.ts diff --git a/packages/dashboard/src/core/apollo/links/index.ts b/packages/dashboard/src/client/core/apollo/links/index.ts similarity index 100% rename from packages/dashboard/src/core/apollo/links/index.ts rename to packages/dashboard/src/client/core/apollo/links/index.ts diff --git a/packages/dashboard/src/core/constants.ts b/packages/dashboard/src/client/core/constants.ts similarity index 100% rename from packages/dashboard/src/core/constants.ts rename to packages/dashboard/src/client/core/constants.ts diff --git a/packages/dashboard/src/core/helpers/url-helpers.ts b/packages/dashboard/src/client/core/helpers/url-helpers.ts similarity index 100% rename from packages/dashboard/src/core/helpers/url-helpers.ts rename to packages/dashboard/src/client/core/helpers/url-helpers.ts diff --git a/packages/dashboard/src/core/types.ts b/packages/dashboard/src/client/core/types.ts similarity index 100% rename from packages/dashboard/src/core/types.ts rename to packages/dashboard/src/client/core/types.ts diff --git a/packages/dashboard/src/generated/graphql.tsx b/packages/dashboard/src/client/generated/graphql.tsx similarity index 100% rename from packages/dashboard/src/generated/graphql.tsx rename to packages/dashboard/src/client/generated/graphql.tsx diff --git a/packages/dashboard/src/graphql/mutations/installApp.graphql b/packages/dashboard/src/client/graphql/mutations/installApp.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/installApp.graphql rename to packages/dashboard/src/client/graphql/mutations/installApp.graphql diff --git a/packages/dashboard/src/graphql/mutations/login.graphql b/packages/dashboard/src/client/graphql/mutations/login.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/login.graphql rename to packages/dashboard/src/client/graphql/mutations/login.graphql diff --git a/packages/dashboard/src/graphql/mutations/logout.graphql b/packages/dashboard/src/client/graphql/mutations/logout.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/logout.graphql rename to packages/dashboard/src/client/graphql/mutations/logout.graphql diff --git a/packages/dashboard/src/graphql/mutations/register.graphql b/packages/dashboard/src/client/graphql/mutations/register.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/register.graphql rename to packages/dashboard/src/client/graphql/mutations/register.graphql diff --git a/packages/dashboard/src/graphql/mutations/restart.graphql b/packages/dashboard/src/client/graphql/mutations/restart.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/restart.graphql rename to packages/dashboard/src/client/graphql/mutations/restart.graphql diff --git a/packages/dashboard/src/graphql/mutations/startApp.graphql b/packages/dashboard/src/client/graphql/mutations/startApp.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/startApp.graphql rename to packages/dashboard/src/client/graphql/mutations/startApp.graphql diff --git a/packages/dashboard/src/graphql/mutations/stopApp.graphql b/packages/dashboard/src/client/graphql/mutations/stopApp.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/stopApp.graphql rename to packages/dashboard/src/client/graphql/mutations/stopApp.graphql diff --git a/packages/dashboard/src/graphql/mutations/unintallApp.graphql b/packages/dashboard/src/client/graphql/mutations/unintallApp.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/unintallApp.graphql rename to packages/dashboard/src/client/graphql/mutations/unintallApp.graphql diff --git a/packages/dashboard/src/graphql/mutations/update.graphql b/packages/dashboard/src/client/graphql/mutations/update.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/update.graphql rename to packages/dashboard/src/client/graphql/mutations/update.graphql diff --git a/packages/dashboard/src/graphql/mutations/updateApp.graphql b/packages/dashboard/src/client/graphql/mutations/updateApp.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/updateApp.graphql rename to packages/dashboard/src/client/graphql/mutations/updateApp.graphql diff --git a/packages/dashboard/src/graphql/mutations/updateAppConfig.graphql b/packages/dashboard/src/client/graphql/mutations/updateAppConfig.graphql similarity index 100% rename from packages/dashboard/src/graphql/mutations/updateAppConfig.graphql rename to packages/dashboard/src/client/graphql/mutations/updateAppConfig.graphql diff --git a/packages/dashboard/src/graphql/queries/getApp.graphql b/packages/dashboard/src/client/graphql/queries/getApp.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/getApp.graphql rename to packages/dashboard/src/client/graphql/queries/getApp.graphql diff --git a/packages/dashboard/src/graphql/queries/installedApps.graphql b/packages/dashboard/src/client/graphql/queries/installedApps.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/installedApps.graphql rename to packages/dashboard/src/client/graphql/queries/installedApps.graphql diff --git a/packages/dashboard/src/graphql/queries/isConfigured.graphql b/packages/dashboard/src/client/graphql/queries/isConfigured.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/isConfigured.graphql rename to packages/dashboard/src/client/graphql/queries/isConfigured.graphql diff --git a/packages/dashboard/src/graphql/queries/listApps.graphql b/packages/dashboard/src/client/graphql/queries/listApps.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/listApps.graphql rename to packages/dashboard/src/client/graphql/queries/listApps.graphql diff --git a/packages/dashboard/src/graphql/queries/me.graphql b/packages/dashboard/src/client/graphql/queries/me.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/me.graphql rename to packages/dashboard/src/client/graphql/queries/me.graphql diff --git a/packages/dashboard/src/graphql/queries/refreshToken.graphql b/packages/dashboard/src/client/graphql/queries/refreshToken.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/refreshToken.graphql rename to packages/dashboard/src/client/graphql/queries/refreshToken.graphql diff --git a/packages/dashboard/src/graphql/queries/systemInfo.graphql b/packages/dashboard/src/client/graphql/queries/systemInfo.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/systemInfo.graphql rename to packages/dashboard/src/client/graphql/queries/systemInfo.graphql diff --git a/packages/dashboard/src/graphql/queries/version.graphql b/packages/dashboard/src/client/graphql/queries/version.graphql similarity index 100% rename from packages/dashboard/src/graphql/queries/version.graphql rename to packages/dashboard/src/client/graphql/queries/version.graphql diff --git a/packages/dashboard/src/hooks/useCachedRessources.ts b/packages/dashboard/src/client/hooks/useCachedRessources.ts similarity index 100% rename from packages/dashboard/src/hooks/useCachedRessources.ts rename to packages/dashboard/src/client/hooks/useCachedRessources.ts diff --git a/packages/dashboard/src/hooks/useDisclosure.ts b/packages/dashboard/src/client/hooks/useDisclosure.ts similarity index 100% rename from packages/dashboard/src/hooks/useDisclosure.ts rename to packages/dashboard/src/client/hooks/useDisclosure.ts diff --git a/packages/dashboard/src/mocks/browser.ts b/packages/dashboard/src/client/mocks/browser.ts similarity index 100% rename from packages/dashboard/src/mocks/browser.ts rename to packages/dashboard/src/client/mocks/browser.ts diff --git a/packages/dashboard/src/mocks/fixtures/app.fixtures.ts b/packages/dashboard/src/client/mocks/fixtures/app.fixtures.ts similarity index 100% rename from packages/dashboard/src/mocks/fixtures/app.fixtures.ts rename to packages/dashboard/src/client/mocks/fixtures/app.fixtures.ts diff --git a/packages/dashboard/src/mocks/handlers.ts b/packages/dashboard/src/client/mocks/handlers.ts similarity index 100% rename from packages/dashboard/src/mocks/handlers.ts rename to packages/dashboard/src/client/mocks/handlers.ts diff --git a/packages/dashboard/src/mocks/handlers/appHandlers.ts b/packages/dashboard/src/client/mocks/handlers/appHandlers.ts similarity index 100% rename from packages/dashboard/src/mocks/handlers/appHandlers.ts rename to packages/dashboard/src/client/mocks/handlers/appHandlers.ts diff --git a/packages/dashboard/src/mocks/index.ts b/packages/dashboard/src/client/mocks/index.ts similarity index 100% rename from packages/dashboard/src/mocks/index.ts rename to packages/dashboard/src/client/mocks/index.ts diff --git a/packages/dashboard/src/mocks/server.ts b/packages/dashboard/src/client/mocks/server.ts similarity index 100% rename from packages/dashboard/src/mocks/server.ts rename to packages/dashboard/src/client/mocks/server.ts diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTable/AppStoreTable.loading.tsx b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTable/AppStoreTable.loading.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTable/AppStoreTable.loading.tsx rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTable/AppStoreTable.loading.tsx diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTable/AppStoreTable.tsx b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTable/AppStoreTable.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTable/AppStoreTable.tsx rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTable/AppStoreTable.tsx diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTable/index.ts b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTable/index.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTable/index.ts rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTable/index.ts diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTile/AppStoreTile.loading.tsx b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/AppStoreTile.loading.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTile/AppStoreTile.loading.tsx rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/AppStoreTile.loading.tsx diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTile/AppStoreTile.module.scss b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/AppStoreTile.module.scss similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTile/AppStoreTile.module.scss rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/AppStoreTile.module.scss diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTile/AppStoreTile.tsx b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/AppStoreTile.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTile/AppStoreTile.tsx rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/AppStoreTile.tsx diff --git a/packages/dashboard/src/modules/AppStore/components/AppStoreTile/index.tsx b/packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/index.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/AppStoreTile/index.tsx rename to packages/dashboard/src/client/modules/AppStore/components/AppStoreTile/index.tsx diff --git a/packages/dashboard/src/modules/AppStore/components/CategorySelector/CategorySelector.tsx b/packages/dashboard/src/client/modules/AppStore/components/CategorySelector/CategorySelector.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/CategorySelector/CategorySelector.tsx rename to packages/dashboard/src/client/modules/AppStore/components/CategorySelector/CategorySelector.tsx diff --git a/packages/dashboard/src/modules/AppStore/components/CategorySelector/index.ts b/packages/dashboard/src/client/modules/AppStore/components/CategorySelector/index.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/components/CategorySelector/index.ts rename to packages/dashboard/src/client/modules/AppStore/components/CategorySelector/index.ts diff --git a/packages/dashboard/src/modules/AppStore/containers/AppStoreContainer/AppStoreContainer.tsx b/packages/dashboard/src/client/modules/AppStore/containers/AppStoreContainer/AppStoreContainer.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/containers/AppStoreContainer/AppStoreContainer.tsx rename to packages/dashboard/src/client/modules/AppStore/containers/AppStoreContainer/AppStoreContainer.tsx diff --git a/packages/dashboard/src/modules/AppStore/containers/AppStoreContainer/index.ts b/packages/dashboard/src/client/modules/AppStore/containers/AppStoreContainer/index.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/containers/AppStoreContainer/index.ts rename to packages/dashboard/src/client/modules/AppStore/containers/AppStoreContainer/index.ts diff --git a/packages/dashboard/src/modules/AppStore/helpers/table.helpers.ts b/packages/dashboard/src/client/modules/AppStore/helpers/table.helpers.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/helpers/table.helpers.ts rename to packages/dashboard/src/client/modules/AppStore/helpers/table.helpers.ts diff --git a/packages/dashboard/src/modules/AppStore/helpers/table.types.ts b/packages/dashboard/src/client/modules/AppStore/helpers/table.types.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/helpers/table.types.ts rename to packages/dashboard/src/client/modules/AppStore/helpers/table.types.ts diff --git a/packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.module.scss b/packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.module.scss similarity index 100% rename from packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.module.scss rename to packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.module.scss diff --git a/packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx b/packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx similarity index 95% rename from packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx rename to packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx index 8b020d84..17bb1a19 100644 --- a/packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx +++ b/packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { render, screen, waitFor } from '../../../../../tests/test-utils'; +import { render, screen, waitFor } from '../../../../../../tests/test-utils'; import appHandlers from '../../../../mocks/handlers/appHandlers'; import { server } from '../../../../mocks/server'; import { AppStorePage } from './AppStorePage'; diff --git a/packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.tsx b/packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.tsx similarity index 100% rename from packages/dashboard/src/modules/AppStore/pages/AppStorePage/AppStorePage.tsx rename to packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/AppStorePage.tsx diff --git a/packages/dashboard/src/modules/AppStore/pages/AppStorePage/index.ts b/packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/index.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/pages/AppStorePage/index.ts rename to packages/dashboard/src/client/modules/AppStore/pages/AppStorePage/index.ts diff --git a/packages/dashboard/src/modules/AppStore/state/appStoreState.ts b/packages/dashboard/src/client/modules/AppStore/state/appStoreState.ts similarity index 100% rename from packages/dashboard/src/modules/AppStore/state/appStoreState.ts rename to packages/dashboard/src/client/modules/AppStore/state/appStoreState.ts diff --git a/packages/dashboard/src/modules/Apps/components/AppActions/AppActions.test.tsx b/packages/dashboard/src/client/modules/Apps/components/AppActions/AppActions.test.tsx similarity index 99% rename from packages/dashboard/src/modules/Apps/components/AppActions/AppActions.test.tsx rename to packages/dashboard/src/client/modules/Apps/components/AppActions/AppActions.test.tsx index f848e75b..281152e4 100644 --- a/packages/dashboard/src/modules/Apps/components/AppActions/AppActions.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/components/AppActions/AppActions.test.tsx @@ -3,7 +3,7 @@ import React from 'react'; import '@testing-library/jest-dom/extend-expect'; import { AppActions } from './AppActions'; import { AppInfo, AppStatusEnum } from '../../../../generated/graphql'; -import { cleanup, fireEvent, render, screen } from '../../../../../tests/test-utils'; +import { cleanup, fireEvent, render, screen } from '../../../../../../tests/test-utils'; afterEach(cleanup); diff --git a/packages/dashboard/src/modules/Apps/components/AppActions/AppActions.tsx b/packages/dashboard/src/client/modules/Apps/components/AppActions/AppActions.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/AppActions/AppActions.tsx rename to packages/dashboard/src/client/modules/Apps/components/AppActions/AppActions.tsx diff --git a/packages/dashboard/src/modules/Apps/components/AppActions/index.ts b/packages/dashboard/src/client/modules/Apps/components/AppActions/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/components/AppActions/index.ts rename to packages/dashboard/src/client/modules/Apps/components/AppActions/index.ts diff --git a/packages/dashboard/src/modules/Apps/components/AppDetailsTabs.tsx b/packages/dashboard/src/client/modules/Apps/components/AppDetailsTabs.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/AppDetailsTabs.tsx rename to packages/dashboard/src/client/modules/Apps/components/AppDetailsTabs.tsx diff --git a/packages/dashboard/src/modules/Apps/components/InstallForm/InstallForm.test.tsx b/packages/dashboard/src/client/modules/Apps/components/InstallForm/InstallForm.test.tsx similarity index 99% rename from packages/dashboard/src/modules/Apps/components/InstallForm/InstallForm.test.tsx rename to packages/dashboard/src/client/modules/Apps/components/InstallForm/InstallForm.test.tsx index ad3dd0ac..d6185847 100644 --- a/packages/dashboard/src/modules/Apps/components/InstallForm/InstallForm.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/components/InstallForm/InstallForm.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render, screen, waitFor } from '../../../../../tests/test-utils'; +import { fireEvent, render, screen, waitFor } from '../../../../../../tests/test-utils'; import { FieldTypesEnum, FormField } from '../../../../generated/graphql'; import { InstallForm } from './InstallForm'; diff --git a/packages/dashboard/src/modules/Apps/components/InstallForm/InstallForm.tsx b/packages/dashboard/src/client/modules/Apps/components/InstallForm/InstallForm.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/InstallForm/InstallForm.tsx rename to packages/dashboard/src/client/modules/Apps/components/InstallForm/InstallForm.tsx diff --git a/packages/dashboard/src/modules/Apps/components/InstallForm/index.ts b/packages/dashboard/src/client/modules/Apps/components/InstallForm/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/components/InstallForm/index.ts rename to packages/dashboard/src/client/modules/Apps/components/InstallForm/index.ts diff --git a/packages/dashboard/src/modules/Apps/components/InstallModal/InstallModal.test.tsx b/packages/dashboard/src/client/modules/Apps/components/InstallModal/InstallModal.test.tsx similarity index 98% rename from packages/dashboard/src/modules/Apps/components/InstallModal/InstallModal.test.tsx rename to packages/dashboard/src/client/modules/Apps/components/InstallModal/InstallModal.test.tsx index 65e87cf7..e57a3c7f 100644 --- a/packages/dashboard/src/modules/Apps/components/InstallModal/InstallModal.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/components/InstallModal/InstallModal.test.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { InstallModal } from './InstallModal'; import { FieldTypesEnum } from '../../../../generated/graphql'; -import { fireEvent, render, screen, waitFor } from '../../../../../tests/test-utils'; +import { fireEvent, render, screen, waitFor } from '../../../../../../tests/test-utils'; describe('InstallModal', () => { const app = { diff --git a/packages/dashboard/src/modules/Apps/components/InstallModal/InstallModal.tsx b/packages/dashboard/src/client/modules/Apps/components/InstallModal/InstallModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/InstallModal/InstallModal.tsx rename to packages/dashboard/src/client/modules/Apps/components/InstallModal/InstallModal.tsx diff --git a/packages/dashboard/src/modules/Apps/components/InstallModal/index.ts b/packages/dashboard/src/client/modules/Apps/components/InstallModal/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/components/InstallModal/index.ts rename to packages/dashboard/src/client/modules/Apps/components/InstallModal/index.ts diff --git a/packages/dashboard/src/modules/Apps/components/StopModal.tsx b/packages/dashboard/src/client/modules/Apps/components/StopModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/StopModal.tsx rename to packages/dashboard/src/client/modules/Apps/components/StopModal.tsx diff --git a/packages/dashboard/src/modules/Apps/components/UninstallModal.tsx b/packages/dashboard/src/client/modules/Apps/components/UninstallModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/UninstallModal.tsx rename to packages/dashboard/src/client/modules/Apps/components/UninstallModal.tsx diff --git a/packages/dashboard/src/modules/Apps/components/UpdateModal/UpdateModal.test.tsx b/packages/dashboard/src/client/modules/Apps/components/UpdateModal/UpdateModal.test.tsx similarity index 95% rename from packages/dashboard/src/modules/Apps/components/UpdateModal/UpdateModal.test.tsx rename to packages/dashboard/src/client/modules/Apps/components/UpdateModal/UpdateModal.test.tsx index e679a9a7..aa9723f6 100644 --- a/packages/dashboard/src/modules/Apps/components/UpdateModal/UpdateModal.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/components/UpdateModal/UpdateModal.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render, screen } from '../../../../../tests/test-utils'; +import { fireEvent, render, screen } from '../../../../../../tests/test-utils'; import { UpdateModal } from './UpdateModal'; describe('UpdateModal', () => { diff --git a/packages/dashboard/src/modules/Apps/components/UpdateModal/UpdateModal.tsx b/packages/dashboard/src/client/modules/Apps/components/UpdateModal/UpdateModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/UpdateModal/UpdateModal.tsx rename to packages/dashboard/src/client/modules/Apps/components/UpdateModal/UpdateModal.tsx diff --git a/packages/dashboard/src/modules/Apps/components/UpdateModal/index.ts b/packages/dashboard/src/client/modules/Apps/components/UpdateModal/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/components/UpdateModal/index.ts rename to packages/dashboard/src/client/modules/Apps/components/UpdateModal/index.ts diff --git a/packages/dashboard/src/modules/Apps/components/UpdateSettingsModal.tsx b/packages/dashboard/src/client/modules/Apps/components/UpdateSettingsModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/components/UpdateSettingsModal.tsx rename to packages/dashboard/src/client/modules/Apps/components/UpdateSettingsModal.tsx diff --git a/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx b/packages/dashboard/src/client/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx similarity index 99% rename from packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx rename to packages/dashboard/src/client/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx index 614300ad..458435a9 100644 --- a/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.test.tsx @@ -1,6 +1,6 @@ import { graphql } from 'msw'; import React from 'react'; -import { fireEvent, render, renderHook, screen, waitFor } from '../../../../../tests/test-utils'; +import { fireEvent, render, renderHook, screen, waitFor } from '../../../../../../tests/test-utils'; import { AppStatusEnum } from '../../../../generated/graphql'; import { createAppEntity } from '../../../../mocks/fixtures/app.fixtures'; import { server } from '../../../../mocks/server'; diff --git a/packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx b/packages/dashboard/src/client/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx rename to packages/dashboard/src/client/modules/Apps/containers/AppDetailsContainer/AppDetailsContainer.tsx diff --git a/packages/dashboard/src/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx b/packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx similarity index 96% rename from packages/dashboard/src/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx rename to packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx index 363cc979..cc77b0a3 100644 --- a/packages/dashboard/src/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/AppDetailsPage.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { render, screen, waitFor } from '../../../../../tests/test-utils'; +import { render, screen, waitFor } from '../../../../../../tests/test-utils'; import appHandlers, { mockedApps, mockInstalledAppIds } from '../../../../mocks/handlers/appHandlers'; import { server } from '../../../../mocks/server'; import { AppDetailsPage } from './AppDetailsPage'; diff --git a/packages/dashboard/src/modules/Apps/pages/AppDetailsPage/AppDetailsPage.tsx b/packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/AppDetailsPage.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/pages/AppDetailsPage/AppDetailsPage.tsx rename to packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/AppDetailsPage.tsx diff --git a/packages/dashboard/src/modules/Apps/pages/AppDetailsPage/index.ts b/packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/pages/AppDetailsPage/index.ts rename to packages/dashboard/src/client/modules/Apps/pages/AppDetailsPage/index.ts diff --git a/packages/dashboard/src/modules/Apps/pages/AppsPage/AppsPage.test.tsx b/packages/dashboard/src/client/modules/Apps/pages/AppsPage/AppsPage.test.tsx similarity index 99% rename from packages/dashboard/src/modules/Apps/pages/AppsPage/AppsPage.test.tsx rename to packages/dashboard/src/client/modules/Apps/pages/AppsPage/AppsPage.test.tsx index 0920f4b4..7d2f84ec 100644 --- a/packages/dashboard/src/modules/Apps/pages/AppsPage/AppsPage.test.tsx +++ b/packages/dashboard/src/client/modules/Apps/pages/AppsPage/AppsPage.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { fireEvent, render, screen, waitFor } from '../../../../../tests/test-utils'; +import { fireEvent, render, screen, waitFor } from '../../../../../../tests/test-utils'; import appHandlers, { mockInstalledAppIds } from '../../../../mocks/handlers/appHandlers'; import { server } from '../../../../mocks/server'; import { AppsPage } from './AppsPage'; diff --git a/packages/dashboard/src/modules/Apps/pages/AppsPage/AppsPage.tsx b/packages/dashboard/src/client/modules/Apps/pages/AppsPage/AppsPage.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/pages/AppsPage/AppsPage.tsx rename to packages/dashboard/src/client/modules/Apps/pages/AppsPage/AppsPage.tsx diff --git a/packages/dashboard/src/modules/Apps/pages/AppsPage/index.ts b/packages/dashboard/src/client/modules/Apps/pages/AppsPage/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/pages/AppsPage/index.ts rename to packages/dashboard/src/client/modules/Apps/pages/AppsPage/index.ts diff --git a/packages/dashboard/src/modules/Apps/utils/validators/index.ts b/packages/dashboard/src/client/modules/Apps/utils/validators/index.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/utils/validators/index.ts rename to packages/dashboard/src/client/modules/Apps/utils/validators/index.ts diff --git a/packages/dashboard/src/modules/Apps/utils/validators/validators.test.tsx b/packages/dashboard/src/client/modules/Apps/utils/validators/validators.test.tsx similarity index 100% rename from packages/dashboard/src/modules/Apps/utils/validators/validators.test.tsx rename to packages/dashboard/src/client/modules/Apps/utils/validators/validators.test.tsx diff --git a/packages/dashboard/src/modules/Apps/utils/validators/validators.ts b/packages/dashboard/src/client/modules/Apps/utils/validators/validators.ts similarity index 100% rename from packages/dashboard/src/modules/Apps/utils/validators/validators.ts rename to packages/dashboard/src/client/modules/Apps/utils/validators/validators.ts diff --git a/packages/dashboard/src/modules/Auth/components/AuthFormLayout/AuthFormLayout.tsx b/packages/dashboard/src/client/modules/Auth/components/AuthFormLayout/AuthFormLayout.tsx similarity index 100% rename from packages/dashboard/src/modules/Auth/components/AuthFormLayout/AuthFormLayout.tsx rename to packages/dashboard/src/client/modules/Auth/components/AuthFormLayout/AuthFormLayout.tsx diff --git a/packages/dashboard/src/modules/Auth/components/AuthFormLayout/index.ts b/packages/dashboard/src/client/modules/Auth/components/AuthFormLayout/index.ts similarity index 100% rename from packages/dashboard/src/modules/Auth/components/AuthFormLayout/index.ts rename to packages/dashboard/src/client/modules/Auth/components/AuthFormLayout/index.ts diff --git a/packages/dashboard/src/modules/Auth/components/LoginForm/LoginForm.tsx b/packages/dashboard/src/client/modules/Auth/components/LoginForm/LoginForm.tsx similarity index 100% rename from packages/dashboard/src/modules/Auth/components/LoginForm/LoginForm.tsx rename to packages/dashboard/src/client/modules/Auth/components/LoginForm/LoginForm.tsx diff --git a/packages/dashboard/src/modules/Auth/components/LoginForm/index.ts b/packages/dashboard/src/client/modules/Auth/components/LoginForm/index.ts similarity index 100% rename from packages/dashboard/src/modules/Auth/components/LoginForm/index.ts rename to packages/dashboard/src/client/modules/Auth/components/LoginForm/index.ts diff --git a/packages/dashboard/src/modules/Auth/components/RegisterForm/RegisterForm.tsx b/packages/dashboard/src/client/modules/Auth/components/RegisterForm/RegisterForm.tsx similarity index 100% rename from packages/dashboard/src/modules/Auth/components/RegisterForm/RegisterForm.tsx rename to packages/dashboard/src/client/modules/Auth/components/RegisterForm/RegisterForm.tsx diff --git a/packages/dashboard/src/modules/Auth/components/RegisterForm/index.ts b/packages/dashboard/src/client/modules/Auth/components/RegisterForm/index.ts similarity index 100% rename from packages/dashboard/src/modules/Auth/components/RegisterForm/index.ts rename to packages/dashboard/src/client/modules/Auth/components/RegisterForm/index.ts diff --git a/packages/dashboard/src/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx b/packages/dashboard/src/client/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx similarity index 98% rename from packages/dashboard/src/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx rename to packages/dashboard/src/client/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx index b5e7ce0a..24c27970 100644 --- a/packages/dashboard/src/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx +++ b/packages/dashboard/src/client/modules/Auth/containers/LoginContainer/LoginContainer.test.tsx @@ -1,7 +1,7 @@ import { faker } from '@faker-js/faker'; import { graphql } from 'msw'; import React from 'react'; -import { fireEvent, render, renderHook, screen, waitFor } from '../../../../../tests/test-utils'; +import { fireEvent, render, renderHook, screen, waitFor } from '../../../../../../tests/test-utils'; import { useMeQuery } from '../../../../generated/graphql'; import { server } from '../../../../mocks/server'; import { useToastStore } from '../../../../state/toastStore'; diff --git a/packages/dashboard/src/modules/Auth/containers/LoginContainer/LoginContainer.tsx b/packages/dashboard/src/client/modules/Auth/containers/LoginContainer/LoginContainer.tsx similarity index 100% rename from packages/dashboard/src/modules/Auth/containers/LoginContainer/LoginContainer.tsx rename to packages/dashboard/src/client/modules/Auth/containers/LoginContainer/LoginContainer.tsx diff --git a/packages/dashboard/src/modules/Auth/containers/LoginContainer/index.ts b/packages/dashboard/src/client/modules/Auth/containers/LoginContainer/index.ts similarity index 100% rename from packages/dashboard/src/modules/Auth/containers/LoginContainer/index.ts rename to packages/dashboard/src/client/modules/Auth/containers/LoginContainer/index.ts diff --git a/packages/dashboard/src/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx b/packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx similarity index 98% rename from packages/dashboard/src/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx rename to packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx index 63b20a86..64e51e6b 100644 --- a/packages/dashboard/src/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx +++ b/packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/RegisterContainer.test.tsx @@ -1,7 +1,7 @@ import { faker } from '@faker-js/faker'; import { graphql } from 'msw'; import React from 'react'; -import { fireEvent, render, renderHook, screen, waitFor } from '../../../../../tests/test-utils'; +import { fireEvent, render, renderHook, screen, waitFor } from '../../../../../../tests/test-utils'; import { useMeQuery } from '../../../../generated/graphql'; import { server } from '../../../../mocks/server'; import { useToastStore } from '../../../../state/toastStore'; diff --git a/packages/dashboard/src/modules/Auth/containers/RegisterContainer/RegisterContainer.tsx b/packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/RegisterContainer.tsx similarity index 100% rename from packages/dashboard/src/modules/Auth/containers/RegisterContainer/RegisterContainer.tsx rename to packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/RegisterContainer.tsx diff --git a/packages/dashboard/src/modules/Auth/containers/RegisterContainer/index.ts b/packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/index.ts similarity index 100% rename from packages/dashboard/src/modules/Auth/containers/RegisterContainer/index.ts rename to packages/dashboard/src/client/modules/Auth/containers/RegisterContainer/index.ts diff --git a/packages/dashboard/src/modules/Dashboard/components/SystemStat.tsx b/packages/dashboard/src/client/modules/Dashboard/components/SystemStat.tsx similarity index 100% rename from packages/dashboard/src/modules/Dashboard/components/SystemStat.tsx rename to packages/dashboard/src/client/modules/Dashboard/components/SystemStat.tsx diff --git a/packages/dashboard/src/modules/Dashboard/containers/Dashboard.test.tsx b/packages/dashboard/src/client/modules/Dashboard/containers/Dashboard.test.tsx similarity index 92% rename from packages/dashboard/src/modules/Dashboard/containers/Dashboard.test.tsx rename to packages/dashboard/src/client/modules/Dashboard/containers/Dashboard.test.tsx index fe90693b..2a088a0c 100644 --- a/packages/dashboard/src/modules/Dashboard/containers/Dashboard.test.tsx +++ b/packages/dashboard/src/client/modules/Dashboard/containers/Dashboard.test.tsx @@ -1,6 +1,6 @@ import { faker } from '@faker-js/faker'; import React from 'react'; -import { render } from '../../../../tests/test-utils'; +import { render } from '../../../../../tests/test-utils'; import { SystemInfoResponse } from '../../../generated/graphql'; import Dashboard from './Dashboard'; diff --git a/packages/dashboard/src/modules/Dashboard/containers/Dashboard.tsx b/packages/dashboard/src/client/modules/Dashboard/containers/Dashboard.tsx similarity index 100% rename from packages/dashboard/src/modules/Dashboard/containers/Dashboard.tsx rename to packages/dashboard/src/client/modules/Dashboard/containers/Dashboard.tsx diff --git a/packages/dashboard/src/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx b/packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx similarity index 80% rename from packages/dashboard/src/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx rename to packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx index f27f6463..a209288d 100644 --- a/packages/dashboard/src/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx +++ b/packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/DashboardPage.test.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { render, screen } from '../../../../../tests/test-utils'; +import { render, screen } from '../../../../../../tests/test-utils'; import { DashboardPage } from './DashboardPage'; describe('Test: DashboardPage', () => { diff --git a/packages/dashboard/src/modules/Dashboard/pages/DashboardPage/DashboardPage.tsx b/packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/DashboardPage.tsx similarity index 100% rename from packages/dashboard/src/modules/Dashboard/pages/DashboardPage/DashboardPage.tsx rename to packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/DashboardPage.tsx diff --git a/packages/dashboard/src/modules/Dashboard/pages/DashboardPage/index.ts b/packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/index.ts similarity index 100% rename from packages/dashboard/src/modules/Dashboard/pages/DashboardPage/index.ts rename to packages/dashboard/src/client/modules/Dashboard/pages/DashboardPage/index.ts diff --git a/packages/dashboard/src/modules/Settings/components/RestartModal/RestartModal.tsx b/packages/dashboard/src/client/modules/Settings/components/RestartModal/RestartModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Settings/components/RestartModal/RestartModal.tsx rename to packages/dashboard/src/client/modules/Settings/components/RestartModal/RestartModal.tsx diff --git a/packages/dashboard/src/modules/Settings/components/RestartModal/index.ts b/packages/dashboard/src/client/modules/Settings/components/RestartModal/index.ts similarity index 100% rename from packages/dashboard/src/modules/Settings/components/RestartModal/index.ts rename to packages/dashboard/src/client/modules/Settings/components/RestartModal/index.ts diff --git a/packages/dashboard/src/modules/Settings/components/UpdateModal/UpdateModal.tsx b/packages/dashboard/src/client/modules/Settings/components/UpdateModal/UpdateModal.tsx similarity index 100% rename from packages/dashboard/src/modules/Settings/components/UpdateModal/UpdateModal.tsx rename to packages/dashboard/src/client/modules/Settings/components/UpdateModal/UpdateModal.tsx diff --git a/packages/dashboard/src/modules/Settings/components/UpdateModal/index.ts b/packages/dashboard/src/client/modules/Settings/components/UpdateModal/index.ts similarity index 100% rename from packages/dashboard/src/modules/Settings/components/UpdateModal/index.ts rename to packages/dashboard/src/client/modules/Settings/components/UpdateModal/index.ts diff --git a/packages/dashboard/src/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx b/packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx similarity index 99% rename from packages/dashboard/src/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx rename to packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx index 68fc1f67..4295ade1 100644 --- a/packages/dashboard/src/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx +++ b/packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/SettingsContainer.test.tsx @@ -1,7 +1,7 @@ import { faker } from '@faker-js/faker'; import { graphql } from 'msw'; import React from 'react'; -import { act, fireEvent, render, renderHook, screen, waitFor } from '../../../../../tests/test-utils'; +import { act, fireEvent, render, renderHook, screen, waitFor } from '../../../../../../tests/test-utils'; import { server } from '../../../../mocks/server'; import { useToastStore } from '../../../../state/toastStore'; import { SettingsContainer } from './SettingsContainer'; diff --git a/packages/dashboard/src/modules/Settings/containers/SettingsContainer/SettingsContainer.tsx b/packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/SettingsContainer.tsx similarity index 100% rename from packages/dashboard/src/modules/Settings/containers/SettingsContainer/SettingsContainer.tsx rename to packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/SettingsContainer.tsx diff --git a/packages/dashboard/src/modules/Settings/containers/SettingsContainer/index.ts b/packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/index.ts similarity index 100% rename from packages/dashboard/src/modules/Settings/containers/SettingsContainer/index.ts rename to packages/dashboard/src/client/modules/Settings/containers/SettingsContainer/index.ts diff --git a/packages/dashboard/src/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx b/packages/dashboard/src/client/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx similarity index 89% rename from packages/dashboard/src/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx rename to packages/dashboard/src/client/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx index 5ec6712d..d7b587af 100644 --- a/packages/dashboard/src/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx +++ b/packages/dashboard/src/client/modules/Settings/pages/SettingsPage/SettingsPage.test.tsx @@ -1,6 +1,6 @@ import { graphql } from 'msw'; import React from 'react'; -import { render, screen, waitFor } from '../../../../../tests/test-utils'; +import { render, screen, waitFor } from '../../../../../../tests/test-utils'; import { server } from '../../../../mocks/server'; import { SettingsPage } from './SettingsPage'; diff --git a/packages/dashboard/src/modules/Settings/pages/SettingsPage/SettingsPage.tsx b/packages/dashboard/src/client/modules/Settings/pages/SettingsPage/SettingsPage.tsx similarity index 100% rename from packages/dashboard/src/modules/Settings/pages/SettingsPage/SettingsPage.tsx rename to packages/dashboard/src/client/modules/Settings/pages/SettingsPage/SettingsPage.tsx diff --git a/packages/dashboard/src/modules/Settings/pages/SettingsPage/index.ts b/packages/dashboard/src/client/modules/Settings/pages/SettingsPage/index.ts similarity index 100% rename from packages/dashboard/src/modules/Settings/pages/SettingsPage/index.ts rename to packages/dashboard/src/client/modules/Settings/pages/SettingsPage/index.ts diff --git a/packages/dashboard/src/state/systemStore.ts b/packages/dashboard/src/client/state/systemStore.ts similarity index 100% rename from packages/dashboard/src/state/systemStore.ts rename to packages/dashboard/src/client/state/systemStore.ts diff --git a/packages/dashboard/src/state/toastStore.ts b/packages/dashboard/src/client/state/toastStore.ts similarity index 100% rename from packages/dashboard/src/state/toastStore.ts rename to packages/dashboard/src/client/state/toastStore.ts diff --git a/packages/dashboard/src/state/uiStore.ts b/packages/dashboard/src/client/state/uiStore.ts similarity index 100% rename from packages/dashboard/src/state/uiStore.ts rename to packages/dashboard/src/client/state/uiStore.ts diff --git a/packages/dashboard/src/styles/global.css b/packages/dashboard/src/client/styles/global.css similarity index 100% rename from packages/dashboard/src/styles/global.css rename to packages/dashboard/src/client/styles/global.css diff --git a/packages/dashboard/src/styles/global.scss b/packages/dashboard/src/client/styles/global.scss similarity index 68% rename from packages/dashboard/src/styles/global.scss rename to packages/dashboard/src/client/styles/global.scss index 9d56b96b..fa0000d6 100644 --- a/packages/dashboard/src/styles/global.scss +++ b/packages/dashboard/src/client/styles/global.scss @@ -1,5 +1,5 @@ // import tabler scss -@import '../../node_modules/@tabler/core/dist/css/tabler.min.css'; +@import '../../../node_modules/@tabler/core/dist/css/tabler.min.css'; @supports (font: -apple-system-body) and (-webkit-appearance: none) { img[loading='lazy'] { diff --git a/packages/dashboard/src/styles/reset.css b/packages/dashboard/src/client/styles/reset.css similarity index 100% rename from packages/dashboard/src/styles/reset.css rename to packages/dashboard/src/client/styles/reset.css diff --git a/packages/dashboard/src/pages/404.tsx b/packages/dashboard/src/pages/404.tsx index 714b8443..9fab8ad6 100644 --- a/packages/dashboard/src/pages/404.tsx +++ b/packages/dashboard/src/pages/404.tsx @@ -1,6 +1,6 @@ import { useRouter } from 'next/router'; import React from 'react'; -import { StatusScreen } from '../components/StatusScreen'; +import { StatusScreen } from '../client/components/StatusScreen'; const ErrorPage: React.FC = () => { const router = useRouter(); diff --git a/packages/dashboard/src/pages/_app.tsx b/packages/dashboard/src/pages/_app.tsx index 183bd2ca..b74493c9 100644 --- a/packages/dashboard/src/pages/_app.tsx +++ b/packages/dashboard/src/pages/_app.tsx @@ -2,14 +2,14 @@ import React, { useEffect } from 'react'; import type { AppProps } from 'next/app'; import { ApolloProvider } from '@apollo/client'; import Head from 'next/head'; -import useCachedResources from '../hooks/useCachedRessources'; -import '../styles/global.css'; -import '../styles/global.scss'; -import { useUIStore } from '../state/uiStore'; -import { ToastProvider } from '../components/hoc/ToastProvider'; -import { StatusProvider } from '../components/hoc/StatusProvider'; -import { AuthProvider } from '../components/hoc/AuthProvider'; -import { StatusScreen } from '../components/StatusScreen'; +import useCachedResources from '../client/hooks/useCachedRessources'; +import '../client/styles/global.css'; +import '../client/styles/global.scss'; +import { useUIStore } from '../client/state/uiStore'; +import { ToastProvider } from '../client/components/hoc/ToastProvider'; +import { StatusProvider } from '../client/components/hoc/StatusProvider'; +import { AuthProvider } from '../client/components/hoc/AuthProvider'; +import { StatusScreen } from '../client/components/StatusScreen'; function MyApp({ Component, pageProps }: AppProps) { const { setDarkMode } = useUIStore(); diff --git a/packages/dashboard/src/pages/_document.tsx b/packages/dashboard/src/pages/_document.tsx index 51433d61..74fc3fb2 100644 --- a/packages/dashboard/src/pages/_document.tsx +++ b/packages/dashboard/src/pages/_document.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { Html, Head, Main, NextScript } from 'next/document'; -import { getUrl } from '../core/helpers/url-helpers'; +import { getUrl } from '../client/core/helpers/url-helpers'; export default function MyDocument() { return ( diff --git a/packages/dashboard/src/pages/app-store/[id].tsx b/packages/dashboard/src/pages/app-store/[id].tsx index a600cb06..32d080fe 100644 --- a/packages/dashboard/src/pages/app-store/[id].tsx +++ b/packages/dashboard/src/pages/app-store/[id].tsx @@ -1 +1 @@ -export { AppDetailsPage as default } from '../../modules/Apps/pages/AppDetailsPage'; +export { AppDetailsPage as default } from '../../client/modules/Apps/pages/AppDetailsPage'; diff --git a/packages/dashboard/src/pages/app-store/index.tsx b/packages/dashboard/src/pages/app-store/index.tsx index 59a659a7..75c9c213 100644 --- a/packages/dashboard/src/pages/app-store/index.tsx +++ b/packages/dashboard/src/pages/app-store/index.tsx @@ -1 +1 @@ -export { AppStorePage as default } from '../../modules/AppStore/pages/AppStorePage'; +export { AppStorePage as default } from '../../client/modules/AppStore/pages/AppStorePage'; diff --git a/packages/dashboard/src/pages/apps/[id].tsx b/packages/dashboard/src/pages/apps/[id].tsx index a600cb06..32d080fe 100644 --- a/packages/dashboard/src/pages/apps/[id].tsx +++ b/packages/dashboard/src/pages/apps/[id].tsx @@ -1 +1 @@ -export { AppDetailsPage as default } from '../../modules/Apps/pages/AppDetailsPage'; +export { AppDetailsPage as default } from '../../client/modules/Apps/pages/AppDetailsPage'; diff --git a/packages/dashboard/src/pages/apps/index.tsx b/packages/dashboard/src/pages/apps/index.tsx index 7ed808e7..71d341f4 100644 --- a/packages/dashboard/src/pages/apps/index.tsx +++ b/packages/dashboard/src/pages/apps/index.tsx @@ -1 +1 @@ -export { AppsPage as default } from '../../modules/Apps/pages/AppsPage'; +export { AppsPage as default } from '../../client/modules/Apps/pages/AppsPage'; diff --git a/packages/dashboard/src/pages/index.tsx b/packages/dashboard/src/pages/index.tsx index 7ed6ea00..94468e56 100644 --- a/packages/dashboard/src/pages/index.tsx +++ b/packages/dashboard/src/pages/index.tsx @@ -1 +1 @@ -export { DashboardPage as default } from '../modules/Dashboard/pages/DashboardPage'; +export { DashboardPage as default } from '../client/modules/Dashboard/pages/DashboardPage'; diff --git a/packages/dashboard/src/pages/settings.tsx b/packages/dashboard/src/pages/settings.tsx index 70b578c2..17cf3013 100644 --- a/packages/dashboard/src/pages/settings.tsx +++ b/packages/dashboard/src/pages/settings.tsx @@ -1 +1 @@ -export { SettingsPage as default } from '../modules/Settings/pages/SettingsPage'; +export { SettingsPage as default } from '../client/modules/Settings/pages/SettingsPage'; diff --git a/packages/dashboard/tests/jest.setup.tsx b/packages/dashboard/tests/jest.setup.tsx index 2bbbe3aa..1b4ac27b 100644 --- a/packages/dashboard/tests/jest.setup.tsx +++ b/packages/dashboard/tests/jest.setup.tsx @@ -1,9 +1,9 @@ import React from 'react'; import '@testing-library/jest-dom/extend-expect'; import 'whatwg-fetch'; -import { server } from '../src/mocks/server'; +import { server } from '../src/client/mocks/server'; import { mockApolloClient } from './test-utils'; -import { useToastStore } from '../src/state/toastStore'; +import { useToastStore } from '../src/client/state/toastStore'; // Mock next/router // eslint-disable-next-line global-require