chore(sh-admin): bump dependencies (#4433)
Co-authored-by: jamesgeorge007 <25279263+jamesgeorge007@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cf0978bce0
commit
79aefed322
15
packages/hoppscotch-sh-admin/src/components.d.ts
vendored
15
packages/hoppscotch-sh-admin/src/components.d.ts
vendored
@@ -1,11 +1,11 @@
|
||||
// generated by unplugin-vue-components
|
||||
// We suggest you to commit this file into source control
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
// Generated by unplugin-vue-components
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
import '@vue/runtime-core'
|
||||
|
||||
export {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AppHeader: typeof import('./components/app/Header.vue')['default']
|
||||
AppLogin: typeof import('./components/app/Login.vue')['default']
|
||||
@@ -18,8 +18,10 @@ declare module '@vue/runtime-core' {
|
||||
HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary']
|
||||
HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor']
|
||||
HoppSmartAutoComplete: typeof import('@hoppscotch/ui')['HoppSmartAutoComplete']
|
||||
HoppSmartCheckbox: typeof import('@hoppscotch/ui')['HoppSmartCheckbox']
|
||||
HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal']
|
||||
HoppSmartInput: typeof import('@hoppscotch/ui')['HoppSmartInput']
|
||||
HoppSmartIntersection: typeof import('@hoppscotch/ui')['HoppSmartIntersection']
|
||||
HoppSmartItem: typeof import('@hoppscotch/ui')['HoppSmartItem']
|
||||
HoppSmartLink: typeof import('@hoppscotch/ui')['HoppSmartLink']
|
||||
HoppSmartModal: typeof import('@hoppscotch/ui')['HoppSmartModal']
|
||||
@@ -30,12 +32,14 @@ declare module '@vue/runtime-core' {
|
||||
HoppSmartTab: typeof import('@hoppscotch/ui')['HoppSmartTab']
|
||||
HoppSmartTable: typeof import('@hoppscotch/ui')['HoppSmartTable']
|
||||
HoppSmartTabs: typeof import('@hoppscotch/ui')['HoppSmartTabs']
|
||||
HoppSmartToggle: typeof import('@hoppscotch/ui')['HoppSmartToggle']
|
||||
IconLucideArrowLeft: typeof import('~icons/lucide/arrow-left')['default']
|
||||
IconLucideCheck: typeof import('~icons/lucide/check')['default']
|
||||
IconLucideChevronDown: typeof import('~icons/lucide/chevron-down')['default']
|
||||
IconLucideHelpCircle: typeof import('~icons/lucide/help-circle')['default']
|
||||
IconLucideInbox: typeof import('~icons/lucide/inbox')['default']
|
||||
IconLucideSearch: typeof import('~icons/lucide/search')['default']
|
||||
IconLucideUser: typeof import('~icons/lucide/user')['default']
|
||||
SettingsAuthProvider: typeof import('./components/settings/AuthProvider.vue')['default']
|
||||
SettingsConfigurations: typeof import('./components/settings/Configurations.vue')['default']
|
||||
SettingsDataSharing: typeof import('./components/settings/DataSharing.vue')['default']
|
||||
@@ -59,5 +63,4 @@ declare module '@vue/runtime-core' {
|
||||
UsersSharedRequests: typeof import('./components/users/SharedRequests.vue')['default']
|
||||
UsersSuccessInviteModal: typeof import('./components/users/SuccessInviteModal.vue')['default']
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ const addGroupImagePath = `${
|
||||
}/images/add_group.svg`;
|
||||
|
||||
// Get Users List to extract email ids of all users
|
||||
const { data } = useQuery({ query: MetricsDocument });
|
||||
const { data } = useQuery({ query: MetricsDocument, variables: {} });
|
||||
const usersPerPage = computed(() => data.value?.infra.usersCount || 10000);
|
||||
|
||||
const { list: usersList } = usePagedQuery(
|
||||
|
||||
@@ -56,6 +56,9 @@ import { useI18n } from '../composables/i18n';
|
||||
const t = useI18n();
|
||||
|
||||
// Get Metrics Data
|
||||
const { fetching, error, data } = useQuery({ query: MetricsDocument });
|
||||
const { fetching, error, data } = useQuery({
|
||||
query: MetricsDocument,
|
||||
variables: {},
|
||||
});
|
||||
const metrics = computed(() => data?.value?.infra);
|
||||
</script>
|
||||
|
||||
@@ -138,7 +138,7 @@ const t = useI18n();
|
||||
const toast = useToast();
|
||||
|
||||
// Get Users List
|
||||
const { data } = useQuery({ query: MetricsDocument });
|
||||
const { data } = useQuery({ query: MetricsDocument, variables: {} });
|
||||
const usersPerPage = computed(() => data.value?.infra.usersCount || 10000);
|
||||
|
||||
const { list: usersList } = usePagedQuery(
|
||||
|
||||
@@ -415,7 +415,7 @@ enum PageDirection {
|
||||
}
|
||||
|
||||
const page = ref(1);
|
||||
const { data } = useQuery({ query: MetricsDocument });
|
||||
const { data } = useQuery({ query: MetricsDocument, variables: {} });
|
||||
const usersCount = computed(() => data?.value?.infra.usersCount);
|
||||
|
||||
const changePage = (direction: PageDirection) => {
|
||||
@@ -460,7 +460,10 @@ const goToUserDetails = (user: UserInfoQuery['infra']['userInfo']) =>
|
||||
router.push('/users/' + user.uid);
|
||||
|
||||
// Check if SMTP is enabled
|
||||
const { data: status } = useQuery({ query: IsSmtpEnabledDocument });
|
||||
const { data: status } = useQuery({
|
||||
query: IsSmtpEnabledDocument,
|
||||
variables: {},
|
||||
});
|
||||
const smtpEnabled = computed(() => status?.value?.isSMTPEnabled);
|
||||
const inviteSuccessModal = ref(false);
|
||||
|
||||
|
||||
@@ -137,7 +137,10 @@ const getCreatedDate = (date: string) => format(new Date(date), 'dd-MM-yyyy');
|
||||
const getCreatedTime = (date: string) => format(new Date(date), 'hh:mm a');
|
||||
|
||||
// Get Invited Users
|
||||
const { fetching, error, data } = useQuery({ query: InvitedUsersDocument });
|
||||
const { fetching, error, data } = useQuery({
|
||||
query: InvitedUsersDocument,
|
||||
variables: {},
|
||||
});
|
||||
|
||||
// Table Headings
|
||||
const headings = [
|
||||
|
||||
Reference in New Issue
Block a user