AI Implementation feature(886): Admin Area General Settings and Categories 1.04 (#26)
This commit was merged in pull request #26.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
---
|
||||
type: architecture
|
||||
title: Key Files Index
|
||||
description: One-line responsibility for important source files, including authenticated event streaming and validated site-logo uploads.
|
||||
description: One-line responsibility for important source files, including bootstrap payloads, runtime theme application, authenticated event streaming, and validated site-logo uploads.
|
||||
tags: [architecture, index, key-files]
|
||||
timestamp: 2026-07-22T10:32:00Z
|
||||
timestamp: 2026-07-22T13:40:00Z
|
||||
---
|
||||
|
||||
# Backend
|
||||
@@ -19,7 +19,9 @@ timestamp: 2026-07-22T10:32:00Z
|
||||
| `backend/src/common/services/event-status.service.ts` | Computes the event-window state machine. |
|
||||
| `backend/src/common/services/sse-hub.service.ts` | In-process pub/sub for server-sent event streams. |
|
||||
| `backend/src/modules/system/system.controller.ts` | Registers bootstrap, event status, settings, and SSE endpoints. |
|
||||
| `backend/src/modules/system/system.service.ts` | Builds the public bootstrap payload. |
|
||||
| `backend/src/modules/system/system.service.ts` | Builds the public bootstrap payload from admin existence, settings, the theme loader, and password-policy configuration. |
|
||||
| `backend/src/modules/admin/admin-general.controller.ts` | Registers admin general-settings and available-theme endpoints. |
|
||||
| `backend/src/modules/admin/general.service.ts` | Reads/writes global settings, filters available theme files, and publishes the `general` SSE notification after updates. |
|
||||
| `backend/src/modules/auth/auth.controller.ts` | Registers authentication and account endpoints. |
|
||||
| `backend/src/modules/auth/auth.service.ts` | Handles sessions, authentication, registration, and password changes. |
|
||||
| `backend/src/modules/uploads/uploads.controller.ts` | Registers admin-only multipart uploads, including Sharp-backed site-logo format validation. |
|
||||
@@ -30,7 +32,9 @@ timestamp: 2026-07-22T10:32:00Z
|
||||
|---|---|
|
||||
| `frontend/src/main.ts` | Bootstraps Angular and registers HTTP interceptors. |
|
||||
| `frontend/src/app/app.routes.ts` | Defines public, shell, child, and admin routes. |
|
||||
| `frontend/src/app/app.component.ts` | Loads bootstrap data and restores the session. |
|
||||
| `frontend/src/app/core/services/bootstrap.service.ts` | Caches and exposes bootstrap state, refreshes it after admin updates, and applies the resolved theme. |
|
||||
| `frontend/src/app/core/services/bootstrap.types.ts` | Defines bootstrap/theme payload types and maps theme tokens to CSS custom properties. |
|
||||
| `frontend/src/app/core/services/admin.service.ts` | Calls admin settings, theme-list, category, and upload APIs. |
|
||||
| `frontend/src/app/features/home/home.component.ts` | Authenticated shell container; starts user and event state services. |
|
||||
| `frontend/src/app/core/services/auth.service.ts` | Signal-backed access token and current-user state; owns the cross-tab invalidation `BroadcastChannel` + `storage`-event fallback. |
|
||||
| `frontend/src/app/core/services/auth-session-events.pure.ts` | Pure cross-tab message encoding/validation and namespaced constants used by the auth broadcast channel. |
|
||||
|
||||
Reference in New Issue
Block a user