UNPKG

@r1tsu/payload

Version:

16 lines 569 B
import type { Collection } from '../../collections/config/types.js'; import type { PayloadRequestWithData } from '../../types/index.js'; import type { ClientUser } from '../types.js'; export type MeOperationResult = { collection?: string; exp?: number; token?: string; user?: ClientUser; }; export type Arguments = { collection: Collection; currentToken?: string; req: PayloadRequestWithData; }; export declare const meOperation: ({ collection, currentToken, req, }: Arguments) => Promise<MeOperationResult>; //# sourceMappingURL=me.d.ts.map