@losthalls/config-types 1.0.12 → 1.1.0-beta
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/emojis.d.ts +3 -0
- package/events.d.ts +11 -0
- package/index.d.ts +5 -4
- package/package.json +1 -1
- package/schemas.d.ts +27 -3
- package/settings.d.ts +2 -2
package/emojis.d.ts
ADDED
package/events.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GuildSettings } from './settings';
|
|
2
|
+
import { CachedEmoji } from './emojis';
|
|
3
|
+
export type SSEEventMap = {
|
|
4
|
+
heartbeat: undefined[];
|
|
5
|
+
|
|
6
|
+
settings: { version: string, settings: GuildSettings }[];
|
|
7
|
+
|
|
8
|
+
emojiCreate: CachedEmoji[];
|
|
9
|
+
emojiUpdate: CachedEmoji[];
|
|
10
|
+
emojiDelete: CachedEmoji[];
|
|
11
|
+
}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export * from './schemas';
|
|
2
|
+
export * from './settings';
|
|
3
|
+
export * from './templates';
|
|
4
|
+
export * from './emojis';
|
|
5
|
+
export * from './events';
|
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -562,6 +562,7 @@ export type SettingsSchema = {
|
|
|
562
562
|
eventLeaderboardTrackedStats?: string;
|
|
563
563
|
minibossGuessingOptions?: string;
|
|
564
564
|
parsingCharReplacements?: string;
|
|
565
|
+
emojiServers?: string;
|
|
565
566
|
};
|
|
566
567
|
strings: {
|
|
567
568
|
hallsAccursedReqsImage?: string | null;
|
|
@@ -639,9 +640,6 @@ export type SettingsSchema = {
|
|
|
639
640
|
veriFetchFailed?: string;
|
|
640
641
|
veriNoVericode?: string;
|
|
641
642
|
verificationMessage?: string;
|
|
642
|
-
vetVerificationMessage?: string;
|
|
643
|
-
vetVeriAccepted?: string;
|
|
644
|
-
vetVeriDenied?: string;
|
|
645
643
|
};
|
|
646
644
|
checkPanels: {
|
|
647
645
|
[key: string]: boolean | null;
|
|
@@ -822,4 +820,30 @@ export type DraftsSchema = {
|
|
|
822
820
|
color: string;
|
|
823
821
|
members: string[];
|
|
824
822
|
}[];
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
export type EmojisSchema = {
|
|
826
|
+
_id: {
|
|
827
|
+
id: string;
|
|
828
|
+
deletionDate?: Date;
|
|
829
|
+
};
|
|
830
|
+
id: string;
|
|
831
|
+
tag: string;
|
|
832
|
+
name: string;
|
|
833
|
+
text: string;
|
|
834
|
+
guildid: string;
|
|
835
|
+
url: string;
|
|
836
|
+
guildname: string;
|
|
837
|
+
animated: boolean;
|
|
838
|
+
updated: Date;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
export type ChangelogsSchema = {
|
|
842
|
+
guildId: string;
|
|
843
|
+
user: {
|
|
844
|
+
id: string;
|
|
845
|
+
nick: string;
|
|
846
|
+
name: string;
|
|
847
|
+
};
|
|
848
|
+
logs: any;
|
|
825
849
|
}
|
package/settings.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export type RaidingSettings = {
|
|
|
98
98
|
} & { [key: string]: string };
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
export type ListsType = 'earlyLocation' | 'excludeSupporterLocation' | 'runningEvents' | 'warningRoles' | 'perkRoles' | 'discordRoles' | 'commendRoles' | 'activityCheckAllowedChannels' | 'hearingImpairedMembers' | 'filteredIgns' | 'realmCapChoices' | 'ignoreChannelCommands' | 'raiderCommandsChannelWhitelist' | 'suspendingRoles' | 'eventTeams' | 'eventLeaderboardTrackedStats' | 'minibossGuessingOptions' | 'parsingCharReplacements';
|
|
101
|
+
export type ListsType = 'earlyLocation' | 'excludeSupporterLocation' | 'runningEvents' | 'warningRoles' | 'perkRoles' | 'discordRoles' | 'commendRoles' | 'activityCheckAllowedChannels' | 'hearingImpairedMembers' | 'filteredIgns' | 'realmCapChoices' | 'ignoreChannelCommands' | 'raiderCommandsChannelWhitelist' | 'suspendingRoles' | 'eventTeams' | 'eventLeaderboardTrackedStats' | 'minibossGuessingOptions' | 'parsingCharReplacements' | 'emojiServers';
|
|
102
102
|
|
|
103
103
|
export type ListsSettings = {
|
|
104
104
|
[key in ListsType]: string[];
|
|
@@ -140,7 +140,7 @@ export type RolePermissionsSettings = {
|
|
|
140
140
|
} & { [key: string]: RolesType };
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
export type DescriptionsType = 'veriUnderManualReview' | 'veriAccepted' | 'veriDenied' | 'veriUnprivate' | 'veriCancelled' | 'veriGraveyardUnloaded' | 'veriCurrentlyProcessing' | 'veriFetchFailed' | 'veriNoVericode' | 'verificationMessage'
|
|
143
|
+
export type DescriptionsType = 'veriUnderManualReview' | 'veriAccepted' | 'veriDenied' | 'veriUnprivate' | 'veriCancelled' | 'veriGraveyardUnloaded' | 'veriCurrentlyProcessing' | 'veriFetchFailed' | 'veriNoVericode' | 'verificationMessage';
|
|
144
144
|
|
|
145
145
|
export type DescriptionsSettings = {
|
|
146
146
|
[key in DescriptionsType]: string;
|