UNPKG

@youngshand/payload-auth-plugin

Version:

A temporary fork for testing of Authentication plugin for Payload CMS, use @payload-auth-plugin

13 lines 382 B
interface BaseOptions { name: string; } interface QueryOptions { fields?: string[] | undefined; } export declare const getCurrentUser: (options: BaseOptions, queryOpts?: QueryOptions | undefined) => Promise<{ message: string; kind: import("../types.js").ErrorKind | import("../types.js").SuccessKind; data: any; }>; export {}; //# sourceMappingURL=hooks.d.ts.map