pub fn generate_client_file(
manifest: &Manifest,
types_import_path: &str,
preserve_docs: bool,
) -> StringExpand description
Generates the complete rpc-client.ts file content from a manifest.
The output includes:
- Auto-generation header
- Re-export of
Procedurestype from the types file RpcErrorclass for structured error handling- Internal
rpcFetchhelper createRpcClientfactory function with fully typedquery/mutatemethods