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
595 B
Plaintext
14 lines
595 B
Plaintext
import type { SanitizedCollectionConfig } from '../collections/config/types.js';
|
|
import type { SanitizedGlobalConfig } from '../globals/config/types.js';
|
|
import type { Payload, PayloadRequest } from '../types/index.js';
|
|
type Args = {
|
|
collection?: SanitizedCollectionConfig;
|
|
global?: SanitizedGlobalConfig;
|
|
id?: number | string;
|
|
max: number;
|
|
payload: Payload;
|
|
req?: PayloadRequest;
|
|
};
|
|
export declare const enforceMaxVersions: ({ id, collection, global: globalConfig, max, payload, req, }: Args) => Promise<void>;
|
|
export {};
|
|
//# sourceMappingURL=enforceMaxVersions.d.ts.map |