@r1tsu/payload
Version:
15 lines • 513 B
TypeScript
import type { Collection } from '../../collections/config/types.js';
import type { PayloadRequestWithData } from '../../types/index.js';
import type { Document } from '../../types/index.js';
export type Result = {
exp: number;
refreshedToken: string;
user: Document;
};
export type Arguments = {
collection: Collection;
req: PayloadRequestWithData;
token: string;
};
export declare const refreshOperation: (incomingArgs: Arguments) => Promise<Result>;
//# sourceMappingURL=refresh.d.ts.map