Files
klz-cables.com/.pnpm-store/v10/files/66/fbed7ee57a0105a45512fca00a677149e3bee7e733c52ef3a38b611a4dbdd8992bd201bb2476e874cf19afef00a014f798b6b556479f0c1beda6783b8352cd
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
932 B
Plaintext

import type { FormState, UploadEdits } from 'payload';
import type { InitialForms } from './index.js';
export type State = {
activeIndex: number;
forms: {
errorCount: number;
formID: string;
formState: FormState;
uploadEdits?: UploadEdits;
}[];
totalErrorCount: number;
};
type Action = {
count: number;
index: number;
type: 'UPDATE_ERROR_COUNT';
} | {
errorCount: number;
formState: FormState;
index: number;
type: 'UPDATE_FORM';
updatedFields?: Record<string, unknown>;
uploadEdits?: UploadEdits;
} | {
forms: InitialForms;
type: 'ADD_FORMS';
} | {
index: number;
type: 'REMOVE_FORM';
} | {
index: number;
type: 'SET_ACTIVE_INDEX';
} | {
state: Partial<State>;
type: 'REPLACE';
};
export declare function formsManagementReducer(state: State, action: Action): State;
export {};
//# sourceMappingURL=reducer.d.ts.map