Files
klz-cables.com/.pnpm-store/v10/files/7c/6a4f702c0009f22025f8cdb116aa3a16c57e259f9c0a782fb4ebc1642404d8c8d491c2d83a204703b29921cdff06a256dc1dbea13fe5830c9c9a07c8cb32af
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

26 lines
824 B
Plaintext

import type { I18nClient } from '@payloadcms/translations';
import type { SanitizedCollectionConfig, SanitizedGlobalConfig, SanitizedPermissions, StaticLabel } from 'payload';
/**
* @deprecated Import from `payload` instead
*/
export declare enum EntityType {
collection = "collections",
global = "globals"
}
export type EntityToGroup = {
entity: SanitizedCollectionConfig;
type: EntityType.collection;
} | {
entity: SanitizedGlobalConfig;
type: EntityType.global;
};
export type NavGroupType = {
entities: {
label: StaticLabel;
slug: string;
type: EntityType;
}[];
label: string;
};
export declare function groupNavItems(entities: EntityToGroup[], permissions: SanitizedPermissions, i18n: I18nClient): NavGroupType[];
//# sourceMappingURL=groupNavItems.d.ts.map