From 8c43dc67b72e535b107c1be65f3847c7250b6cb3 Mon Sep 17 00:00:00 2001 From: Brian Cao Date: Tue, 12 Jul 2022 15:14:54 -0700 Subject: [PATCH] remove unused index --- queries/admin/index.js | 33 --------------------------------- queries/analytics/index.js | 31 ------------------------------- 2 files changed, 64 deletions(-) delete mode 100644 queries/admin/index.js delete mode 100644 queries/analytics/index.js diff --git a/queries/admin/index.js b/queries/admin/index.js deleted file mode 100644 index 37ca9991..00000000 --- a/queries/admin/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import { createAccount } from './account/createAccount'; -import { deleteAccount } from './account/deleteAccount'; -import { getAccountById } from './account/getAccountById'; -import { getAccountByUsername } from './account/getAccountByUsername'; -import { getAccounts } from './account/getAccounts'; -import { updateAccount } from './account/updateAccount'; -import { createWebsite } from './website/createWebsite'; -import { deleteWebsite } from './website/deleteWebsite'; -import { getAllWebsites } from './website/getAllWebsites'; -import { getUserWebsites } from './website/getUserWebsites'; -import { getWebsiteById } from './website/getWebsiteById'; -import { getWebsiteByShareId } from './website/getWebsiteByShareId'; -import { getWebsiteByUuid } from './website/getWebsiteByUuid'; -import { resetWebsite } from './website/resetWebsite'; -import { updateWebsite } from './website/updateWebsite'; - -export default { - createWebsite, - deleteWebsite, - getAllWebsites, - getUserWebsites, - getWebsiteById, - getWebsiteByShareId, - getWebsiteByUuid, - resetWebsite, - updateWebsite, - createAccount, - deleteAccount, - getAccountById, - getAccountByUsername, - getAccounts, - updateAccount, -}; diff --git a/queries/analytics/index.js b/queries/analytics/index.js deleted file mode 100644 index c1937935..00000000 --- a/queries/analytics/index.js +++ /dev/null @@ -1,31 +0,0 @@ -import { getEventMetrics } from './event/getEventMetrics'; -import { getEvents } from './event/getEvents'; -import { saveEvent } from './event/saveEvent'; -import { getPageviewMetrics } from './pageview/getPageviewMetrics'; -import { getPageviews } from './pageview/getPageviews'; -import { getPageviewStats } from './pageview/getPageviewStats'; -import { savePageView } from './pageview/savePageView'; -import { createSession } from './session/createSession'; -import { getSessionByUuid } from './session/getSessionByUuid'; -import { getSessionMetrics } from './session/getSessionMetrics'; -import { getSessions } from './session/getSessions'; -import { getActiveVisitors } from './stats/getActiveVisitors'; -import { getRealtimeData } from './stats/getRealtimeData'; -import { getWebsiteStats } from './stats/getWebsiteStats'; - -export default { - getEventMetrics, - getEvents, - saveEvent, - getPageviewMetrics, - getPageviews, - getPageviewStats, - savePageView, - createSession, - getSessionByUuid, - getSessionMetrics, - getSessions, - getActiveVisitors, - getRealtimeData, - getWebsiteStats, -};