Voile.Schema.Library.Feats (Voile v0.1.26)

Copy Markdown View Source

The Library Features context.

Handles Read On Spot functionality for tracking item usage within the library, including scanning, recording, and reporting.

Summary

Functions

Returns paginated detailed records for a specific date (daily) or month (monthly). opts: node_id, location_id, date (ISO8601 string), type ("daily"|"monthly"), page, per_page Returns {records, total_count}

Functions

count_this_month(node_id \\ nil)

count_today(node_id \\ nil)

daily_report(opts \\ [], pagination \\ [])

find_item_by_barcode(term)

list_locations_by_node(node_id)

list_nodes()

list_read_on_spots(opts \\ [])

monthly_report(opts \\ [], pagination \\ [])

record_read_on_spot(attrs)

report_detail(opts \\ [])

Returns paginated detailed records for a specific date (daily) or month (monthly). opts: node_id, location_id, date (ISO8601 string), type ("daily"|"monthly"), page, per_page Returns {records, total_count}