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
20 lines
891 B
Plaintext
20 lines
891 B
Plaintext
import type { FindOptions } from '../../collections/operations/local/find.js';
|
|
import type { PaginatedDocs } from '../../database/types.js';
|
|
import type { PayloadRequest, PopulateType, SelectType, Sort, Where } from '../../types/index.js';
|
|
import type { TypeWithVersion } from '../../versions/types.js';
|
|
import type { SanitizedGlobalConfig } from '../config/types.js';
|
|
export type Arguments = {
|
|
depth?: number;
|
|
globalConfig: SanitizedGlobalConfig;
|
|
limit?: number;
|
|
overrideAccess?: boolean;
|
|
page?: number;
|
|
pagination?: boolean;
|
|
populate?: PopulateType;
|
|
req?: PayloadRequest;
|
|
showHiddenFields?: boolean;
|
|
sort?: Sort;
|
|
where?: Where;
|
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
export declare const findVersionsOperation: <T extends TypeWithVersion<T>>(args: Arguments) => Promise<PaginatedDocs<T>>;
|
|
//# sourceMappingURL=findVersions.d.ts.map |