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
14 lines
605 B
Plaintext
14 lines
605 B
Plaintext
import type { SanitizedGlobalPermission } from '../../auth/index.js';
|
|
import type { JsonObject, PayloadRequest } from '../../types/index.js';
|
|
import type { SanitizedGlobalConfig } from '../config/types.js';
|
|
type Arguments = {
|
|
/**
|
|
* If the document data is passed, it will be used to check access instead of fetching the document from the database.
|
|
*/
|
|
data?: JsonObject;
|
|
globalConfig: SanitizedGlobalConfig;
|
|
req: PayloadRequest;
|
|
};
|
|
export declare const docAccessOperation: (args: Arguments) => Promise<SanitizedGlobalPermission>;
|
|
export {};
|
|
//# sourceMappingURL=docAccess.d.ts.map |