Files
klz-cables.com/.pnpm-store/v10/files/f2/99f54ef3e7f2bb33bec50ca3bb95144def00bed5e2bce379940246b320d6b7e1c4e00d7038d6c5ee9bd7885d4f0b6f7a3b67b6ffbcdd706abae704b601b7f5
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

29 lines
1.7 KiB
Plaintext

import type { I18nClient } from '@payloadcms/translations';
import type { ImportMap } from '../../bin/generateImportMap/index.js';
import type { LivePreviewConfig, SanitizedConfig, ServerOnlyLivePreviewProperties } from '../../config/types.js';
import type { Payload } from '../../types/index.js';
import type { SanitizedGlobalConfig } from './types.js';
import { type ClientField } from '../../fields/config/client.js';
export type ServerOnlyGlobalProperties = keyof Pick<SanitizedGlobalConfig, 'access' | 'admin' | 'custom' | 'endpoints' | 'fields' | 'flattenedFields' | 'hooks'>;
export type ServerOnlyGlobalAdminProperties = keyof Pick<SanitizedGlobalConfig['admin'], 'components' | 'hidden'>;
export type ClientGlobalConfig = {
admin: {
components: null;
livePreview?: Omit<LivePreviewConfig, ServerOnlyLivePreviewProperties>;
preview?: boolean;
} & Omit<SanitizedGlobalConfig['admin'], 'components' | 'livePreview' | 'preview' | ServerOnlyGlobalAdminProperties>;
fields: ClientField[];
} & Omit<SanitizedGlobalConfig, 'admin' | 'fields' | ServerOnlyGlobalProperties>;
export declare const createClientGlobalConfig: ({ defaultIDType, global, i18n, importMap, }: {
defaultIDType: Payload["config"]["db"]["defaultIDType"];
global: SanitizedConfig["globals"][0];
i18n: I18nClient;
importMap: ImportMap;
}) => ClientGlobalConfig;
export declare const createClientGlobalConfigs: ({ defaultIDType, globals, i18n, importMap, }: {
defaultIDType: Payload["config"]["db"]["defaultIDType"];
globals: SanitizedConfig["globals"];
i18n: I18nClient;
importMap: ImportMap;
}) => ClientGlobalConfig[];
//# sourceMappingURL=client.d.ts.map