0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Darius 2024-03-11 22:07:55 +00:00 committed by astrobot-houston
parent f76dcb769f
commit c1ba369426
3 changed files with 14 additions and 14 deletions

View file

@ -16,6 +16,7 @@ import {
import { isSerializedSQL } from '../../runtime/types.js';
import { MIGRATION_VERSION } from '../consts.js';
import { RENAME_COLUMN_ERROR, RENAME_TABLE_ERROR } from '../errors.js';
import { columnSchema } from '../schemas.js';
import {
type BooleanColumn,
type ColumnType,
@ -32,7 +33,6 @@ import {
type TextColumn,
} from '../types.js';
import { getRemoteDatabaseUrl } from '../utils.js';
import { columnSchema } from '../schemas.js';
const sqlite = new SQLiteAsyncDialect();
const genTempTableName = customAlphabet('abcdefghijklmnopqrstuvwxyz', 10);

View file

@ -8,8 +8,8 @@ import { CONFIG_FILE_NAMES, VIRTUAL_MODULE_ID } from './consts.js';
import { INTEGRATION_TABLE_CONFLICT_ERROR } from './errors.js';
import { errorMap } from './integration/error-map.js';
import { getConfigVirtualModContents } from './integration/vite-plugin-db.js';
import { type AstroDbIntegration } from './types.js';
import { dbConfigSchema } from './schemas.js';
import { type AstroDbIntegration } from './types.js';
import { getDbDirectoryUrl } from './utils.js';
const isDbIntegration = (integration: AstroIntegration): integration is AstroDbIntegration =>

View file

@ -1,20 +1,20 @@
import type { AstroIntegration } from 'astro';
import type { z } from 'zod';
import type {
booleanColumnSchema,
numberColumnSchema,
textColumnSchema,
dateColumnSchema,
jsonColumnSchema,
columnSchema,
tableSchema,
referenceableColumnSchema,
indexSchema,
numberColumnOptsSchema,
textColumnOptsSchema,
columnsSchema,
MaybeArray,
booleanColumnSchema,
columnSchema,
columnsSchema,
dateColumnSchema,
dbConfigSchema,
indexSchema,
jsonColumnSchema,
numberColumnOptsSchema,
numberColumnSchema,
referenceableColumnSchema,
tableSchema,
textColumnOptsSchema,
textColumnSchema,
} from './schemas.js';
export type Indexes = Record<string, z.infer<typeof indexSchema>>;