Mirror of https://github.com/roostorg/coop github.com/roostorg/coop
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 12 lines 292 B view raw
1export interface WarehouseQueryResult { 2 [column: string]: unknown; 3} 4 5export type WarehouseQueryFn = <T = WarehouseQueryResult>( 6 sql: string, 7 params?: readonly unknown[], 8) => Promise<readonly T[]>; 9 10export type WarehouseTransactionFn<T> = ( 11 query: WarehouseQueryFn, 12) => Promise<T>;