Files
klz-cables.com/.pnpm-store/v10/files/23/1d29ca6c128fc6e80c54af2fceb55144c9544424985306ac20c08e44a50082ebe73c0a3d40d7190bfb26203291b57f96cb7e1191ecc4715bbc522c2f3dabc6
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
1002 B
Plaintext

import type { BuildFormStateArgs, ClientConfig, ClientUser, ErrorResult, FormState, ServerFunction } from 'payload';
export type LockedState = {
isLocked: boolean;
lastEditedAt: string;
user?: ClientUser | number | string;
};
type BuildFormStateSuccessResult = {
clientConfig?: ClientConfig;
errors?: never;
indexPath?: string;
livePreviewURL?: string;
lockedState?: LockedState;
previewURL?: string;
state: FormState;
};
type BuildFormStateErrorResult = {
livePreviewURL?: never;
lockedState?: never;
previewURL?: never;
state?: never;
} & ({
message: string;
} | ErrorResult);
export type BuildFormStateResult = BuildFormStateErrorResult | BuildFormStateSuccessResult;
export declare const buildFormStateHandler: ServerFunction<BuildFormStateArgs, Promise<BuildFormStateResult>>;
export declare const buildFormState: (args: BuildFormStateArgs) => Promise<BuildFormStateSuccessResult>;
export {};
//# sourceMappingURL=buildFormState.d.ts.map