AI Implementation feature(917): Category Icons (#65)
This commit was merged in pull request #65.
This commit is contained in:
@@ -3,7 +3,7 @@ type: architecture
|
||||
title: Backend Module Map
|
||||
description: NestJS modules, controllers, services, and how they are wired together.
|
||||
tags: [architecture, backend, nestjs, modules]
|
||||
timestamp: 2026-07-23T15:46:55Z
|
||||
timestamp: 2026-07-23T16:10:00Z
|
||||
---
|
||||
|
||||
# Module Map
|
||||
@@ -86,6 +86,11 @@ also registers two global providers:
|
||||
→ `DatabaseInitService.init()` → `FilesystemTransactionService.recoverTransactions()`
|
||||
(resolves interrupted restore manifests before TypeORM opens the live SQLite file;
|
||||
ambiguous generations abort startup) → stale unowned swap-artifact sweep → migrations + WAL
|
||||
→ `verifySeed()` (best-effort)
|
||||
→ `ensureSystemCategoryIcons()` (best-effort — writes
|
||||
`CRY/HW/MSC/PWN/REV/WEB.png` into `<UPLOAD_DIR>/icons/` if missing so
|
||||
freshly bootstrapped instances never serve 404 icons; see
|
||||
[System Category Icon Seed](/architecture/system-category-icons.md))
|
||||
→ `app.use(...)` middlewares (helmet, parsers, CSRF, static)
|
||||
→ `SwaggerModule.setup(...)` (OpenAPI 3.1)
|
||||
→ `SpaFallbackMiddleware` → `app.listen()`.
|
||||
@@ -94,6 +99,7 @@ ambiguous generations abort startup) → stale unowned swap-artifact sweep → m
|
||||
|
||||
- [System Overview](/architecture/overview.md)
|
||||
- [Key Files Index](/architecture/key-files.md)
|
||||
- [System Category Icon Seed](/architecture/system-category-icons.md)
|
||||
- [REST API Overview](/api/rest-overview.md)
|
||||
- [Blog API](/api/blog.md)
|
||||
- [Admin System API](/api/admin-system.md)
|
||||
|
||||
Reference in New Issue
Block a user