Skip to content

Commit

Permalink
revert: "refacto: folder structure with new core folder"
Browse files Browse the repository at this point in the history
This reverts commit 4f92837.
  • Loading branch information
barthofu committed Dec 4, 2023
1 parent 4f92837 commit f798c03
Show file tree
Hide file tree
Showing 93 changed files with 41 additions and 776 deletions.
32 changes: 16 additions & 16 deletions .swcrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@
"baseUrl": "./",
"paths": {

"@decorators": ["src/core/utils/decorators"],
"@decorators/*": ["src/plugins/*/core/utils/decorators"],
"@decorators": ["src/utils/decorators"],
"@decorators/*": ["src/plugins/*/utils/decorators"],

"@errors": ["src/core/utils/errors"],
"@errors/*": ["src/plugins/*/core/utils/errors"],
"@errors": ["src/utils/errors"],
"@errors/*": ["src/plugins/*/utils/errors"],

"@entities": ["src/core/entities"],
"@entities/*": ["src/plugins/*/core/entities"],
"@entities": ["src/entities"],
"@entities/*": ["src/plugins/*/entities"],

"@guards": ["src/core/guards"],
"@guards/*": ["src/plugins/*/core/guards"],
"@guards": ["src/guards"],
"@guards/*": ["src/plugins/*/guards"],

"@services": ["src/core/services"],
"@services/*": ["src/plugins/*/core/services"],
"@services": ["src/services"],
"@services/*": ["src/plugins/*/services"],

"@i18n": ["src/core/i18n"],
"@i18n/*": ["src/plugins/*/core/i18n"],
"@i18n": ["src/i18n"],
"@i18n/*": ["src/plugins/*/i18n"],

"@configs": ["src/configs"],
"@configs/*": ["src/plugins/*/configs"],

"@utils/classes": ["src/core/utils/classes"],
"@utils/classes/*": ["src/plugins/*/core/utils/classes"],
"@utils/classes": ["src/utils/classes"],
"@utils/classes/*": ["src/plugins/*/utils/classes"],

"@utils/functions": ["src/core/utils/functions"],
"@utils/functions/*": ["src/plugins/*/core/utils/functions"],
"@utils/functions": ["src/utils/functions"],
"@utils/functions/*": ["src/plugins/*/utils/functions"],

"@api/controllers": ["src/api/controllers"],
"@api/controllers/*": ["src/plugins/*/api/controllers"],
Expand Down
4 changes: 2 additions & 2 deletions src/commands/General/help.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Category } from "@discordx/utilities"
import { ActionRowBuilder, APISelectMenuOption, CommandInteraction, EmbedBuilder, StringSelectMenuBuilder, StringSelectMenuInteraction } from "discord.js"
import { ActionRowBuilder, APISelectMenuOption, CommandInteraction, EmbedBuilder, inlineCode, StringSelectMenuBuilder, StringSelectMenuInteraction } from "discord.js"
import { Client, MetadataStorage, SelectMenuComponent } from "discordx"

import { Discord, Slash } from "@decorators"
import { chunkArray, getColor, resolveGuild, validString } from "@utils/functions"
import { TranslationFunctions } from "src/core/i18n/i18n-types"
import { TranslationFunctions } from "src/i18n/i18n-types"

@Discord()
@Category('General')
Expand Down
71 changes: 0 additions & 71 deletions src/core/i18n/en/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/core/i18n/formatters.ts

This file was deleted.

71 changes: 0 additions & 71 deletions src/core/i18n/fr/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/core/i18n/i18n-node.ts

This file was deleted.

Loading

0 comments on commit f798c03

Please sign in to comment.