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

28 lines
2.3 KiB
Plaintext

import type { MarkOptional } from 'ts-essentials';
import type { SelectField, SelectFieldClient } from '../../fields/config/types.js';
import type { SelectFieldValidation } from '../../fields/validations.js';
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
import type { ClientFieldBase, FieldClientComponent, FieldPaths, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldDiffClientComponent, FieldDiffServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
type SelectFieldClientWithoutType = MarkOptional<SelectFieldClient, 'type'>;
type SelectFieldBaseClientProps = {
readonly onChange?: (e: string | string[]) => void;
readonly path: string;
readonly validate?: SelectFieldValidation;
readonly value?: string | string[];
};
type SelectFieldBaseServerProps = Pick<FieldPaths, 'path'>;
export type SelectFieldClientProps = ClientFieldBase<SelectFieldClientWithoutType> & SelectFieldBaseClientProps;
export type SelectFieldServerProps = SelectFieldBaseServerProps & ServerFieldBase<SelectField, SelectFieldClientWithoutType>;
export type SelectFieldServerComponent = FieldServerComponent<SelectField, SelectFieldClientWithoutType, SelectFieldBaseServerProps>;
export type SelectFieldClientComponent = FieldClientComponent<SelectFieldClientWithoutType, SelectFieldBaseClientProps>;
export type SelectFieldLabelServerComponent = FieldLabelServerComponent<SelectField, SelectFieldClientWithoutType>;
export type SelectFieldLabelClientComponent = FieldLabelClientComponent<SelectFieldClientWithoutType>;
export type SelectFieldDescriptionServerComponent = FieldDescriptionServerComponent<SelectField, SelectFieldClientWithoutType>;
export type SelectFieldDescriptionClientComponent = FieldDescriptionClientComponent<SelectFieldClientWithoutType>;
export type SelectFieldErrorServerComponent = FieldErrorServerComponent<SelectField, SelectFieldClientWithoutType>;
export type SelectFieldErrorClientComponent = FieldErrorClientComponent<SelectFieldClientWithoutType>;
export type SelectFieldDiffServerComponent = FieldDiffServerComponent<SelectField, SelectFieldClient>;
export type SelectFieldDiffClientComponent = FieldDiffClientComponent<SelectFieldClient>;
export {};
//# sourceMappingURL=Select.d.ts.map