Make runtime catalog a typed cached authority

This commit is contained in:
Meta Vens 2026-07-20 00:39:09 +01:00
commit 1747a8788e
10 changed files with 86 additions and 12 deletions

View file

@ -98,6 +98,7 @@ await using (var node = await AetheriaStateNode.OpenAsync(statePath, "aetheria-s
});
await node.FlushAsync();
await node.RefreshRuntimeCatalogAsync();
var runtimeCatalog = await node.RuntimeCatalog().LatestAsync().ConfigureAwait(false);
await node.MutableDocument<EveSurfaceDocument>(AetheriaStateNode.CatalogSurfaceKey)
.ReplaceAsync(AetheriaEveSurfaceDocuments.BuildCatalogSurface(runtimeCatalog, now));