mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
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:
@@ -35,7 +35,7 @@
|
||||
"@angular/platform-browser": ">=14.1.3",
|
||||
"@angular/platform-browser-dynamic": ">=14.1.3",
|
||||
"@angular/router": ">=14.1.3",
|
||||
"@alfresco/js-api": ">=6.3.0-1108",
|
||||
"@alfresco/js-api": ">=6.3.0-1271",
|
||||
"@alfresco/adf-core": ">=6.2.0",
|
||||
"@alfresco/adf-content-services": ">=6.2.0",
|
||||
"@apollo/client": "^3.7.2",
|
||||
|
@@ -104,7 +104,7 @@ export class FormCloudService extends BaseCloudService implements FormCloudServi
|
||||
file,
|
||||
'',
|
||||
nodeId,
|
||||
'',
|
||||
null,
|
||||
{ overwrite: true }
|
||||
)).pipe(
|
||||
map((res: any) => res.entry)
|
||||
|
@@ -58,7 +58,7 @@ export class ProcessCloudContentService {
|
||||
): Observable<Node> {
|
||||
|
||||
return from(
|
||||
this.uploadApi.uploadFile(file, '', nodeId, '', {overwrite: true})
|
||||
this.uploadApi.uploadFile(file, '', nodeId, null, {overwrite: true})
|
||||
).pipe(
|
||||
map((res: any) => ({
|
||||
...res.entry,
|
||||
|
Reference in New Issue
Block a user