CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
query-promise.d.cts10 linesDownload Raw Back to drizzle-orm
1import { entityKind } from "./entity.cjs";2export declare abstract class QueryPromise<T> implements Promise<T> {3    static readonly [entityKind]: string;4    [Symbol.toStringTag]: string;5    catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined): Promise<T | TResult>;6    finally(onFinally?: (() => void) | null | undefined): Promise<T>;7    then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;8    abstract execute(): Promise<T>;9}10