0
Fork 0
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:
bholmesdev 2024-02-01 08:07:01 -05:00
parent 7bd8240180
commit a44c20afef

View file

@ -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'