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
16 lines
656 B
Plaintext
16 lines
656 B
Plaintext
import type { FlattenedField, JoinQuery, SanitizedConfig, TypeWithID } from 'payload';
|
|
import type { DrizzleAdapter } from '../../types.js';
|
|
type TransformArgs = {
|
|
adapter: DrizzleAdapter;
|
|
config: SanitizedConfig;
|
|
data: Record<string, unknown>;
|
|
fallbackLocale?: false | string;
|
|
fields: FlattenedField[];
|
|
joinQuery?: JoinQuery;
|
|
locale?: string;
|
|
parentIsLocalized?: boolean;
|
|
tableName: string;
|
|
};
|
|
export declare const transform: <T extends Record<string, unknown> | TypeWithID>({ adapter, config, data, fields, joinQuery, parentIsLocalized, tableName, }: TransformArgs) => T;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |