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
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
import { type FlattenedField, type JoinQuery, type SelectMode, type SelectType } from 'payload';
|
|
import type { BuildQueryJoinAliases, DrizzleAdapter } from '../types.js';
|
|
import type { Result } from './buildFindManyArgs.js';
|
|
type TraverseFieldArgs = {
|
|
_locales: Result;
|
|
adapter: DrizzleAdapter;
|
|
collectionSlug?: string;
|
|
currentArgs: Result;
|
|
currentTableName: string;
|
|
depth?: number;
|
|
draftsEnabled?: boolean;
|
|
fields: FlattenedField[];
|
|
forceWithFields?: boolean;
|
|
joinQuery: JoinQuery;
|
|
joins?: BuildQueryJoinAliases;
|
|
locale?: string;
|
|
parentIsLocalized?: boolean;
|
|
path: string;
|
|
select?: SelectType;
|
|
selectAllOnCurrentLevel?: boolean;
|
|
selectMode?: SelectMode;
|
|
tablePath: string;
|
|
topLevelArgs: Record<string, unknown>;
|
|
topLevelTableName: string;
|
|
versions?: boolean;
|
|
withTabledFields: {
|
|
numbers?: boolean;
|
|
rels?: boolean;
|
|
texts?: boolean;
|
|
};
|
|
};
|
|
export declare const traverseFields: ({ _locales, adapter, collectionSlug, currentArgs, currentTableName, depth, draftsEnabled, fields, forceWithFields, joinQuery, joins, locale, parentIsLocalized, path, select, selectAllOnCurrentLevel, selectMode, tablePath, topLevelArgs, topLevelTableName, versions, withTabledFields, }: TraverseFieldArgs) => Record<string, unknown>;
|
|
export {};
|
|
//# sourceMappingURL=traverseFields.d.ts.map |