Adjust ADF to latest JS-API version (#8882)

* Bump js-api version

* Fix imports

* Fix content-services unit tests

* Fix process-services unit tests

* [ci:force] Trigger CI

* Fix code smells

* Fix orderBy param

* Fix code smells

* Fix failing unit tests

* Bump js-api version and align with new changes

* Remove dangling coma

* Fix delete return type

* Add correct date format in task filters e2es

* Fix typing in task filter sorting

* Fix activiti content api import

* Add null check for has avatar

* Make User class instead of type

* Fix user type in comment model

* Fix sonar cloud issue

* Type fixes

* Update js-api version
This commit is contained in:
MichalKinas
2023-09-07 13:29:42 +02:00
committed by GitHub
parent 876ca7a0a7
commit 76e2870c66
64 changed files with 628 additions and 884 deletions

View File

@@ -31,7 +31,7 @@ Deletes multiple files and folders.
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| permanent | `boolean` | false | If true then the nodes are deleted immediately rather than being put in the trash |
| selection | [`NodeEntry`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/NodeEntry.md)`[] \| DeletedNodeEntity[]` | | Array of nodes to delete. |
| selection | [`NodeEntry`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/NodeEntry.md)`[] \| DeletedNodeEntry[]` | | Array of nodes to delete. |
### Events
@@ -41,7 +41,7 @@ Deletes multiple files and folders.
## Details
Note that if a target item is already in the trashcan (and is therefore a `DeletedNodeEntity`) then
Note that if a target item is already in the trashcan (and is therefore a `DeletedNodeEntry`) then
this action will delete the file permanently.
## See also

View File

@@ -38,7 +38,7 @@ Restores deleted nodes to their original location.
this.documentList.reload();
}
navigateLocation(path: PathInfoEntity) {
navigateLocation(path: PathInfo) {
const parent = path.elements[path.elements.length - 1];
this.router.navigate(['files/', parent.id]);
}