Files
klz-cables.com/.pnpm-store/v10/files/9d/07c65d28f7b3083b8961b14232df3468f9cb93202aebcd6f4be5944d8b330a4f9ed02d4259e4124c6e8eaa080d2f1b1206b699e1f33027a0ae1ecb805e5c29
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

30 lines
1.3 KiB
Plaintext

import { entityKind } from "../../entity.js";
import { SQL, type SQLWrapper } from "../../sql/sql.js";
import type { NeonAuthToken } from "../../utils.js";
import type { PgSession } from "../session.js";
import type { PgTable } from "../table.js";
export declare class PgCountBuilder<TSession extends PgSession<any, any, any>> extends SQL<number> implements Promise<number>, SQLWrapper {
readonly params: {
source: PgTable | SQL | SQLWrapper;
filters?: SQL<unknown>;
session: TSession;
};
private sql;
private token?;
static readonly [entityKind] = "PgCountBuilder";
[Symbol.toStringTag]: string;
private session;
private static buildEmbeddedCount;
private static buildCount;
constructor(params: {
source: PgTable | SQL | SQLWrapper;
filters?: SQL<unknown>;
session: TSession;
});
/** @intrnal */
setToken(token?: NeonAuthToken): this;
then<TResult1 = number, TResult2 = never>(onfulfilled?: ((value: number) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
catch(onRejected?: ((reason: any) => any) | null | undefined): Promise<number>;
finally(onFinally?: (() => void) | null | undefined): Promise<number>;
}