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
17 lines
578 B
Plaintext
17 lines
578 B
Plaintext
import type { SanitizedGlobalConfig } from '../globals/config/types.js';
|
|
import type { Document, Payload, PayloadRequest, Where } from '../types/index.js';
|
|
type Args = {
|
|
config: SanitizedGlobalConfig;
|
|
locale?: string;
|
|
payload: Payload;
|
|
published?: boolean;
|
|
req?: PayloadRequest;
|
|
slug: string;
|
|
where: Where;
|
|
};
|
|
export declare const getLatestGlobalVersion: ({ slug, config, locale, payload, published, req, where, }: Args) => Promise<{
|
|
global: Document;
|
|
globalExists: boolean;
|
|
}>;
|
|
export {};
|
|
//# sourceMappingURL=getLatestGlobalVersion.d.ts.map |