qbit_manage/web-ui/js/config-schemas/orphaned.js
bobokun 3fa5fcee3b
v4.5.0 (#862)
# Requirements Updated
- fastapi==0.116.0
- retrying==1.4.0
- uvicorn==0.35.0

# New Features
- **Web UI**: Introduced a new Web UI for configuring and managing qBit
Manage.
  - Visual Configuration Editor for YAML files.
  - Command Execution directly from the UI.
  - Undo/Redo History for changes.
  - Theme Support (light/dark mode).
  - Responsive Design for desktop and mobile.
  - Real-time YAML Preview.
- Pass skip qbitorrent check as optional parameter to the API (Adds
#860)\


**Full Changelog**:
https://github.com/StuffAnThings/qbit_manage/compare/v4.4.0...v4.5.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ineednewpajamas <73252768+ineednewpajamas@users.noreply.github.com>
2025-07-11 19:13:41 -04:00

28 lines
1.1 KiB
JavaScript

export const orphanedSchema = {
title: 'Orphaned Files Configuration',
description: 'Configure settings for managing orphaned files.',
fields: [
{
name: 'empty_after_x_days',
type: 'number',
label: 'Empty After X Days',
description: 'Will delete Orphaned data contents if the files have been in the Orphaned data for more than x days. (0 for immediate deletion, empty for never)',
min: 0
},
{
name: 'exclude_patterns',
type: 'array',
label: 'Exclude Patterns',
description: 'List of patterns to exclude certain files from orphaned.',
items: { type: 'text' }
},
{
name: 'max_orphaned_files_to_delete',
type: 'number',
label: 'Max Orphaned Files to Delete',
description: 'Set your desired threshold for the maximum number of orphaned files qbm will delete in a single run. (-1 to disable safeguards)',
default: 50,
min: -1
}
]
};