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

@ -7,7 +7,7 @@ import { JOSEError } from "jose/errors";
import { z } from "zod";
import { TokenType } from "~/classes/functions/token";
import { User } from "~/packages/database-interface/user";
import type { PluginType } from "../index";
import type { PluginType } from "../index.ts";
const schemas = {
query: z.object({

View file

@ -3,7 +3,7 @@ import { createRoute, z } from "@hono/zod-openapi";
import { db } from "@versia/kit/db";
import { eq } from "@versia/kit/drizzle";
import { Tokens } from "@versia/kit/tables";
import type { PluginType } from "../..";
import type { PluginType } from "../../index.ts";
export const schemas = {
json: z.object({

View file

@ -3,7 +3,7 @@ import { createRoute, z } from "@hono/zod-openapi";
import { db } from "@versia/kit/db";
import { eq } from "@versia/kit/drizzle";
import { Tokens } from "@versia/kit/tables";
import type { PluginType } from "../..";
import type { PluginType } from "../../index.ts";
export const schemas = {
json: z.object({

View file

@ -11,8 +11,8 @@ import {
} from "oauth4webapi";
import { z } from "zod";
import { ErrorSchema } from "~/types/api";
import type { PluginType } from "../..";
import { oauthDiscoveryRequest, oauthRedirectUri } from "../../utils";
import type { PluginType } from "../../index.ts";
import { oauthDiscoveryRequest, oauthRedirectUri } from "../../utils.ts";
export default (plugin: PluginType) => {
plugin.registerRoute("/api/v1/sso", (app) => {