Skip to main content

Module business

Module business 

Source
Expand description

Exposes the business runtime module.

§Examples

ⓘ
use pharos_native::runtime::business;

Structs§

AcceptedBusinessInvite
AppointmentCreate
A booking request contains app data, never a backend name or query syntax.
AppointmentMove
Identifies an existing appointment and optional new slot values.
AppointmentPayment
Names the external provider without making it responsible for slot allocation.
BookingSlot
Describes one availability check without positional booking arguments.
BusinessAdminServiceListLogicLocal
Public struct BusinessAdminServiceListLogicLocal used by this module.
BusinessAdminServiceLogicLocal
Public struct BusinessAdminServiceLogicLocal used by this module.
BusinessIdentityEdit
Validated inputs for a business identity mutation. Actor and slug come from the authenticated route, never from user-supplied ownership fields.
BusinessInviteAccept
BusinessInviteIssue
BusinessInvitePreview
BusinessLogicTextBufferLocal
Public struct BusinessLogicTextBufferLocal used by this module.
CalendarSelection
Loads a calendar month and its selected-business display relationships.
EmailConfig
Describes the selected SMTP relay without retaining a password value.
EmailMessage
Describes one outbound email request.
EmailResult
Captures bounded email delivery state without exposing credentials.
ParsedHttpUrlLogicLocal
Public struct ParsedHttpUrlLogicLocal used by this module.

Enums§

AppointmentChange

Constants§

MAX_INPUT_BYTES
MAX_JSON_BYTES
MAX_OUTPUT_ROWS

Functions§

