You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 54456ed
Browse filesBrowse the repository at this point in the historyBrowse files
refactor: merge duplicated Rust and TypeScript types, share one disk
cache
Rust:
- One RouteFileEntry for route file entries; layout and template entries
embed it with serde(flatten). Manifest JSON is unchanged.
- ComponentRef replaces TemplateInfo and ErrorBoundaryInfo.
- The image cache stores OptimizedImage directly, so hits move the bytes
instead of cloning them.
- SetCookieArgs flattens PendingCookie instead of copying 11 fields.
- ImageCache and OgImageCache wrap one DiskBackedCache with safe SHA-256
file names and atomic writes. Production folders are scoped by project
hash and build ID, and both caches detect production through
Config::is_production().
- Rename the user cache config to CacheSettings, and nest MemoryConfig
in the runtime CacheConfig.
TypeScript:
- One MetadataFileGeneratorOptions for robots, feed and sitemap.
- RouteFileEntry for route file entries; layouts and templates extend
it.
- Single definitions of NavigationOptions, ComponentRebuildResult and
MetadataParams.
- The proxy shares CookieOptions with cookies() and now writes boolean
sameSite, priority and partitioned.
- DataFetchResult derives from ServerSidePropsResult, and
SimpleProxyResult from ProxyResult.
- Rename the client registry's ComponentInfo to ClientRegistryEntry, and
make WindowWithRari Window & GlobalWithRari.
Closes RARI-45
Closes RARI-46
Closes RARI-47
0 commit comments