Files
klz-cables.com/.pnpm-store/v10/files/3c/26f90e7a2168208604b9b2dfaccac673546f1e1156d4ba0c6721649a942eb8e4a17a62c85ec76853f0f07f721ba2c0282cef8b1b1f235414c9c472938d49e2
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

18 lines
886 B
Plaintext

import type { Payload } from '../../index.js';
import type { MigrationTemplateArgs } from '../types.js';
/**
* Get predefined migration 'up', 'down' and 'imports'.
*
* Supports two import methods:
* 1. @payloadcms/db-* packages: Loads from adapter's predefinedMigrations folder directly (no package.json export needed)
* Example: `--file @payloadcms/db-mongodb/relationships-v2-v3`
* 2. Any other package/path: Uses dynamic import via package.json exports or absolute file paths
* Example: `--file @payloadcms/plugin-seo/someMigration` or `--file /absolute/path/to/migration.ts`
*/
export declare const getPredefinedMigration: ({ dirname, file, migrationName: migrationNameArg, payload, }: {
dirname: string;
file?: string;
migrationName?: string;
payload: Payload;
}) => Promise<MigrationTemplateArgs>;
//# sourceMappingURL=getPredefinedMigration.d.ts.map