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

46 lines
1.8 KiB
JavaScript

export const nohardlinksSchema = {
title: 'No Hardlinks Configuration',
description: 'Configure settings for checking and tagging torrents without hardlinks.',
type: 'complex-object',
keyLabel: 'Category',
keyDescription: 'Category name to check for no hardlinks',
useCategoryDropdown: true, // Flag to indicate this should use category dropdown
patternProperties: {
".*": { // Matches any category name
type: 'object',
properties: {
exclude_tags: {
type: 'array',
label: 'Exclude Tags',
description: 'List of tags to exclude from the check. Torrents with any of these tags will not be processed.',
items: { type: 'string' }
},
ignore_root_dir: {
type: 'boolean',
label: 'Ignore Root Directory',
description: 'Ignore any hardlinks detected in the same root_dir (Default True).',
default: true
}
},
additionalProperties: false
}
},
additionalProperties: { // Schema for dynamically added properties (new category entries)
type: 'object',
properties: {
exclude_tags: {
type: 'array',
label: 'Exclude Tags',
description: 'List of tags to exclude from the check. Torrents with any of these tags will not be processed.',
items: { type: 'string' }
},
ignore_root_dir: {
type: 'boolean',
label: 'Ignore Root Directory',
description: 'Ignore any hardlinks detected in the same root_dir (Default True).',
default: true
}
},
additionalProperties: false
}
};