"""Repository module for database operations."""
from . import user_repository
from . import graph_preset_repository
from . import device_repository

create_user = user_repository.create
find_user_by_id = user_repository.find_by_id
find_user_by_email = user_repository.find_by_email
find_user_by_username = user_repository.find_by_username
update_user = user_repository.update
find_users_by_role = user_repository.find_by_role
find_users_by_ids = user_repository.find_by_ids
delete_user = user_repository.delete

create_graph_preset = graph_preset_repository.create
find_graph_presets_by_patient_id = graph_preset_repository.find_by_patient_id
find_graph_preset_by_id = graph_preset_repository.find_by_id
update_graph_preset = graph_preset_repository.update
delete_graph_preset = graph_preset_repository.delete