Files
klz-cables.com/.pnpm-store/v10/files/c6/e820d6455807574809e3bcae3570483ef18d23de342357acc263f6c57a4f3d8572375bac8ab79806987f7cf94327ea72f96788966e4be244a468776be3018d
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

56 lines
2.9 KiB
Plaintext

import type { ServerProps } from '../../config/types.js';
import type { FolderBreadcrumb, FolderOrDocument, FolderSortKeys } from '../../folders/types.js';
import type { SanitizedCollectionConfig } from '../../index.js';
export type FolderListViewSlots = {
AfterFolderList?: React.ReactNode;
AfterFolderListTable?: React.ReactNode;
BeforeFolderList?: React.ReactNode;
BeforeFolderListTable?: React.ReactNode;
Description?: React.ReactNode;
listMenuItems?: React.ReactNode[];
};
export type FolderListViewServerPropsOnly = {
collectionConfig: SanitizedCollectionConfig;
documents: FolderOrDocument[];
subfolders: FolderOrDocument[];
} & ServerProps;
export type FolderListViewServerProps = FolderListViewClientProps & FolderListViewServerPropsOnly;
export type FolderListViewClientProps = {
activeCollectionFolderSlugs?: SanitizedCollectionConfig['slug'][];
allCollectionFolderSlugs: SanitizedCollectionConfig['slug'][];
allowCreateCollectionSlugs: SanitizedCollectionConfig['slug'][];
baseFolderPath: `/${string}`;
beforeActions?: React.ReactNode[];
breadcrumbs: FolderBreadcrumb[];
collectionSlug?: SanitizedCollectionConfig['slug'];
disableBulkDelete?: boolean;
disableBulkEdit?: boolean;
documents: FolderOrDocument[];
enableRowSelections?: boolean;
folderAssignedCollections?: SanitizedCollectionConfig['slug'][];
folderFieldName: string;
folderID: null | number | string;
FolderResultsComponent: React.ReactNode;
search?: string;
sort?: FolderSortKeys;
subfolders: FolderOrDocument[];
viewPreference: 'grid' | 'list';
} & FolderListViewSlots;
export type FolderListViewSlotSharedClientProps = {
collectionSlug: SanitizedCollectionConfig['slug'];
hasCreatePermission: boolean;
newDocumentURL: string;
};
export type BeforeFolderListClientProps = FolderListViewSlotSharedClientProps;
export type BeforeFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
export type BeforeFolderListServerProps = BeforeFolderListClientProps & BeforeFolderListServerPropsOnly;
export type BeforeFolderListTableClientProps = FolderListViewSlotSharedClientProps;
export type BeforeFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
export type BeforeFolderListTableServerProps = BeforeFolderListTableClientProps & BeforeFolderListTableServerPropsOnly;
export type AfterFolderListClientProps = FolderListViewSlotSharedClientProps;
export type AfterFolderListServerPropsOnly = {} & FolderListViewServerPropsOnly;
export type AfterFolderListServerProps = AfterFolderListClientProps & AfterFolderListServerPropsOnly;
export type AfterFolderListTableClientProps = FolderListViewSlotSharedClientProps;
export type AfterFolderListTableServerPropsOnly = {} & FolderListViewServerPropsOnly;
export type AfterFolderListTableServerProps = AfterFolderListTableClientProps & AfterFolderListTableServerPropsOnly;
//# sourceMappingURL=folderList.d.ts.map