Skip to main content

generate_js_client

Function generate_js_client 

Source
pub fn generate_js_client(
    models: &HashMap<String, ModelIr>,
    schema_path: &str,
) -> (String, String)
Expand description

Generate index.js + index.d.ts — the typed Nautilus class with model delegates.

Returns (js_code, dts_code).