diff options
Diffstat (limited to 'packages/db')
-rw-r--r-- | packages/db/src/core/cli/commands/link/index.ts | 2 | ||||
-rw-r--r-- | packages/db/src/core/cli/commands/push/index.ts | 2 | ||||
-rw-r--r-- | packages/db/src/core/cli/migration-queries.ts | 28 | ||||
-rw-r--r-- | packages/db/src/core/queries.ts | 2 | ||||
-rw-r--r-- | packages/db/src/runtime/index.ts | 2 |
5 files changed, 18 insertions, 18 deletions
diff --git a/packages/db/src/core/cli/commands/link/index.ts b/packages/db/src/core/cli/commands/link/index.ts index d39b8c09a..525dacce0 100644 --- a/packages/db/src/core/cli/commands/link/index.ts +++ b/packages/db/src/core/cli/commands/link/index.ts @@ -12,7 +12,7 @@ import { bgRed, cyan } from 'kleur/colors'; import ora from 'ora'; import prompts from 'prompts'; import { safeFetch } from '../../../../runtime/utils.js'; -import { type Result } from '../../../utils.js'; +import type { Result } from '../../../utils.js'; export async function cmd() { const sessionToken = await getSessionIdFromFile(); diff --git a/packages/db/src/core/cli/commands/push/index.ts b/packages/db/src/core/cli/commands/push/index.ts index ecd101ece..2d19daee5 100644 --- a/packages/db/src/core/cli/commands/push/index.ts +++ b/packages/db/src/core/cli/commands/push/index.ts @@ -4,7 +4,7 @@ import prompts from 'prompts'; import type { Arguments } from 'yargs-parser'; import { safeFetch } from '../../../../runtime/utils.js'; import { MIGRATION_VERSION } from '../../../consts.js'; -import { type DBConfig, type DBSnapshot } from '../../../types.js'; +import type { DBConfig, DBSnapshot } from '../../../types.js'; import { type Result, getRemoteDatabaseUrl } from '../../../utils.js'; import { createCurrentSnapshot, diff --git a/packages/db/src/core/cli/migration-queries.ts b/packages/db/src/core/cli/migration-queries.ts index 894c1d66f..da5d70be1 100644 --- a/packages/db/src/core/cli/migration-queries.ts +++ b/packages/db/src/core/cli/migration-queries.ts @@ -18,20 +18,20 @@ import { schemaTypeToSqlType, } from '../queries.js'; import { columnSchema } from '../schemas.js'; -import { - type BooleanColumn, - type ColumnType, - type DBColumn, - type DBColumns, - type DBConfig, - type DBSnapshot, - type DateColumn, - type JsonColumn, - type NumberColumn, - type ResolvedDBTable, - type ResolvedDBTables, - type ResolvedIndexes, - type TextColumn, +import type { + BooleanColumn, + ColumnType, + DBColumn, + DBColumns, + DBConfig, + DBSnapshot, + DateColumn, + JsonColumn, + NumberColumn, + ResolvedDBTable, + ResolvedDBTables, + ResolvedIndexes, + TextColumn, } from '../types.js'; import { type Result, getRemoteDatabaseUrl } from '../utils.js'; diff --git a/packages/db/src/core/queries.ts b/packages/db/src/core/queries.ts index 705205ee4..cf472d423 100644 --- a/packages/db/src/core/queries.ts +++ b/packages/db/src/core/queries.ts @@ -1,4 +1,4 @@ -import { type SQL } from 'drizzle-orm'; +import type { SQL } from 'drizzle-orm'; import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core'; import { bold } from 'kleur/colors'; import { diff --git a/packages/db/src/runtime/index.ts b/packages/db/src/runtime/index.ts index 9e882843a..fb8579459 100644 --- a/packages/db/src/runtime/index.ts +++ b/packages/db/src/runtime/index.ts @@ -1,5 +1,5 @@ import { type ColumnBuilderBaseConfig, type ColumnDataType, sql } from 'drizzle-orm'; -import { type LibSQLDatabase } from 'drizzle-orm/libsql'; +import type { LibSQLDatabase } from 'drizzle-orm/libsql'; import { type IndexBuilder, type SQLiteColumnBuilderBase, |