mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Services: delete dead RelationshipService; rename persistence to snippet-persistence
This commit is contained in:
@@ -451,7 +451,7 @@ export async function saveSnippet(s: Snippet): Promise<void> {
|
||||
fire-and-forget `void saveSnippet(n)` re-buries the very error the adapter took care to
|
||||
throw. Persistence write-backs are wired as store subscribers, so the surfacing path is:
|
||||
|
||||
`orchestration/persistence.ts` (write-through `.catch`) / `orchestration/startup.ts` (load
|
||||
`orchestration/snippet-persistence.ts` (write-through `.catch`) / `orchestration/startup.ts` (load
|
||||
`.catch`, then run in memory) → `services/storage-errors.ts` (pure error→message mapper) →
|
||||
`notify()` (`stores/NotificationStore`) → `Toaster`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user