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
24 lines
499 B
Plaintext
24 lines
499 B
Plaintext
import type { CollectionAfterChangeHook } from '../../index.js';
|
|
/**
|
|
* If a parent is moved into a child folder, we need to re-parent the child
|
|
*
|
|
* @example
|
|
*
|
|
* ```ts
|
|
→ F1
|
|
→ F2
|
|
→ F2A
|
|
→ F3
|
|
|
|
Moving F1 → F2A becomes:
|
|
|
|
→ F2A
|
|
→ F1
|
|
→ F2
|
|
→ F3
|
|
```
|
|
*/
|
|
export declare const reparentChildFolder: ({ folderFieldName, }: {
|
|
folderFieldName: string;
|
|
}) => CollectionAfterChangeHook;
|
|
//# sourceMappingURL=reparentChildFolder.d.ts.map |