Files
klz-cables.com/.pnpm-store/v10/files/17/e4393377f1edac70bb5d0abb7c031a055abd56d99eb7abad3fa66066312279e40b59c02926ceff86deb71903e56f75dc84e4d4b6930a5281d01a8320a1cbcb
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

50 lines
2.1 KiB
Plaintext

import type { FlattenedField, SanitizedCompoundIndex } from 'payload';
import type { DrizzleAdapter, IDType, RawColumn, RawForeignKey, RawIndex, RelationMap, SetColumnID } from '../types.js';
type Args = {
adapter: DrizzleAdapter;
baseColumns?: Record<string, RawColumn>;
/**
* After table is created, run these functions to add extra config to the table
* ie. indexes, multiple columns, etc
*/
baseForeignKeys?: Record<string, RawForeignKey>;
/**
* After table is created, run these functions to add extra config to the table
* ie. indexes, multiple columns, etc
*/
baseIndexes?: Record<string, RawIndex>;
blocksTableNameMap: Record<string, number>;
buildNumbers?: boolean;
buildRelationships?: boolean;
compoundIndexes?: SanitizedCompoundIndex[];
disableNotNull: boolean;
disableRelsTableUnique?: boolean;
disableUnique: boolean;
fields: FlattenedField[];
parentIsLocalized: boolean;
rootRelationships?: Set<string>;
rootRelationsToBuild?: RelationMap;
rootTableIDColType?: IDType;
rootTableName?: string;
rootUniqueRelationships?: Set<string>;
setColumnID: SetColumnID;
tableName: string;
timestamps?: boolean;
versions: boolean;
/**
* Tracks whether or not this table is built
* from the result of a localized array or block field at some point
*/
withinLocalizedArrayOrBlock?: boolean;
};
type Result = {
hasLocalizedManyNumberField: boolean;
hasLocalizedManyTextField: boolean;
hasLocalizedRelationshipField: boolean;
hasManyNumberField: 'index' | boolean;
hasManyTextField: 'index' | boolean;
relationsToBuild: RelationMap;
};
export declare const buildTable: ({ adapter, baseColumns, baseForeignKeys, baseIndexes, blocksTableNameMap, compoundIndexes, disableNotNull, disableRelsTableUnique, disableUnique, fields, parentIsLocalized, rootRelationships, rootRelationsToBuild, rootTableIDColType, rootTableName: incomingRootTableName, rootUniqueRelationships, setColumnID, tableName, timestamps, versions, withinLocalizedArrayOrBlock, }: Args) => Result;
export {};
//# sourceMappingURL=build.d.ts.map