Skip to main content

Module compensation_change_handler

Module compensation_change_handler 

Source
Expand description

CompensationChange REST handlers

Generated by metaphor-schema. Do not edit manually.

Uses Axum and backbone-core’s BackboneCrudHandler for all 12 CRUD endpoints.

Structs§

CompensationChangeHistoryQuery
Query parameters of the nested subject-history route.

Enums§

CompensationChangeError
Application error type

Functions§

compensation_change_history
The subject’s audit history (ADR-0025 read surface): one entry per captured change, newest first, positions numbered from the oldest by (occurred_at, txid). ?as_of= walks the trail forward from the anchoring INSERT applying each diff’s to values, so the row image at any instant is reconstructible from the trail alone. Deleted subjects still resolve history: the trail outlives the row (no FK, by contract).
create_compensation_change_history_route
The nested history route, merged next to the model’s CRUD router by the module’s route composer (the pool there is the tenant-resolved one).
create_compensation_change_read_routes
Create Axum router with only the read (GET) endpoints for CompensationChange.
create_compensation_change_routes
Create Axum router with all 16 Backbone endpoints for CompensationChange.
create_compensation_change_write_routes
Create Axum router with only the write (mutation) endpoints for CompensationChange.