├── .DS_Store ├── .env ├── .env.example ├── .gitea │ ├── workflows │ │ ├── deploy-frontend.yml ├── .gitignore ├── README.md ├── eslint.config.js ├── index.html ├── package-lock.json ├── package.json ├── public │ ├── favicon.svg │ ├── icons.svg ├── src │ ├── App.css │ ├── App.tsx │ ├── api │ │ ├── adminLogs.ts │ │ ├── admins.ts │ │ ├── approvalTasks.ts │ │ ├── approvals.ts │ │ ├── auth.ts │ │ ├── categories.ts │ │ ├── client.ts │ │ ├── dashboard.ts │ │ ├── departments.ts │ │ ├── flowNodes.ts │ │ ├── hierarchies.ts │ │ ├── monthlyOrders.ts │ │ ├── notifications.ts │ │ ├── permissions.ts │ │ ├── roles.ts │ │ ├── telegramManagers.ts │ │ ├── time.ts │ │ ├── topicExecutors.ts │ │ ├── topics.ts │ │ ├── userRoles.ts │ │ ├── users.ts │ │ ├── whatsappManagers.ts │ ├── assets │ │ ├── hero.png │ │ ├── react.svg │ │ ├── vite.svg │ ├── components │ │ ├── CopyRolesModal.tsx │ │ ├── DiagnosticErrorBoundary.tsx │ │ ├── Layout │ │ │ ├── Header.tsx │ │ │ ├── MainLayout.tsx │ │ │ ├── Sidebar.tsx │ │ ├── TopicGapsModal.tsx │ │ ├── UserEditModal.tsx │ ├── features │ │ ├── adminLogs │ │ │ ├── hooks │ │ │ │ ├── useAdminLogs.ts │ │ ├── admins │ │ │ ├── hooks │ │ │ │ ├── useAdmins.ts │ │ ├── approvalTasks │ │ │ ├── const.ts │ │ │ ├── hooks │ │ │ │ ├── useApprovalTasks.ts │ │ ├── approvals │ │ │ ├── hooks │ │ │ │ ├── useApprovals.ts │ │ ├── categories │ │ │ ├── hooks │ │ │ │ ├── useCategories.ts │ │ ├── departments │ │ │ ├── components │ │ │ │ ├── DepartmentEditModal.tsx │ │ │ ├── hooks │ │ │ │ ├── useDepartments.ts │ │ ├── flowNodes │ │ │ ├── hooks │ │ │ │ ├── useFlowNodes.ts │ │ │ ├── utils │ │ │ │ ├── flattenTree.ts │ │ │ │ ├── treeWalk.ts │ │ ├── hierarchies │ │ │ ├── hooks │ │ │ │ ├── useHierarchies.ts │ │ │ │ ├── useSystemOptions.ts │ │ │ ├── utils.ts │ │ ├── monthlyOrders │ │ │ ├── hooks │ │ │ │ ├── useMonthlyOrderSettings.ts │ │ ├── notifications │ │ │ ├── hooks │ │ │ │ ├── useNotifications.ts │ │ │ ├── utils │ │ │ │ ├── telegramHtml.ts │ │ ├── permissions │ │ │ ├── constants.ts │ │ │ ├── hooks │ │ │ │ ├── usePermissions.ts │ │ ├── roles │ │ │ ├── hooks │ │ │ │ ├── useAllRoles.ts │ │ │ │ ├── useRoles.ts │ │ ├── telegramManagers │ │ │ ├── useTelegramManagers.ts │ │ ├── topicExecutors │ │ │ ├── hooks │ │ │ │ ├── useTopicExecutors.ts │ │ │ ├── utils.ts │ │ ├── topics │ │ │ ├── constants.ts │ │ │ ├── hooks │ │ │ │ ├── useTopics.ts │ │ ├── users │ │ │ ├── hooks │ │ │ │ ├── useDepartments.ts │ │ │ │ ├── useRoles.ts │ │ │ │ ├── useUserRoles.ts │ │ │ │ ├── useUsers.ts │ │ ├── whatsappManagers │ │ │ ├── useWhatsappManagers.ts │ ├── hooks │ │ ├── useAuth.ts │ ├── index.css │ ├── main.tsx │ ├── pages │ │ ├── Dashboard.tsx │ │ ├── DepartmentsPage.tsx │ │ ├── Login.tsx │ │ ├── adminLogs │ │ │ ├── AdminLogsPage.tsx │ │ │ ├── components │ │ │ │ ├── AdminLogDetailModal.tsx │ │ ├── admins │ │ │ ├── AdminsPage.tsx │ │ │ ├── components │ │ │ │ ├── CreateAdminModal.tsx │ │ │ │ ├── EditAdminModal.tsx │ │ ├── approvalTasks │ │ │ ├── ApprovalTasksPage.tsx │ │ │ ├── components │ │ │ │ ├── ApprovalTaskDetailsModal.tsx │ │ ├── approvals │ │ │ ├── ApprovalsPage.tsx │ │ │ ├── components │ │ │ │ ├── ApprovalDetailsModal.tsx │ │ │ │ ├── FilePreviewModal.tsx │ │ ├── categories │ │ │ ├── CategoriesPage.tsx │ │ │ ├── components │ │ │ │ ├── CategoryDrawer.tsx │ │ ├── flowNodes │ │ │ ├── FlowTreeGuidePage.tsx │ │ │ ├── FlowTreePage.tsx │ │ │ ├── components │ │ │ │ ├── CategoryCreateModal.tsx │ │ │ │ ├── DataFlowExplainer.tsx │ │ │ │ ├── FlowNodeEditModal.tsx │ │ │ │ ├── SortableFlowTree.tsx │ │ │ │ ├── TreeHealthPanel.tsx │ │ ├── hierarchies │ │ │ ├── HierarchiesPage.tsx │ │ │ ├── components │ │ │ │ ├── ChainDuplicateDrawer.tsx │ │ │ │ ├── ChainVisualization.tsx │ │ │ │ ├── HierarchyEditDrawer.tsx │ │ │ │ ├── PersonDuplicateDrawer.tsx │ │ ├── monthlyOrders │ │ │ ├── MonthlyOrdersSettingsPage.tsx │ │ ├── notifications │ │ │ ├── NotificationsPage.tsx │ │ │ ├── components │ │ │ │ ├── NotificationDetailsModal.tsx │ │ │ │ ├── NotificationsHistoryTable.tsx │ │ │ │ ├── SendNotificationForm.tsx │ │ ├── permissions │ │ │ ├── PermissionsPage.tsx │ │ │ ├── components │ │ │ │ ├── PermissionEditModal.tsx │ │ ├── roles │ │ │ ├── RolesPage.tsx │ │ │ ├── components │ │ │ │ ├── RoleEditModal.tsx │ │ ├── settings │ │ │ ├── SettingsPage.tsx │ │ ├── telegramManagers │ │ │ ├── TelephonyPage.tsx │ │ │ ├── components │ │ │ │ ├── AddManagerModal.tsx │ │ │ │ ├── DeleteManagersModal.tsx │ │ ├── topicExecutors │ │ │ ├── TopicExecutorsPage.tsx │ │ │ ├── components │ │ │ │ ├── TopicExecutorEditModal.tsx │ │ │ │ ├── TopicExecutorsCard.tsx │ │ ├── topics │ │ │ ├── TopicsPage.tsx │ │ │ ├── components │ │ │ │ ├── TopicEditModal.tsx │ │ ├── users │ │ │ ├── UsersPage.tsx │ ├── theme.ts │ ├── types │ │ ├── api.ts │ ├── utils │ │ ├── date.ts │ ├── vite-env.d.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts File: eslint.config.js Lines: 22 -----BEGIN eslint.config.js----- import js from '@eslint/js' import globals from 'globals' import reactHooks from 'eslint-plugin-react-hooks' import reactRefresh from 'eslint-plugin-react-refresh' import tseslint from 'typescript-eslint' import { defineConfig, globalIgnores } from 'eslint/config' export default defineConfig([ globalIgnores(['dist']), { files: ['**/*.{ts,tsx}'], extends: [ js.configs.recommended, tseslint.configs.recommended, reactHooks.configs.flat.recommended, reactRefresh.configs.vite, ], languageOptions: { globals: globals.browser, }, }, ]) -----END eslint.config.js-----