Skip to main content

emit_business_calendar_render_page

Function emit_business_calendar_render_page 

Source
pub fn emit_business_calendar_render_page(
    root: &Value,
    business_slug: &str,
    app_root: &Path,
    selected_year: Option<&str>,
    selected_month: Option<&str>,
    selected_date: Option<&str>,
) -> Option<String>
Expand description

Emits the rendered business-calendar page contract.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::emit_business_calendar_render_page can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::emit_business_calendar_render_page.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_business_calendar_render_page(std::path::Path::new("."), "demo", std::path::Path::new("apps/dev_docs"), todo!(), todo!(), todo!());