AshTypescript.Manifest.Transformers.BuildManifest (ash_typescript v0.18.1)

Copy Markdown View Source

Spark transformer that builds a unified %Ash.Info.Manifest{} from all domains' RPC configurations and persists it on the DSL state.

Collects RPC configs from ALL domains via TypeDiscovery and RpcConfigCollector, generates a single spec via Ash.Info.Manifest.Generator.generate/1, and persists the result. Lookups (:resource_lookup, :action_lookup, :type_lookup) are derived afterward by AshTypescript.Manifest.Transformers.DecorateManifest, which runs next and also annotates the manifest with ash_typescript-specific data under custom.ash_typescript.

Summary

Functions

after_compile?()

Callback implementation for Spark.Dsl.Transformer.after_compile?/0.

before?(_)

Callback implementation for Spark.Dsl.Transformer.before?/1.