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
22 lines
915 B
Plaintext
22 lines
915 B
Plaintext
import type { Block, FlattenedBlock } from 'payload';
|
|
import type { RawTable } from '../types.js';
|
|
type Args = {
|
|
block: Block;
|
|
localized: boolean;
|
|
/**
|
|
* @todo make required in v4.0. Usually you'd wanna pass this in
|
|
*/
|
|
parentIsLocalized?: boolean;
|
|
rootTableName: string;
|
|
table: RawTable;
|
|
tableLocales?: RawTable;
|
|
};
|
|
/**
|
|
* returns true if all the fields in a block are identical to the existing table
|
|
*/
|
|
export declare const validateExistingBlockIsIdentical: ({ block, localized, parentIsLocalized, table, tableLocales, }: Args) => boolean;
|
|
export declare const InternalBlockTableNameIndex: unique symbol;
|
|
export declare const setInternalBlockIndex: (block: FlattenedBlock, index: number) => void;
|
|
export declare const resolveBlockTableName: (block: FlattenedBlock, originalTableName: string) => string;
|
|
export {};
|
|
//# sourceMappingURL=validateExistingBlockIsIdentical.d.ts.map |