Files
klz-cables.com/.pnpm-store/v10/files/22/0ebb02f334b63cc400f913bd73fd7f9bf0b9a539c942e54763d134e0fdfa2995483092015759214d35f3d84d1114083920d6bcdbf0a7714897f687cc919441
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

39 lines
1.1 KiB
Plaintext

import type { DefaultDocumentIDType } from '../index.js';
import type { PayloadRequest } from '../types/index.js';
export type PreferenceRequest = {
key: string;
overrideAccess?: boolean;
req: PayloadRequest;
user: PayloadRequest['user'];
};
export type PreferenceUpdateRequest = {
value: unknown;
} & PreferenceRequest;
export type CollapsedPreferences = string[];
export type TabsPreferences = Array<{
[path: string]: number;
}>;
export type InsideFieldsPreferences = {
collapsed: CollapsedPreferences;
tabIndex: number;
};
export type FieldsPreferences = {
[key: string]: InsideFieldsPreferences;
};
export type DocumentPreferences = {
fields: FieldsPreferences;
};
export type ColumnPreference = {
accessor: string;
active: boolean;
};
export type CollectionPreferences = {
columns?: ColumnPreference[];
editViewType?: 'default' | 'live-preview';
groupBy?: string;
limit?: number;
listViewType?: 'folders' | 'list';
preset?: DefaultDocumentIDType;
sort?: string;
};
//# sourceMappingURL=types.d.ts.map