diff --git a/bskylink/src/db/index.ts b/bskylink/src/db/index.ts index 5f201cc07d..7fe6aa536f 100644 --- a/bskylink/src/db/index.ts +++ b/bskylink/src/db/index.ts @@ -1,27 +1,30 @@ import assert from 'assert' import { Kysely, - KyselyPlugin, + type KyselyPlugin, Migrator, - PluginTransformQueryArgs, - PluginTransformResultArgs, + type PluginTransformQueryArgs, + type PluginTransformResultArgs, PostgresDialect, - QueryResult, - RootOperationNode, - UnknownRow, + type QueryResult, + type RootOperationNode, + type UnknownRow, } from 'kysely' import {default as Pg} from 'pg' import {dbLogger as log} from '../logger.js' import {default as migrations} from './migrations/index.js' import {DbMigrationProvider} from './migrations/provider.js' -import {DbSchema} from './schema.js' +import {type DbSchema} from './schema.js' export class Database { migrator: Migrator destroyed = false - constructor(public db: Kysely, public cfg: PgConfig) { + constructor( + public db: Kysely, + public cfg: PgConfig, + ) { this.migrator = new Migrator({ db, migrationTableSchema: cfg.schema, diff --git a/bskylink/src/html/linkWarningLayout.ts b/bskylink/src/html/linkWarningLayout.ts index be4e10a9d6..2b86ac382d 100644 --- a/bskylink/src/html/linkWarningLayout.ts +++ b/bskylink/src/html/linkWarningLayout.ts @@ -25,8 +25,9 @@ export function linkWarningLayout( } body { - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, - Arial, sans-serif; + font-family: + -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, + sans-serif; background-color: #ffffff; min-height: 100vh; display: flex;