refactor(types,utils,rest,bot)!: Cleanup types & files (#3951)

* Cleanup some un-used & sort types, split files

* Remove commented code from reverse/component.ts

* Fix type error on the bot E2E test

* Add comment, remove DiscordInteractionResponse

* Remove camel.ts

* Error on unusedImport, refactor type imports

* Run biome check

* fix: typo

* Update comments for skuId and defaultValues

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2024-11-09 17:27:55 +01:00
committed by GitHub
co-authored by Awesome Stickz
parent dbf4fda455
commit cfdf77027a
40 changed files with 1819 additions and 2417 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { type RequestMethods } from '@discordeno/bot'
import type { RequestMethods } from '@discordeno/bot'
import { REST_HOST, REST_PORT } from '../config.js'
import { buildFastifyApp, parseMultiformBody } from './fastify.js'
import restManager, { logger } from './restManager.js'