@losthalls/config-types 1.1.1 → 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 +54 -0
- package/settings.d.ts +8 -0
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';
|
|
@@ -408,6 +409,59 @@ export type SettingsSchema = {
|
|
|
408
409
|
verify?: string | null;
|
|
409
410
|
pexpel?: string | null;
|
|
410
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;
|
|
464
|
+
};
|
|
411
465
|
voiceprefixes: {
|
|
412
466
|
raidingprefix?: string | null;
|
|
413
467
|
vetprefix?: string | null;
|
package/settings.d.ts
CHANGED
|
@@ -42,6 +42,13 @@ export type CommandsRolePermissionsSettings = {
|
|
|
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 = {
|
|
@@ -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;
|