qbit_manage/web-ui/js/config-schemas/recyclebin.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

35 lines
1.3 KiB
JavaScript

export const recyclebinSchema = {
title: 'Recycle Bin Configuration',
description: 'Recycle Bin method of deletion will move files into the recycle bin instead of directly deleting them.',
fields: [
{
name: 'enabled',
type: 'boolean',
label: 'Enable Recycle Bin',
description: 'Enable or disable the recycle bin functionality.',
default: true,
required: true
},
{
name: 'empty_after_x_days',
type: 'number',
label: 'Empty After X Days',
description: 'Will delete Recycle Bin contents if the files have been in the Recycle Bin for more than x days. (0 for immediate deletion, empty for never)',
min: 0
},
{
name: 'save_torrents',
type: 'boolean',
label: 'Save Torrents',
description: 'This will save a copy of your .torrent and .fastresume file in the recycle bin before deleting it from qbittorrent.',
default: false
},
{
name: 'split_by_category',
type: 'boolean',
label: 'Split by Category',
description: 'This will split the recycle bin folder by the save path defined in the `cat` attribute.',
default: false
}
]
};