Files
klz-cables.com/.pnpm-store/v10/files/45/5feae7216544330eb6f44c045732c0bfff500ff8804b6e1e00abfb82d4f12952fab276ad5c1f848f02e8d11393e96069baa332491ae5354f8cce0f8aa48cec
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

19 lines
789 B
Plaintext

import type { AuthCollectionSlug, LoginResult, MaybePromise, SanitizedConfig } from 'payload';
type LoginWithEmail<TSlug extends AuthCollectionSlug> = {
collection: TSlug;
config: MaybePromise<SanitizedConfig>;
email: string;
password: string;
username?: never;
};
type LoginWithUsername<TSlug extends AuthCollectionSlug> = {
collection: TSlug;
config: MaybePromise<SanitizedConfig>;
email?: never;
password: string;
username: string;
};
type LoginArgs<TSlug extends AuthCollectionSlug> = LoginWithEmail<TSlug> | LoginWithUsername<TSlug>;
export declare function login<TSlug extends AuthCollectionSlug>({ collection, config, email, password, username, }: LoginArgs<TSlug>): Promise<LoginResult<TSlug>>;
export {};
//# sourceMappingURL=login.d.ts.map