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
18 lines
790 B
Plaintext
18 lines
790 B
Plaintext
import type { FindOptions } from '../../index.js';
|
|
import type { PayloadRequest, PopulateType, SelectType } from '../../types/index.js';
|
|
import type { TypeWithVersion } from '../../versions/types.js';
|
|
import type { Collection, TypeWithID } from '../config/types.js';
|
|
export type Arguments = {
|
|
collection: Collection;
|
|
currentDepth?: number;
|
|
depth?: number;
|
|
disableErrors?: boolean;
|
|
id: number | string;
|
|
overrideAccess?: boolean;
|
|
populate?: PopulateType;
|
|
req: PayloadRequest;
|
|
showHiddenFields?: boolean;
|
|
trash?: boolean;
|
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
export declare const findVersionByIDOperation: <TData extends TypeWithID = any>(args: Arguments) => Promise<TypeWithVersion<TData>>;
|
|
//# sourceMappingURL=findVersionByID.d.ts.map |