Files
profilarr/backend/app/db/__init__.py
santiagosayshey f91fea113f fix/improve: arr config modal (#146)
- Fix: remove / update dangling references on data delete / rename in arr config. 
- Fix: Show dangling references in data selector so they can be removed after git operation (cascade operations not possible).
- Fix: improve onclick behaviour so that button clicks in arr modal don't incorrectly trigger save / update.
- Refactor: Turn data selector into a non modal component - now exists on the same pane as the arr modal.
- Feat: Add search / sort functionality to data selector. Sorted A-Z by default now.
2025-02-23 04:12:10 +10:30

16 lines
731 B
Python

from .connection import get_db
from .queries.settings import get_settings, get_secret_key, save_settings
from .queries.arr import (get_unique_arrs, update_arr_config_on_rename,
update_arr_config_on_delete)
from .queries.format_renames import (add_format_to_renames,
remove_format_from_renames,
is_format_in_renames)
from .migrations.runner import run_migrations
__all__ = [
'get_db', 'get_settings', 'get_secret_key', 'save_settings',
'get_unique_arrs', 'update_arr_config_on_rename',
'update_arr_config_on_delete', 'run_migrations', 'add_format_to_renames',
'remove_format_from_renames', 'is_format_in_renames'
]