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
16 lines
564 B
Plaintext
16 lines
564 B
Plaintext
import type { PayloadRequest, SanitizedCollectionConfig, SanitizedGlobalConfig, TypedUser } from 'payload';
|
|
type Args = {
|
|
collectionConfig?: SanitizedCollectionConfig;
|
|
globalConfig?: SanitizedGlobalConfig;
|
|
id?: number | string;
|
|
isEditing: boolean;
|
|
req: PayloadRequest;
|
|
};
|
|
type Result = Promise<{
|
|
currentEditor?: TypedUser;
|
|
isLocked: boolean;
|
|
lastUpdateTime?: number;
|
|
}>;
|
|
export declare const getIsLocked: ({ id, collectionConfig, globalConfig, isEditing, req, }: Args) => Result;
|
|
export {};
|
|
//# sourceMappingURL=getIsLocked.d.ts.map |