ロールの各オプションに優先度を設定できるように

This commit is contained in:
syuilo
2023-01-15 19:10:39 +09:00
parent d0157b3bfd
commit 518b3e2f73
5 changed files with 160 additions and 114 deletions

View File

@@ -44,6 +44,7 @@ export class RoleEntityService {
for (const [k, v] of Object.entries(DEFAULT_ROLE)) {
if (roleOptions[k] == null) roleOptions[k] = {
useDefault: true,
priority: 0,
value: v,
};
}