Reorder some imports
This commit is contained in:
@@ -10,8 +10,6 @@ import { runWithContext } from "./diachron/context";
|
|||||||
import { core } from "./diachron/core";
|
import { core } from "./diachron/core";
|
||||||
import { httpCodes } from "./diachron/http-codes";
|
import { httpCodes } from "./diachron/http-codes";
|
||||||
import { request } from "./diachron/request";
|
import { request } from "./diachron/request";
|
||||||
import { routes } from "./routes";
|
|
||||||
|
|
||||||
// import { URLPattern } from 'node:url';
|
// import { URLPattern } from 'node:url';
|
||||||
import {
|
import {
|
||||||
AuthenticationRequired,
|
AuthenticationRequired,
|
||||||
@@ -26,6 +24,7 @@ import {
|
|||||||
type Result,
|
type Result,
|
||||||
type Route,
|
type Route,
|
||||||
} from "./diachron/types";
|
} from "./diachron/types";
|
||||||
|
import { routes } from "./routes";
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { Kysely, PostgresDialect } from "kysely";
|
import { Kysely, PostgresDialect } from "kysely";
|
||||||
import { Pool } from "pg";
|
import { Pool } from "pg";
|
||||||
import { connectionConfig } from "../database";
|
|
||||||
import type { DB } from "../../generated/db";
|
import type { DB } from "../../generated/db";
|
||||||
|
import { connectionConfig } from "../database";
|
||||||
|
|
||||||
const db = new Kysely<DB>({
|
const db = new Kysely<DB>({
|
||||||
dialect: new PostgresDialect({
|
dialect: new PostgresDialect({
|
||||||
|
|||||||
Reference in New Issue
Block a user