AshTypescript.Rpc.Codegen.JsonManifestGenerator (ash_typescript v0.18.2)

Copy Markdown View Source

Generates a machine-readable JSON manifest of all RPC actions.

The JSON manifest provides structured metadata about every generated RPC function, its types, pagination support, and variants. This enables third-party packages (e.g., TanStack Query integrations) to introspect the generated API surface and build typed wrappers without coupling to ash_typescript internals.

Schema version

The manifest includes a version field (currently "1.1", semver) so consumers can detect breaking changes to the manifest format.

1.1 adds a top-level resources object exposing per-relationship query capabilities (pagination/filterable/sortable) for nested relationship query options.

Summary

Functions

Generates a JSON manifest of all RPC actions for the given OTP application.

Functions

generate_json_manifest(otp_app)

Generates a JSON manifest of all RPC actions for the given OTP application.

Returns a pretty-printed JSON string.