-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
cf49f3b
commit 9875e7d
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@comet/cms-admin": major | ||
"@comet/blocks-admin": major | ||
"@comet/cms-api": minor | ||
--- | ||
|
||
Support automatically importing DAM files into another scope when copying documents from one scope to another | ||
|
||
The copy process was reworked: | ||
|
||
- The `DocumentInterface` now requires a `dependencies()` and a `replaceDependenciesInOutput()` method | ||
- The `BlockInterface` now has an optional `dependencies()` and a required `replaceDependenciesInOutput()` method | ||
- `rewriteInternalLinks()` was removed from `@comet/cms-admin`. Its functionality is replaced by `replaceDependenciesInOutput()`. | ||
|
||
`dependencies()` returns information about dependencies of a document or block (e.g. a used `DamFile` or linked `PageTreeNode`). `replaceDependenciesInOutput()` replaces the IDs of all dependencies of a document or block with new IDs (necessary for copying documents or blocks to another scope). | ||
|
||
You can use the new `createDocumentRootBlocksMethods()` to generate the methods for documents. |