pub fn create_node_api_source(
cwd: FileSystemPath,
env: Vc<Box<dyn ProcessEnv>>,
base_segments: Vec<BaseSegment>,
route_type: RouteType,
server_root: 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.