mirror of
https://github.com/withastro/astro.git
synced 2025-04-07 23:41:43 -05:00
chore: remove AstroId
type
This commit is contained in:
parent
7bd8240180
commit
a44c20afef
1 changed files with 0 additions and 14 deletions
|
@ -62,20 +62,6 @@ export type AstroJson<T extends GeneratedConfig<'custom'>> = SQLiteColumn<
|
|||
}
|
||||
>;
|
||||
|
||||
export type AstroId<T extends Pick<GeneratedConfig<'string'>, 'tableName'>> = SQLiteColumn<
|
||||
T & {
|
||||
name: 'id';
|
||||
hasDefault: true;
|
||||
notNull: true;
|
||||
data: string;
|
||||
dataType: 'custom';
|
||||
columnType: 'SQLiteCustomColumn';
|
||||
driverParam: string;
|
||||
enumValues: never;
|
||||
baseColumn: never;
|
||||
}
|
||||
>;
|
||||
|
||||
export type Column<T extends DBField['type'], S extends GeneratedConfig> = T extends 'boolean'
|
||||
? AstroBoolean<S>
|
||||
: T extends 'number'
|
||||
|
|
Loading…
Add table
Reference in a new issue