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
19 lines
628 B
Plaintext
19 lines
628 B
Plaintext
import type { Collection } from '../../collections/config/types.js';
|
|
import type { AuthCollectionSlug } from '../../index.js';
|
|
import type { PayloadRequest } from '../../types/index.js';
|
|
export type Result = {
|
|
token?: string;
|
|
user: Record<string, unknown>;
|
|
};
|
|
export type Arguments = {
|
|
collection: Collection;
|
|
data: {
|
|
password: string;
|
|
token: string;
|
|
};
|
|
depth?: number;
|
|
overrideAccess?: boolean;
|
|
req: PayloadRequest;
|
|
};
|
|
export declare const resetPasswordOperation: <TSlug extends AuthCollectionSlug>(args: Arguments) => Promise<Result>;
|
|
//# sourceMappingURL=resetPassword.d.ts.map |