@losthalls/config-types 1.1.0 → 1.1.3-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schemas.d.ts +64 -0
- package/settings.d.ts +11 -3
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type SettingsSchema = {
|
|
|
8
8
|
roleHierarchy: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
|
|
9
9
|
commands: 'bool';
|
|
10
10
|
commandsRolePermissions: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
|
|
11
|
+
channelCommandsPermissions: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
|
|
11
12
|
voiceprefixes: 'string';
|
|
12
13
|
backend: 'bool';
|
|
13
14
|
numerical: 'int';
|
|
@@ -295,6 +296,9 @@ export type SettingsSchema = {
|
|
|
295
296
|
transfer?: boolean | null;
|
|
296
297
|
supporterusage?: boolean | null;
|
|
297
298
|
permamute?: boolean | null;
|
|
299
|
+
pverify?: boolean | null;
|
|
300
|
+
verify?: boolean | null;
|
|
301
|
+
pexpel?: boolean | null;
|
|
298
302
|
};
|
|
299
303
|
commandsRolePermissions: {
|
|
300
304
|
accursedban?: string | null;
|
|
@@ -401,6 +405,62 @@ export type SettingsSchema = {
|
|
|
401
405
|
transfer?: string | null;
|
|
402
406
|
supporterusage?: string | null;
|
|
403
407
|
permamute?: string | null;
|
|
408
|
+
pverify?: string | null;
|
|
409
|
+
verify?: string | null;
|
|
410
|
+
pexpel?: string | null;
|
|
411
|
+
};
|
|
412
|
+
channelCommandsPermissions: {
|
|
413
|
+
modmail?: string;
|
|
414
|
+
verification?: string;
|
|
415
|
+
manualverification?: string;
|
|
416
|
+
vetverification?: string;
|
|
417
|
+
manualvetverification?: string;
|
|
418
|
+
verificationlog?: string;
|
|
419
|
+
proficientverification?: string;
|
|
420
|
+
modlogs?: string;
|
|
421
|
+
history?: string;
|
|
422
|
+
suspendlog?: string;
|
|
423
|
+
rlfeedback?: string;
|
|
424
|
+
currentweek?: string;
|
|
425
|
+
eventcurrentweek?: string;
|
|
426
|
+
pastweeks?: string;
|
|
427
|
+
eventpastweeks?: string;
|
|
428
|
+
leadinglog?: string;
|
|
429
|
+
leaderchat?: string;
|
|
430
|
+
vetleaderchat?: string;
|
|
431
|
+
parsechannel?: string;
|
|
432
|
+
staffcrashingreports?: string;
|
|
433
|
+
runlogs?: string;
|
|
434
|
+
dmcommands?: string;
|
|
435
|
+
veriactive?: string;
|
|
436
|
+
pointlogging?: string;
|
|
437
|
+
veriattempts?: string;
|
|
438
|
+
modmailinfo?: string;
|
|
439
|
+
parsecurrentweek?: string;
|
|
440
|
+
pastparseweeks?: string;
|
|
441
|
+
roleassignment?: string;
|
|
442
|
+
botstatus?: string;
|
|
443
|
+
keyalerts?: string;
|
|
444
|
+
activitylog?: string;
|
|
445
|
+
raidingrules?: string;
|
|
446
|
+
forwardedModmailMessage?: string;
|
|
447
|
+
serverLeaveChannel?: string;
|
|
448
|
+
botCommands?: string;
|
|
449
|
+
raidingBotCommands?: string;
|
|
450
|
+
veteranBotCommands?: string;
|
|
451
|
+
adminBotCommands?: string;
|
|
452
|
+
officerBotCommands?: string;
|
|
453
|
+
headRaidLeaderBotCommands?: string;
|
|
454
|
+
securityBotCommands?: string;
|
|
455
|
+
accursedlog?: string;
|
|
456
|
+
proficiencyverilogs?: string;
|
|
457
|
+
perkinfo?: string;
|
|
458
|
+
rules?: string;
|
|
459
|
+
faq?: string;
|
|
460
|
+
raidStatusAnnouncements?: string;
|
|
461
|
+
howRaidingWorks?: string;
|
|
462
|
+
staffStatus?: string;
|
|
463
|
+
staffMsgDeleteLogs?: string;
|
|
404
464
|
};
|
|
405
465
|
voiceprefixes: {
|
|
406
466
|
raidingprefix?: string | null;
|
|
@@ -640,6 +700,9 @@ export type SettingsSchema = {
|
|
|
640
700
|
veriFetchFailed?: string;
|
|
641
701
|
veriNoVericode?: string;
|
|
642
702
|
verificationMessage?: string;
|
|
703
|
+
vetVerificationMessage?: string;
|
|
704
|
+
vetVeriAccepted?: string;
|
|
705
|
+
vetVeriDenied?: string;
|
|
643
706
|
};
|
|
644
707
|
checkPanels: {
|
|
645
708
|
[key: string]: boolean | null;
|
|
@@ -847,4 +910,5 @@ export type ChangelogsSchema = {
|
|
|
847
910
|
name: string;
|
|
848
911
|
};
|
|
849
912
|
logs: any;
|
|
913
|
+
_id: string;
|
|
850
914
|
}
|
package/settings.d.ts
CHANGED
|
@@ -28,20 +28,27 @@ export type RoleHierarchySettings = {
|
|
|
28
28
|
} & { [key: string]: string[] };
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
export type CommandsType = 'accursedban' | 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'celestialban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'dbinfo' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'kitsuneban' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualaccverify' | 'manualceleverify' | 'manualkitsuverify' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'prunerushers' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'rename' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'script' | 'seppuku' | 'sha' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unaccverify' | 'unban' | 'unceleverify' | 'unkitsuverify' | 'unlock' | 'unmute' | 'unsuspend' | 'unverify' | 'unvetverify' | 'verification' | 'vetverification' | 'vote' | 'warn' | 'warnremove' | 'giveaway' | 'expel' | 'guildmembers' | 'reminder' | 'delete' | 'christmas' | 'transfer' | 'supporterusage' | 'permamute';
|
|
31
|
+
export type CommandsType = 'accursedban' | 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'celestialban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'dbinfo' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'kitsuneban' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualaccverify' | 'manualceleverify' | 'manualkitsuverify' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'prunerushers' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'rename' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'script' | 'seppuku' | 'sha' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unaccverify' | 'unban' | 'unceleverify' | 'unkitsuverify' | 'unlock' | 'unmute' | 'unsuspend' | 'unverify' | 'unvetverify' | 'verification' | 'vetverification' | 'vote' | 'warn' | 'warnremove' | 'giveaway' | 'expel' | 'guildmembers' | 'reminder' | 'delete' | 'christmas' | 'transfer' | 'supporterusage' | 'permamute' | 'pverify' | 'verify' | 'pexpel';
|
|
32
32
|
|
|
33
33
|
export type CommandsSettings = {
|
|
34
34
|
[key in CommandsType]: boolean;
|
|
35
35
|
} & { [key: string]: boolean };
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
export type CommandsRolePermissionsType = 'accursedban' | 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'celestialban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'dbinfo' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'kitsuneban' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualaccverify' | 'manualceleverify' | 'manualkitsuverify' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'prunerushers' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'rename' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'script' | 'seppuku' | 'sha' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unaccverify' | 'unban' | 'unceleverify' | 'unkitsuverify' | 'unlock' | 'unmute' | 'unsuspend' | 'unverify' | 'unvetverify' | 'verification' | 'vetverification' | 'vote' | 'warn' | 'warnremove' | 'giveaway' | 'expel' | 'guildmembers' | 'reminder' | 'delete' | 'christmas' | 'transfer' | 'supporterusage' | 'permamute';
|
|
38
|
+
export type CommandsRolePermissionsType = 'accursedban' | 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'celestialban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'dbinfo' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'kitsuneban' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualaccverify' | 'manualceleverify' | 'manualkitsuverify' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'prunerushers' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'rename' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'script' | 'seppuku' | 'sha' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unaccverify' | 'unban' | 'unceleverify' | 'unkitsuverify' | 'unlock' | 'unmute' | 'unsuspend' | 'unverify' | 'unvetverify' | 'verification' | 'vetverification' | 'vote' | 'warn' | 'warnremove' | 'giveaway' | 'expel' | 'guildmembers' | 'reminder' | 'delete' | 'christmas' | 'transfer' | 'supporterusage' | 'permamute' | 'pverify' | 'verify' | 'pexpel';
|
|
39
39
|
|
|
40
40
|
export type CommandsRolePermissionsSettings = {
|
|
41
41
|
[key in CommandsRolePermissionsType]: RolesType;
|
|
42
42
|
} & { [key: string]: RolesType };
|
|
43
43
|
|
|
44
44
|
|
|
45
|
+
export type ChannelCommandsPermissionsType = 'modmail' | 'verification' | 'manualverification' | 'vetverification' | 'manualvetverification' | 'verificationlog' | 'proficientverification' | 'modlogs' | 'history' | 'suspendlog' | 'rlfeedback' | 'currentweek' | 'eventcurrentweek' | 'pastweeks' | 'eventpastweeks' | 'leadinglog' | 'leaderchat' | 'vetleaderchat' | 'parsechannel' | 'staffcrashingreports' | 'runlogs' | 'dmcommands' | 'veriactive' | 'pointlogging' | 'veriattempts' | 'modmailinfo' | 'parsecurrentweek' | 'pastparseweeks' | 'roleassignment' | 'botstatus' | 'keyalerts' | 'activitylog' | 'raidingrules' | 'forwardedModmailMessage' | 'serverLeaveChannel' | 'botCommands' | 'raidingBotCommands' | 'veteranBotCommands' | 'adminBotCommands' | 'officerBotCommands' | 'headRaidLeaderBotCommands' | 'securityBotCommands' | 'accursedlog' | 'proficiencyverilogs' | 'perkinfo' | 'rules' | 'faq' | 'raidStatusAnnouncements' | 'howRaidingWorks' | 'staffStatus' | 'staffMsgDeleteLogs';
|
|
46
|
+
|
|
47
|
+
export type ChannelCommandsPermissionsSettings = {
|
|
48
|
+
[key in ChannelCommandsPermissionsType]: string[];
|
|
49
|
+
} & { [key: string]: string[] };
|
|
50
|
+
|
|
51
|
+
|
|
45
52
|
export type VoiceprefixesType = 'raidingprefix' | 'vetprefix';
|
|
46
53
|
|
|
47
54
|
export type VoiceprefixesSettings = {
|
|
@@ -140,7 +147,7 @@ export type RolePermissionsSettings = {
|
|
|
140
147
|
} & { [key: string]: RolesType };
|
|
141
148
|
|
|
142
149
|
|
|
143
|
-
export type DescriptionsType = 'veriUnderManualReview' | 'veriAccepted' | 'veriDenied' | 'veriUnprivate' | 'veriCancelled' | 'veriGraveyardUnloaded' | 'veriCurrentlyProcessing' | 'veriFetchFailed' | 'veriNoVericode' | 'verificationMessage';
|
|
150
|
+
export type DescriptionsType = 'veriUnderManualReview' | 'veriAccepted' | 'veriDenied' | 'veriUnprivate' | 'veriCancelled' | 'veriGraveyardUnloaded' | 'veriCurrentlyProcessing' | 'veriFetchFailed' | 'veriNoVericode' | 'verificationMessage' | 'vetVerificationMessage' | 'vetVeriAccepted' | 'vetVeriDenied';
|
|
144
151
|
|
|
145
152
|
export type DescriptionsSettings = {
|
|
146
153
|
[key in DescriptionsType]: string;
|
|
@@ -154,6 +161,7 @@ export type GuildSettings = {
|
|
|
154
161
|
roleHierarchy: RoleHierarchySettings;
|
|
155
162
|
commands: CommandsSettings;
|
|
156
163
|
commandsRolePermissions: CommandsRolePermissionsSettings;
|
|
164
|
+
channelCommandsPermissions: ChannelCommandsPermissionsSettings;
|
|
157
165
|
voiceprefixes: VoiceprefixesSettings;
|
|
158
166
|
backend: BackendSettings;
|
|
159
167
|
numerical: NumericalSettings;
|