absolute_public_url_for_path
Applies the bounded runtime contract for absolute_public_url_for_path.
accept_business_invite
Accepts an invite atomically with account, membership, profile, and session creation.
account_created_page_params_json
Applies the bounded runtime contract for account_created_page_params_json.
action_contract_is_declarative_executable_logic_local
Applies the bounded runtime contract for action_contract_is_declarative_executable_logic_local.
actor_manages_business
Resolves one business management decision through the logical schema.
actor_owns_appointment
Authorizes an appointment customer, business owner or active manager uniformly.
actor_tenant_roles
Lists distinct valid active roles in stable order through bounded generic reads.
append_action_report_logic_local
Applies the bounded runtime contract for append_action_report_logic_local.
append_audit_event_logic_local
Applies the bounded runtime contract for append_audit_event_logic_local.
append_business_admin_service_logic_local
Adds one service to a stable sort list after validating its identity.
append_bytes_logic_local
Appends bytes logic local.
append_enqueued_job_row_logic_local
Applies the bounded runtime contract for append_enqueued_job_row_logic_local.
append_file_to_buffer
Applies the bounded runtime contract for append_file_to_buffer.
append_google_calendar_sync_jobs_logic_local
Appends a calendar synchronization job to a mutable job list.
append_job_attempt_logic_local
Applies the bounded runtime contract for append_job_attempt_logic_local.
append_job_attempt_numbered_logic_local
Appends a numbered attempt to an execution row.
append_job_audit_logic_local
Appends an audit record to a mutable job execution.
append_job_workflow_event_logic_local
Applies the bounded runtime contract for append_job_workflow_event_logic_local.
append_mut_object_to_array_logic_local
Appends mut object to array logic local.
append_notification_delivery
Applies the bounded runtime contract for append_notification_delivery.
append_path_marker
Applies the bounded runtime contract for append_path_marker.
append_record_primitive_logic_local
Applies the bounded runtime contract for append_record_primitive_logic_local.
append_records_from_input_list_primitive_logic_local
Applies the bounded runtime contract for append_records_from_input_list_primitive_logic_local.
append_records_from_related_collection_primitive_logic_local
Applies the bounded runtime contract for append_records_from_related_collection_primitive_logic_local.
append_text_business_logic_local
Appends bounded business text without allowing capacity overflow.
append_workflow_and_effects_logic_local
Applies the bounded runtime contract for append_workflow_and_effects_logic_local.
apply_transition_projection_jobs_logic_local
Applies one queued-job transition to a mutable execution row.
appointment_maintenance_result_html
Performs appointment maintenance result HTML.
appointment_timestamp_parts
Validates an incoming appointment timestamp and returns its UTC date and minute.
appointment_view
Reads appointment rows and only their related display records. A detail read authorizes the customer or business owner before reading customer contacts.
artifact_dir_overlaps_app_root
Applies the bounded runtime contract for artifact_dir_overlaps_app_root.
availability_day_valid_booking_local
Applies the bounded runtime contract for availability_day_valid_booking_local.
booking_catalog
Assembles one business’s catalog for declared templates. Management reads require an active scoped role before including staff contacts and settings.
booking_digits_only
Returns whether a non-empty booking field contains only ASCII decimal digits.
booking_field
Returns an owned copy of a booking field without interpreting its contents.
booking_trim_field
Trims the booking-field whitespace accepted by the native booking contract.
build_app_build_report_json
Applies the bounded runtime contract for build_app_build_report_json.
build_app_index_html
Applies the bounded runtime contract for build_app_index_html.
build_artifact_local_app_manifest_json
Applies the bounded runtime contract for build_artifact_local_app_manifest_json.
build_integrations_report_json_logic_local
Builds the integration report payload from persisted integration rows.
build_jobs_inspect_report_json_logic_local
Builds an inspection report for queued job executions.
build_jobs_replay_report_json_logic_local
Builds a bounded replay report for one workflow execution.
build_jobs_run_report_json_logic_local
Builds a bounded run report for selected queued jobs.
bulk_update_primitive_logic_local
Applies the bounded runtime contract for bulk_update_primitive_logic_local.
business_calendar_view
Loads a calendar month and its selected-business display relationships. Managers can see the business schedule; customers receive only their own appointment details. The route’s declared policy remains the admission gate.
business_catalog
Adds public ratings, actor subscriptions, and redacted management settings to the shared booking catalog without duplicating catalog queries.
business_invite_preview
Reads an unclaimed invite without exporting app state.
business_logic_text_buffer_append_format
Appends a business page fragment to a text buffer.
business_logic_text_buffer_append_text
Appends a business page fragment to a text buffer.
business_logic_text_buffer_free
Releases a business page fragment buffer.
business_logic_text_buffer_reserve
Reserves space for a business page fragment buffer.
business_logic_text_buffer_take
Takes a business page fragment buffer.
business_slug_for_technician_booking_local
Applies the bounded runtime contract for business_slug_for_technician_booking_local.
business_slug_from_name_identity_local
Derives a canonical business slug from a submitted business name.
bytes_to_hex
Converts bytes to lowercase hexadecimal text.
change_appointment
Applies an appointment transition without rewriting other appointments.
change_personal_booking
Creates one personal calendar booking without reading the app projection. Updates or deletes one actor-owned booking with an atomic ownership guard.
clone_or_empty_finalize
Applies the bounded runtime contract for clone_or_empty_finalize.
collect_business_service_list_logic_local
Collects services belonging to one business from a JSON array.
compare_business_admin_service_logic_local
Compares business admin service logic local.
conf_lookup_value
Resolves one user-configured value from JSON configuration text.
connection_recv
Applies the bounded runtime contract for connection_recv.
construct_direct_route_fixture_path
Applies the bounded runtime contract for construct_direct_route_fixture_path.
construct_packaged_route_fixture_path
Applies the bounded runtime contract for construct_packaged_route_fixture_path.
contains_casefold_runtime_local
Applies the bounded runtime contract for contains_casefold_runtime_local.
copy_directory_recursive
Applies the bounded runtime contract for copy_directory_recursive.
copy_file_binary
Applies the bounded runtime contract for copy_file_binary.
count_jobs_with_status_logic_local
Counts jobs in one execution status.
count_substring_occurrences
Applies the bounded runtime contract for count_substring_occurrences.
create_appointment
Creates a confirmed appointment with adapter-owned overlap serialization. All related reads are bounded; account, session, and unrelated business state never enter the transaction view.
create_payable_appointment
Reserves an unpaid slot atomically before creating its provider session.
create_personal_booking
Creates one personal calendar booking without reading the app projection.
csrf_request_token
Applies the bounded runtime contract for csrf_request_token.
dbuf_put_tag_open_with_class
Applies the bounded runtime contract for dbuf_put_tag_open_with_class.
declarative_source_api_prefixed_path
Applies the bounded runtime contract for declarative_source_api_prefixed_path.
declarative_source_build_field_types_mut
Applies the bounded runtime contract for declarative_source_build_field_types_mut.
declarative_source_default_item_title_field
Applies the bounded runtime contract for declarative_source_default_item_title_field.
declarative_source_derived_field_constraints_mut
Applies the bounded runtime contract for declarative_source_derived_field_constraints_mut.
default_signed_in_path
Resolves the default signed-in landing path for a user row.
digits_only_business_logic_local
Returns whether a non-empty business value consists entirely of decimal digits.
digits_only_text_runtime_local
Applies the bounded runtime contract for digits_only_text_runtime_local.
dispatch_route_pattern_matches
Applies the bounded runtime contract for dispatch_route_pattern_matches.
docs_markdown_to_html_with_remap
Applies the bounded runtime contract for docs_markdown_to_html_with_remap.
docs_nav_append_entry_local
Applies the bounded runtime contract for docs_nav_append_entry_local.
docs_remove_declared_paths_local
Applies the bounded runtime contract for docs_remove_declared_paths_local.
docs_render_build_site_from_manifest
Applies the bounded runtime contract for docs_render_build_site_from_manifest.
dynamic_action_presentation
Performs dynamic action presentation.
dynamic_assign_technician_for_slot
Selects the first assigned technician available for a requested service slot.
dynamic_assign_technician_for_slot_with_duration
dynamic_booking_options_json_from_form
Converts booking-option fields from an URL-encoded or multipart form.
dynamic_booking_options_json_from_lines
Converts bounded label|duration|cost lines into booking-option JSON.
dynamic_business_admin_service_rows_json
Builds the bounded admin service-row JSON wrapper for one business.
dynamic_business_admin_technician_rows_html
Loads state and renders the business technician cards for an HTMX update.
dynamic_business_admin_technician_rows_html_from_root
Builds technician cards for an already-loaded business state root.
dynamic_business_admin_technician_rows_json
Builds the bounded admin technician-row JSON wrapper for one business.
dynamic_business_calendar_page_json
Builds the business calendar page JSON wrapper for one business slug.
dynamic_business_open_for_slot
Returns whether a business has an availability row covering a requested slot.
dynamic_business_public_page_json
Builds the business public page JSON wrapper with sorted service summaries.
dynamic_business_ui_data_key_allowed
Validates a generated-surface UI data key against the declarative contract.
dynamic_emit_business_availability_lines
Emits business availability as start|end lines, optionally filtered by day.
dynamic_emit_business_technician_ids_lines
Emits ids for technicians belonging to a business, one id per line.
dynamic_emit_service_assigned_technician_ids_lines
Emits ids assigned to a service, one id per line.
dynamic_emit_technician_appointments_lines
Emits technician appointments as date|time|duration lines, optionally filtered by date.
dynamic_emit_technician_availability_lines
Emits technician availability as start|end lines, optionally filtered by day.
dynamic_find_business_availability_for_business
Finds one business availability row within its owning business.
dynamic_find_business_by_id
Performs dynamic find business by ID.
dynamic_find_business_by_slug
Finds a business by its declared slug in an app state value.
dynamic_find_first_service_for_business
Finds the first service declared for a business in state order.
dynamic_find_google_calendar_connection_for_business
Finds the configured Google Calendar connection for one business.
dynamic_find_service_by_id
Resolves the tenant id belonging to a service’s owning business.
dynamic_find_technician_by_id
Finds a technician by positive id in the runtime state.
dynamic_find_technician_for_business
Finds a technician by id while enforcing business ownership.
dynamic_generated_admin_back_path_template
Applies the bounded runtime contract for dynamic_generated_admin_back_path_template.
dynamic_handle_accept_invite_action
Accepts one invitation and records the accepting user id.
dynamic_handle_business_booking_action
Dispatches business and technician availability mutations by action id.
dynamic_handle_business_identity_action
Dispatches business identity, subscription, rating, and invite actions.
dynamic_handle_business_management_action
Dispatches service and technician management mutations by action id.
dynamic_handle_issue_business_invite_action
Issues a business invite and records its role and target tenant.
dynamic_integrations_deliver_report_json
Appends one validated adapter delivery to an in-memory state root and returns.
dynamic_integrations_inspect_report_json
Builds the integrations inspection report from persisted state arrays.
dynamic_invite_accept_done_page_params_json
Builds the invite-accepted confirmation page parameter object.
dynamic_invite_account_type_label
Converts an invitation account type to its user-facing label.
dynamic_invite_created_page_params_json
Builds the invite-created page parameter object.
dynamic_is_business_availability_api_list_path
Recognizes the business-availability API list route.
dynamic_is_business_availability_api_schema_path
Recognizes the business-availability API schema route.
dynamic_is_business_services_api_list_path
Recognizes the business-services API list route.
dynamic_is_business_services_api_schema_path
Recognizes the business-services API schema route.
dynamic_is_business_technician_create_path
Performs dynamic is business technician create path.
dynamic_job_show_report_json
Builds a job-show report without exposing unrelated jobs or attempts.
dynamic_jobs_inspect_report_json
Builds the jobs inspection report, including bounded queue-health metrics.
dynamic_jobs_replay_report_json
Builds the jobs replay report for one persisted job execution id.
dynamic_jobs_run_report_json
Builds the jobs run report around an existing workflow execution result.
dynamic_managed_business_count_for_user
Counts businesses directly owned or actively managed by one user.
dynamic_media_resolve_path
Applies the bounded runtime contract for dynamic_media_resolve_path.
dynamic_membership_role_id_for_invite
Resolves an invitation role from an optional role hint and account type.
dynamic_next_day_ymd
Performs dynamic next day ymd.
dynamic_render_business_admin_availability_rows_html
Applies the bounded runtime contract for dynamic_render_business_admin_availability_rows_html.
dynamic_state_tenant_id_for_business_slug
Resolves a tenant id from a business slug using the generated business lookup.
dynamic_state_tenant_id_for_service
Resolves the tenant id for a service owner.
dynamic_state_tenant_id_for_technician
Resolves the tenant id belonging to a technician’s owning business.
dynamic_state_tenant_ids_for_businesses
Returns tenant ids for a bounded set of business ids, preserving input order.
dynamic_technician_available_for_slot
Returns whether one technician may own a service appointment at a requested slot.
dynamic_technician_available_for_slot_with_duration
Checks service assignment, staff hours, and overlap using the persisted appointment duration, including service options with non-default durations.
dynamic_technician_booked_for_slot
Applies the bounded runtime contract for dynamic_technician_booked_for_slot.
dynamic_technician_unbooked_for_slot
Returns whether one same-business technician is not already booked at a requested slot.
dynamic_url_decode
Decodes a URL component with strict UTF-8 validation.
dynamic_user_has_active_tenant_membership
Checks for an active tenant membership row.
dynamic_user_manages_business
Performs dynamic user manages business.
dynamic_valid_day_of_week
Validates the seven canonical weekday abbreviations used by business schedules.
dynamic_write_business_availability_api_response
Emits a business availability API response body from persisted state.
dynamic_write_business_services_api_response
Emits a business services API response body from persisted state.
effect_payload_json_dup_logic_local
Applies the bounded runtime contract for effect_payload_json_dup_logic_local.
email_body_crlf 🔒
Performs email body crlf.
email_config_value 🔒
Performs email config value.
email_curl_ready
Reports whether the native SMTP capability can be initialized.
email_enabled_from_config
Returns whether a relay configuration explicitly enables outbound email.
email_envelope_address_dup
Wraps a validated address for SMTP envelope use.
email_free_config
Clears all owned relay fields while retaining no secret material.
email_free_result
Clears one delivery result.
email_load_relay_config
Loads one relay using app-over-runtime configuration precedence.
email_parse_long_default
Parses a strict decimal integer or returns the supplied default.
email_port_matches_encryption
Validates an SMTP port against the selected encryption mode.
email_read_payload
Performs email read payload.
email_relay_name_dup_from_prefix
Applies the bounded runtime contract for email_relay_name_dup_from_prefix.
email_render_text_with_vars
Applies the bounded runtime contract for email_render_text_with_vars.
email_render_yaml_template
Applies the bounded runtime contract for email_render_yaml_template.
email_rfc822_payload
Builds a bounded RFC 822 payload for diagnostics and transport adapters.
email_rfc822_payload_dup
Applies the bounded runtime contract for email_rfc822_payload_dup.
email_send_text
Sends one text message through lettre on native targets.
email_set_error
Replaces the previous email error while retaining only owned text.
email_smtp_response_retryable
Returns whether an SMTP response code is safe to retry.
email_template_path_dup
Applies the bounded runtime contract for email_template_path_dup.
email_transport_code_retryable
Returns whether a transport status represents a transient failure.
email_yaml_parse_text
Applies the bounded runtime contract for email_yaml_parse_text.
ensure_artifact_start_script_executable
Applies the bounded runtime contract for ensure_artifact_start_script_executable.
ensure_mut_array_field_logic_local
Applies the bounded runtime contract for ensure_mut_array_field_logic_local.
extract_value_for_key
Extracts one separator-delimited key/value with URL decoding.
field_value_from_contract_logic_local
Applies the bounded runtime contract for field_value_from_contract_logic_local.
find_action_contract_logic_local
Applies the bounded runtime contract for find_action_contract_logic_local.
find_delivery_by_job_execution_id_logic_local
Finds a delivery associated with a job execution.
find_first_service_for_business_logic_local
Finds the first service row for a business in stable state order.
find_integration_delivery_by_id_logic_local
Finds one integration delivery row by numeric id.
find_mut_record_by_id_logic_local
Applies the bounded runtime contract for find_mut_record_by_id_logic_local.
find_mut_record_by_long_field_logic_local
Applies the bounded runtime contract for find_mut_record_by_long_field_logic_local.
find_service_by_id_logic_local
Finds one service by its positive numeric identifier.
find_ui_ledger_element_business_logic_local
Finds one canonical UI ledger element by identifier.
find_user_by_email_runtime_local
Applies the bounded runtime contract for find_user_by_email_runtime_local.
find_user_by_id_runtime_local
Applies the bounded runtime contract for find_user_by_id_runtime_local.
find_user_by_username_runtime_local
Applies the bounded runtime contract for find_user_by_username_runtime_local.
find_workflow_case_logic_local
Finds one workflow case by workflow and case identifiers.
find_workflow_transition_by_id_logic_local
Finds one workflow transition by numeric id.
find_workflow_transition_logic_local
Applies the bounded runtime contract for find_workflow_transition_logic_local.
formatted_clock_time_business_logic_local
Formats a validated clock value using the requested bounded format.
free_action_execution_context_logic_local
Applies the bounded runtime contract for free_action_execution_context_logic_local.
free_business_admin_service_list_logic_local
Releases a business service list using normal Rust ownership.
free_finalize_fields
Applies the bounded runtime contract for free_finalize_fields.
free_input_field_map_logic_local
Applies the bounded runtime contract for free_input_field_map_logic_local.
free_loaded_app_runtime_fields
Applies the bounded runtime contract for free_loaded_app_runtime_fields.
free_outbound_http_result_logic_local
Applies the bounded runtime contract for free_outbound_http_result_logic_local.
generated_surface_compare_items
Applies the bounded runtime contract for generated_surface_compare_items.
generated_surface_field_label
Applies the bounded runtime contract for generated_surface_field_label.
generated_surface_filter_item_matches
Applies the bounded runtime contract for generated_surface_filter_item_matches.
generated_surface_route_pattern
Applies the bounded runtime contract for generated_surface_route_pattern.
generated_surface_tenant_scope
Applies the bounded runtime contract for generated_surface_tenant_scope.
handle_assign_appointment_technician_booking_local
handle_create_appointment_booking_local
handle_create_business_availability_booking_local
Creates business availability rows, replacing existing rows for submitted days.
handle_create_business_identity_local
Creates a business, tenant, and owner membership for an active user.
handle_create_service_management_local
Creates one service row for a business.
handle_create_technician_availability_booking_local
Creates or replaces one technician availability row keyed by day and start.
handle_create_technician_management_local
Creates one technician row for a business.
handle_delete_business_availability_booking_local
Deletes one business availability row scoped to its business.
handle_delete_business_identity_local
Deletes one business and all business-scoped dependent rows.
handle_delete_service_management_local
Soft-deletes one service row by clearing its active flag.
handle_delete_technician_availability_booking_local
Deletes one technician availability row scoped to its technician.
handle_delete_technician_management_local
Soft-deletes one technician by clearing its active flag.
handle_rate_business_identity_local
Creates or updates one active-user business rating.
handle_restore_service_management_local
Restores one soft-deleted service row by setting its active flag.
handle_restore_technician_management_local
Restores one soft-deleted technician by setting its active flag.
handle_subscribe_business_identity_local
Creates one business subscription for the active user when absent.
handle_toggle_business_public_identity_local
Toggles one business public-state flag.
handle_unsubscribe_business_identity_local
Deletes one existing business subscription for the active user.
handle_update_business_availability_booking_local
Updates one business availability row and removes duplicate day rows.
handle_update_business_identity_local
Updates one business identity row by id or slug.
handle_update_service_management_local
Updates one service row for a business.
handle_update_technician_availability_booking_local
Updates one technician availability row and removes conflicting duplicates.
handle_update_technician_management_local
Updates one technician row for a business.
hex_color_or_default_business_logic_local
Returns a validated color or the caller-provided fallback.
hex_color_valid_business_logic_local
Accepts only six-digit CSS colors with a leading hash.
hex_digit_value
Returns the numeric value of one hexadecimal digit.
http_reason_phrase_logic_local
Applies the bounded runtime contract for http_reason_phrase_logic_local.
input_field_value_dup_logic_local
Performs input field value dup logic local.
integration_adapter_signature_field_dup_logic_local
Applies the bounded runtime contract for integration_adapter_signature_field_dup_logic_local.
integration_adapter_target_url_dup_logic_local
Applies the bounded runtime contract for integration_adapter_target_url_dup_logic_local.
integration_delivery_status_count_logic_local
Counts integration deliveries by status.
integrations_report_json
Performs integrations report JSON.
invite_accept_path
Applies the bounded runtime contract for invite_accept_path.
is_business_identity_action
Identifies identity actions implemented by the shared database service.
is_catalog_action
Identifies catalog actions whose persistence belongs exclusively to the generic operation store, including the HTTP transaction wrapper.
is_plausible_email_address 🔒
Returns whether plausible email address.
iso_after_seconds
Applies the bounded runtime contract for iso_after_seconds.
issue_browser_session
Applies the bounded runtime contract for issue_browser_session.
issue_business_invite
Issues an invite and delivery record in the same adapter transaction.
job_payload_json_dup_jobs_logic_local
Returns a bounded JSON job payload.
json_array_contains_long_business_logic_local
Tests whether a JSON array contains one numeric value.
json_extract_array_in_section
Applies the bounded runtime contract for json_extract_array_in_section.
json_long
Performs JSON long.
load_action_inputs_logic_local
Applies the bounded runtime contract for load_action_inputs_logic_local.
load_contract_doc_logic_local
Applies the bounded runtime contract for load_contract_doc_logic_local.
load_notification_email_message
Loads one app-owned email template and renders it into a bounded outbound message.
log_email_delivery_attempt
Applies the bounded runtime contract for log_email_delivery_attempt.
log_email_delivery_retry
Applies the bounded runtime contract for log_email_delivery_retry.
long_from_value_business_logic_local
Converts a JSON integer value and reports whether conversion succeeded.
maintain_appointments
Applies selected repairs to a bounded appointment set in one guarded transaction. No JSON state file or backend-specific query participates.
managed_business_count
Counts existing managed businesses once, without vendor-owned business policy.
managed_businesses
Lists active managed businesses in creation order using only generic queries. Membership and tenant reads are bounded and fail closed on overflow; only authorized business IDs reach the final ordered, limited query. Names never determine presentation order, including when a business is renamed.
matching_record_count_logic_local
Applies the bounded runtime contract for matching_record_count_logic_local.
matching_record_count_value_logic_local
Applies the bounded runtime contract for matching_record_count_value_logic_local.
maybe_write_business_availability_hx_booking_local
Writes the refreshed business-availability fragment for an HTMX caller.
maybe_write_public_toggle_hx_response_identity_local
Writes the refreshed public-state button fragment for an HTMX caller.
maybe_write_technician_hx_booking_local
Renders the technician fragment through the app-owned template adapter.
maybe_write_technician_hx_response_management_local
Renders the technician management fragment through the app-owned template adapter.
move_appointment
Reuses booking policy and overlap guards when moving an existing appointment.
mut_doc_to_json_logic_local
Serializes an owned document compactly for a response body.
mut_object_long_default_logic_local
Applies the bounded runtime contract for mut_object_long_default_logic_local.
mut_object_string_dup_logic_local
Applies the bounded runtime contract for mut_object_string_dup_logic_local.
mutate_business_identity
Commits a business action atomically without loading or replacing app state.
mutate_catalog
Applies existing business form rules to a bounded catalog view, then commits only changed declared rows. The view is transient and never read from or written to the app’s JSON state file.
next_section_id_logic_local
Applies the bounded runtime contract for next_section_id_logic_local.
note_bounded_scope_logic_local
Applies the bounded runtime contract for note_bounded_scope_logic_local.
note_created_record_logic_local
Applies the bounded runtime contract for note_created_record_logic_local.
note_updated_record_logic_local
Applies the bounded runtime contract for note_updated_record_logic_local.
note_webhook_delivery_outcome_logic_local
Applies the bounded runtime contract for note_webhook_delivery_outcome_logic_local.
notification_template_path 🔒
Performs notification template path.
notification_template_string 🔒
Performs notification template string.
now_iso_utc_logic_local
Applies the bounded runtime contract for now_iso_utc_logic_local.
now_plus_seconds_iso_utc_logic_local
Applies the bounded runtime contract for now_plus_seconds_iso_utc_logic_local.
outbound_http_post_logic_local
Applies the bounded runtime contract for outbound_http_post_logic_local.
parse_yaml_file
Parses YAML file.
parse_ymd_business_logic_local
Applies the bounded runtime contract for parse_ymd_business_logic_local.
password_reset_completion_path
Applies the bounded runtime contract for password_reset_completion_path.
password_reset_sent_page_params_json
Applies the bounded runtime contract for password_reset_sent_page_params_json.
path_canonicalize
Applies the bounded runtime contract for path_canonicalize.
path_has_prefix_segment
Applies the bounded runtime contract for path_has_prefix_segment.
pause_email_retry
Applies the bounded runtime contract for pause_email_retry.
pbkdf2_sha256
Applies the bounded runtime contract for pbkdf2_sha256.
persist_app_state_text_runtime_local
Applies the bounded runtime contract for persist_app_state_text_runtime_local.
persist_booking_state_or_500_local
Persists the booking state or returns the native server-error status.
persist_identity_state_or_500_local
Persists the identity state or returns the native server-error status.
persist_management_state_or_500_local
Persists the management state or returns the native server-error status.
persist_mut_doc_logic_local
Applies the bounded runtime contract for persist_mut_doc_logic_local.
personal_booking_view
Supplies a bounded personal-booking view to existing app-owned templates. Timestamps remain authoritative; date/time fields are rendering values.
presentation_field_string
Applies the bounded runtime contract for presentation_field_string.
process_due_integration_deliveries_logic_local
Applies the bounded runtime contract for process_due_integration_deliveries_logic_local.
process_matching_jobs_logic_local
Processes due queued jobs and returns a bounded report without shell dispatch.
process_notification_email_delivery_logic_local
Produces a notification delivery outcome for one integration row.
process_one_job_execution_logic_local
Processes one job execution transition in place.
public_businesses
Reads public listing data without reading accounts, sessions, or private records.
rebuild_service_booking_options_management_local
Rebuilds a service booking-options array from bounded form fields.
rebuild_service_technician_ids_management_local
Rebuilds a service technician assignment array from submitted fields.
record_email_delivery_outcome
Applies the bounded runtime contract for record_email_delivery_outcome.
record_field_matches_text_logic_local
Applies the bounded runtime contract for record_field_matches_text_logic_local.
redirect_business_dashboard_booking_local
Builds the dashboard redirect location for a business action.
redirect_business_dashboard_identity_local
Builds the dashboard redirect location for an identity action.
redirect_business_dashboard_management_local
Applies the bounded runtime contract for redirect_business_dashboard_management_local.
redirect_business_public_identity_local
Builds the public business redirect location for an identity action.
redirect_profile_identity_local
Builds the profile redirect location for an identity action.
reference_renderer_build_page
Applies the bounded runtime contract for reference_renderer_build_page.
reference_yaml_doc_load
Applies the bounded runtime contract for reference_yaml_doc_load.
remove_directory_recursive
Applies the bounded runtime contract for remove_directory_recursive.
render_app_fragment_from_doc_business_logic_local
Renders an app fragment from a JSON parameter document.
render_empty_card_list_item_business_logic_local
Renders the empty-card fragment through the app-owned template contract.
render_generated_admin_fragment
Renders a generated admin fragment from an app-owned file.
render_managed_entity_dashboard_card_html_business_logic_local
Renders a managed dashboard card through an app-owned template.
render_no_email_access_link_html
Applies the bounded runtime contract for render_no_email_access_link_html.
render_notification_template_text 🔒
Renders notification template text.
render_page_html
Applies the bounded runtime contract for render_page_html.
render_shared_asset_fragment
Renders a shared fragment through the app-owned template loader.
render_sidebar_item_template
Applies the bounded runtime contract for render_sidebar_item_template.
render_technician_card_button 🔒
Renders one technician card button from the app-owned UI fragment contract.
render_technician_card_day_select 🔒
Renders one technician availability day selector from app-owned fragments.
render_technician_card_input 🔒
replace_owned_string_logic_local
Applies the bounded runtime contract for replace_owned_string_logic_local.
request_body_bytes_dup_logic_local
Applies the bounded runtime contract for request_body_bytes_dup_logic_local.
request_form_field_value_business_logic_local
Reads one form field from an encoded body or a bounded request-body file.
request_form_value_dup_logic_local
Applies the bounded runtime contract for request_form_value_dup_logic_local.
request_path_has_single_slug_between_business_logic_local
Performs request path has single slug between business logic local.
resolve_app_path
Applies the bounded runtime contract for resolve_app_path.
resource_section_name_dup_jobs_logic_local
Returns the canonical state section for a jobs resource kind.
rewrite_html_md_links
Applies the bounded runtime contract for rewrite_html_md_links.
row_i64
Performs row i64.
run_selected_appointment_maintenance
Runs selected appointment maintenance.
runtime_fixture_path
Applies the bounded runtime contract for runtime_fixture_path.
scope_match_expected_text_dup_logic_local
Applies the bounded runtime contract for scope_match_expected_text_dup_logic_local.
scoped_reassignment_primitive_logic_local
Applies the bounded runtime contract for scoped_reassignment_primitive_logic_local.
scoped_resource_id_dup_logic_local
Applies the bounded runtime contract for scoped_resource_id_dup_logic_local.
secure_text_equals
Applies the bounded runtime contract for secure_text_equals.
send_action_response_logic_local
Applies the bounded runtime contract for send_action_response_logic_local.
send_json_action_result_logic_local
Applies the bounded runtime contract for send_json_action_result_logic_local.
send_redirect_logic_local
Applies the bounded runtime contract for send_redirect_logic_local.
send_templated_email_notification
Applies the bounded runtime contract for send_templated_email_notification.
service_booking_selection
set_mut_object_field_logic_local
Applies the bounded runtime contract for set_mut_object_field_logic_local.
set_root_fields_primitive_logic_local
Applies the bounded runtime contract for set_root_fields_primitive_logic_local.
sha256_final
Completes a streaming SHA-256 context.
sha256_init
Performs SHA-256 init.
sha256_rotr
Returns the SHA-256 right rotation primitive.
sha256_transform
Applies one bounded SHA-256 transform chunk.
sha256_update
Updates a streaming SHA-256 context.
shared_asset_fragment_path
Identifies framework-shared fragment names.
split_trimmed_input_list
Applies the bounded runtime contract for split_trimmed_input_list.
state_array_business_logic_local
Performs state array business logic local.
state_array_count_logic_local
Counts rows in one bounded state section.
state_rows
Performs state rows.
store_uploaded_media
Applies the bounded runtime contract for store_uploaded_media.
streq_casefold_identity_local
Performs case-insensitive ASCII equality for identity form values.
streq_casefold_runtime_local
Applies the bounded runtime contract for streq_casefold_runtime_local.
string_value_from_contract_logic_local
Applies the bounded runtime contract for string_value_from_contract_logic_local.
tenant_id_for_business_base
Performs tenant ID for business base.
text_buffer_append_text_business_logic_local
Appends text to a business page buffer.
text_buffer_free_business_logic_local
Releases a business page text buffer.
text_buffer_reserve_business_logic_local
Reserves bounded space for a business page text buffer.
text_buffer_take_business_logic_local
Takes ownership of a business page buffer.
time_ranges_overlap_business_logic_local
Applies the bounded runtime contract for time_ranges_overlap_business_logic_local.
time_text_to_minutes
Applies the bounded runtime contract for time_text_to_minutes.
time_text_to_minutes_business_logic_local
Parses an HH:MM clock value into minutes since midnight.
truthy_form_value_identity_local
Parses identity checkbox values using the native truthy vocabulary.
truthy_form_value_management_local
Parses management checkbox values using the native truthy vocabulary.
update_record_primitive_logic_local
Applies the bounded runtime contract for update_record_primitive_logic_local.
update_service_image_management_local
Updates or removes a service image URL without accepting unsafe disk paths.
update_service_image_state
Updates the image URL in a service record without touching app-owned media storage.
user_manages_business_logic_local
Applies the canonical manager authorization check.
value_long_equals_business_logic_local
Compares a JSON integer value with an expected value.
value_text
Performs value text.
weekday_rank_runtime_local
Applies the bounded runtime contract for weekday_rank_runtime_local.
write_json_error_logic_local
Applies the bounded runtime contract for write_json_error_logic_local.

Type Aliases§

Sha256Runtime
Creates a streaming SHA-256 context.