AshTypescript.Manifest.Verifiers.VerifyActionTypes (ash_typescript v0.18.2)

Copy Markdown View Source

Walks the persisted %Ash.Info.Manifest{} and validates that field names in every RPC entrypoint's argument types and :action return types are TypeScript-safe.

Operates entirely on pre-resolved %Ash.Info.Manifest.Type{} structs — does not call Ash.Resource.Info or Ash.Type.NewType directly. NewType unwrapping has already been performed by the manifest generator, so a NewType subtype of :map appears as kind: :map, module: NewTypeModule in the manifest.

Accepted-attribute inputs are skipped here; those are validated by the resource- level verifiers (VerifyFieldNames, VerifyMapFieldNames).