mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-17 01:06:32 +08:00
# 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>
68 lines
2.8 KiB
JavaScript
68 lines
2.8 KiB
JavaScript
export const trackerSchema = {
|
|
title: 'Tracker Configuration',
|
|
description: 'Configure tracker-specific settings and rules',
|
|
type: 'complex-object',
|
|
patternProperties: {
|
|
"^(?!other$).*$": { // Matches any key except 'other'
|
|
type: 'object',
|
|
properties: {
|
|
tag: {
|
|
label: 'Tag(s)',
|
|
description: 'The tracker tag or additional list of tags defined',
|
|
type: 'array',
|
|
items: { type: 'string' }
|
|
},
|
|
cat: {
|
|
type: 'string',
|
|
label: 'Category',
|
|
description: 'Set the category based on tracker URL. This category option takes priority over the category defined in cat',
|
|
useCategoryDropdown: true // Flag to indicate this field should use category dropdown
|
|
},
|
|
notifiarr: {
|
|
type: 'string',
|
|
label: 'Notifiarr React Name',
|
|
description: 'Set this to the notifiarr react name. This is used to add indexer reactions to the notifications sent by Notifiarr',
|
|
}
|
|
},
|
|
required: ['tag'],
|
|
additionalProperties: false
|
|
},
|
|
"other": { // Special handling for the 'other' key
|
|
type: 'object',
|
|
properties: {
|
|
tag: {
|
|
label: 'Tag(s)',
|
|
description: 'The tracker tag or additional list of tags defined for "other" trackers',
|
|
type: 'array',
|
|
items: { type: 'string' }
|
|
}
|
|
},
|
|
required: ['tag'],
|
|
additionalProperties: false
|
|
}
|
|
},
|
|
additionalProperties: { // Schema for dynamically added properties (new tracker entries)
|
|
type: 'object',
|
|
properties: {
|
|
tag: {
|
|
label: 'Tag(s)',
|
|
description: 'The tracker tag or additional list of tags defined',
|
|
type: 'array',
|
|
items: { type: 'string' }
|
|
},
|
|
cat: {
|
|
type: 'string',
|
|
label: 'Category',
|
|
description: 'Set the category based on tracker URL. This category option takes priority over the category defined in cat',
|
|
useCategoryDropdown: true // Flag to indicate this field should use category dropdown
|
|
},
|
|
notifiarr: {
|
|
type: 'string',
|
|
label: 'Notifiarr React Name',
|
|
description: 'Set this to the notifiarr react name. This is used to add indexer reactions to the notifications sent by Notifiarr',
|
|
}
|
|
},
|
|
required: ['tag'],
|
|
additionalProperties: false
|
|
}
|
|
};
|