Expand description
Exposes the business runtime module.
§Examples
ⓘ
use pharos_native::runtime::business;§Related
crate::runtimefor sibling modules in the same crate.
Structs§
- Accepted
Business Invite - Appointment
Create - A booking request contains app data, never a backend name or query syntax.
- Appointment
Move - Identifies an existing appointment and optional new slot values.
- Appointment
Payment - Names the external provider without making it responsible for slot allocation.
- Booking
Slot - Describes one availability check without positional booking arguments.
- Business
Admin Service List Logic Local - Public struct
BusinessAdminServiceListLogicLocalused by this module. - Business
Admin Service Logic Local - Public struct
BusinessAdminServiceLogicLocalused by this module. - Business
Identity Edit - Validated inputs for a business identity mutation. Actor and slug come from the authenticated route, never from user-supplied ownership fields.
- Business
Invite Accept - Business
Invite Issue - Business
Invite Preview - Business
Logic Text Buffer Local - Public struct
BusinessLogicTextBufferLocalused by this module. - Calendar
Selection - Loads a calendar month and its selected-business display relationships.
- Email
Config - Describes the selected SMTP relay without retaining a password value.
- Email
Message - Describes one outbound email request.
- Email
Result - Captures bounded email delivery state without exposing credentials.
- Parsed
Http UrlLogic Local - Public struct
ParsedHttpUrlLogicLocalused by this module.
Enums§
Constants§
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|costlines 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|endlines, 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|durationlines, optionally filtered by date. - dynamic_
emit_ technician_ availability_ lines - Emits technician availability as
start|endlines, 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§
- Sha256
Runtime - Creates a streaming SHA-256 context.