Files
klz-cables.com/.pnpm-store/v10/files/df/551b1aa48bf01de13e1127c5e32b8bf4323d194fd5db7d96fe9e8ffbe993bd20ad927047de7227307b83a9ec3dcdff6f8bf32cbbff0831beb5fb8e4c6755c3
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

57 lines
2.4 KiB
Plaintext

import type { SanitizedCollectionConfig } from '../../../collections/config/types.js';
import type { SanitizedGlobalConfig } from '../../../globals/config/types.js';
import type { RequestContext, TypedFallbackLocale } from '../../../index.js';
import type { JsonObject, PayloadRequest, PopulateType, SelectMode, SelectType } from '../../../types/index.js';
import type { Field, TabAsField } from '../../config/types.js';
import type { AfterReadArgs } from './index.js';
type Args = {
/**
* Data of the nearest parent block. If no parent block exists, this will be the `undefined`
*/
blockData?: JsonObject;
collection: null | SanitizedCollectionConfig;
context: RequestContext;
currentDepth: number;
depth: number;
doc: JsonObject;
draft: boolean;
fallbackLocale: TypedFallbackLocale;
field: Field | TabAsField;
/**
* The depth of the current field being processed.
* Fields without names (i.e. rows, collapsibles, unnamed groups)
* simply pass this value through
*
* @default 0
*/
fieldDepth: number;
fieldIndex: number;
/**
* fieldPromises are used for things like field hooks. They should be awaited before awaiting populationPromises
*/
fieldPromises: Promise<void>[];
findMany: boolean;
global: null | SanitizedGlobalConfig;
locale: null | string;
overrideAccess: boolean;
parentIndexPath: string;
/**
* @todo make required in v4.0
*/
parentIsLocalized?: boolean;
parentPath: string;
parentSchemaPath: string;
populate?: PopulateType;
populationPromises: Promise<void>[];
req: PayloadRequest;
select?: SelectType;
selectMode?: SelectMode;
showHiddenFields: boolean;
siblingDoc: JsonObject;
siblingFields?: (Field | TabAsField)[];
triggerAccessControl?: boolean;
triggerHooks?: boolean;
} & Required<Pick<AfterReadArgs<JsonObject>, 'flattenLocales'>>;
export declare const promise: ({ blockData, collection, context, currentDepth, depth, doc, draft, fallbackLocale, field, fieldDepth, fieldIndex, fieldPromises, findMany, flattenLocales, global, locale, overrideAccess, parentIndexPath, parentIsLocalized, parentPath, parentSchemaPath, populate, populationPromises, req, select, selectMode, showHiddenFields, siblingDoc, siblingFields, triggerAccessControl, triggerHooks, }: Args) => Promise<void>;
export {};
//# sourceMappingURL=promise.d.ts.map