@losthalls/config-types 1.0.13 → 1.0.14

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 ADDED
@@ -0,0 +1,3 @@
1
+ import { EmojisSchema } from './schemas';
2
+ export type CachedEmoji = Omit<EmojisSchema, '_id'>;
3
+ export type EmojiStore = Record<string, CachedEmoji>;
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: GuildSettings[];
7
+
8
+ emojiCreate: CachedEmoji[][];
9
+ emojiUpdate: CachedEmoji[][];
10
+ emojiDelete: CachedEmoji[][];
11
+ }
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
-
2
- export type * from './schemas.d.ts';
3
- export type * from './settings.d.ts';
4
- export type * from './templates.d.ts';
1
+ export * from './schemas';
2
+ export * from './settings';
3
+ export * from './templates';
4
+ export * from './emojis';
5
+ export * from './events';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@losthalls/config-types",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Typings provided by the configuration websites",
5
5
  "main": " ",
6
6
  "scripts": {
package/schemas.d.ts CHANGED
@@ -568,6 +568,7 @@ export type SettingsSchema = {
568
568
  eventLeaderboardTrackedStats?: string;
569
569
  minibossGuessingOptions?: string;
570
570
  parsingCharReplacements?: string;
571
+ emojiServers?: string;
571
572
  };
572
573
  strings: {
573
574
  hallsAccursedReqsImage?: string | null;
@@ -828,4 +829,32 @@ export type DraftsSchema = {
828
829
  color: string;
829
830
  members: string[];
830
831
  }[];
832
+ }
833
+
834
+ export type EmojisSchema = {
835
+ _id: {
836
+ id: string;
837
+ deletionDate?: Date;
838
+ };
839
+ name: string;
840
+ id: string;
841
+ tag: string;
842
+ text: string;
843
+ guildid: string;
844
+ guildname: string;
845
+ url: string;
846
+ animated: boolean;
847
+ updated: Date;
848
+ created: Date;
849
+ }
850
+
851
+ export type ChangelogsSchema = {
852
+ guildId: string;
853
+ user: {
854
+ id: string;
855
+ nick: string;
856
+ name: string;
857
+ };
858
+ logs: any;
859
+ _id: string;
831
860
  }
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[];