7 lines
322 B
TypeScript
7 lines
322 B
TypeScript
import type { Dialect } from "./column-builder.cjs";
|
|
import type { RunnableQuery } from "./runnable-query.cjs";
|
|
export type BatchItem<TDialect extends Dialect = Dialect> = RunnableQuery<any, TDialect>;
|
|
export type BatchResponse<T extends BatchItem[] | readonly BatchItem[]> = {
|
|
[K in keyof T]: T[K]['_']['result'];
|
|
};
|