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
21 lines
568 B
Plaintext
21 lines
568 B
Plaintext
import type { Collection } from '../../collections/config/types.js';
|
|
import type { Document, PayloadRequest } from '../../types/index.js';
|
|
export type Result = {
|
|
exp: number;
|
|
refreshedToken: string;
|
|
setCookie?: boolean;
|
|
/** @deprecated
|
|
* use:
|
|
* ```ts
|
|
* user._strategy
|
|
* ```
|
|
*/
|
|
strategy?: string;
|
|
user: Document;
|
|
};
|
|
export type Arguments = {
|
|
collection: Collection;
|
|
req: PayloadRequest;
|
|
};
|
|
export declare const refreshOperation: (incomingArgs: Arguments) => Promise<Result>;
|
|
//# sourceMappingURL=refresh.d.ts.map |