Files
klz-cables.com/.pnpm-store/v10/files/ec/851e3dd06465f34296744d9e4cd42446ea9a94ec8a7bc65be06bac16ab83ac23fc30d7ccd6e1ec20775f589b426ec4c6781ca048c01577b04d1f441159c023
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

37 lines
1.3 KiB
Plaintext

import type { CollectionSlug } from 'payload';
import type { FolderOrDocument } from 'payload/shared';
import React from 'react';
import './index.scss';
type ActionProps = {
readonly action: 'moveItemsToFolder';
} | {
readonly action: 'moveItemToFolder';
readonly title: string;
};
export type MoveToFolderDrawerProps = {
readonly drawerSlug: string;
readonly folderAssignedCollections: CollectionSlug[];
readonly folderCollectionSlug: string;
readonly folderFieldName: string;
readonly fromFolderID?: number | string;
readonly fromFolderName?: string;
readonly itemsToMove: FolderOrDocument[];
/**
* Callback function to be called when the user confirms the move
*
* @param folderID - The ID of the folder to move the items to
*/
readonly onConfirm: (args: {
id: null | number | string;
name: null | string;
}) => Promise<void> | void;
readonly populateMoveToFolderDrawer?: (folderID: null | number | string) => Promise<void> | void;
/**
* Set to `true` to skip the confirmation modal
* @default false
*/
readonly skipConfirmModal?: boolean;
} & ActionProps;
export declare function MoveItemsToFolderDrawer(props: MoveToFolderDrawerProps): React.JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map