mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-21 18:19:03 +08:00
NEW: 自动加分test
This commit is contained in:
@@ -78,6 +78,16 @@ export class SettingsService extends Service {
|
||||
defaultValue: 'rounded',
|
||||
writePermission: 'admin',
|
||||
validate: (v) => v === 'rounded' || v === 'small' || v === 'square'
|
||||
},
|
||||
auto_score_enabled: {
|
||||
kind: 'boolean',
|
||||
defaultValue: false,
|
||||
writePermission: 'admin'
|
||||
},
|
||||
auto_score_rules: {
|
||||
kind: 'json',
|
||||
defaultValue: [],
|
||||
writePermission: 'admin'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user