refactor: 🚚 Explicitely add extensions to all imports

This commit is contained in:
Jesse Wierzbinski 2024-10-04 15:22:48 +02:00
parent b5b7014c00
commit b53307c824
No known key found for this signature in database
99 changed files with 168 additions and 169 deletions

View file

@ -6,7 +6,7 @@ import { db } from "~/drizzle/db";
import { Emojis, Instances, Users } from "~/drizzle/schema";
import { Instance } from "~/packages/database-interface/instance";
import { User } from "~/packages/database-interface/user";
import { BaseCommand } from "./base";
import { BaseCommand } from "./base.ts";
export type FlagsType<T extends typeof Command> = Interfaces.InferredFlags<
(typeof BaseCommand)["baseFlags"] & T["flags"]

View file

@ -1,19 +1,19 @@
import { configureLoggers } from "@/loggers";
import { execute } from "@oclif/core";
import EmojiAdd from "./commands/emoji/add";
import EmojiDelete from "./commands/emoji/delete";
import EmojiImport from "./commands/emoji/import";
import EmojiList from "./commands/emoji/list";
import FederationInstanceFetch from "./commands/federation/instance/fetch";
import FederationUserFetch from "./commands/federation/user/fetch";
import FederationUserFinger from "./commands/federation/user/finger";
import IndexRebuild from "./commands/index/rebuild";
import Start from "./commands/start";
import UserCreate from "./commands/user/create";
import UserDelete from "./commands/user/delete";
import UserList from "./commands/user/list";
import UserRefetch from "./commands/user/refetch";
import UserReset from "./commands/user/reset";
import EmojiAdd from "./commands/emoji/add.ts";
import EmojiDelete from "./commands/emoji/delete.ts";
import EmojiImport from "./commands/emoji/import.ts";
import EmojiList from "./commands/emoji/list.ts";
import FederationInstanceFetch from "./commands/federation/instance/fetch.ts";
import FederationUserFetch from "./commands/federation/user/fetch.ts";
import FederationUserFinger from "./commands/federation/user/finger.ts";
import IndexRebuild from "./commands/index/rebuild.ts";
import Start from "./commands/start.ts";
import UserCreate from "./commands/user/create.ts";
import UserDelete from "./commands/user/delete.ts";
import UserList from "./commands/user/list.ts";
import UserRefetch from "./commands/user/refetch.ts";
import UserReset from "./commands/user/reset.ts";
await configureLoggers();