pub fn create_node_api_source(
cwd: Vc<FileSystemPath>,
env: Vc<Box<dyn ProcessEnv>>,
base_segments: Vec<BaseSegment>,
route_type: RouteType,
server_root: Vc<FileSystemPath>,
route_match: Vc<Box<dyn RouteMatcher>>,
pathname: Vc<RcStr>,
entry: Vc<Box<dyn NodeEntry>>,
render_data: Vc<Value>,
debug: bool,
) -> Vc<Box<dyn ContentSource>>
Expand description
Creates a NodeApiContentSource.