AshTypescript.Rpc.Codegen.TypeGenerators.InputTypes
(ash_typescript v0.17.3)
Copy Markdown
View Source
Generates TypeScript input types for RPC actions.
Input types define the shape of data that can be passed to RPC actions, including accepted fields for creates/updates and arguments for all action types.
Summary
Functions
Generates the TypeScript input type for an RPC action.
Functions
Generates the TypeScript input type for an RPC action.
Returns an empty string if the action has no input (no arguments or accepts).
Parameters
resource- The Ash resourceaction- The Ash actionrpc_action_name- The snake_case name of the RPC action
Returns
A string containing the TypeScript input type definition, or an empty string if no input is required.