@gmod/bed
Version:
A BED file format parser with autoSql support
21 lines (20 loc) • 490 B
TypeScript
export interface AutoSqlPreSchema {
fields: {
size: number;
type: string;
name: string;
comment: string;
}[];
}
export declare function detectTypes(autoSql: AutoSqlPreSchema): {
fields: {
isArray: boolean | 0;
arrayIsNumeric: boolean | 0;
isNumeric: boolean;
size: number;
type: string;
name: string;
comment: string;
}[];
};
export type AutoSqlSchema = ReturnType<typeof detectTypes>;