From 286a93474d58510e7bda5371e7e1bcd79cfc4ef5 Mon Sep 17 00:00:00 2001 From: n0ctal <4c866w5fn9@privaterelay.appleid.com> Date: Thu, 13 Aug 2026 15:45:26 +0500 Subject: [PATCH] refactor(frontend): remove unreachable barrel modules (#6205) Co-authored-by: n0ctal <293235942+n0ctal@users.noreply.github.com> --- frontend/src/components/feedback/index.ts | 2 -- frontend/src/components/ui/notifications/index.ts | 8 -------- frontend/src/pages/inbounds/clients/index.ts | 4 ---- frontend/src/pages/inbounds/form/index.ts | 1 - frontend/src/pages/inbounds/info/index.ts | 1 - frontend/src/schemas/index.ts | 2 -- frontend/src/schemas/protocols/shared/index.ts | 2 -- 7 files changed, 20 deletions(-) delete mode 100644 frontend/src/components/feedback/index.ts delete mode 100644 frontend/src/components/ui/notifications/index.ts delete mode 100644 frontend/src/pages/inbounds/clients/index.ts delete mode 100644 frontend/src/pages/inbounds/form/index.ts delete mode 100644 frontend/src/pages/inbounds/info/index.ts delete mode 100644 frontend/src/schemas/index.ts delete mode 100644 frontend/src/schemas/protocols/shared/index.ts diff --git a/frontend/src/components/feedback/index.ts b/frontend/src/components/feedback/index.ts deleted file mode 100644 index f24deac92..000000000 --- a/frontend/src/components/feedback/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as PromptModal } from './PromptModal'; -export { default as TextModal } from './TextModal'; diff --git a/frontend/src/components/ui/notifications/index.ts b/frontend/src/components/ui/notifications/index.ts deleted file mode 100644 index 290445c68..000000000 --- a/frontend/src/components/ui/notifications/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -export type { NotificationEventConfig, NotificationGroupConfig } from './types'; -export { NotificationLayout } from './NotificationLayout'; -export { NotificationCard } from './NotificationCard'; -export { NotificationHeader } from './NotificationHeader'; -export { NotificationEvent } from './NotificationEvent'; -export { NotificationGroup } from './NotificationGroup'; -export { TelegramNotifications } from './TelegramNotifications'; -export { EmailNotifications } from './EmailNotifications'; diff --git a/frontend/src/pages/inbounds/clients/index.ts b/frontend/src/pages/inbounds/clients/index.ts deleted file mode 100644 index 17f6b5103..000000000 --- a/frontend/src/pages/inbounds/clients/index.ts +++ /dev/null @@ -1,4 +0,0 @@ -export { default as AttachClientsModal } from './AttachClientsModal'; -export { default as AttachExistingClientsModal } from './AttachExistingClientsModal'; -export { default as DetachClientsModal } from './DetachClientsModal'; -export { default as AddClientsToGroupModal } from './AddClientsToGroupModal'; diff --git a/frontend/src/pages/inbounds/form/index.ts b/frontend/src/pages/inbounds/form/index.ts deleted file mode 100644 index 2cc837124..000000000 --- a/frontend/src/pages/inbounds/form/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as InboundFormModal } from './InboundFormModal'; diff --git a/frontend/src/pages/inbounds/info/index.ts b/frontend/src/pages/inbounds/info/index.ts deleted file mode 100644 index 2355abb85..000000000 --- a/frontend/src/pages/inbounds/info/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as InboundInfoModal } from './InboundInfoModal'; diff --git a/frontend/src/schemas/index.ts b/frontend/src/schemas/index.ts deleted file mode 100644 index 940f43fdd..000000000 --- a/frontend/src/schemas/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './primitives'; -export * from './protocols'; diff --git a/frontend/src/schemas/protocols/shared/index.ts b/frontend/src/schemas/protocols/shared/index.ts deleted file mode 100644 index 9ee79f3ba..000000000 --- a/frontend/src/schemas/protocols/shared/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './shadowsocks'; -export * from './vmess';