AshTypescript.Rpc.Codegen.FunctionNames (ash_typescript v0.18.0)

Copy Markdown View Source

Single source of truth for the generated function and type names derived from an RPC action name.

Every module that emits or advertises these names (the function renderers, the export collector, and both manifest generators) must derive them here — independent string interpolation of the same name is exactly the drift shape that has produced advertised-but-nonexistent exports before.

Summary

Functions

Client-facing name of the channel execution function (e.g. listTodosChannel).

Client-facing name of the HTTP execution function (e.g. listTodos).

Name of the generated input type (e.g. ListTodosInput).

Client-facing name of the HTTP validation function (e.g. validateListTodos).

Client-facing name of the channel validation function (e.g. validateListTodosChannel).

Functions

channel(rpc_action_name)

Client-facing name of the channel execution function (e.g. listTodosChannel).

execution(rpc_action_name)

Client-facing name of the HTTP execution function (e.g. listTodos).

input_type(rpc_action_name)

Name of the generated input type (e.g. ListTodosInput).

validation(rpc_action_name)

Client-facing name of the HTTP validation function (e.g. validateListTodos).

validation_channel(rpc_action_name)

Client-facing name of the channel validation function (e.g. validateListTodosChannel).