From 6d1e8c4eeb5e819f0ecd3c14b7cd540e39d96521 Mon Sep 17 00:00:00 2001
From: Joel Jacob Stephen <70131076+JoelJacobStephen@users.noreply.github.com>
Date: Fri, 23 Feb 2024 12:30:43 +0530
Subject: [PATCH] feat: new data sharing component that replaces the data
component
---
.../hoppscotch-sh-admin/src/components.d.ts | 7 +------
.../setup/DataSharing.vue} | 17 +++++++----------
2 files changed, 8 insertions(+), 16 deletions(-)
rename packages/hoppscotch-sh-admin/src/{pages/data.vue => components/setup/DataSharing.vue} (95%)
diff --git a/packages/hoppscotch-sh-admin/src/components.d.ts b/packages/hoppscotch-sh-admin/src/components.d.ts
index c578f0f47..6c3f313a1 100644
--- a/packages/hoppscotch-sh-admin/src/components.d.ts
+++ b/packages/hoppscotch-sh-admin/src/components.d.ts
@@ -17,19 +17,13 @@ declare module '@vue/runtime-core' {
HoppButtonPrimary: typeof import('@hoppscotch/ui')['HoppButtonPrimary']
HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary']
HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor']
- HoppSmartAutoComplete: typeof import('@hoppscotch/ui')['HoppSmartAutoComplete']
HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal']
HoppSmartInput: typeof import('@hoppscotch/ui')['HoppSmartInput']
HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem']
HoppSmartLink: typeof import('@hoppscotch/ui')['HoppSmartLink']
- HoppSmartModal: typeof import('@hoppscotch/ui')['HoppSmartModal']
HoppSmartPicture: typeof import('@hoppscotch/ui')['HoppSmartPicture']
HoppSmartSpinner: typeof import('@hoppscotch/ui')['HoppSmartSpinner']
- HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab']
- HoppSmartTable: typeof import('@hoppscotch/ui')['HoppSmartTable']
- HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs']
HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle']
- IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default']
IconLucideInbox: typeof import('~icons/lucide/inbox')['default']
SettingsAuthProvider: typeof import('./components/settings/AuthProvider.vue')['default']
SettingsConfigurations: typeof import('./components/settings/Configurations.vue')['default']
@@ -37,6 +31,7 @@ declare module '@vue/runtime-core' {
SettingsReset: typeof import('./components/settings/Reset.vue')['default']
SettingsServerRestart: typeof import('./components/settings/ServerRestart.vue')['default']
SettingsSmtpConfiguration: typeof import('./components/settings/SmtpConfiguration.vue')['default']
+ SetupDataSharing: typeof import('./components/setup/DataSharing.vue')['default']
TeamsAdd: typeof import('./components/teams/Add.vue')['default']
TeamsDetails: typeof import('./components/teams/Details.vue')['default']
TeamsInvite: typeof import('./components/teams/Invite.vue')['default']
diff --git a/packages/hoppscotch-sh-admin/src/pages/data.vue b/packages/hoppscotch-sh-admin/src/components/setup/DataSharing.vue
similarity index 95%
rename from packages/hoppscotch-sh-admin/src/pages/data.vue
rename to packages/hoppscotch-sh-admin/src/components/setup/DataSharing.vue
index fe2ef9f68..5f0449824 100644
--- a/packages/hoppscotch-sh-admin/src/pages/data.vue
+++ b/packages/hoppscotch-sh-admin/src/components/setup/DataSharing.vue
@@ -70,7 +70,6 @@
-
-
-meta:
- layout: empty
-