Skip to content
SkilVault
Sign inGet started

typed-inertia-props

Backend & APIs
Signed by SkilVault

Builds TypeScript-typed Inertia.js page props for Ruby on Rails by pairing Alba serializer classes with Typelizer type generation and the alba-inertia prop adapters. Covers authorization-scoped allowlisted resources, a shared base class, per-action page bundles, shared props with an allowlisted auth payload, convention-based controller rendering, migration of untyped as_json prop hashes inside Inertia actions to typed resources, and every Inertia prop option including grouped defer, once with expiry, keyed merge, scroll and always. Use when serializing ActiveRecord models for Inertia responses, creating or refactoring Alba resources, generating TypeScript from Ruby serializers, wiring shared props, migrating as_json to typed Inertia resources, or tuning deferred, merged or cached prop behavior. Not for plain JSON endpoints without Inertia, as_json refactors outside Inertia responses, frontend-only TypeScript work, or swapping in other serializer libraries.

Version
v1.0.0
Size
20 KB
Updated
2026-10-10
$ skilvault read --manual typed-inertia-props

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.