@losthalls/config-types 1.1.3-beta-2 → 1.1.3-beta-4
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 +14 -26
- package/settings.d.ts +12 -4
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type SettingsSchema = {
|
|
|
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
11
|
channelCommandsPermissions: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
|
|
12
|
+
commandTags: 'array.string' | 'array.int' | 'array.double' | 'array.settings.role' | 'settings.role' | 'discord.role' | 'discord.channel.text' | 'discord.channel.voice' | 'longform';
|
|
12
13
|
voiceprefixes: 'string';
|
|
13
14
|
backend: 'bool';
|
|
14
15
|
numerical: 'int';
|
|
@@ -166,10 +167,12 @@ export type SettingsSchema = {
|
|
|
166
167
|
botCommands?: string | null;
|
|
167
168
|
raidingBotCommands?: string | null;
|
|
168
169
|
veteranBotCommands?: string | null;
|
|
170
|
+
proficientBotCommands?: string | null;
|
|
169
171
|
adminBotCommands?: string | null;
|
|
170
172
|
officerBotCommands?: string | null;
|
|
171
173
|
headRaidLeaderBotCommands?: string | null;
|
|
172
174
|
securityBotCommands?: string | null;
|
|
175
|
+
developerBotCommands?: string | null;
|
|
173
176
|
accursedlog?: string | null;
|
|
174
177
|
proficiencyverilogs?: string | null;
|
|
175
178
|
perkinfo?: string | null;
|
|
@@ -192,21 +195,18 @@ export type SettingsSchema = {
|
|
|
192
195
|
raiderRoles?: string;
|
|
193
196
|
};
|
|
194
197
|
commands: {
|
|
195
|
-
accursedban?: boolean | null;
|
|
196
198
|
activitycheck?: boolean | null;
|
|
197
199
|
addalt?: boolean | null;
|
|
198
200
|
afk?: boolean | null;
|
|
199
201
|
afkinfo?: boolean | null;
|
|
200
202
|
avatar?: boolean | null;
|
|
201
203
|
ban?: boolean | null;
|
|
202
|
-
celestialban?: boolean | null;
|
|
203
204
|
changelog?: boolean | null;
|
|
204
205
|
changename?: boolean | null;
|
|
205
206
|
check?: boolean | null;
|
|
206
207
|
clean?: boolean | null;
|
|
207
208
|
commend?: boolean | null;
|
|
208
209
|
currentweek?: boolean | null;
|
|
209
|
-
dbinfo?: boolean | null;
|
|
210
210
|
deploy?: boolean | null;
|
|
211
211
|
drag?: boolean | null;
|
|
212
212
|
echo?: boolean | null;
|
|
@@ -222,15 +222,11 @@ export type SettingsSchema = {
|
|
|
222
222
|
commands?: boolean | null;
|
|
223
223
|
id?: boolean | null;
|
|
224
224
|
kick?: boolean | null;
|
|
225
|
-
kitsuneban?: boolean | null;
|
|
226
225
|
leaderboard?: boolean | null;
|
|
227
226
|
list?: boolean | null;
|
|
228
227
|
location?: boolean | null;
|
|
229
228
|
lock?: boolean | null;
|
|
230
229
|
log?: boolean | null;
|
|
231
|
-
manualaccverify?: boolean | null;
|
|
232
|
-
manualceleverify?: boolean | null;
|
|
233
|
-
manualkitsuverify?: boolean | null;
|
|
234
230
|
manualverify?: boolean | null;
|
|
235
231
|
manualvetverify?: boolean | null;
|
|
236
232
|
medals?: boolean | null;
|
|
@@ -248,7 +244,6 @@ export type SettingsSchema = {
|
|
|
248
244
|
poll?: boolean | null;
|
|
249
245
|
pop?: boolean | null;
|
|
250
246
|
prompts?: boolean | null;
|
|
251
|
-
prunerushers?: boolean | null;
|
|
252
247
|
punishments?: boolean | null;
|
|
253
248
|
purge?: boolean | null;
|
|
254
249
|
puzzle?: boolean | null;
|
|
@@ -261,9 +256,7 @@ export type SettingsSchema = {
|
|
|
261
256
|
restart?: boolean | null;
|
|
262
257
|
roleassignment?: boolean | null;
|
|
263
258
|
russianroulette?: boolean | null;
|
|
264
|
-
script?: boolean | null;
|
|
265
259
|
seppuku?: boolean | null;
|
|
266
|
-
sha?: boolean | null;
|
|
267
260
|
secret?: boolean | null;
|
|
268
261
|
stats?: boolean | null;
|
|
269
262
|
supporter?: boolean | null;
|
|
@@ -273,10 +266,7 @@ export type SettingsSchema = {
|
|
|
273
266
|
templates?: boolean | null;
|
|
274
267
|
test2?: boolean | null;
|
|
275
268
|
test?: boolean | null;
|
|
276
|
-
unaccverify?: boolean | null;
|
|
277
269
|
unban?: boolean | null;
|
|
278
|
-
unceleverify?: boolean | null;
|
|
279
|
-
unkitsuverify?: boolean | null;
|
|
280
270
|
unlock?: boolean | null;
|
|
281
271
|
unmute?: boolean | null;
|
|
282
272
|
unsuspend?: boolean | null;
|
|
@@ -301,21 +291,18 @@ export type SettingsSchema = {
|
|
|
301
291
|
pexpel?: boolean | null;
|
|
302
292
|
};
|
|
303
293
|
commandsRolePermissions: {
|
|
304
|
-
accursedban?: string | null;
|
|
305
294
|
activitycheck?: string | null;
|
|
306
295
|
addalt?: string | null;
|
|
307
296
|
afk?: string | null;
|
|
308
297
|
afkinfo?: string | null;
|
|
309
298
|
avatar?: string | null;
|
|
310
299
|
ban?: string | null;
|
|
311
|
-
celestialban?: string | null;
|
|
312
300
|
changelog?: string | null;
|
|
313
301
|
changename?: string | null;
|
|
314
302
|
check?: string | null;
|
|
315
303
|
clean?: string | null;
|
|
316
304
|
commend?: string | null;
|
|
317
305
|
currentweek?: string | null;
|
|
318
|
-
dbinfo?: string | null;
|
|
319
306
|
deploy?: string | null;
|
|
320
307
|
drag?: string | null;
|
|
321
308
|
echo?: string | null;
|
|
@@ -331,15 +318,11 @@ export type SettingsSchema = {
|
|
|
331
318
|
commands?: string | null;
|
|
332
319
|
id?: string | null;
|
|
333
320
|
kick?: string | null;
|
|
334
|
-
kitsuneban?: string | null;
|
|
335
321
|
leaderboard?: string | null;
|
|
336
322
|
list?: string | null;
|
|
337
323
|
location?: string | null;
|
|
338
324
|
lock?: string | null;
|
|
339
325
|
log?: string | null;
|
|
340
|
-
manualaccverify?: string | null;
|
|
341
|
-
manualceleverify?: string | null;
|
|
342
|
-
manualkitsuverify?: string | null;
|
|
343
326
|
manualverify?: string | null;
|
|
344
327
|
manualvetverify?: string | null;
|
|
345
328
|
medals?: string | null;
|
|
@@ -357,7 +340,6 @@ export type SettingsSchema = {
|
|
|
357
340
|
poll?: string | null;
|
|
358
341
|
pop?: string | null;
|
|
359
342
|
prompts?: string | null;
|
|
360
|
-
prunerushers?: string | null;
|
|
361
343
|
punishments?: string | null;
|
|
362
344
|
purge?: string | null;
|
|
363
345
|
puzzle?: string | null;
|
|
@@ -370,9 +352,7 @@ export type SettingsSchema = {
|
|
|
370
352
|
restart?: string | null;
|
|
371
353
|
roleassignment?: string | null;
|
|
372
354
|
russianroulette?: string | null;
|
|
373
|
-
script?: string | null;
|
|
374
355
|
seppuku?: string | null;
|
|
375
|
-
sha?: string | null;
|
|
376
356
|
secret?: string | null;
|
|
377
357
|
stats?: string | null;
|
|
378
358
|
supporter?: string | null;
|
|
@@ -382,10 +362,7 @@ export type SettingsSchema = {
|
|
|
382
362
|
templates?: string | null;
|
|
383
363
|
test2?: string | null;
|
|
384
364
|
test?: string | null;
|
|
385
|
-
unaccverify?: string | null;
|
|
386
365
|
unban?: string | null;
|
|
387
|
-
unceleverify?: string | null;
|
|
388
|
-
unkitsuverify?: string | null;
|
|
389
366
|
unlock?: string | null;
|
|
390
367
|
unmute?: string | null;
|
|
391
368
|
unsuspend?: string | null;
|
|
@@ -448,10 +425,12 @@ export type SettingsSchema = {
|
|
|
448
425
|
botCommands?: string;
|
|
449
426
|
raidingBotCommands?: string;
|
|
450
427
|
veteranBotCommands?: string;
|
|
428
|
+
proficientBotCommands?: string;
|
|
451
429
|
adminBotCommands?: string;
|
|
452
430
|
officerBotCommands?: string;
|
|
453
431
|
headRaidLeaderBotCommands?: string;
|
|
454
432
|
securityBotCommands?: string;
|
|
433
|
+
developerBotCommands?: string;
|
|
455
434
|
accursedlog?: string;
|
|
456
435
|
proficiencyverilogs?: string;
|
|
457
436
|
perkinfo?: string;
|
|
@@ -462,6 +441,15 @@ export type SettingsSchema = {
|
|
|
462
441
|
staffStatus?: string;
|
|
463
442
|
staffMsgDeleteLogs?: string;
|
|
464
443
|
};
|
|
444
|
+
commandTags: {
|
|
445
|
+
all?: string;
|
|
446
|
+
raider?: string;
|
|
447
|
+
misc?: string;
|
|
448
|
+
raiding?: string;
|
|
449
|
+
security?: string;
|
|
450
|
+
developer?: string;
|
|
451
|
+
memes?: string;
|
|
452
|
+
};
|
|
465
453
|
voiceprefixes: {
|
|
466
454
|
raidingprefix?: string | null;
|
|
467
455
|
vetprefix?: string | null;
|
package/settings.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type RolesSettings = {
|
|
|
7
7
|
} & { [key: string]: string };
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
export type ChannelsType = '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';
|
|
10
|
+
export type ChannelsType = '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' | 'proficientBotCommands' | 'adminBotCommands' | 'officerBotCommands' | 'headRaidLeaderBotCommands' | 'securityBotCommands' | 'developerBotCommands' | 'accursedlog' | 'proficiencyverilogs' | 'perkinfo' | 'rules' | 'faq' | 'raidStatusAnnouncements' | 'howRaidingWorks' | 'staffStatus' | 'staffMsgDeleteLogs';
|
|
11
11
|
|
|
12
12
|
export type ChannelsSettings = {
|
|
13
13
|
[key in ChannelsType]: string;
|
|
@@ -28,27 +28,34 @@ export type RoleHierarchySettings = {
|
|
|
28
28
|
} & { [key: string]: string[] };
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
export type CommandsType = '
|
|
31
|
+
export type CommandsType = 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'rename' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'seppuku' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unban' | '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 = '
|
|
38
|
+
export type CommandsRolePermissionsType = 'activitycheck' | 'addalt' | 'afk' | 'afkinfo' | 'avatar' | 'ban' | 'changelog' | 'changename' | 'check' | 'clean' | 'commend' | 'currentweek' | 'deploy' | 'drag' | 'echo' | 'embed' | 'emoji' | 'eval' | 'eventlb' | 'excuse' | 'find' | 'fling' | 'glape' | 'headcount' | 'commands' | 'id' | 'kick' | 'leaderboard' | 'list' | 'location' | 'lock' | 'log' | 'manualverify' | 'manualvetverify' | 'medals' | 'memes' | 'migrate' | 'modmailblacklist' | 'modmailrespond' | 'mute' | 'mutualmembers' | 'addnote' | 'noteremove' | 'parse' | 'permasuspend' | 'ping' | 'poll' | 'pop' | 'prompts' | 'punishments' | 'purge' | 'puzzle' | 'quota' | 'reload' | 'removealt' | 'removepending' | 'rename' | 'request' | 'restart' | 'roleassignment' | 'russianroulette' | 'seppuku' | 'secret' | 'stats' | 'supporter' | 'suspend' | 'suspendremove' | 'sysinfo' | 'templates' | 'test2' | 'test' | 'unban' | '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';
|
|
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' | 'proficientBotCommands' | 'adminBotCommands' | 'officerBotCommands' | 'headRaidLeaderBotCommands' | 'securityBotCommands' | 'developerBotCommands' | 'accursedlog' | 'proficiencyverilogs' | 'perkinfo' | 'rules' | 'faq' | 'raidStatusAnnouncements' | 'howRaidingWorks' | 'staffStatus' | 'staffMsgDeleteLogs';
|
|
46
46
|
|
|
47
47
|
export type ChannelCommandsPermissionsSettings = {
|
|
48
48
|
[key in ChannelCommandsPermissionsType]: string[];
|
|
49
49
|
} & { [key: string]: string[] };
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
export type CommandTagsType = 'all' | 'raider' | 'misc' | 'raiding' | 'security' | 'developer' | 'memes';
|
|
53
|
+
|
|
54
|
+
export type CommandTagsSettings = {
|
|
55
|
+
[key in CommandTagsType]: string[];
|
|
56
|
+
} & { [key: string]: string[] };
|
|
57
|
+
|
|
58
|
+
|
|
52
59
|
export type VoiceprefixesType = 'raidingprefix' | 'vetprefix';
|
|
53
60
|
|
|
54
61
|
export type VoiceprefixesSettings = {
|
|
@@ -162,6 +169,7 @@ export type GuildSettings = {
|
|
|
162
169
|
commands: CommandsSettings;
|
|
163
170
|
commandsRolePermissions: CommandsRolePermissionsSettings;
|
|
164
171
|
channelCommandsPermissions: ChannelCommandsPermissionsSettings;
|
|
172
|
+
commandTags: CommandTagsSettings;
|
|
165
173
|
voiceprefixes: VoiceprefixesSettings;
|
|
166
174
|
backend: BackendSettings;
|
|
167
175
|
numerical: NumericalSettings;
|