Skip to content

Commit

Permalink
type export
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsundso committed Jan 12, 2025
1 parent 58ebf7e commit 619cfc1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseClient/Bot/Cache/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type GuildBasedCommand<T extends boolean> = T extends true
? APIApplicationCommand & { guild_id: string }
: APIApplicationCommand;

type DeriveRFromAPI<T, K extends boolean> = T extends APIThreadChannel & {
export type DeriveRFromAPI<T, K extends boolean> = T extends APIThreadChannel & {
guild_id: string;
member_id: string;
}
Expand Down
25 changes: 25 additions & 0 deletions src/Typings/Redis.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
export { type RAutomod } from 'src/BaseClient/Bot/Cache/automod.js';
export { type RBan } from 'src/BaseClient/Bot/Cache/ban.js';
export { type RChannel } from 'src/BaseClient/Bot/Cache/channel.js';
export { type RCommand } from 'src/BaseClient/Bot/Cache/command.js';
export { type RCommandPermission } from 'src/BaseClient/Bot/Cache/commandPermission.js';
export { type REmoji } from 'src/BaseClient/Bot/Cache/emoji.js';
export { type REvent } from 'src/BaseClient/Bot/Cache/event.js';
export { type RGuild } from 'src/BaseClient/Bot/Cache/guild.js';
export { type RGuildCommand } from 'src/BaseClient/Bot/Cache/guildCommand.js';
export { type RIntegration } from 'src/BaseClient/Bot/Cache/integration.js';
export { type RInvite } from 'src/BaseClient/Bot/Cache/invite.js';
export { type RMember } from 'src/BaseClient/Bot/Cache/member.js';
export { type RMessage } from 'src/BaseClient/Bot/Cache/message.js';
export { type RReaction } from 'src/BaseClient/Bot/Cache/reaction.js';
export { type RRole } from 'src/BaseClient/Bot/Cache/role.js';
export { type RSoundboardSound } from 'src/BaseClient/Bot/Cache/soundboard.js';
export { type RStageInstance } from 'src/BaseClient/Bot/Cache/stage.js';
export { type RSticker } from 'src/BaseClient/Bot/Cache/sticker.js';
export { type RThread } from 'src/BaseClient/Bot/Cache/thread.js';
export { type RThreadMember } from 'src/BaseClient/Bot/Cache/threadMember.js';
export { type RUser } from 'src/BaseClient/Bot/Cache/user.js';
export { type RVoiceState } from 'src/BaseClient/Bot/Cache/voice.js';
export { type RWebhook } from 'src/BaseClient/Bot/Cache/webhook.js';

export { type DeriveRFromAPI } from 'src/BaseClient/Bot/Cache/base.js';

0 comments on commit 619cfc1

Please sign in to comment.