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
28 lines
787 B
Plaintext
28 lines
787 B
Plaintext
import type { Collection } from '../../collections/config/types.js';
|
|
import type { JoinQuery, PayloadRequest, PopulateType, SelectType } from '../../types/index.js';
|
|
import type { ClientUser } from '../types.js';
|
|
export type MeOperationResult = {
|
|
collection?: string;
|
|
exp?: number;
|
|
/** @deprecated
|
|
* use:
|
|
* ```ts
|
|
* user._strategy
|
|
* ```
|
|
*/
|
|
strategy?: string;
|
|
token?: string;
|
|
user?: ClientUser;
|
|
};
|
|
export type Arguments = {
|
|
collection: Collection;
|
|
currentToken?: string;
|
|
depth?: number;
|
|
draft?: boolean;
|
|
joins?: JoinQuery;
|
|
populate?: PopulateType;
|
|
req: PayloadRequest;
|
|
select?: SelectType;
|
|
};
|
|
export declare const meOperation: (args: Arguments) => Promise<MeOperationResult>;
|
|
//# sourceMappingURL=me.d.ts.map |