-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from mineral-dart/feat-migrate-decorators
feat: Migrate decorators to generics
- Loading branch information
Showing
227 changed files
with
2,184 additions
and
2,022 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
/// 🧡 The neuralgic heart of the application, this module gathers all the functionalities of the framework. | ||
library core; | ||
|
||
export 'src/internal/services/environment.dart' show Environment; | ||
|
||
export 'src/internal/kernel.dart' show Kernel; | ||
export 'package:mineral_ioc/ioc.dart' show ioc, Service; | ||
|
||
export 'src/constants.dart'; | ||
export 'src/internal/kernel.dart' show Kernel; | ||
export 'src/internal/services/environment.dart' show Environment; | ||
export 'src/internal/services/http.dart'; | ||
export 'src/internal/entities/event.dart' show Event, Events, MineralEvent; | ||
export 'src/internal/entities/command.dart' show Command, MineralCommand, Option, OptionType, OptionChoice, Subcommand, CommandGroup; | ||
export 'src/internal/entities/store.dart' show Store, MineralStore; | ||
export 'src/internal/entities/module.dart' show Module, MineralModule; | ||
export 'src/internal/entities/context_menu.dart' show ContextMenu, MineralContextMenu; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/// The api is the Map of all the classes, enumerations of the framework | ||
library api; | ||
|
||
export '../src/api/activity.dart' show Activity; | ||
export '../src/api/application.dart' show Application; | ||
export '../src/api/channels/category_channel.dart' show CategoryChannel; | ||
export '../src/api/channels/forum_channel.dart' show ForumChannel; | ||
export '../src/api/channels/guild_channel.dart' show GuildChannel; | ||
export '../src/api/channels/partial_channel.dart' show PartialChannel, ChannelType; | ||
export '../src/api/channels/partial_text_channel.dart' show PartialTextChannel; | ||
export '../src/api/channels/text_based_channel.dart' show TextBasedChannel; | ||
export '../src/api/channels/text_channel.dart' show TextChannel; | ||
export '../src/api/channels/thread_channel.dart' show ThreadChannel; | ||
export '../src/api/channels/voice_channel.dart' show VoiceChannel; | ||
export '../src/api/client/client_presence.dart' show ClientPresence, GamePresence; | ||
export '../src/api/client/mineral_client.dart' show MineralClient, ClientActivity, ClientStatus; | ||
export '../src/api/color.dart' show Color; | ||
export '../src/api/emoji.dart' show Emoji; | ||
export '../src/api/guilds/guild.dart' show Guild; | ||
export '../src/api/guilds/guild_member.dart' show GuildMember; | ||
export '../src/api/guilds/guild_preview.dart' show GuildPreview; | ||
export '../src/api/guilds/guild_scheduled_event.dart' show ScheduledEventStatus, ScheduledEventEntityType, GuildScheduledEvent, ScheduledEventUser; | ||
export '../src/api/image_formater.dart' show ImageFormater; | ||
export '../src/api/interactions/button_interaction.dart' show ButtonInteraction; | ||
export '../src/api/interactions/command_interaction.dart' show CommandInteraction; | ||
export '../src/api/interactions/context_message_interaction.dart' show ContextMessageInteraction; | ||
export '../src/api/interactions/context_user_interaction.dart' show ContextUserInteraction; | ||
export '../src/api/interactions/interaction.dart' show Interaction; | ||
export '../src/api/interactions/modal_interaction.dart' show ModalInteraction; | ||
export '../src/api/interactions/select_menu_interaction.dart' show SelectMenuInteraction; | ||
export '../src/api/managers/member_role_manager.dart' show MemberRoleManager; | ||
export '../src/api/managers/voice_manager.dart' show VoiceManager; | ||
export '../src/api/messages/message.dart' show Message; | ||
export '../src/api/moderation_rule.dart' show ModerationEventType, ModerationTriggerType, ModerationPresetType, ModerationActionType, ModerationTriggerMetadata, ModerationActionMetadata, ModerationAction, ModerationRule; | ||
export '../src/api/permission_overwrite.dart' show PermissionOverwrite, PermissionOverwriteType; | ||
export '../src/api/role.dart' show Role; | ||
export '../src/api/status.dart' show Status, StatusType; | ||
export '../src/api/user.dart' show User; | ||
export '../src/api/utils.dart'; | ||
export '../src/api/webhook.dart' show Webhook; | ||
export '../src/internal/managers/intent_manager.dart' show Intent; | ||
|
||
typedef Snowflake = String; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
library builders; | ||
|
||
export '../src/api/builders/button_builder.dart' show ButtonBuilder, ButtonStyle; | ||
export '../src/api/builders/channel_builder.dart' show ChannelBuilder; | ||
export '../src/api/builders/code_builder.dart' show CodeBuilder; | ||
export '../src/api/builders/embed_builder.dart' show EmbedBuilder, Footer, Image, Thumbnail, Author, Field; | ||
export '../src/api/builders/emoji_builder.dart' show EmojiBuilder; | ||
export '../src/api/builders/forum_tag_builder.dart' show ForumTagBuilder; | ||
export '../src/api/builders/message_builder.dart' show MessageBuilder; | ||
export '../src/api/builders/modal_builder.dart' show ModalBuilder; | ||
export '../src/api/builders/moderation_rules_builder.dart' show ModerationRulesBuilder; | ||
export '../src/api/builders/row_builder.dart' show RowBuilder; | ||
export '../src/api/builders/select_menu_builder.dart' show SelectMenuBuilder, SelectMenuOption, EmojiOption; | ||
export '../src/api/builders/text_input_builder.dart' show TextInputBuilder, TextInputStyle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
library collectors; | ||
|
||
export '../src/api/collectors/message_collector.dart' show MessageCollector; |
Oops, something went wrong.