Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

remove unused index

Brian Cao8c43dc67b72e
diff --git a/queries/admin/index.js b/queries/admin/index.js
deleted file mode 100644
index 37ca99914..000000000
--- 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 c1937935c..000000000
--- 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,
-};